diff options
author | David Tardon <dtardon@redhat.com> | 2013-01-07 10:08:21 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-01-07 10:12:04 +0100 |
commit | 85e36d2baa54eb7b65cc680389eacb2b5884c100 (patch) | |
tree | 656348b0875d6964d1122db1ec5ea25a1c4de1a2 | |
parent | 2c78a8cd8a299fc7ec44947f0f7cb0de7d28f391 (diff) |
deliver qtz translations for .ui files
regression from 76091d814ca084ba66fcb9db8bc4565c47ee16a5
Change-Id: I70c27cd3f72c453a1b4c2fb65b6172c8c251a741
-rw-r--r-- | solenv/gbuild/UI.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/solenv/gbuild/UI.mk b/solenv/gbuild/UI.mk index 5e284640e69f..6078df32c830 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 |