Qt: Update lupdate scripts to point to 6.1.0
This commit is contained in:
parent
aac85299ea
commit
d2f4170d01
|
@ -65,7 +65,7 @@ REM A good .ts file has been passed
|
|||
:goodfile
|
||||
ECHO Updating %filename%...
|
||||
ECHO.
|
||||
SET "linguist=..\..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin"
|
||||
SET "linguist=..\..\..\dep\msvc\qt\6.1.0\msvc2019_64\bin"
|
||||
SET "context=.././ ../../core/ ../../frontend-common/ -tr-function-alias translate+=TranslateString -tr-function-alias translate+=TranslateStdString -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATABLE"
|
||||
|
||||
"%linguist%\lupdate.exe" %context% -ts %filename%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@echo off
|
||||
|
||||
set "linguist=..\..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin"
|
||||
set "linguist=..\..\..\dep\msvc\qt\6.1.0\msvc2019_64\bin"
|
||||
set context=../ ../../core/ ../../frontend-common/ -tr-function-alias translate+=TranslateString -tr-function-alias translate+=TranslateStdString -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATABLE -pluralonly
|
||||
|
||||
"%linguist%\lupdate.exe" %context% -ts duckstation-qt_en.ts
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
if not defined lang (echo Please set your language first & pause & exit)
|
||||
|
||||
set "linguist=..\..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin"
|
||||
set "linguist=..\..\..\dep\msvc\qt\6.1.0\msvc2019_64\bin"
|
||||
set context=../ ../../core/ ../../frontend-common/ -tr-function-alias translate+=TranslateString -tr-function-alias translate+=TranslateStdString -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATABLE
|
||||
|
||||
"%linguist%\lupdate.exe" %context% -ts duckstation-qt_%lang%.ts
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
set LUPDATE=..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ ../core/ ../frontend-common/ -tr-function-alias translate+=TranslateString -tr-function-alias translate+=TranslateStdString -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATABLE
|
||||
set LUPDATE=..\..\dep\msvc\qt\6.1.0\msvc2019_64\bin\lupdate.exe ./ ../core/ ../frontend-common/ -tr-function-alias translate+=TranslateString -tr-function-alias translate+=TranslateStdString -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATABLE
|
||||
|
||||
%LUPDATE% -ts translations\duckstation-qt_de.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_es.ts
|
||||
|
@ -7,8 +7,10 @@ set LUPDATE=..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ ../core/ ../
|
|||
%LUPDATE% -ts translations\duckstation-qt_it.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_ja.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_nl.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_pl.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_pt-br.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_pt-pt.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_ru.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_tr.ts
|
||||
%LUPDATE% -ts translations\duckstation-qt_zh-cn.ts
|
||||
pause
|
||||
|
|
Loading…
Reference in New Issue