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