Comment files now start with a UTF-8 BOM
Added an "Apply" MessageBox button to handle the convert option asked by fossil Converted Q_WS_* to Q_OS_* since the first no longer exists in QT5 FossilOrigin-Name: f99bd8ac7960cb1758222d2211937e99708f67f3
This commit is contained in:
@ -1,20 +1,19 @@
|
||||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
set SCRIPTDIR=%CD%
|
||||
set PRJDIR=%SCRIPTDIR%\..
|
||||
set QTPATH=C:\Qt\5.3\mingw482_32
|
||||
|
||||
echo Converting localizations
|
||||
del %PRJDIR%\rsrc\intl\*
|
||||
if not exist %PRJDIR%\rsrc\intl\ mkdir %PRJDIR%\rsrc\intl\
|
||||
|
||||
REM Convert all except the en_US which is
|
||||
REM 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
|
||||
|
||||
endlocal
|
||||
@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
|
||||
|
||||
endlocal
|
||||
|
Reference in New Issue
Block a user