From: Bruno Haible Date: Sun, 11 Mar 2001 18:10:04 +0000 (+0000) Subject: Add comments for translators. X-Git-Tag: v0.10.36~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eac5d44a642d1ac86c5926dd7c054fec149382db;p=thirdparty%2Fgettext.git Add comments for translators. --- diff --git a/src/ChangeLog b/src/ChangeLog index 07f1f657d..28a822cd4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-03-11 Bruno Haible + Karl Eichwalder + + * po.c (po_callback_message): Add comments to support translators. + 2001-03-11 Bruno Haible * po-lex.c (lex_close): Use ngettext and plural-form message. diff --git a/src/po.c b/src/po.c index 07cf4a84f..f6e589909 100644 --- a/src/po.c +++ b/src/po.c @@ -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;