]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add comments for translators.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2001 18:10:04 +0000 (18:10 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2001 18:10:04 +0000 (18:10 +0000)
src/ChangeLog
src/po.c

index 07f1f657d2f14f3654636a1d9853e4f15649b005..28a822cd467c7f077b5b44709a26af4c445f2caf 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 07cf4a84fb2837a262f0851210a0b17e75defb3c..f6e5899091db13ae5230f3aede1f0c9fb77a8cbb 100644 (file)
--- 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;