Hi,

In 'info gettext.info sources c-format' the following phrase
occurs: "...so that it cannot cause cause problems..."

Attached fixes this, and also makes some other small stylistic
improvements.  More could be made, but then I'd get beyond
the tiny change thing, I guess.

(Ehm...  Maybe the Msgid-Bugs reporting address in the POT
files could be updated from bug-gnu-gettext to bug-gettext?)

Regards,

Benno

-- 
http://www.fastmail.fm - mmm... Fastmail...

From e21f87a6d260a52fa540c31ec234b8b5bcf2c44d Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email protected]>
Date: Fri, 10 Jan 2014 11:30:55 +0100
Subject: [PATCH] doc: Fix doubled up word in "Sources" chapter, plus some tiny improvements.

Signed-off-by: Benno Schulenberg <[email protected]>
---
 gettext-tools/doc/gettext.texi |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi
index d873158..9e2ac39 100644
--- a/gettext-tools/doc/gettext.texi
+++ b/gettext-tools/doc/gettext.texi
@@ -2469,13 +2469,13 @@ is changed but of course the arguments in the @code{printf} don't have.
 This will most probably lead to problems because now the length of the
 string is regarded as the address.
 
-To prevent errors at runtime caused by translations the @code{msgfmt}
+To prevent errors at runtime caused by translations, the @code{msgfmt}
 tool can check statically whether the arguments in the original and the
 translation string match in type and number.  If this is not the case
 and the @samp{-c} option has been passed to @code{msgfmt}, @code{msgfmt}
-will give an error and refuse to produce a MO file.  Thus consequent
+will give an error and refuse to produce a MO file.  Thus consistent
 use of @samp{msgfmt -c} will catch the error, so that it cannot cause
-cause problems at runtime.
+problems at runtime.
 
 @noindent
 If the word order in the above German translation would be correct one
@@ -2488,12 +2488,12 @@ would have to write
 @noindent
 The routines in @code{msgfmt} know about this special notation.
 
-Because not all strings in a program must be format strings it is not
+Because not all strings in a program will be format strings, it is not
 useful for @code{msgfmt} to test all the strings in the @file{.po} file.
 This might cause problems because the string might contain what looks
 like a format specifier, but the string is not used in @code{printf}.
 
-Therefore the @code{xgettext} adds a special tag to those messages it
+Therefore @code{xgettext} adds a special tag to those messages it
 thinks might be a format string.  There is no absolute rule for this,
 only a heuristic.  In the @file{.po} file the entry is marked using the
 @code{c-format} flag in the @code{#,} comment line (@pxref{PO Files}).
-- 
1.7.0.4

Reply via email to