abouttreesummaryrefslogcommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorJules Aguillon2023-08-10 12:57:31 +0200
committerJules Aguillon2023-08-16 12:21:23 +0200
commit500f4e41d3a72f5865aa489c89ad11b947fa54b7 (patch)
tree677781ff5e82c320456f21e91b8ffa41819fd439 /res/values
parent8611dbcfa0ef6d551bf3acb65e5a1990a3ced75b (diff)
downloadunexpected-keyboard-500f4e41d3a72f5865aa489c89ad11b947fa54b7.tar.gz
unexpected-keyboard-500f4e41d3a72f5865aa489c89ad11b947fa54b7.zip
Allow multiple custom layouts
This merges the "Layouts" option with the "Custom layout" option. A custom layout becomes an item in the "Layouts" list among the other layouts. It's possible to add several custom layouts. Selecting the "Custom layout" item in the list opens a second dialog for entering the layout description. Layouts are serialized as JSON object and are decoded solely in the LayoutsPreference class.
Diffstat (limited to 'res/values')
-rw-r--r--res/values/strings.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 72e651a..c8620f7 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -14,6 +14,7 @@
<string name="pref_layout_e_custom">Custom layout</string>
<string name="pref_layouts_add">Add an alternate layout</string>
<string name="pref_layouts_item">Layout %1$d: %2$s</string>
+ <string name="pref_custom_layout_title">Custom layout</string>
<string name="pref_show_numpad_title">Show NumPad</string>
<string name="pref_show_numpad_never">Never</string>
<string name="pref_show_numpad_landscape">Only in landscape mode</string>
@@ -65,9 +66,6 @@
<string name="pref_swipe_dist_e_very_far">Very far</string>
<string name="pref_key_horizontal_space">Horizontal spacing between the keys</string>
<string name="pref_key_vertical_space">Vertical spacing between the keys</string>
- <string name="pref_category_advanced">Advanced</string>
- <string name="pref_custom_layout_title">Custom layout</string>
- <string name="pref_custom_layout_summary">See the source code. This option is not meant to be used.</string>
<string name="pref_vibration_e_disabled">Disabled</string>
<string name="pref_vibration_e_system">System</string>
<string name="pref_vibration_e_strong">Strong</string>
@@ -101,4 +99,6 @@
<string name="key_descr_ยบ">Ordinal Indicator</string>
<string name="key_descr_superscript">Superscript</string>
<string name="key_descr_subscript">Subscript</string>
+ <!-- Unused -->
+ <string name="pref_category_advanced">Advanced</string>
</resources>