[Libreoffice-commits] .: solenv/gbuild
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Jan 7 01:12:26 PST 2013
solenv/gbuild/UI.mk | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
New commits:
commit 85e36d2baa54eb7b65cc680389eacb2b5884c100
Author: David Tardon <dtardon at redhat.com>
Date: Mon Jan 7 10:08:21 2013 +0100
deliver qtz translations for .ui files
regression from 76091d814ca084ba66fcb9db8bc4565c47ee16a5
Change-Id: I70c27cd3f72c453a1b4c2fb65b6172c8c251a741
diff --git a/solenv/gbuild/UI.mk b/solenv/gbuild/UI.mk
index 5e28464..6078df3 100644
--- a/solenv/gbuild/UI.mk
+++ b/solenv/gbuild/UI.mk
@@ -158,9 +158,10 @@ $(foreach lang,$(3),$(call gb_UI__add_uifile_for_lang,$(1),$(2),$(lang)))
endef
-# gb_UI__add_translations target uifile langs
+# gb_UI__add_translations target uifile langs qtz
define gb_UI__add_translations
-$(if $(strip $(3)),$(call gb_UI__add_translations_impl,$(1),$(2),$(3)))
+$(if $(strip $(3) $(4)),$(call gb_UI__add_translations_impl,$(1),$(2),$(3)))
+$(if $(strip $(4)),$(call gb_UI__add_uifile_for_lang,$(1),$(2),$(strip $(4))))
endef
@@ -171,7 +172,8 @@ define gb_UI__add_uifile_translations
$(call gb_UI__add_translations,$(1),$(2),\
$(foreach lang,$(gb_UI_LANGS),\
$(if $(wildcard $(gb_POLOCATION)/$(lang)/$(patsubst %/,%,$(dir $(2))).po),$(lang)) \
- ) \
+ ),\
+ $(filter qtz,$(gb_UI_LANGS)) \
)
endef
More information about the Libreoffice-commits
mailing list