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.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/compile-po-files.bat b/build/compile-po-files.bat
new file mode 100644
index 00000000..64f2c4d3
--- /dev/null
+++ b/build/compile-po-files.bat
@@ -0,0 +1,7 @@
+@echo off
+echo.Compiling translations . . .
+cd ..\po
+rmdir /q /s locale
+mkdir locale
+for %%A in (am az be bg ca cs de el en_GB es et eu fi fr gl hi hu it ja kn ko lt lv mk ms nb nl no pa pl pt pt_BR ru sk sl sq sr sv th uk vi wa zh_CN zh_TW) do mkdir locale\%%A\LC_MESSAGES && msgfmt -co locale\%%A\LC_MESSAGES\xchat.mo %%A.po
+cd ..\build