From 51bca83cdbf1ba6d3a682599c337181245b82f9f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 28 Jan 2009 01:55:02 +0000 Subject: [PATCH] Document qt-plural-format. --- gettext-tools/doc/ChangeLog | 5 +++++ gettext-tools/doc/gettext.texi | 19 +++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog index cd2021d35..5ed1aa89f 100644 --- a/gettext-tools/doc/ChangeLog +++ b/gettext-tools/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-01-27 Bruno Haible + + * gettext.texi (PO Files): Mention qt-plural-format. + (qt-plural-format): New subsection. + 2009-01-25 Bruno Haible * gettext.texi (Translating plural forms): New section. diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index 2efc9b8b1..4ed422d8f 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -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: -- 2.47.2