blob: d5a928528dc44de811b295e5f08c9e19243f1739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
@echo off
set phase=0
:start
cd "..\..\tools\lpgen\"
mkdir "Plugins"
mkdir "Untranslated"
if "%phase%" == "0" (
cscript /nologo translate.js /log:"yes" /out:"Plugins" /untranslated:"Untranslated" /outfile:"langpack_czech.txt" /path:"..\..\langpacks\czech\Plugins" /core:"..\..\langpacks\czech\=CORE=.txt" /langpack:"..\..\langpacks\czech\Deprecated\old langpack\langpack_czech2.txt"
) else (
cscript /nologo translate.js /log:"yes" /out:"Plugins" /untranslated:"Untranslated" /outfile:"langpack_czech.txt" /path:"..\..\langpacks\czech\Plugins" /core:"..\..\langpacks\czech\=CORE=.txt" /langpack:"..\..\langpacks\czech\Langpack_czech.txt"
)
rm -r "../../langpacks/czech/Plugins"
rm -r "../../langpacks/czech/Untranslated"
rm -r "../../langpacks/czech/=CORE=.txt"
rm -r "../../langpacks/czech/Langpack_czech.txt"
mkdir "..\..\langpacks\czech\Plugins"
mkdir "..\..\langpacks\czech\Untranslated"
copy "Plugins\" "..\..\langpacks\czech\Plugins\"
copy "Untranslated\" "..\..\langpacks\czech\Untranslated\"
copy "=CORE=.txt" "..\..\langpacks\czech\=CORE=.txt"
rm -r "Plugins"
rm -r "Untranslated"
rm "=CORE=.txt"
rm "Langpack_czech.txt"
cd "..\..\langpacks\tool\"
LangpackSuite.exe \q \pczech
if "%phase%" == "1" (
goto end
) else (
set phase=1
goto start
)
:end
|