mirror of https://github.com/x64dbg/Translations
Reduce output spam from crowdin-cli
This commit is contained in:
parent
4ea2937ac5
commit
f196f36c5d
|
@ -2,4 +2,5 @@
|
||||||
*.qm
|
*.qm
|
||||||
*.jar
|
*.jar
|
||||||
*.zip
|
*.zip
|
||||||
|
*.log
|
||||||
translations/
|
translations/
|
||||||
|
|
|
@ -1,13 +1,19 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
echo Uploading English sources to Crowdin...
|
echo Uploading English sources to Crowdin...
|
||||||
java -jar crowdin-cli.jar upload sources --no-colors --no-progress
|
java -jar crowdin-cli.jar upload sources --no-colors --no-progress > upload.log 2>&1
|
||||||
if not %ERRORLEVEL%==0 exit /b
|
if not %ERRORLEVEL%==0 (
|
||||||
|
type upload.log
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
echo Downloading translations from Crowdin...
|
echo Downloading translations from Crowdin...
|
||||||
rmdir /S /Q translations >nul 2>&1
|
rmdir /S /Q translations >nul 2>&1
|
||||||
java -jar crowdin-cli.jar download --no-colors --no-progress
|
java -jar crowdin-cli.jar download --no-colors --no-progress > download.log 2>&1
|
||||||
if not %ERRORLEVEL%==0 exit /b
|
if not %ERRORLEVEL%==0 (
|
||||||
|
type download.log
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
echo Checking translations...
|
echo Checking translations...
|
||||||
TranslationChecker.exe translations --fix
|
TranslationChecker.exe translations --fix
|
||||||
|
|
Loading…
Reference in New Issue