summaryrefslogtreecommitdiff
path: root/langpacks/czech/Docs/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'langpacks/czech/Docs/build.bat')
-rw-r--r--langpacks/czech/Docs/build.bat40
1 files changed, 40 insertions, 0 deletions
diff --git a/langpacks/czech/Docs/build.bat b/langpacks/czech/Docs/build.bat
new file mode 100644
index 0000000000..c6fc2bb094
--- /dev/null
+++ b/langpacks/czech/Docs/build.bat
@@ -0,0 +1,40 @@
+:: This script automatically builds langpack_czech.txt, the Czech translation
+:: for Miranda-IM
+::
+:: $Id: build.bat 5057 2006-02-22 10:10:55Z sindlarv $
+
+@ECHO ON
+
+:: Let's start by adding header
+TYPE header.txt > langpack_czech.txt
+::
+ECHO. >> langpack_czech.txt
+ECHO. >> langpack_czech.txt
+
+:: We continue with the translation of Miranda itself
+TYPE miranda-translation.txt >> langpack_czech.txt
+::
+ECHO. >> langpack_czech.txt
+ECHO. >> langpack_czech.txt
+
+:: Now we are about to add some not yet localized strings
+TYPE unpublished-translation.txt >> langpack_czech.txt
+
+ECHO. >> langpack_czech.txt
+ECHO. >> langpack_czech.txt
+ECHO ; >> langpack_czech.txt
+ECHO ; *** PLUGINS *** >> langpack_czech.txt
+ECHO ; >> langpack_czech.txt
+ECHO. >> langpack_czech.txt
+
+:: Creates and processes list of *.txt files in the Plugin directory
+DIR plugins\*.txt /b /a:-d | SORT /L C > %TEMP%\}{.dat
+
+FOR /F "tokens=*" %%a IN (%TEMP%\}{.dat) DO (
+ ECHO. >> langpack_czech.txt
+ ECHO. >> langpack_czech.txt
+ TYPE "plugins\%%a" >> langpack_czech.txt )
+
+DEL %TEMP%\}{.dat
+
+:: That's all folks !