Add ASF-ui to crowdin

This commit is contained in:
JustArchi
2018-10-24 05:54:31 +02:00
parent ea4e218f6a
commit a33e05b11a
7 changed files with 56 additions and 4 deletions

View File

@@ -4,6 +4,12 @@ set -eu
cd "$(dirname "$(readlink -f "$0")")"
cd ../..
cd ASF-ui
git reset --hard
git clean -fd
git pull
cd ..
cd ASF-WebConfigGenerator
git reset --hard
git clean -fd
@@ -21,6 +27,12 @@ crowdin -b master --identity tools/crowdin-cli/crowdin_identity.yml upload sourc
crowdin -b master --identity tools/crowdin-cli/crowdin_identity.yml download
git reset
cd ASF-ui
git pull
git add -A "src/i18n/locale/*.json"
git commit -m "Translations update"
cd ..
cd ASF-WebConfigGenerator
git pull
git add -A "src/locale/*.json"
@@ -33,7 +45,7 @@ git add -A "locale/*.md"
git commit -m "Translations update"
cd ..
git add -A "ArchiSteamFarm/Localization/*.resx" "ASF-WebConfigGenerator" "wiki"
git add -A "ArchiSteamFarm/Localization/*.resx" "ASF-ui" "ASF-WebConfigGenerator" "wiki"
git commit -m "Translations update"
git push --recurse-submodules=on-demand