summaryrefslogtreecommitdiff
path: root/tools/lpgen/lpgen.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-22 10:56:27 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-22 10:56:27 +0000
commitcebec2980d00661cddf6d287800de656c6909f29 (patch)
tree7c8ef709f3286158ab3b321a273d5602ee3cdc48 /tools/lpgen/lpgen.bat
parent5a329278e222cffc29b9532e0a6dc5dd4b5f87d8 (diff)
lpgen script updated ,translation files updated
git-svn-id: http://svn.miranda-ng.org/main/trunk@524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen/lpgen.bat')
-rw-r--r--tools/lpgen/lpgen.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/lpgen/lpgen.bat b/tools/lpgen/lpgen.bat
new file mode 100644
index 0000000000..5bf3c05946
--- /dev/null
+++ b/tools/lpgen/lpgen.bat
@@ -0,0 +1,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 \ No newline at end of file