From 36b3bcefcf13996610239f95b1dce9f291bde95d Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Sat, 20 Apr 2013 09:20:31 +0200 Subject: Some changes in qtz handling Executalbes, which work one language, generat qtz by own. (stringex,helpex,treex,propex) So these executables can generate qtz without po file when use them with qtz, call them with "-m" flag without parameter. Change-Id: I56c34db7151dc3ef0ce1c85ed607719e4cbb5e92 --- android/sdremote/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'android') diff --git a/android/sdremote/Makefile b/android/sdremote/Makefile index b8ea1e9088d3..26acfd8ae0bb 100644 --- a/android/sdremote/Makefile +++ b/android/sdremote/Makefile @@ -36,8 +36,10 @@ endef define android_translation_rules $(call android_get_po,$(1)): mkdir -p res/values-$(1) - echo $(SRCDIR)/translations/source/$(1)/android/sdremote/res/values.po > translations-$(1).db - $(OUTDIR_FOR_BUILD)/bin/stringex -i res/values/strings.xml -o res/values-$(1)/strings.xml -m translations-$(1).db -l $(1) + $(if $(filter-out qtz,$(1)), \ + echo $(SRCDIR)/translations/source/$(1)/android/sdremote/res/values.po > translations-$(1).db &&\ + $(OUTDIR_FOR_BUILD)/bin/stringex -i res/values/strings.xml -o res/values-$(1)/strings.xml -m translations-$(1).db -l $(1), \ + $(OUTDIR_FOR_BUILD)/bin/stringex -i res/values/strings.xml -o res/values-$(1)/strings.xml -m -l $(1)) endef @@ -46,7 +48,7 @@ $(foreach lang,$(1),$(call android_translation_rules,$(lang))) endef define android_get_langlist -$(foreach lang,$(filter-out en-US sat sid mai ast mni brx dgo qtz nso kok,$(WITH_LANG_LIST)),$(subst -,-r,$(lang))) +$(foreach lang,$(filter-out en-US sat sid mai ast mni brx dgo nso kok,$(WITH_LANG_LIST)),$(subst -,-r,$(lang))) endef $(eval $(call android_translations_rules,$(call android_get_langlist))) -- cgit v1.2.3