summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorEric Fischer <enf@google.com>2009-07-20 18:16:26 -0700
committerEric Fischer <enf@google.com>2009-07-20 18:16:26 -0700
commit7ca226b15b674613993a6d8d6daf1a679be2a0df (patch)
treec3c5cddada324fe9765dcda569f706dd8117d90b /res/values
parentba127f57ae143a0c7fad5a46b327c04eb2254737 (diff)
downloadpackages_apps_Settings-7ca226b15b674613993a6d8d6daf1a679be2a0df.zip
packages_apps_Settings-7ca226b15b674613993a6d8d6daf1a679be2a0df.tar.gz
packages_apps_Settings-7ca226b15b674613993a6d8d6daf1a679be2a0df.tar.bz2
Add a way to override the display names for locales in the locale picker.
In particular, show (the Chinese for) "Chinese (Simplified)" and "Chinese (Traditional)" instead of "Chinese (China)" and "Chinese (Taiwan)".
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index a470acc..6ec90ca 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -255,4 +255,17 @@
<item>2</item>
</string-array>
+ <!-- Locales in this list are displayed with the corresponding
+ name from special_locale_names instead of using the name
+ from Locale.getDisplayName(). -->
+ <string-array translatable="false" name="special_locale_codes">
+ <item>zh_CN</item>
+ <item>zh_TW</item>
+ </string-array>
+
+ <string-array translatable="false" name="special_locale_names">
+ <item>中文(简体)</item>
+ <item>中文 (繁體)</item>
+ </string-array>
+
</resources>