[PATCH] Use '--keyword=P_:1, 2' for plural gettext string extraction (#567417).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See:
http://www.gnu.org/software/hello/manual/gettext/xgettext-Invocation.html

for the details.  The 1,2 addition tells xgettext where to find the
singular and plural string forms.
---
 po/Makevars |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/po/Makevars b/po/Makevars
index fec4365..454a61f 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -8,7 +8,7 @@ subdir = po
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=P_ --from-code=UTF-8
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=P_:1,2 --from-code=UTF-8
 
 # This is the copyright holder that gets inserted into the header of the
 # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
-- 
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux