diff options
Diffstat (limited to 'tools/_deprecated/lpgen_im/lpgen.pl.bat')
-rw-r--r-- | tools/_deprecated/lpgen_im/lpgen.pl.bat | 20 |
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 |