diff options
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/values/config.xml | 4 | ||||
-rw-r--r-- | java/res/values/donottranslate.xml | 3 | ||||
-rw-r--r-- | java/res/values/strings.xml | 5 | ||||
-rw-r--r-- | java/res/xml/prefs.xml | 8 |
4 files changed, 19 insertions, 1 deletions
diff --git a/java/res/values/config.xml b/java/res/values/config.xml index ad580cc69..40cca9543 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -76,7 +76,9 @@ <!-- Modest : Suggestion whose normalized score is greater than this value will be subject to auto-correction. --> <item>0.22</item> - <!-- Aggressive : Suggestion whose normalized score is greater than this value + <!-- Aggressive --> + <item>0.08</item> + <!-- Very Aggressive : Suggestion whose normalized score is greater than this value will be subject to auto-correction. --> <item>0</item> </string-array> diff --git a/java/res/values/donottranslate.xml b/java/res/values/donottranslate.xml index 1c198d9cb..21e6c55c6 100644 --- a/java/res/values/donottranslate.xml +++ b/java/res/values/donottranslate.xml @@ -86,15 +86,18 @@ <string name="auto_correction_threshold_mode_index_off">0</string> <string name="auto_correction_threshold_mode_index_modest">1</string> <string name="auto_correction_threshold_mode_index_aggeressive">2</string> + <string name="auto_correction_threshold_mode_index_very_aggeressive">3</string> <string-array name="auto_correction_threshold_mode_indexes"> <item>@string/auto_correction_threshold_mode_index_off</item> <item>@string/auto_correction_threshold_mode_index_modest</item> <item>@string/auto_correction_threshold_mode_index_aggeressive</item> + <item>@string/auto_correction_threshold_mode_index_very_aggeressive</item> </string-array> <string-array name="auto_correction_threshold_modes"> <item>@string/auto_correction_threshold_mode_off</item> <item>@string/auto_correction_threshold_mode_modest</item> <item>@string/auto_correction_threshold_mode_aggeressive</item> + <item>@string/auto_correction_threshold_mode_very_aggeressive</item> </string-array> <string name="voice_mode_main">0</string> diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index 5d7a1f9c7..f6e130789 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -66,6 +66,9 @@ <!-- Option to enable auto capitalization of sentences --> <string name="auto_cap">Auto-capitalization</string> + <!-- Option to configure dictionaries --> + <string name="configure_dictionaries_title">Configure dictionaries</string> + <!-- Option to enable quick fixes --> <string name="quick_fixes">Quick fixes</string> <!-- Description for quick fixes --> @@ -101,6 +104,8 @@ <string name="auto_correction_threshold_mode_modest">Modest</string> <!-- Option to suggest auto correction candidates aggressively. Auto-corrects to a word which has even large edit distance from typed word. [CHAR LIMIT=20] --> <string name="auto_correction_threshold_mode_aggeressive">Aggressive</string> + <!-- Option to suggest auto correction candidates very aggressively. Auto-corrects to a word which has even large edit distance from typed word. [CHAR LIMIT=20] --> + <string name="auto_correction_threshold_mode_very_aggeressive">Very Aggressive</string> <!-- Option to enable bigram correction --> <string name="bigram_suggestion">Bigram suggestions</string> diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index 5f4a27d91..f68ee0168 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -68,6 +68,14 @@ <PreferenceCategory android:title="@string/correction_category" android:key="correction_settings"> + <PreferenceScreen + android:key="configure_dictionaries_key" + android:title="@string/configure_dictionaries_title"> + <intent + android:action="android.intent.action.MAIN" + android:targetPackage="com.google.android.inputmethod.latin.dictionarypack" + android:targetClass="com.google.android.inputmethod.latin.dictionarypack.DictionarySettings" /> + </PreferenceScreen> <CheckBoxPreference android:key="quick_fixes" android:title="@string/quick_fixes" |