Skip to content

Commit

Permalink
No longer use .MO files
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Roach committed Aug 26, 2019
1 parent 33cfc32 commit ba12b7a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions composer.json
Expand Up @@ -122,10 +122,6 @@
"webtrees:lang": [
"Fisharebest\\Webtrees\\Console\\ComposerScripts::languageFiles"
],
"webtrees:mo": [
"for FILE in resources/lang/*/messages.po; do msgfmt --output=$(dirname $FILE)/$(basename $FILE .po).mo $FILE; done",
"rm -Rf data/cache/language*"
],
"webtrees:po": [
"sed -i.bak -e 's/\\(I18N::[^)]*[)]\\)/<?php echo \\1; ?>/g' resources/xml/reports/*.xml",
"git grep -I --name-only --fixed-strings -e I18N:: -- '*.php' '*.phtml' '*.xml' | xargs xgettext --package-name=webtrees --package-version=1.0 --msgid-bugs-address=i18n@webtrees.net --output=resources/lang/webtrees.pot --no-wrap --language=PHP --add-comments=I18N --from-code=utf-8 --keyword --keyword=translate:1 --keyword=translateContext:1c,2 --keyword=plural:1,2",
Expand Down

0 comments on commit ba12b7a

Please sign in to comment.