diff options
| author | Jules Aguillon | 2021-12-30 21:37:34 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2021-12-30 21:37:34 +0100 |
| commit | b05f6e84475d2c6fcc2d400efbc5882b9fcc38e2 (patch) | |
| tree | f2ba442f1e5a327bca262bde313655a79fde6ffa /res/values | |
| parent | f69a0605a81de992a89f9d32752f5f21a0618a16 (diff) | |
| download | unexpected-keyboard-b05f6e84475d2c6fcc2d400efbc5882b9fcc38e2.tar.gz unexpected-keyboard-b05f6e84475d2c6fcc2d400efbc5882b9fcc38e2.zip | |
Simplify string definitions
Inline constants in settings.xml, strings.xml is only for strings that
can be translated.
Diffstat (limited to 'res/values')
| -rw-r--r-- | res/values/arrays.xml | 7 | ||||
| -rw-r--r-- | res/values/strings.xml | 16 |
2 files changed, 6 insertions, 17 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index ae5fbd6..d8c83f1 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -5,7 +5,11 @@ <item>azerty</item> <item>qwerty</item> </string-array> - <string name="pref_accents_default">1</string> + <string-array name="pref_layout_entries"> + <item>@string/pref_layout_e_system</item> + <item>AZERTY</item> + <item>QWERTY</item> + </string-array> <string-array name="pref_accents_entries"> <item>@string/pref_accents_e_all_installed</item> <item>@string/pref_accents_e_selected</item> @@ -23,7 +27,6 @@ <item>@string/pref_theme_e_light</item> <item>@string/pref_theme_e_black</item> </string-array> - <string name="pref_theme_default">dark</string> <string-array name="pref_theme_values"> <item>dark</item> <item>light</item> diff --git a/res/values/strings.xml b/res/values/strings.xml index 36019ca..b41fdc5 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -2,17 +2,10 @@ <resources> <string name="app_name">Unexpected Keyboard</string> <string name="settings_activity_label">Unexpected Keyboard Settings</string> - <string name="subtype_label">%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_layout_e_system">System settings</string> <string name="pref_accents_title">Accents</string> - <string name="pref_accents_summary">%s</string> <string name="pref_accents_e_all_installed">Show accents for all the installed languages</string> <string name="pref_accents_e_selected">Show accents for the selected language</string> <string name="pref_accents_e_all">Show every accents</string> @@ -21,27 +14,20 @@ <string name="pref_preci_title">Precision</string> <string name="pref_preci_summary">Distance of corner values (%spx)</string> <string name="pref_long_timeout_title">Long press timeout</string> - <string name="pref_long_timeout_summary">%sms</string> <string name="pref_long_interval_title">Long press interval</string> - <string name="pref_long_interval_summary">%sms</string> <string name="pref_category_vibrate">Vibration</string> <string name="pref_vibrate_title">Vibration</string> <string name="pref_vibrate_summary">Enable/Disable vibrations on key down</string> <string name="pref_vibrate_duration_title">Duration</string> - <string name="pref_vibrate_duration_summary">%sms</string> <string name="pref_precise_repeat_title">Precise cursor movements</string> <string name="pref_precise_repeat_summary">Modulate the speed of movements by swiping more or less</string> <string name="pref_category_style">Style</string> <string name="pref_margin_bottom_title">Margin bottom</string> - <string name="pref_margin_bottom_summary">%sdp</string> <string name="pref_key_height_title">Key height</string> - <string name="pref_key_height_summary">%sdp</string> <string name="pref_horizontal_margin_title">Horizontal margin</string> - <string name="pref_horizontal_margin_summary">%sdp</string> <string name="pref_character_size_title">Label size</string> <string name="pref_character_size_summary">Size of characters displayed on the keyboard (%.2fx)</string> <string name="pref_theme">Theme</string> - <string name="pref_theme_summary">%s</string> <string name="pref_theme_e_dark">Dark</string> <string name="pref_theme_e_light">Light</string> <string name="pref_theme_e_black">Black</string> |
