diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-27 13:50:08 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-27 14:32:44 +0100 |
commit | 95434a81c320717cd29c2aebc91a750c547f6c62 (patch) | |
tree | f4b5c8d6ef99205d5ac7a677d7aae7d6eed35f6d /solenv/gbuild/extensions | |
parent | add missing help files in packageinfo (diff) | |
download | core-95434a81c320717cd29c2aebc91a750c547f6c62.tar.gz core-95434a81c320717cd29c2aebc91a750c547f6c62.zip |
add uiconfig file translations
Change-Id: I9bb39bdd677af4be0da621370c51eb9e22ecc33f
Diffstat (limited to 'solenv/gbuild/extensions')
-rw-r--r-- | solenv/gbuild/extensions/post_PackageInfo.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/extensions/post_PackageInfo.mk b/solenv/gbuild/extensions/post_PackageInfo.mk index c83b8c8dd56f..9c1caec98743 100644 --- a/solenv/gbuild/extensions/post_PackageInfo.mk +++ b/solenv/gbuild/extensions/post_PackageInfo.mk @@ -54,10 +54,16 @@ define gb_PackageInfo_emit_l10n_for_one_ressource endef +define gb_PackageInfo_emit_l10n_for_one_uifile +@echo "$(gb_UIConfig_INSTDIR)/$(2)/ui/res/$(1)/$(3)" >> $(gb_PackageInfo_get_target)/l10n-$(1).files + +endef + define gb_PackageInfo_emit_l10n_for_one_lang @touch $(foreach suf,executables libraries files,$(gb_PackageInfo_get_target)/l10n-$(1).$(suf)) $(if $(filter-out qtz en-US,$(1)),$(foreach packagedir,$(patsubst %/,%,$(gb_AllLangPackage_ALLDIRS)),$(call gb_PackageInfo_emit_l10n_for_one_alllangpackage,$(packagedir),$(1)))) $(if $(filter $(gb_AllLangResTarget_LANGS),$(1)),$(foreach target,$(gb_AllLangResTarget_ALLTARGETS),$(call gb_PackageInfo_emit_l10n_for_one_ressource,$(target),$(1)))) +$(foreach uifile,$(gb_UIConfig_ALLFILES),$(call gb_PackageInfo_emit_l10n_for_one_uifile,$(1),$(firstword $(subst :,$(WHITESPACE),$(uifile))),$(lastword $(subst :,$(WHITESPACE),$(uifile))))) endef |