44,16 → 44,18 |
# source language of all our files will be auto-detected by xgettext |
# by their filename extension. You should even avoid this parameter |
# if you want to extract strings from multiple source languages. |
# --keyword --keyword='_' --keyword='$$__' --keyword=__ --keyword=__x \ |
# --keyword=__n:1,2 --keyword=__nx:1,2 --keyword=__xn:1,2 \ |
# --keyword=__p:1c,2 --keyword=__np:1c,2,3 \ |
# --keyword=__npx:1c,2,3 --keyword=N__ --keyword=N__n:1,2 \ |
# --keyword=N__p:1c,2 --keyword=N__np:1c,2,3 --keyword=%__ \ |
$(TD).pot: $(POTFILES) |
$(XGETTEXT) --output=$(srcdir)/$(TD).pox --from-code=utf-8 \ |
--add-comments=TRANSLATORS: --files-from=$(srcdir)/POTFILES.in \ |
--package-name="$(PACKAGE_NAME)" \ |
--package-version="$(PACKAGE_VERSION)" \ |
--copyright-holder="$(COPYRIGHT_HOLDER)" \ |
--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \ |
--keyword --keyword='_' --keyword='$$__' --keyword=__ --keyword=__x \ |
--keyword=__n:1,2 --keyword=__nx:1,2 --keyword=__xn:1,2 \ |
--keyword=__p:1c,2 --keyword=__np:1c,2,3 \ |
--keyword=__npx:1c,2,3 --keyword=N__ --keyword=N__n:1,2 \ |
--keyword=N__p:1c,2 --keyword=N__np:1c,2,3 --keyword=%__ \ |
rm -f $@ && mv $(TD).pox $@ |
|
install: $(MO_FILES) |