- Getting ready for V1.0.0 Release FossilOrigin-Name: 4316f39e171811d18bf86f592bdaca858683df12
21 lines
672 B
Batchfile
Executable File
21 lines
672 B
Batchfile
Executable File
@echo off
|
|
setlocal EnableDelayedExpansion
|
|
set SCRIPTDIR=%CD%
|
|
set PRJDIR=%SCRIPTDIR%\..
|
|
set QTPATH=C:\Qt\Qt5.3.1\5.3\mingw482_32
|
|
|
|
echo Converting localizations
|
|
del /q %PRJDIR%\rsrc\intl\*
|
|
if not exist %PRJDIR%\rsrc\intl\ mkdir %PRJDIR%\rsrc\intl\
|
|
|
|
REM Convert all except the en_US which is the original text in the code
|
|
|
|
%QTPATH%\bin\lrelease de_DE.ts -qm ..\rsrc\intl\de_DE.qm
|
|
%QTPATH%\bin\lrelease el_GR.ts -qm ..\rsrc\intl\el_GR.qm
|
|
%QTPATH%\bin\lrelease es_ES.ts -qm ..\rsrc\intl\es_ES.qm
|
|
%QTPATH%\bin\lrelease fr_FR.ts -qm ..\rsrc\intl\fr_FR.qm
|
|
%QTPATH%\bin\lrelease ru_RU.ts -qm ..\rsrc\intl\ru_RU.qm
|
|
%QTPATH%\bin\lrelease ru_RU.ts -qm ..\rsrc\intl\pt_PT.qm
|
|
|
|
endlocal
|