2010-12-28 03:57:48 +01:00
|
|
|
@echo off
|
|
|
|
REM ---------------------------
|
2011-04-10 19:14:23 +02:00
|
|
|
call "..\Deployment\_paths.bat"
|
2011-04-10 01:10:41 +02:00
|
|
|
call "%PATH_QTMSVC%\bin\qtvars.bat"
|
2010-12-28 03:57:48 +01:00
|
|
|
REM ---------------------------
|
|
|
|
del update.lst > NUL
|
|
|
|
REM ---------------------------
|
|
|
|
if exist update.lst (
|
|
|
|
echo "Failed to delete old 'update.lst' file!"
|
|
|
|
pause
|
|
|
|
exit
|
|
|
|
)
|
2011-01-02 04:19:01 +01:00
|
|
|
echo ^<TS version="2.0" sourcelanguage="en"^>^</TS^> > Blank.ts
|
2010-12-28 03:57:48 +01:00
|
|
|
REM ---------------------------
|
|
|
|
for %%f in (..\..\gui\*.ui) do (
|
|
|
|
echo %%f >> update.lst
|
|
|
|
)
|
|
|
|
for %%f in (..\..\src\*.cpp) do (
|
|
|
|
echo %%f >> update.lst
|
|
|
|
)
|
2011-01-01 19:28:19 +01:00
|
|
|
for %%f in (..\..\src\*.h) do (
|
|
|
|
echo %%f >> update.lst
|
|
|
|
)
|
2010-12-28 03:57:48 +01:00
|
|
|
REM ---------------------------
|
|
|
|
for %%f in (*.ts) do (
|
2011-01-14 19:45:14 +01:00
|
|
|
del %%f.bak 2> NUL
|
|
|
|
copy %%f %%f.bak
|
2010-12-28 21:26:16 +01:00
|
|
|
lupdate.exe @update.lst -no-obsolete -ts %%f
|
2010-12-28 03:57:48 +01:00
|
|
|
)
|
|
|
|
REM ---------------------------
|
|
|
|
pause
|