Update crowdin scripts for wiki

This commit is contained in:
JustArchi
2018-05-08 09:50:50 +02:00
parent 41c7d2e559
commit f4a603a606
2 changed files with 21 additions and 2 deletions

View File

@@ -3,6 +3,15 @@ pushd %~dp0
cd ..\\..
call crowdin -b master --identity tools\\crowdin-cli\\crowdin_identity.yml download
git reset
git add -A "ArchiSteamFarm\Localization\*.resx" "ArchiSteamFarm\www\locale\*.json" "WebConfigGenerator\src\locale\*.json"
cd wiki
git reset
git add -A "locale\*.md"
git commit -m "Translations update"
cd ..
git add -A "ArchiSteamFarm\Localization\*.resx" "ArchiSteamFarm\www\locale\*.json" "WebConfigGenerator\src\locale\*.json" "wiki"
git commit -m "Translations update"
git push --recurse-submodules=on-demand
pause

View File

@@ -2,8 +2,18 @@
pushd %~dp0
cd ..\\..
call crowdin -b master --identity tools\\crowdin-cli\\crowdin_identity.yml upload sources
call crowdin -b master --identity tools\\crowdin-cli\\crowdin_identity.yml download
git reset
git add -A "ArchiSteamFarm\Localization\*.resx" "ArchiSteamFarm\www\locale\*.json" "WebConfigGenerator\src\locale\*.json"
cd wiki
git reset
git add -A "locale\*.md"
git commit -m "Translations update"
cd ..
git add -A "ArchiSteamFarm\Localization\*.resx" "ArchiSteamFarm\www\locale\*.json" "WebConfigGenerator\src\locale\*.json" "wiki"
git commit -m "Translations update"
git push --recurse-submodules=on-demand
pause