mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 17:45:41 +00:00
13 lines
484 B
Batchfile
13 lines
484 B
Batchfile
@echo off
|
|
|
|
if not defined lang (echo Please set your language first & pause & exit)
|
|
|
|
set "linguist=..\..\..\dep\msvc\qt\5.15.0\msvc2017_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
|
|
pause
|
|
|
|
cd "%linguist%"
|
|
start /B linguist.exe "%~dp0\duckstation-qt_%lang%.ts"
|