]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Document qt-plural-format.
authorBruno Haible <bruno@clisp.org>
Wed, 28 Jan 2009 01:55:02 +0000 (01:55 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:16:00 +0000 (12:16 +0200)
gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi

index cd2021d35bdc5a7626ffaf09feb37199531cf9d5..5ed1aa89f3890a854ee189c36fb406fc856a6f02 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-27  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.texi (PO Files): Mention qt-plural-format.
+       (qt-plural-format): New subsection.
+
 2009-01-25  Bruno Haible  <bruno@clisp.org>
 
        * gettext.texi (Translating plural forms): New section.
index 2efc9b8b1b0635e430ab3b4e1ba720a8df1cc7b0..4ed422d8fac6c983731b6bfb617fd03eb17c15e3 100644 (file)
@@ -407,6 +407,7 @@ The Translator's View
 * php-format::                  PHP Format Strings
 * gcc-internal-format::         GCC internal Format Strings
 * qt-format::                   Qt Format Strings
+* qt-plural-format::            Qt Plural Format Strings
 * kde-format::                  KDE Format Strings
 * boost-format::                Boost Format Strings
 
@@ -1599,6 +1600,12 @@ Likewise for the GCC sources, see @ref{gcc-internal-format}.
 @kwindex no-qt-format@r{ flag}
 Likewise for Qt, see @ref{qt-format}.
 
+@item qt-plural-format
+@kwindex qt-plural-format@r{ flag}
+@itemx no-qt-plural-format
+@kwindex no-qt-plural-format@r{ flag}
+Likewise for Qt plural forms, see @ref{qt-plural-format}.
+
 @item kde-format
 @kwindex kde-format@r{ flag}
 @itemx no-kde-format
@@ -8893,6 +8900,7 @@ strings.
 * php-format::                  PHP Format Strings
 * gcc-internal-format::         GCC internal Format Strings
 * qt-format::                   Qt Format Strings
+* qt-plural-format::            Qt Plural Format Strings
 * kde-format::                  KDE Format Strings
 * boost-format::                Boost Format Strings
 @end menu
@@ -9103,7 +9111,7 @@ denotes a programming language, @samp{O} denotes a binary operator,
 @samp{P} denotes a function parameter, @samp{Q} denotes an assignment
 operator, @samp{V} denotes a const/volatile qualifier.
 
-@node qt-format, kde-format, gcc-internal-format, Translators for other Languages
+@node qt-format, qt-plural-format, gcc-internal-format, Translators for other Languages
 @subsection Qt Format Strings
 
 Qt format strings are described in the documentation of the QString class
@@ -9111,7 +9119,14 @@ Qt format strings are described in the documentation of the QString class
 In summary, a directive consists of a @samp{%} followed by a digit. The same
 directive cannot occur more than once in a format string.
 
-@node kde-format, boost-format, qt-format, Translators for other Languages
+@node qt-plural-format, kde-format, qt-format, Translators for other Languages
+@subsection Qt Format Strings
+
+Qt format strings are described in the documentation of the QObject::tr method
+@uref{file:/usr/lib/qt-4.3.0/doc/html/qobject.html}.
+In summary, the only allowed directive is @samp{%n}.
+
+@node kde-format, boost-format, qt-plural-format, Translators for other Languages
 @subsection KDE Format Strings
 
 KDE 4 format strings are defined as follows: