Files
ArchiSteamFarm/tools/crowdin-cli/archi_download.ps1

28 lines
683 B
PowerShell
Raw Normal View History

2018-05-09 06:47:38 +02:00
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue'
Set-Location $PSScriptRoot
Set-Location ..\\..
crowdin -b master --identity tools\\crowdin-cli\\crowdin_identity.yml download
2017-09-23 05:51:10 +02:00
git reset
2018-05-08 09:50:50 +02:00
2018-09-22 22:23:53 +02:00
Push-Location -Path ASF-WebConfigGenerator
git pull
git add -A "src\locale\*.json"
git commit -m "Translations update"
Pop-Location
2018-05-09 06:47:38 +02:00
Push-Location -Path wiki
2018-05-08 09:58:21 +02:00
git pull
2018-05-08 09:50:50 +02:00
git add -A "locale\*.md"
git commit -m "Translations update"
2018-05-09 06:47:38 +02:00
Pop-Location
2018-05-08 09:50:50 +02:00
2018-09-22 22:23:53 +02:00
git add -A "ArchiSteamFarm\Localization\*.resx" "ArchiSteamFarm\www\locale\*.json" "ASF-WebConfigGenerator" "wiki"
2017-09-23 05:51:10 +02:00
git commit -m "Translations update"
2018-05-08 09:50:50 +02:00
git push --recurse-submodules=on-demand
pause