aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/strings.xml9
-rw-r--r--java/res/xml/method.xml15
2 files changed, 24 insertions, 0 deletions
diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml
index 12abf8469..cb793cb4d 100644
--- a/java/res/values/strings.xml
+++ b/java/res/values/strings.xml
@@ -303,6 +303,15 @@
<!-- Description for English (United States) keyboard subtype with explicit keyboard layout [CHAR LIMIT=25]
This should be identical to subtype_en_US aside from the trailing (%s). -->
<string name="subtype_with_layout_en_US">English (US) (<xliff:g id="layout">%s</xliff:g>)</string>
+ <!-- TODO: Uncomment once we can handle IETF language tag with script name specified.
+ Description for Serbian Cyrillic keyboard subtype [CHAR LIMIT=25]
+ <string name="subtype_serbian_cyrillic">Serbian (Cyrillic)</string>
+ Description for Serbian Latin keyboard subtype [CHAR LIMIT=25]
+ <string name="subtype_serbian_latin">Serbian (Latin)</string>
+ Description for Serbian Latin keyboard subtype with explicit keyboard layout [CHAR LIMIT=25]
+ This should be identical to subtype_serbian_latin aside from the trailing (%s).
+ <string name="subtype_with_layout_sr-Latn">Serbian (Latin) (<xliff:g id="layout">%s</xliff:g>)</string>
+ -->
<!-- Description for language agnostic keyboard subtype [CHAR LIMIT=25] -->
<string name="subtype_no_language">No language</string>
<!-- Description for language agnostic QWERTY keyboard subtype [CHAR LIMIT=25] -->
diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml
index 27efc84c0..41d439e95 100644
--- a/java/res/xml/method.xml
+++ b/java/res/xml/method.xml
@@ -62,6 +62,7 @@
sk: Slovak/qwerty
sl: Slovenian/qwerty
sr: Serbian/south_slavic
+ (sr-Latn: Serbian/qwerty) # not yet implemented.
sv: Swedish/nordic
th: Thai/thai
tl: Tagalog/spanish
@@ -317,6 +318,20 @@
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="SupportTouchPositionCorrection"
/>
+ <!-- TODO: Uncomment once we can handle IETF language tag with script name specified.
+ <subtype android:icon="@drawable/ic_subtype_keyboard"
+ android:label="@string/subtype_serbian_cyrillic"
+ android:imeSubtypeLocale="sr"
+ android:imeSubtypeMode="keyboard"
+ android:imeSubtypeExtraValue="SupportTouchPositionCorrection"
+ />
+ <subtype android:icon="@drawable/ic_subtype_keyboard"
+ android:label="@string/subtype_serbian_latin"
+ android:imeSubtypeLocale="sr-Latn"
+ android:imeSubtypeMode="keyboard"
+ android:imeSubtypeExtraValue="KeyboardLayoutSet=qwerty,AsciiCapable"
+ />
+ -->
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:label="@string/subtype_generic"
android:imeSubtypeLocale="sv"