-
Notifications
You must be signed in to change notification settings - Fork 3
/
po.bat
3 lines (3 loc) · 563 Bytes
/
po.bat
1
2
3
git grep -I --name-only --fixed-strings -e I18N:: -- *.php *.phtml :(exclude)replacedWebtrees/Functions/FunctionsEdit.php | xargs xgettext --package-name=vesta --package-version=1.0 --msgid-bugs-address=ric@richard-cissee.de --output=resources/lang/messages.pot --no-wrap --language=PHP --add-comments=I18N --from-code=utf-8 --keyword --keyword=translate:1 --keyword=translateContext:1c,2 --keyword=plural:1,2
git ls-files *.po | xargs -I INPUT msgmerge --no-wrap --sort-output --no-fuzzy-matching --quiet --backup=off INPUT "resources/lang/messages.pot" -U
pause