]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
po: add help text to e2fsprogs.pot explaining ix-nay on positional indicators
authorTheodore Ts'o <tytso@mit.edu>
Mon, 15 Jul 2019 00:57:51 +0000 (20:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 15 Jul 2019 00:58:49 +0000 (20:58 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
po/at-expand.pl
po/e2fsprogs.pot

index 47e4ebdc9b1df41e010e34e8c5870baa268c659f..fe685561d6015e59a2b559da254ffb8d118ed831 100644 (file)
@@ -25,7 +25,14 @@ my @translator_help = (
  "#. it can expand to either the string \"indirect block\" (possibly preceded\n",
  "#. by the word \"double\" or \"triple\"), or the string \"block #\" immediately\n",
  "#. followed by an integer indicating a block sequence number.\n",
- "#.  \n",
+ "#.\n",
+ "#. Please note that the %-expansion for most e2fsck's problem.c should not\n",
+ "#. use positional indicators such as %1$c, since although they look like c-style\n",
+ "#. format strings, they are NOT c-style format strings, and the positional\n",
+ "#. indicators (which BTW are GNU extensions and so won't work on other Unix\n",
+ "#. gettext implementations) won't work with e2fsck's print_e2fsck_message()\n",
+ "#. function found in e2fsck/message.c\n",
+ "#.\n",
  "#.   %b      <blk>                   block number\n",
  "#.   %B      \"indirect block\" | \"block #\"<blkcount>      string | string+integer\n",
  "#.   %c      <blk2>                  block number\n",
index 33f3a82d5e278bd6a7b60450b7365d1698522b14..0dd457eefae060c90dc991d21de284a7ee46f858 100644 (file)
 #. it can expand to either the string "indirect block" (possibly preceded
 #. by the word "double" or "triple"), or the string "block #" immediately
 #. followed by an integer indicating a block sequence number.
-#.  
+#.
+#. Please note that the %-expansion for most e2fsck's problem.c should not
+#. use positional indicators such as %1, since although they look like c-style
+#. format strings, they are NOT c-style format strings, and the positional
+#. indicators (which BTW are GNU extensions and so won't work on other Unix
+#. gettext implementations) won't work with e2fsck's print_e2fsck_message()
+#. function found in e2fsck/message.c
+#.
 #.     %b      <blk>                   block number
 #.     %B      "indirect block" | "block #"<blkcount>  string | string+integer
 #.     %c      <blk2>                  block number
@@ -72,7 +79,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: e2fsprogs v1.45.3\n"
 "Report-Msgid-Bugs-To: tytso@alum.mit.edu\n"
-"POT-Creation-Date: 2019-07-13 16:08-0400\n"
+"POT-Creation-Date: 2019-07-14 20:56-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"