diff options
author | Bruno Haible <bruno@clisp.org> | 2001-03-11 18:10:04 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-03-11 18:10:04 +0000 |
commit | eac5d44a642d1ac86c5926dd7c054fec149382db (patch) | |
tree | 3fa51dba2b0f52777785673d1a21c324a4e3246a /src | |
parent | 74632c82ae900d30941904144fcccf8751ddf0f8 (diff) | |
download | external_gettext-eac5d44a642d1ac86c5926dd7c054fec149382db.zip external_gettext-eac5d44a642d1ac86c5926dd7c054fec149382db.tar.gz external_gettext-eac5d44a642d1ac86c5926dd7c054fec149382db.tar.bz2 |
Add comments for translators.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/po.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 07f1f65..28a822c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4 +1,9 @@ 2001-03-11 Bruno Haible <haible@clisp.cons.org> + Karl Eichwalder <ke@suse.de> + + * po.c (po_callback_message): Add comments to support translators. + +2001-03-11 Bruno Haible <haible@clisp.cons.org> * po-lex.c (lex_close): Use ngettext and plural-form message. * msgcmp.c (compare): Likewise. @@ -286,15 +286,18 @@ po_callback_message (msgid, msgid_pos, msgid_plural, if (strcmp (po_lex_charset, weird_charsets[i]) == 0) break; if (i < SIZEOF (weird_charsets)) + /* TRANS: sentence starts at trans_id_1 or trans_id_2 */ note = _(", expect parse errors"); else note = ""; # if _LIBICONV_VERSION + /* TRANS: sentence trans_id_1 starts here */ error (0, 0, _("\ %s: warning: charset \"%s\" is not supported by iconv%s"), gram_pos.file_name, po_lex_charset, note); # else + /* TRANS: sentence trans_id_2 starts here */ error (0, 0, _("\ %s: warning: charset \"%s\" is not supported by iconv%s\n\ %*s warning: consider installing libiconv and then reinstalling GNU gettext"), @@ -309,10 +312,12 @@ po_callback_message (msgid, msgid_pos, msgid_plural, break; if (i < SIZEOF (weird_charsets)) { + /* TRANS: sentence trans_id_3 starts here */ error (0, 0, _("\ %s: warning: charset \"%s\" is not supported without iconv%s\n\ %*s warning: consider installing libiconv and then reinstalling GNU gettext"), gram_pos.file_name, po_lex_charset, + /* TRANS: sentence starts at trans_id_3 */ _(", expect parse errors"), (int) strlen (gram_pos.file_name), ""); --error_message_count; |