]>
Commit | Line | Data |
---|---|---|
989e526a C |
1 | #!/bin/sh |
2 | ||
3 | set -eu | |
4 | ||
49a56c72 C |
5 | git fetch weblate && git merge weblate/develop |
6 | ||
989e526a | 7 | cd client |
5d221dcd | 8 | npm run ng -- extract-i18n --out-file src/locale/angular.xlf |
66357162 | 9 | |
3aea8eb2 | 10 | # Merge new translations in other language files |
66175ae8 | 11 | node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "ca-ES" "gl-ES" "cs-CZ" "da-DK" "de-DE" "el-GR" "en-GB" "en-US" "eo" "es-ES" "eu-ES" "fa-IR" "fi-FI" "fr-FR" "gd" "gl-ES" "hu-HU" "it-IT" "ja-JP" "jbo" "kab" "ko-KR" "lt-LT" "nb-NO" "nl-NL" "oc" "pl-PL" "pt-BR" "pt-PT" "ru-RU" "sk-SK" "sl-SI" "sv-SE" "ta" "th-TH" "tr-TR" "uk-UA" "vi-VN" "zh-Hans-CN" "zh-Hant-TW" "nn" "nb-NO" |
e945b184 C |
12 | |
13 | # Add our strings too | |
14 | cd ../ | |
1cd4fe50 | 15 | npm run i18n:create-custom-files |