summaryrefslogtreecommitdiff
path: root/langpacks/czech/Generate.bat
diff options
context:
space:
mode:
Diffstat (limited to 'langpacks/czech/Generate.bat')
-rw-r--r--langpacks/czech/Generate.bat25
1 files changed, 25 insertions, 0 deletions
diff --git a/langpacks/czech/Generate.bat b/langpacks/czech/Generate.bat
new file mode 100644
index 0000000000..50798fa652
--- /dev/null
+++ b/langpacks/czech/Generate.bat
@@ -0,0 +1,25 @@
+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"
+
+cd "..\..\langpacks\tool\"
+LangpackSuite.exe \ No newline at end of file