X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fi18n%2Fupdate.sh;h=8a276088c035ed7181cc972545708ea4137b5d68;hb=ca3734631fc9e7776b21de618b84257df33ab85a;hp=822344cddb664368ea5ac3686d536ae95f52ba11;hpb=2b199db4fc84bbd890c181e9b70e75e35e526a47;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh index 822344cdd..8a276088c 100755 --- a/scripts/i18n/update.sh +++ b/scripts/i18n/update.sh @@ -5,10 +5,10 @@ set -eu git fetch weblate && git merge weblate/develop cd client -npm run ng -- extract-i18n --i18n-locale "en-US" --out-file src/locale/angular.xlf src/locale/angular.xlf +npm run ng -- extract-i18n --out-file src/locale/angular.xlf # Merge new translations in other language files -npm run ng run -- PeerTube:xliffmerge +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" # Add our strings too cd ../