abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
authorJules Aguillon2022-07-24 23:44:37 +0200
committerJules Aguillon2022-07-24 23:44:37 +0200
commit081e9a6e531a34bb1639c2527f315c0be966e5d7 (patch)
tree4bb75abe59785809950a5287fd6ac94c7046cb3d /res
parentbfde31da6e74aa57e3bcd6f2985fd4588bd48814 (diff)
downloadunexpected-keyboard-081e9a6e531a34bb1639c2527f315c0be966e5d7.tar.gz
unexpected-keyboard-081e9a6e531a34bb1639c2527f315c0be966e5d7.zip
Add an option to control auto capitalisation
Diffstat (limited to 'res')
-rw-r--r--res/values-fr/strings.xml2
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/settings.xml1
3 files changed, 5 insertions, 0 deletions
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index ea8b4e7..10eb93a 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -8,6 +8,8 @@
<string name="pref_accents_e_all_installed">Afficher les accents pour les langues installées</string>
<string name="pref_accents_e_selected">Afficher les accents pour la langue sélectionnée</string>
<string name="pref_accents_e_none">Cacher les accents</string>
+ <string name="pref_autocapitalisation_title">Majuscule automatique</string>
+ <string name="pref_autocapitalisation_summary">Active Shift au début des phrases</string>
<string name="pref_category_typing">Saisie</string>
<string name="pref_swipe_dist_title">Distance de swipe</string>
<string name="pref_swipe_dist_summary">La distance des caractères dans les coins (%s)</string>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 88aefef..dd9f336 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -10,6 +10,8 @@
<string name="pref_accents_e_all_installed">Show accents for all installed languages</string>
<string name="pref_accents_e_selected">Only show accents for the selected language</string>
<string name="pref_accents_e_none">Hide accents</string>
+ <string name="pref_autocapitalisation_title">Automatic capitalisation</string>
+ <string name="pref_autocapitalisation_summary">Press Shift at the beginning of a sentence</string>
<string name="pref_programming_layout_title">Keyboard layout for programming</string>
<string name="pref_programming_layout_none">None</string>
<string name="pref_category_typing">Typing</string>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 7a09aef..4283d8d 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -6,6 +6,7 @@
<ListPreference android:key="programming_layout" android:title="@string/pref_programming_layout_title" android:summary="%s" android:defaultValue="none" android:entries="@array/pref_programming_layout_entries" android:entryValues="@array/pref_programming_layout_values"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_typing">
+ <CheckBoxPreference android:key="autocapitalisation" android:title="@string/pref_autocapitalisation_title" android:summary="@string/pref_autocapitalisation_summary" android:defaultValue="true"/>
<ListPreference android:key="swipe_dist" android:title="@string/pref_swipe_dist_title" android:summary="@string/pref_swipe_dist_summary" android:defaultValue="15" android:entries="@array/pref_swipe_dist_entries" android:entryValues="@array/pref_swipe_dist_values"/>
<juloo.common.IntSlideBarPreference android:key="longpress_timeout" android:title="@string/pref_long_timeout_title" android:summary="%sms" android:defaultValue="600" min="50" max="2000"/>
<juloo.common.IntSlideBarPreference android:key="longpress_interval" android:title="@string/pref_long_interval_title" android:summary="%sms" android:defaultValue="25" min="5" max="100"/>