OSDN Git Service

More internationalization and localization...
[lamexp/LameXP.git] / etc / Translation / update.bat
1 @echo off
2 REM ---------------------------
3 set "QTVARS=E:\Qt\MSVC\4.7.1\bin\qtvars.bat"
4 REM ---------------------------
5 call "%QTVARS%"
6 del update.lst > NUL
7 REM ---------------------------
8 if exist update.lst (
9         echo "Failed to delete old 'update.lst' file!"
10         pause
11         exit
12 )
13 REM ---------------------------
14 for %%f in (..\..\gui\*.ui) do (
15         echo %%f >> update.lst
16 )
17 for %%f in (..\..\src\*.cpp) do (
18         echo %%f >> update.lst
19 )
20 REM ---------------------------
21 for %%f in (*.ts) do (
22         lupdate.exe @update.lst -no-obsolete -ts %%f
23 )
24 REM ---------------------------
25 pause