Filter out three-letter locales - aapt breaks there.
See http://stackoverflow.com/questions/10330893/android-resources-for-languages-with-only-3-letter-codes for some more background. Change-Id: Ib8c62d008239de3f0ba35ebe17f8f6974f28beb1
This commit is contained in:
@@ -44,7 +44,7 @@ $(foreach lang,$(1),$(call android_translation_rules,$(lang)))
|
||||
endef
|
||||
|
||||
define android_get_langlist
|
||||
$(foreach lang,$(filter-out en-US,$(WITH_LANG_LIST)),$(subst -,-r,$(lang)))
|
||||
$(foreach lang,$(filter-out en-US sat sid mai ast mni brx dgo qtz nso kok,$(WITH_LANG_LIST)),$(subst -,-r,$(lang)))
|
||||
endef
|
||||
|
||||
$(eval $(call android_translations_rules,$(call android_get_langlist)))
|
||||
|
Reference in New Issue
Block a user