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

@@ -5,6 +5,12 @@ $ProgressPreference = 'SilentlyContinue'
Set-Location $PSScriptRoot
Set-Location ..\\..
Push-Location -Path ASF-ui
git reset --hard
git clean -fd
git pull
Pop-Location
Push-Location -Path ASF-WebConfigGenerator
git reset --hard
git clean -fd
@@ -22,6 +28,12 @@ crowdin -b master --identity tools\\crowdin-cli\\crowdin_identity.yml upload sou
crowdin -b master --identity tools\\crowdin-cli\\crowdin_identity.yml download
git reset
Push-Location -Path ASF-ui
git pull
git add -A "src\i18n\locale\*.json"
git commit -m "Translations update"
Pop-Location
Push-Location -Path ASF-WebConfigGenerator
git pull
git add -A "src\locale\*.json"
@@ -34,7 +46,7 @@ git add -A "locale\*.md"
git commit -m "Translations update"
Pop-Location
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