summaryrefslogtreecommitdiff
path: root/tools/lpgen/lpgen.pl.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-11-15 09:18:53 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-11-15 09:18:53 +0000
commite9ce0a71574964d14a5ae08becdfc59b00f0eeb7 (patch)
tree5fea9aed953d81fb89aa235846c5aca48cede443 /tools/lpgen/lpgen.pl.bat
parent7205e006b83f8cbeb70c10507cfc2de7698cc4e9 (diff)
lpgen.js generator and langpacks/en uploaded
git-svn-id: http://svn.miranda-ng.org/main/trunk@2311 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen/lpgen.pl.bat')
-rw-r--r--tools/lpgen/lpgen.pl.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/lpgen/lpgen.pl.bat b/tools/lpgen/lpgen.pl.bat
new file mode 100644
index 0000000000..5bf3c05946
--- /dev/null
+++ b/tools/lpgen/lpgen.pl.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