summary refs log tree commit diff stats
path: root/win32/compile-po-files.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win32/compile-po-files.bat')
-rw-r--r--win32/compile-po-files.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/compile-po-files.bat b/win32/compile-po-files.bat
new file mode 100644
index 00000000..6ffde997
--- /dev/null
+++ b/win32/compile-po-files.bat
@@ -0,0 +1,10 @@
+@echo off
+echo.Compiling translations . . .
+cd ..\po
+rmdir /q /s locale
+mkdir locale
+for %%A in (*.po) do (
+	mkdir locale\%%~nA\LC_MESSAGES
+	msgfmt -co locale\%%~nA\LC_MESSAGES\xchat.mo %%A
+)
+cd ..\win32