summaryrefslogtreecommitdiff
path: root/langpacks/czech/Generate.bat
blob: 91a4b8560b05c62bbeb09a0c554d2488caf91bb9 (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
rem echo off
cd "..\..\tools\lpgen\"

mkdir "Plugins"
mkdir "Untranslated"

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"

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