summaryrefslogtreecommitdiff
path: root/tools/_deprecated/lpgen_im/lpgen.pl.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-10 07:02:03 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-10 07:02:03 +0000
commit2e7712a526556ead476ead3083039417f7eba863 (patch)
tree08d39530aa68819d3b3b6dd2faa5809820d8f4a4 /tools/_deprecated/lpgen_im/lpgen.pl.bat
parent1c9438df505e5fb6d47d3bc2e806be352f1a573f (diff)
- Old stuff moved to deprecated
git-svn-id: http://svn.miranda-ng.org/main/trunk@6039 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/_deprecated/lpgen_im/lpgen.pl.bat')
-rw-r--r--tools/_deprecated/lpgen_im/lpgen.pl.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/_deprecated/lpgen_im/lpgen.pl.bat b/tools/_deprecated/lpgen_im/lpgen.pl.bat
new file mode 100644
index 0000000000..5bf3c05946
--- /dev/null
+++ b/tools/_deprecated/lpgen_im/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