From 059f329b3d409d4d84b2c8e591a4553c28235577 Mon Sep 17 00:00:00 2001 From: loonycyborg Date: Sat, 5 Mar 2016 04:55:34 +0300 Subject: [PATCH] scons: add missing --keyword arg to xgettext invocation --- po/SConscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/po/SConscript b/po/SConscript index 5bb3058313db..ca953671f5f2 100644 --- a/po/SConscript +++ b/po/SConscript @@ -57,10 +57,11 @@ if "pot-update" in COMMAND_LINE_TARGETS: join(domain, domain + ".cpp.pot"), sources, """xgettext --force-po --default-domain=%s --directory=. --add-comments=TRANSLATORS: \ - --from-code=UTF-8 --sort-by-file --keyword=sgettext \ - --keyword=vgettext --keyword=_n:1,2 --keyword=sngettext:1,2 --keyword=vngettext:1,2 \ + --from-code=UTF-8 --sort-by-file \ + --keyword=_ --keyword=N_ --keyword=sgettext --keyword=vgettext --keyword=VGETTEXT \ + --keyword=_n:1,2 --keyword=sngettext:1,2 --keyword=vngettext:1,2 \ --files-from=%s --copyright-holder='Wesnoth development team' --msgid-bugs-address=http://bugs.wesnoth.org/ \ - --keyword=_ --keyword=N_ --output=$TARGET \ + --output=$TARGET \ ; sed -i s/charset=CHARSET/charset=UTF-8/ $TARGET \ """ % (domain, join("po", domain, "POTFILES.in")) )