diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-08-15 06:52:45 +0200 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-08-15 06:52:45 +0200 |
commit | e42cccd473ef49392a2b9f025a01802d1d12020e (patch) | |
tree | 0b8b2e36c451bf966ea8667f0b4c88c835614820 | |
parent | 5f510f457a7f219382011bab1afef78d9e0ac797 (diff) |
simplify l10n compiler script
-rw-r--r-- | build/compile-po-files.bat | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/compile-po-files.bat b/build/compile-po-files.bat index 64f2c4d3..5d47abc3 100644 --- a/build/compile-po-files.bat +++ b/build/compile-po-files.bat @@ -3,5 +3,8 @@ 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 +for %%A in (*.po) do ( + mkdir locale\%%~nA\LC_MESSAGES + msgfmt -co locale\%%~nA\LC_MESSAGES\xchat.mo %%A +) cd ..\build |