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,10 @@
"source": "/ArchiSteamFarm/Localization/Strings.resx",
"translation": "/ArchiSteamFarm/Localization/Strings.%locale%.resx"
},
{
"source": "/ASF-ui/src/i18n/locale/default.json",
"translation": "/ASF-ui/src/i18n/locale/%locale%.json"
},
{
"source": "/ASF-WebConfigGenerator/src/locale/strings.json",
"translation": "/ASF-WebConfigGenerator/src/locale/%locale%.json"

View File

@@ -8,6 +8,12 @@ Set-Location ..\\..
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"
@@ -20,7 +26,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

View File

@@ -7,6 +7,12 @@ cd ../..
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"
@@ -19,7 +25,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

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

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

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

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