summary refs log tree commit diff stats
path: root/build/compile-po-files.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build/compile-po-files.bat')
-rw-r--r--build/compile-po-files.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/compile-po-files.bat b/build/compile-po-files.bat
new file mode 100644
index 00000000..5d47abc3
--- /dev/null
+++ b/build/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 ..\build