From 8203f7afe7c885e185f8633a89960a78a69ac647 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 23 Jan 2013 15:41:43 +0900 Subject: [PATCH] Display custom input style name in system locale Bug: 8032166 Change-Id: Ib9a6b63c4d540ce377892fb865e53abdd8adec16 --- java/res/values/donottranslate.xml | 10 +- java/res/values/strings.xml | 5 + java/res/xml/method.xml | 2 +- .../latin/AdditionalSubtypeSettings.java | 10 +- .../inputmethod/latin/SettingsFragment.java | 2 +- .../inputmethod/latin/SubtypeLocale.java | 81 +++++--- .../inputmethod/latin/SubtypeLocaleTests.java | 178 ++++++++++++++++-- 7 files changed, 240 insertions(+), 48 deletions(-) diff --git a/java/res/values/donottranslate.xml b/java/res/values/donottranslate.xml index 36412b48f..edf615acc 100644 --- a/java/res/values/donottranslate.xml +++ b/java/res/values/donottranslate.xml @@ -120,18 +120,14 @@ + For each exception, there should be related string resources for display name that may have + explicit keyboard layout. The string resource name must be "subtype_" or + "subtype_with_layout_. Please refer to strings.xml for these resources. --> en_US en_GB es_US - - English (US) - English (UK) - Español (EE.UU.) - %s diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index e39cafc7f..ff1525657 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -319,12 +319,17 @@ English (UK) English (US) + + Spanish (US) English (UK) (%s) English (US) (%s) + + Spanish (US) (%s)