abouttreesummaryrefslogcommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorJules Aguillon2021-04-28 00:23:52 +0200
committerJules Aguillon2021-04-29 01:06:51 +0200
commitd00576ac2d7605c48034dc52e6622f48f680d4ae (patch)
tree4e52e2c1ff1785a2f762fd5de134dfe08a064802 /res/values
parentc86a11944873534c140cd07b7c91d63c939b45b6 (diff)
downloadunexpected-keyboard-d00576ac2d7605c48034dc52e6622f48f680d4ae.tar.gz
unexpected-keyboard-d00576ac2d7605c48034dc52e6622f48f680d4ae.zip
Add the "layout" option again
Some versions of android don't allow to configure several languages.
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml9
-rw-r--r--res/values/strings.xml11
2 files changed, 14 insertions, 6 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 896c515..c6e2139 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string-array name="pref_layout_values">
- <item>azerty</item>
- <item>qwerty</item>
- </string-array>
+ <string-array name="pref_layout_values">
+ <item>system</item>
+ <item>azerty</item>
+ <item>qwerty</item>
+ </string-array>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 9637b57..04c3b57 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -5,10 +5,17 @@
<string name="settings_activity_label">Unexpected Keyboard Settings</string>
- <string name="subtype_label_azerty">%s AZERTY</string>
- <string name="subtype_label_qwerty">%s QWERTY</string>
+ <string name="subtype_label_azerty">%s</string>
+ <string name="subtype_label_qwerty">%s</string>
<string name="pref_category_layout">Layout</string>
+ <string name="pref_layout_title">Change keyboard layout</string>
+ <string name="pref_layout_summary">%s</string>
+ <string-array name="pref_layout_entries">
+ <item>System settings</item>
+ <item>Azerty</item>
+ <item>Qwerty</item>
+ </string-array>
<string name="pref_disable_accent_keys_title">Toggle accent keys</string>
<string name="pref_disable_accent_keys_summary">Whether to remove the accent keys from the keyboard</string>