summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-01-07 10:08:21 +0100
committerDavid Tardon <dtardon@redhat.com>2013-01-07 10:42:03 +0100
commit69a4961fd70a54237c7848faba4d132a6a96ba36 (patch)
treec6defc53766a29c86644592b8afd83ae421c0163 /solenv
parent7bdf322a45505af8e23397bbeb08f7e21cb88c09 (diff)
deliver qtz translations for .ui files
regression from 76091d814ca084ba66fcb9db8bc4565c47ee16a5 Change-Id: I70c27cd3f72c453a1b4c2fb65b6172c8c251a741 (cherry picked from commit 85e36d2baa54eb7b65cc680389eacb2b5884c100) Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/UI.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/solenv/gbuild/UI.mk b/solenv/gbuild/UI.mk
index f6f4e00d4b02..62f7870e9a6b 100644
--- a/solenv/gbuild/UI.mk
+++ b/solenv/gbuild/UI.mk
@@ -157,9 +157,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
@@ -170,7 +171,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