src/tools/exportPot.bat
raw| 1 | ECHO on |
| 2 | PATH = D:\Dev\QtStatic\5.3\vs2010\bin\;%PATH% |
| 3 | SET PROFILE=%1 |
| 4 | SET ProName=%PROFILE:~0,-4% |
| 5 | SET TsFile=po/%ProName%.ts |
| 6 | SET PotFileName=deepin-windows-installer.pot |
| 7 | lupdate.exe %1 -target-language en_US -ts %TsFile% |
| 8 | lconvert.exe -i %TsFile% -if ts -o po\%PotFileName% -of po |
| 9 | rm %TsFile% |