]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tr --help: gettextize a single paragraph as a single string
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 29 Aug 2008 20:52:06 +0000 (22:52 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 19 Sep 2008 10:27:37 +0000 (12:27 +0200)
Breaking a paragraph into several strings is awkward for translators.

src/tr.c

index 4dde099f039a481c9d7e6abdd1f0a9073a11ae6c..0f94eef845f2abcc4afcfb1001007a5c58fe8248 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
@@ -339,16 +339,10 @@ Interpreted sequences are:\n\
 \n\
 Translation occurs if -d is not given and both SET1 and SET2 appear.\n\
 -t may be used only when translating.  SET2 is extended to length of\n\
-SET1 by repeating its last character as necessary.  \
-"), stdout);
-     fputs (_("\
-Excess characters\n\
+SET1 by repeating its last character as necessary.  Excess characters\n\
 of SET2 are ignored.  Only [:lower:] and [:upper:] are guaranteed to\n\
 expand in ascending order; used in SET2 while translating, they may\n\
-only be used in pairs to specify case conversion.  \
-"), stdout);
-     fputs (_("\
--s uses SET1 if not\n\
+only be used in pairs to specify case conversion.  -s uses SET1 if not\n\
 translating nor deleting; else squeezing uses SET2 and occurs after\n\
 translation or deletion.\n\
 "), stdout);