diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-09-21 21:19:48 +0200 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-09-21 21:19:48 +0200 |
commit | 969bd674c968c10adca66a0a7625e7568dd1ca64 (patch) | |
tree | 6359ffc375eda1b9ff5b9671bc1c0b4169bb877b /signs/tools/updatepo.sh | |
parent | 12b556e92907e934a029297b6c6cc8db0bed2c70 (diff) | |
download | display_modpack_no_craft-969bd674c968c10adca66a0a7625e7568dd1ca64.tar.gz display_modpack_no_craft-969bd674c968c10adca66a0a7625e7568dd1ca64.zip |
Reverting submodule change until zip file does not include submodule
Diffstat (limited to 'signs/tools/updatepo.sh')
-rwxr-xr-x | signs/tools/updatepo.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/signs/tools/updatepo.sh b/signs/tools/updatepo.sh deleted file mode 100755 index feb2504..0000000 --- a/signs/tools/updatepo.sh +++ /dev/null @@ -1,25 +0,0 @@ -#! /bin/bash - -# To create a new translation: -# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot - -cd "$(dirname "${BASH_SOURCE[0]}")/.."; - -# Extract translatable strings. -xgettext --from-code=UTF-8 \ - --language=Lua \ - --sort-by-file \ - --keyword=S \ - --keyword=NS:1,2 \ - --keyword=N_ \ - --keyword=F \ - --add-comments='Translators:' \ - --add-location=file \ - -o locale/template.pot \ - $(find . -name '*.lua') - -# Update translations. -find locale -name '*.po' | while read -r file; do - echo $file - msgmerge --update $file locale/template.pot; -done |