[packages/gettext] - updated to 0.26

qboosh qboosh at pld-linux.org
Sun Sep 28 14:27:27 CEST 2025


commit 75f95ae68576648efdbfe01de26eaaf306dfd803
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 28 14:30:28 2025 +0200

    - updated to 0.26

 gettext-info.patch | 150 +++++++++++++++++++++++++++++++----------------------
 gettext.spec       |  38 ++++++--------
 2 files changed, 104 insertions(+), 84 deletions(-)
---
diff --git a/gettext.spec b/gettext.spec
index 50e4553..3224737 100644
--- a/gettext.spec
+++ b/gettext.spec
@@ -40,12 +40,12 @@ Summary(ru.UTF-8):	Библиотеки и утилиты для поддерж
 Summary(tr.UTF-8):	Desteği için kitaplık ve araçlar
 Summary(uk.UTF-8):	Бібліотеки та утиліти для підтримки національних мов
 Name:		gettext
-Version:	0.25.1
-Release:	2
+Version:	0.26
+Release:	1
 License:	LGPL v2.1+ (libintl), GPL v3+ (tools)
 Group:		Development/Tools
 Source0:	https://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.lz
-# Source0-md5:	f6cf89b61cc29a1f097d4766f2342f56
+# Source0-md5:	22954d4bb74a5246de89a35fdfc5d174
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-killkillkill.patch
 Patch2:		%{name}-smack.patch
@@ -479,14 +479,6 @@ GNU gettext dla C#.
 %patch -P2 -p1
 %patch -P3 -p1
 
-%{__sed} -i \
-	-e 's at m4_esyscmd(\[build-aux/git-version-gen \.tarball-version\])@[%{version}]@' \
-	configure.ac
-%{__sed} -i \
-	-e 's at m4_esyscmd(\[\.\./build-aux/git-version-gen \.\./\.tarball-version\])@[%{version}]@' \
-	gettext-runtime/configure.ac \
-	gettext-tools/configure.ac
-
 %if %{without bootstrap}
 %{__sed} -i -e '/gl_LIBCROCO\|gl_LIBGLIB\|gl_LIBXML/s/(\[yes\])//' libtextstyle/gnulib-m4/gnulib-comp.m4
 %endif
@@ -627,9 +619,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /bin/ngettext
 %attr(755,root,root) %{_bindir}/envsubst
 %attr(755,root,root) %{_bindir}/gettext.sh
+%attr(755,root,root) %{_bindir}/printf_gettext
+%attr(755,root,root) %{_bindir}/printf_ngettext
 %{_mandir}/man1/envsubst.1*
 %{_mandir}/man1/gettext.1*
 %{_mandir}/man1/ngettext.1*
+%{_mandir}/man1/printf_gettext.1*
+%{_mandir}/man1/printf_ngettext.1*
 %dir %{_libdir}/gettext
 %dir %{_datadir}/gettext
 
@@ -710,13 +706,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libgettextlib-%{intabi}.so
 %attr(755,root,root) %{_libdir}/libgettextsrc-%{intabi}.so
 %attr(755,root,root) %{_libdir}/libgettextpo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgettextpo.so.0
+%ghost %{_libdir}/libgettextpo.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgettextlib.so
-%attr(755,root,root) %{_libdir}/libgettextsrc.so
-%attr(755,root,root) %{_libdir}/libgettextpo.so
+%{_libdir}/libgettextlib.so
+%{_libdir}/libgettextsrc.so
+%{_libdir}/libgettextpo.so
 %{_libdir}/libgettextlib.la
 %{_libdir}/libgettextsrc.la
 %{_libdir}/libgettextpo.la
@@ -733,11 +729,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc gettext-runtime/libasprintf/{AUTHORS,ChangeLog,README}
 %attr(755,root,root) %{_libdir}/libasprintf.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libasprintf.so.0
+%ghost %{_libdir}/libasprintf.so.0
 
 %files -n libasprintf-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libasprintf.so
+%{_libdir}/libasprintf.so
 %{_libdir}/libasprintf.la
 %{_includedir}/autosprintf.h
 %{_infodir}/autosprintf.info*
@@ -751,11 +747,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc libtextstyle/{AUTHORS,NEWS,README}
 %attr(755,root,root) %{_libdir}/libtextstyle.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtextstyle.so.0
+%ghost %{_libdir}/libtextstyle.so.0
 
 %files -n libtextstyle-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libtextstyle.so
+%{_libdir}/libtextstyle.so
 %{_libdir}/libtextstyle.la
 %{_includedir}/textstyle.h
 %{_includedir}/textstyle
@@ -795,11 +791,11 @@ rm -rf $RPM_BUILD_ROOT
 %files m2
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libintl_m2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libintl_m2.so.0
+%ghost %{_libdir}/libintl_m2.so.0
 
 %files m2-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libintl_m2.so
+%{_libdir}/libintl_m2.so
 %{_libdir}/libintl_m2.la
 # XXX: common dir for Modula-2 headers
 %dir %{_includedir}/m2
diff --git a/gettext-info.patch b/gettext-info.patch
index 2d6c2f1..151e027 100644
--- a/gettext-info.patch
+++ b/gettext-info.patch
@@ -1,6 +1,6 @@
---- gettext-0.25/gettext-tools/doc/gettext.texi.orig	2025-05-07 18:18:48.000000000 +0200
-+++ gettext-0.25/gettext-tools/doc/gettext.texi	2025-05-15 16:11:37.338562204 +0200
-@@ -59,30 +59,30 @@
+--- gettext-0.26/gettext-tools/doc/gettext.texi.orig	2025-06-30 13:50:43.000000000 +0200
++++ gettext-0.26/gettext-tools/doc/gettext.texi	2025-09-28 11:10:14.615394993 +0200
+@@ -59,32 +59,32 @@
  @include version.texi
  
  @ifinfo
@@ -26,6 +26,8 @@
 -* msgunfmt: (gettext)msgunfmt Invocation.      Uncompile MO file into PO file.
 -* msguniq: (gettext)msguniq Invocation.        Unify duplicates for PO file.
 -* ngettext: (gettext)ngettext Invocation.      Translate a message with plural.
+-* printf_gettext: (gettext)printf_gettext Invocation. Translate a format string.
+-* printf_ngettext: (gettext)printf_ngettext Invocation. Translate a format string with plural.
 -* xgettext: (gettext)xgettext Invocation.      Extract strings into a PO file.
 -* ISO639: (gettext)Language Codes.             ISO 639 language codes.
 -* ISO3166: (gettext)Country Codes.             ISO 3166 country codes.
@@ -48,13 +50,15 @@
 +* msgunfmt: (gettext)msgunfmt.		Uncompile MO file into PO file
 +* msguniq: (gettext)msguniq.		Unify duplicates for PO file
 +* ngettext: (gettext)ngettext.		Translate a message with plural
++* printf_gettext: (gettext)printf_gettext. Translate a format string
++* printf_ngettext: (gettext)printf_ngettext. Translate a format string with plural
 +* xgettext: (gettext)xgettext.		Extract strings into a PO file
 +* ISO639: (gettext)Language Codes.	ISO 639 language codes
 +* ISO3166: (gettext)Country Codes.	ISO 3166 country codes
  @end direntry
  @end ifinfo
  
-@@ -229,17 +229,17 @@ Preparing Program Sources
+@@ -241,17 +241,17 @@ Preparing Program Sources
  
  Making the PO Template File
  
@@ -75,7 +79,7 @@
  
  Editing PO Files
  
-@@ -276,16 +276,16 @@ Using Translation Compendia
+@@ -288,16 +288,16 @@ Using Translation Compendia
  
  Manipulating PO Files
  
@@ -102,7 +106,7 @@
  * Colorizing::                  Highlighting parts of PO files
  * Other tools::                 Other tools for manipulating PO files
  * libgettextpo::                Writing your own programs that process PO files
-@@ -300,8 +300,8 @@ Highlighting parts of PO files
+@@ -312,8 +312,8 @@ Highlighting parts of PO files
  
  Producing Binary MO Files
  
@@ -113,7 +117,7 @@
  * MO Files::                    The Format of GNU MO Files
  
  The Programmer's View
-@@ -347,7 +347,7 @@ The Maintainer's View
+@@ -359,7 +359,7 @@ The Maintainer's View
  
  * Flat and Non-Flat::           Flat or Non-Flat Directory Structures
  * Prerequisites::               Prerequisite Works
@@ -122,7 +126,7 @@
  * Adjusting Files::             Files You Must Create or Alter
  * autoconf macros::             Autoconf macros for use in @file{configure.ac}
  * Version Control Issues::      
-@@ -382,7 +382,7 @@ Integrating with Version Control Systems
+@@ -394,7 +394,7 @@ Integrating with Version Control Systems
  * Distributed Development::     Avoiding version mismatch in distributed development
  * Files under Version Control::  Files to put under version control
  * Translations under Version Control::  Put PO Files under Version Control
@@ -131,12 +135,14 @@
  
  Other Programming Languages
  
-@@ -463,13 +463,13 @@ sh - Shell Script
- 
- * Preparing Shell Scripts::     Preparing Shell Scripts for Internationalization
- * gettext.sh::                  Contents of @code{gettext.sh}
+@@ -480,15 +480,15 @@ sh - Shell Script
+ * Preparing for gettext.sh::    Preparing Shell Scripts for the @code{gettext.sh} approach
+ * Preparing for printf::        Preparing Shell Scripts for the @code{printf} approach
+ * Preparing for printf_gettext:: Preparing Shell Scripts for the @code{printf_gettext} approach
 -* gettext Invocation::          Invoking the @code{gettext} program
 -* ngettext Invocation::         Invoking the @code{ngettext} program
+-* printf_gettext Invocation::   Invoking the @code{printf_gettext} program
+-* printf_ngettext Invocation::  Invoking the @code{printf_ngettext} program
 -* envsubst Invocation::         Invoking the @code{envsubst} program
 -* eval_gettext Invocation::     Invoking the @code{eval_gettext} function
 -* eval_ngettext Invocation::    Invoking the @code{eval_ngettext} function
@@ -144,6 +150,8 @@
 -* eval_npgettext Invocation::   Invoking the @code{eval_npgettext} function
 +* gettext::                     Invoking the @code{gettext} program
 +* ngettext::                    Invoking the @code{ngettext} program
++* printf_gettext::              Invoking the @code{printf_gettext} program
++* printf_ngettext::             Invoking the @code{printf_ngettext} program
 +* envsubst::                    Invoking the @code{envsubst} program
 +* eval_gettext::                Invoking the @code{eval_gettext} function
 +* eval_ngettext::               Invoking the @code{eval_ngettext} function
@@ -152,7 +160,7 @@
  
  Perl
  
-@@ -1050,7 +1050,7 @@ contains all original program strings.
+@@ -1069,7 +1069,7 @@ contains all original program strings.
  exactly where in C sources each string is used.  All translations
  are set to empty.  The letter @code{t} in @file{.pot} marks this as
  a Template PO file, not yet oriented towards any particular language.
@@ -161,7 +169,7 @@
  @code{xgettext} program.  If you are @emph{really} lazy, you might
  be interested at working a lot more right away, and preparing the
  whole distribution setup (@pxref{Maintainers}).  By doing so, you
-@@ -1125,7 +1125,7 @@ obsolete, in @file{@var{lang}.po}, those
+@@ -1144,7 +1144,7 @@ obsolete, in @file{@var{lang}.po}, those
  which are no longer used in the program sources (@pxref{Obsolete
  Entries}).  It finally discovers new strings and inserts them in
  the resulting PO file as untranslated entries (@pxref{Untranslated
@@ -170,7 +178,7 @@
  @code{msgmerge} really does.
  
  Whatever route or means taken, the goal is to obtain an updated
-@@ -1149,8 +1149,8 @@ distribution.
+@@ -1168,8 +1168,8 @@ distribution.
  Once the PO file is complete and dependable, the @code{msgfmt} program
  is used for turning the PO file into a machine-oriented format, which
  may yield efficient retrieval of translations by the programs of the
@@ -181,7 +189,7 @@
  for the @code{msgfmt} program.
  
  Finally, the modified and marked C sources are compiled and linked
-@@ -1637,7 +1637,7 @@ string happens to look like a C format s
+@@ -1711,7 +1711,7 @@ string happens to look like a C format s
  
  When the @code{c-format} flag is given for a string the @code{msgfmt}
  program does some more tests to check the validity of the translation.
@@ -190,7 +198,7 @@
  
  @item objc-format
  @kwindex objc-format at r{ flag}
-@@ -3126,7 +3126,7 @@ to use must contain the string @code{xge
+@@ -3302,7 +3302,7 @@ to use must contain the string @code{xge
  
  If a string is marked with @code{c-format} and this is not correct the
  user can find out who is responsible for the decision.  See
@@ -199,7 +207,7 @@
  used for solving this problem.
  
  @node Special cases
-@@ -3158,7 +3158,7 @@ Consider the following case:
+@@ -3334,7 +3334,7 @@ Consider the following case:
  While it is no problem to mark the string @code{"a default message"} it
  is not possible to mark the string initializers for @code{messages}.
  What is to be done?  We have to fulfill two tasks.  First we have to mark the
@@ -208,7 +216,7 @@
  can find them, and second we have to translate the string at runtime
  before printing them.
  
-@@ -3188,8 +3188,7 @@ from the array.  So one solution can loo
+@@ -3364,8 +3364,7 @@ from the array.  So one solution can loo
  
  Please convince yourself that the string which is written by
  @code{fputs} is translated in any case.  How to get @code{xgettext} know
@@ -218,7 +226,7 @@
  
  The above is of course not the only solution.  You could also come along
  with the following one:
-@@ -3492,11 +3491,11 @@ was fuzzy, and the suffix @samp{.pot} wa
+@@ -3668,11 +3667,11 @@ was fuzzy, and the suffix @samp{.pot} wa
  @c FIXME: Rewrite.
  
  @menu
@@ -232,7 +240,7 @@
  @section Invoking the @code{xgettext} Program
  
  @include xgettext.texi
-@@ -3581,11 +3580,11 @@ To do so, the translator copies @file{@v
+@@ -3757,11 +3756,11 @@ To do so, the translator copies @file{@v
  the header entry of this file.
  
  @menu
@@ -246,7 +254,7 @@
  @section Invoking the @code{msginit} Program
  
  @include msginit.texi
-@@ -3818,10 +3817,10 @@ format of the plural forms field is desc
+@@ -3994,10 +3993,10 @@ format of the plural forms field is desc
  @chapter Updating Existing PO Files
  
  @menu
@@ -259,7 +267,7 @@
  @section Invoking the @code{msgmerge} Program
  
  @include msgmerge.texi
-@@ -5484,67 +5483,67 @@ sufficient, a library @samp{libgettextpo
+@@ -5660,67 +5659,67 @@ sufficient, a library @samp{libgettextpo
  write other specialized programs that process PO files.
  
  @menu
@@ -347,7 +355,7 @@
  @section Invoking the @code{msgexec} Program
  
  @include msgexec.texi
-@@ -6491,17 +6490,17 @@ the inclusion of @samp{<gettext-po.h>}.
+@@ -6667,17 +6666,17 @@ the inclusion of @samp{<gettext-po.h>}.
  @c FIXME: Rewrite.
  
  @menu
@@ -369,7 +377,7 @@
  @section Invoking the @code{msgunfmt} Program
  
  @include msgunfmt.texi
-@@ -7456,7 +7455,7 @@ below). at footnote{Additions are welcome.
+@@ -7632,7 +7631,7 @@ below). at footnote{Additions are welcome.
  The Unicode CLDR Project (@uref{http://cldr.unicode.org}) provides a
  comprehensive set of plural forms in a different format.  The
  @code{msginit} program has preliminary support for the format so you can
@@ -378,7 +386,7 @@
  
  @table @asis
  @item Only one form:
-@@ -8539,7 +8538,7 @@ for changes.
+@@ -8715,7 +8714,7 @@ for changes.
  @menu
  * Flat and Non-Flat::           Flat or Non-Flat Directory Structures
  * Prerequisites::               Prerequisite Works
@@ -387,7 +395,7 @@
  * Adjusting Files::             Files You Must Create or Alter
  * autoconf macros::             Autoconf macros for use in @file{configure.ac}
  * Version Control Issues::      
-@@ -8656,7 +8655,7 @@ Teams ought to settle their problems the
+@@ -8832,7 +8831,7 @@ Teams ought to settle their problems the
  a maintainer, ever think there is a real problem with a team, please
  never try to @emph{solve} a team's problem on your own.
  
@@ -396,7 +404,7 @@
  @section Invoking the @code{gettextize} Program
  
  @include gettextize.texi
-@@ -8822,7 +8821,7 @@ GUI programs.  To enable it, similarly a
+@@ -8998,7 +8997,7 @@ GUI programs.  To enable it, similarly a
  Similarly, you can create rules for building message catalogs for the
  @file{sr@@latin} locale -- Serbian written with the Latin alphabet --
  from those for the @file{sr} locale -- Serbian written with Cyrillic
@@ -405,7 +413,7 @@
  
  @node configure.ac
  @subsection @file{configure.ac} at top level
-@@ -9285,7 +9284,7 @@ GNU @code{gettext} installs macros for u
+@@ -9461,7 +9460,7 @@ GNU @code{gettext} installs macros for u
  
  In order to copy these macros into your package,
  use the @code{gettextize} or @code{autopoint} programs.
@@ -414,7 +422,7 @@
  Attempts to use the @code{autoreconf} program for this purpose are unreliable.
  
  The primary macro is, of course, @code{AM_GNU_GETTEXT}.
-@@ -9464,7 +9463,7 @@ AM_XGETTEXT_OPTION([--flag=error_at_line
+@@ -9640,7 +9639,7 @@ AM_XGETTEXT_OPTION([--flag=error_at_line
  to instruct @code{xgettext} to mark all translatable strings in @samp{gettext}
  invocations that occur as fifth argument to this function as @samp{c-format}.
  
@@ -423,7 +431,7 @@
  accepts.
  
  The use of this macro is an alternative to the use of the
-@@ -9534,7 +9533,7 @@ version controlled files.
+@@ -9710,7 +9709,7 @@ version controlled files.
  * Distributed Development::     Avoiding version mismatch in distributed development
  * Files under Version Control::  Files to put under version control
  * Translations under Version Control::  Put PO Files under Version Control
@@ -432,7 +440,7 @@
  @end menu
  
  @node Distributed Development
-@@ -9705,7 +9704,7 @@ recover the location comments by running
+@@ -9881,7 +9880,7 @@ recover the location comments by running
  
  @end itemize
  
@@ -441,7 +449,7 @@
  @subsection Invoking the @code{autopoint} Program
  
  @include autopoint.texi
-@@ -10939,7 +10938,7 @@ by a program.
+@@ -11207,7 +11206,7 @@ by a program.
  @item
  Or the translated strings can be merged back to the original XML document.
  To do this use the @code{msgfmt} program with the option @code{--xml}.
@@ -450,7 +458,7 @@
  the @samp{msgfmt} program.
  
  During this merge from a PO file into an XML file, it may happen that
-@@ -11170,7 +11169,7 @@ translators' PO files, through @code{msg
+@@ -11438,7 +11437,7 @@ translators' PO files, through @code{msg
  @subsection XML files
  
  See the section @ref{Preparing ITS Rules} and
@@ -467,19 +475,23 @@
  responsibilities of a package maintainer.  For the latter purpose, a
 -separate tool is provided, see @ref{autopoint Invocation}.
 +separate tool is provided, see @ref{autopoint}.
---- gettext-0.21/gettext-tools/doc/lang-sh.texi.orig	2020-06-06 16:03:32.000000000 +0200
-+++ gettext-0.21/gettext-tools/doc/lang-sh.texi	2020-10-11 19:27:53.682303742 +0200
-@@ -65,12 +65,12 @@
- * Preparing Shell Scripts::     Preparing Shell Scripts for Internationalization
- * gettext.sh::                  Contents of @code{gettext.sh}
+--- gettext-0.26/gettext-tools/doc/lang-sh.texi.orig	2025-07-04 10:25:03.000000000 +0200
++++ gettext-0.26/gettext-tools/doc/lang-sh.texi	2025-09-28 11:59:47.422623247 +0200
+@@ -71,14 +71,14 @@ An example is available in the @file{exa
+ * Preparing for printf::        Preparing Shell Scripts for the @code{printf} approach
+ * Preparing for printf_gettext:: Preparing Shell Scripts for the @code{printf_gettext} approach
  * gettext Invocation::          Invoking the @code{gettext} program
 -* ngettext Invocation::         Invoking the @code{ngettext} program
+-* printf_gettext Invocation::   Invoking the @code{printf_gettext} program
+-* printf_ngettext Invocation::  Invoking the @code{printf_ngettext} program
 -* envsubst Invocation::         Invoking the @code{envsubst} program
 -* eval_gettext Invocation::     Invoking the @code{eval_gettext} function
 -* eval_ngettext Invocation::    Invoking the @code{eval_ngettext} function
 -* eval_pgettext Invocation::    Invoking the @code{eval_pgettext} function
 -* eval_npgettext Invocation::   Invoking the @code{eval_npgettext} function
 +* ngettext::                    Invoking the @code{ngettext} program
++* printf_gettext::              Invoking the @code{printf_gettext} program
++* printf_ngettext::             Invoking the @code{printf_ngettext} program
 +* envsubst::                    Invoking the @code{envsubst} program
 +* eval_gettext::                Invoking the @code{eval_gettext} function
 +* eval_ngettext::               Invoking the @code{eval_ngettext} function
@@ -487,23 +499,8 @@
 +* eval_npgettext::              Invoking the @code{eval_npgettext} function
  @end menu
  
- @node Preparing Shell Scripts
-@@ -91,10 +91,10 @@
- 
- near the top of the script.  @code{gettext.sh} is a shell function library
- that provides the functions
-- at code{eval_gettext} (see @ref{eval_gettext Invocation}),
-- at code{eval_ngettext} (see @ref{eval_ngettext Invocation}),
-- at code{eval_pgettext} (see @ref{eval_pgettext Invocation}), and
-- at code{eval_npgettext} (see @ref{eval_npgettext Invocation}).
-+ at code{eval_gettext} (see @ref{eval_gettext}),
-+ at code{eval_ngettext} (see @ref{eval_ngettext}),
-+ at code{eval_pgettext} (see @ref{eval_pgettext}), and
-+ at code{eval_npgettext} (see @ref{eval_npgettext}).
- You have to ensure that @code{gettext.sh} can be found in the @code{PATH}.
- 
- @item
-@@ -204,16 +204,16 @@
+ @node sh - Three approaches
+@@ -116,16 +116,16 @@ The variable @code{echo} is set to a com
  and a newline, without interpreting backslashes in the argument string.
  
  @item eval_gettext
@@ -521,10 +518,25 @@
  @item eval_npgettext
 -See @ref{eval_npgettext Invocation}.
 +See @ref{eval_npgettext}.
- @end itemize
+ @end table
+ 
+ @subheading Advantages and Drawbacks
+@@ -249,10 +249,10 @@ Insert the line
  
- @node gettext Invocation
-@@ -225,7 +225,7 @@
+ near the top of the script.
+ @code{gettext.sh} is a shell function library that provides the functions
+- at code{eval_gettext} (see @ref{eval_gettext Invocation}),
+- at code{eval_ngettext} (see @ref{eval_ngettext Invocation}),
+- at code{eval_pgettext} (see @ref{eval_pgettext Invocation}), and
+- at code{eval_npgettext} (see @ref{eval_npgettext Invocation}).
++ at code{eval_gettext} (see @ref{eval_gettext}),
++ at code{eval_ngettext} (see @ref{eval_ngettext}),
++ at code{eval_pgettext} (see @ref{eval_pgettext}), and
++ at code{eval_npgettext} (see @ref{eval_npgettext}).
+ You have to ensure that @code{gettext.sh} can be found in the @code{PATH}.
+ 
+ @item
+@@ -589,7 +589,7 @@ Note: @code{xgettext} supports only the
  @code{gettext} invocation, where no options are present and the
  @var{textdomain} is implicit, from the environment.
  
@@ -533,10 +545,22 @@
  @subsubsection Invoking the @code{ngettext} program
  
  @include rt-ngettext.texi
-@@ -234,12 +234,12 @@
+@@ -598,22 +598,22 @@ Note: @code{xgettext} supports only the
  @code{ngettext} invocation, where no options are present and the
  @var{textdomain} is implicit, from the environment.
  
+- at node printf_gettext Invocation
++ at node printf_gettext
+ @subsubsection Invoking the @code{printf_gettext} program
+ 
+ @include rt-printf_gettext.texi
+ 
+- at node printf_ngettext Invocation
++ at node printf_ngettext
+ @subsubsection Invoking the @code{printf_ngettext} program
+ 
+ @include rt-printf_ngettext.texi
+ 
 - at node envsubst Invocation
 + at node envsubst
  @subsubsection Invoking the @code{envsubst} program
@@ -548,7 +572,7 @@
  @subsubsection Invoking the @code{eval_gettext} function
  
  @cindex @code{eval_gettext} function, usage
-@@ -252,7 +252,7 @@
+@@ -626,7 +626,7 @@ This function outputs the native languag
  performing dollar-substitution on the result.  Note that only shell variables
  mentioned in @var{msgid} will be dollar-substituted in the result.
  
@@ -557,7 +581,7 @@
  @subsubsection Invoking the @code{eval_ngettext} function
  
  @cindex @code{eval_ngettext} function, usage
-@@ -266,7 +266,7 @@
+@@ -640,7 +640,7 @@ whose grammatical form depends on a numb
  on the result.  Note that only shell variables mentioned in @var{msgid} or
  @var{msgid-plural} will be dollar-substituted in the result.
  
@@ -566,7 +590,7 @@
  @subsubsection Invoking the @code{eval_pgettext} function
  
  @cindex @code{eval_pgettext} function, usage
-@@ -280,7 +280,7 @@
+@@ -654,7 +654,7 @@ in the given context @var{msgctxt} (see
  dollar-substitution on the result.  Note that only shell variables mentioned
  in @var{msgid} will be dollar-substituted in the result.
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gettext.git/commitdiff/75f95ae68576648efdbfe01de26eaaf306dfd803



More information about the pld-cvs-commit mailing list