summaryrefslogtreecommitdiff
path: root/tools/lpgen/lpgen.pl.bat
blob: 5bf3c05946c22907609d4acf9a88a1d99e60afb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
call lpgen.pl

for /F %%i in ('dir /B /S ..\..\plugins\*-translation.txt') do copy /Y %%i ..\..\i18n

for /F %%i in ('dir /B /S ..\..\protocols\*-translation.txt') do copy /Y %%i ..\..\i18n

for /F %%i in ('dir /B /S ..\..\src\*-translation.txt') do copy /Y %%i ..\..\i18n

for /F %%i in ('dir /B /S ..\..\tools\*-translation.txt') do copy /Y %%i ..\..\i18n

pushd ..\..\i18n

if exist langpack_english.txt del /Q langpack_english.txt


for %%j in (*-translation.txt) do type "%%j" >> langpack_english.txt

del /Q *-translation.txt

popd