summaryrefslogtreecommitdiff
path: root/tools/lpgen/lpgen.pl.bat
diff options
context:
space:
mode:
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