diff options
Diffstat (limited to 'module/Application/language/Makefile.am')
-rw-r--r-- | module/Application/language/Makefile.am | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/module/Application/language/Makefile.am b/module/Application/language/Makefile.am deleted file mode 100644 index f02f1ff..0000000 --- a/module/Application/language/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -all: update-pot update-all msgfmt-all - -update-pot: - @(echo 'Updating webui.pot ...';) - @(find ../../../ -regextype posix-egrep -regex '.*(php|phtml)$$' | grep -v vendor | grep -v tests | xargs xgettext --keyword=translate -L PHP --from-code=UTF-8 -o webui.pot;) - -update-po: $(PO) - @(echo 'Updating $(PO) file ...';) - @(msgmerge --backup=none -U $(PO) webui.pot) - -update-all: webui.pot - @(echo 'Updating all *.po files ...';) - @(for i in cn_CN cs_CZ de_DE en_EN es_ES fr_FR it_IT nl_BE ru_RU sk_SK tr_TR; do msgmerge --backup=none -U $$i.po $< && touch $$i.po; done;) - -msgfmt-all: webui.pot - @(echo 'Generating all *.mo files ...';) - @(for i in cn_CN cs_CZ de_DE en_EN es_ES fr_FR it_IT nl_BE ru_RU sk_SK tr_TR; do msgfmt $$i.po --output-file=$$i.mo; done;) |