summaryrefslogtreecommitdiff
path: root/langpacks/czech/Deprecated/old langpack/build.bat
blob: c6fc2bb09439a3c4eb53712c2585ad84503636c3 (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
:: 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 !