]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Improve comments in xgettext-13
authorAlex Henrie <alexhenrie24@gmail.com>
Fri, 6 Feb 2015 00:04:01 +0000 (09:04 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 6 Feb 2015 00:15:19 +0000 (09:15 +0900)
gettext-tools/tests/xgettext-13

index c463dd9fe56f692d2840e38b3e8eb632f7504518..dcd100433e65d836085df0be861798adf9fa46a0 100755 (executable)
@@ -2,7 +2,7 @@
 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
 
 # Test wrapping long lines.
-# Both msgid and location comments should wrap to at most 79 characters.
+# Both msgid and location comments should wrap at the same column.
 
 cat <<\EOF > xg-test13.c
 /* With --width=30, the following 10 gettext calls will produce:
@@ -11,7 +11,7 @@ cat <<\EOF > xg-test13.c
      #: x:8 x:9 x:10
      msgid "a"
 
-  because strlen("#:") + strlen(" x:N") * 7 = 30  */
+   because strlen("#:") + strlen(" x:N") * 7 = 30.  */
 #line 1 "x"
 gettext ("a");
 gettext ("a");
@@ -24,13 +24,13 @@ gettext ("a");
 gettext ("a");
 gettext ("a");
 
-/* The following gettext call will produce:
+/* And the following gettext call will produce:
 
     msgid ""
     "x:1 x:2 x:3 x:4 x:5 x:6 x:7 "
     "x:8 x:9 x:10"
 
-  because strlen("\"") + strlen("x:N ") * 7 + strlen("\"") = 30  */
+   because strlen("\"") + strlen("x:N ") * 7 + strlen("\"") = 30.  */
 gettext ("x:1 x:2 x:3 x:4 x:5 x:6 x:7 x:8 x:9 x:10");
 EOF