diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-06-19 10:55:55 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-06-19 10:55:55 +0000 |
commit | 618f12939c0ea66fb5502038400a1d44d9afb21a (patch) | |
tree | 54bb805a5247a30f847e14ad8a932b98927262d1 | |
parent | a39a781f193d5edf2025fd6788cc09cfdcde4926 (diff) |
Langpack refresher: Few more comments.
git-svn-id: http://svn.miranda-ng.org/main/trunk@5037 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | tools/lpgen/refresher.bat | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/lpgen/refresher.bat b/tools/lpgen/refresher.bat index 2eccca7f6c..517e5ad503 100644 --- a/tools/lpgen/refresher.bat +++ b/tools/lpgen/refresher.bat @@ -11,9 +11,9 @@ echo Set your variables in script and remove this line. & PAUSE & goto end REM === VARIABLES TO SET === -set "language=czech" -set "useOldLangpack=yes" -set "oldLangpackPath=Deprecated\old langpack\langpack_czech2.txt" +set "language=czech" & REM name of language from "langpacks\" folder +set "useOldLangpack=yes" & REM "yes" or "no", if "yes" make sure you correctly set path to old langpack file below +set "oldLangpackPath=Deprecated\old langpack\langpack_czech2.txt" & REM old langpack is searched in "langpacks\<your_langpack>\" folder REM ========================= @@ -31,8 +31,10 @@ mkdir "Plugins" mkdir "Untranslated" if "%phase%" == "0" ( + REM load strings from old langpack cscript /nologo translate.js /log:"yes" /out:"Plugins" /untranslated:"Untranslated" /outfile:"langpack_%language%.txt" /path:"..\..\langpacks\%language%\Plugins" /core:"..\..\langpacks\%language%\=CORE=.txt" /langpack:"..\..\langpacks\%language%\%oldLangpackPath%" ) else ( + REM load strings from recently created langpack (also to distribute strings between files) cscript /nologo translate.js /log:"yes" /out:"Plugins" /untranslated:"Untranslated" /outfile:"langpack_%language%.txt" /path:"..\..\langpacks\%language%\Plugins" /core:"..\..\langpacks\%language%\=CORE=.txt" /langpack:"..\..\langpacks\%language%\Langpack_%language%.txt" ) |