From 5c724161bd26d9102d32c832ed18ba0780bac144 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Fri, 29 Oct 2010 19:59:07 +0200 Subject: clean-up for translation compiler script --- build/build-x86.bat | 1 - build/compile-po-files.bat | 135 +-------------------------------------------- 2 files changed, 2 insertions(+), 134 deletions(-) (limited to 'build') diff --git a/build/build-x86.bat b/build/build-x86.bat index 84345bd5..6a756e3d 100644 --- a/build/build-x86.bat +++ b/build/build-x86.bat @@ -27,6 +27,5 @@ nmake /nologo /s /f makefile-512.mak clean nmake /nologo /s /f makefile-512.mak cd ..\..\build call compile-po-files.bat -cd ..\build set PATH=%OPATH% call release-x86.bat 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 -- cgit 1.4.1