Tweak extensions of intermediate .pot files
This commit is contained in:
parent
a420ff3c39
commit
4187ce6e8f
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ if "pot-update" in COMMAND_LINE_TARGETS:
|
|||
sources = map(lambda x: Dir("#").File(x), domain_sources[domain[7:]])
|
||||
if sources:
|
||||
source_pot = env.Command(
|
||||
join(domain, domain + ".cpp.po"),
|
||||
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 \
|
||||
|
@ -71,7 +71,7 @@ if "pot-update" in COMMAND_LINE_TARGETS:
|
|||
cfgs = map(lambda x: File(x, Dir("..")), cfgs)
|
||||
if cfgs:
|
||||
wml_pot = env.Command(
|
||||
join(domain, domain + ".wml.po"),
|
||||
join(domain, domain + ".wml.pot"),
|
||||
cfgs,
|
||||
"utils/wmlxgettext --directory=. --domain=%s $SOURCES > $TARGET" % domain
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue