2018-05-31 11:12:15 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
2020-08-24 02:35:27 -05:00
|
|
|
git fetch weblate && git merge weblate/develop
|
|
|
|
|
2018-05-31 11:12:15 -05:00
|
|
|
cd client
|
2020-12-14 02:26:21 -06:00
|
|
|
npm run ng -- extract-i18n --out-file src/locale/angular.xlf
|
2020-08-12 03:40:04 -05:00
|
|
|
|
2019-11-07 02:45:14 -06:00
|
|
|
# Merge new translations in other language files
|
2024-11-29 04:23:59 -06:00
|
|
|
node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "is" "hr" "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" "tok" "sk-SK"
|
2018-06-06 07:23:40 -05:00
|
|
|
|
|
|
|
# Add our strings too
|
|
|
|
cd ../
|
2019-10-22 03:30:09 -05:00
|
|
|
npm run i18n:create-custom-files
|