summaryrefslogtreecommitdiff
path: root/langpacks/czech/Generate.bat
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-22 11:01:46 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-22 11:01:46 +0000
commit0cb61e02bbbe6ee70b0d0a3cf8dcb3c4de8249c6 (patch)
tree90c973e1fff24a443bafd1cef8c25bfbb69c93af /langpacks/czech/Generate.bat
parentf63198b0a1a66cb631c624327ee69fd1de4de652 (diff)
Czech langpack: Added script for generating/updating langpack. Small update of strings.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4795 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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