mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
863f95b605
Split symbols into: - Symbols that should swap themselves with a magic space. - Symbols that should remove the magic space. - Symbols that should transform the magic space into a real space. Also, have symbols inserted from the suggestion strip always consider the space before them to be magic. Also, do minor refactoring to remove useless variables or make clearer how to carry some symbol-related information. Bug: 4391347 Change-Id: Ie2308a62c8fef55e3610897c0f58943acb7aa8c9
159 lines
7.4 KiB
XML
159 lines
7.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** Copyright 2009, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<!-- Symbols that are suggested between words -->
|
|
<string name="suggested_punctuations">!?,\u0022\u0027:();-/@_</string>
|
|
<!-- Symbols that should be swapped with a magic space -->
|
|
<string name="magic_space_swapping_symbols">.,;:!?)]}\u0022</string>
|
|
<!-- Symbols that should strip a magic space -->
|
|
<string name="magic_space_stripping_symbols">\u0009\u0020\n/_\u0027-</string>
|
|
<!-- Symbols that should convert magic spaces into real space -->
|
|
<string name="magic_space_promoting_symbols">([*&@{<>+=|</string>
|
|
<!-- Symbols that do NOT separate words -->
|
|
<string name="non_word_separator_symbols">\u0027-</string>
|
|
<!-- Word separator list is the union of all symbols except those that are not separators:
|
|
magic_space_swapping_symbols | magic_space_stripping_symbols |
|
|
magic_space_neutral_symbols \ non_word_separator_symbols -->
|
|
|
|
<!-- Label for ALT modifier key. Must be short to fit on key! -->
|
|
<string name="label_alt_key">ALT</string>
|
|
<!-- Label for "Tab" key. Must be short to fit on key! -->
|
|
<string name="label_tab_key">Tab</string>
|
|
<!-- Label for "switch to symbols" key. Must be short to fit on key! -->
|
|
<string name="label_to_symbol_key">\?123</string>
|
|
<!-- Label for "switch to numeric" key. Must be short to fit on key! -->
|
|
<string name="label_to_numeric_key">123</string>
|
|
|
|
<!-- Option values to show/hide the settings key in onscreen keyboard -->
|
|
<!-- Automatically decide to show or hide the settings key -->
|
|
<string name="settings_key_mode_auto">0</string>
|
|
<!-- Always show the settings key -->
|
|
<string name="settings_key_mode_always_show">1</string>
|
|
<!-- Always hide the settings key -->
|
|
<string name="settings_key_mode_always_hide">2</string>
|
|
<!-- Array of the settings key mode values -->
|
|
<string-array name="settings_key_modes_values">
|
|
<item>@string/settings_key_mode_auto</item>
|
|
<item>@string/settings_key_mode_always_show</item>
|
|
<item>@string/settings_key_mode_always_hide</item>
|
|
</string-array>
|
|
<!-- Array of the settings key modes -->
|
|
<string-array name="settings_key_modes">
|
|
<item>@string/settings_key_mode_auto_name</item>
|
|
<item>@string/settings_key_mode_always_show_name</item>
|
|
<item>@string/settings_key_mode_always_hide_name</item>
|
|
</string-array>
|
|
|
|
<!-- Always show the suggestion strip -->
|
|
<string name="prefs_suggestion_visibility_show_value">0</string>
|
|
<!-- Show the suggestion strip only on portrait mode -->
|
|
<string name="prefs_suggestion_visibility_show_only_portrait_value">1</string>
|
|
<!-- Always hide the suggestion strip -->
|
|
<string name="prefs_suggestion_visibility_hide_value">2</string>
|
|
<!-- Default value of the visibility of the suggestion strip -->
|
|
<string name="prefs_suggestion_visibility_default_value">0</string>
|
|
<!-- Option to show/hide the suggestion strip -->
|
|
<string-array name="prefs_suggestion_visibility_values">
|
|
<item>@string/prefs_suggestion_visibility_show_value</item>
|
|
<item>@string/prefs_suggestion_visibility_show_only_portrait_value</item>
|
|
<item>@string/prefs_suggestion_visibility_hide_value</item>
|
|
</string-array>
|
|
<string-array name="prefs_suggestion_visibilities">
|
|
<item>@string/prefs_suggestion_visibility_show_name</item>
|
|
<item>@string/prefs_suggestion_visibility_show_only_portrait_name</item>
|
|
<item>@string/prefs_suggestion_visibility_hide_name</item>
|
|
</string-array>
|
|
|
|
<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-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>
|
|
</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>
|
|
</string-array>
|
|
|
|
<string name="voice_mode_main">0</string>
|
|
<string name="voice_mode_symbols">1</string>
|
|
<string name="voice_mode_off">2</string>
|
|
<string-array name="voice_input_modes_values">
|
|
<item>@string/voice_mode_main</item>
|
|
<item>@string/voice_mode_symbols</item>
|
|
<item>@string/voice_mode_off</item>
|
|
</string-array>
|
|
<!-- Array of Voice Input modes -->
|
|
<string-array name="voice_input_modes">
|
|
<item>@string/voice_input_modes_main_keyboard</item>
|
|
<item>@string/voice_input_modes_symbols_keyboard</item>
|
|
<item>@string/voice_input_modes_off</item>
|
|
</string-array>
|
|
<!-- Array of Voice Input modes summary -->
|
|
<string-array name="voice_input_modes_summary">
|
|
<item>@string/voice_input_modes_summary_main_keyboard</item>
|
|
<item>@string/voice_input_modes_summary_symbols_keyboard</item>
|
|
<item>@string/voice_input_modes_summary_off</item>
|
|
</string-array>
|
|
|
|
<!-- Title for Latin keyboard debug settings activity / dialog -->
|
|
<string name="english_ime_debug_settings">Android keyboard Debug settings</string>
|
|
<string name="prefs_debug_mode">Debug Mode</string>
|
|
|
|
<!-- Keyboard theme names -->
|
|
<string name="layout_basic">Basic</string>
|
|
<string name="layout_high_contrast">Basic (High Contrast)</string>
|
|
<string name="layout_stone_bold">Stone (bold)</string>
|
|
<string name="layout_stone_normal">Stone (normal)</string>
|
|
<string name="layout_gingerbread">Gingerbread</string>
|
|
<string name="layout_honeycomb">Honeycomb</string>
|
|
|
|
<!-- For keyboard theme switcher dialog -->
|
|
<string-array name="keyboard_layout_modes">
|
|
<item>@string/layout_basic</item>
|
|
<item>@string/layout_high_contrast</item>
|
|
<item>@string/layout_stone_normal</item>
|
|
<item>@string/layout_stone_bold</item>
|
|
<item>@string/layout_gingerbread</item>
|
|
<item>@string/layout_honeycomb</item>
|
|
</string-array>
|
|
<string-array name="keyboard_layout_modes_values">
|
|
<item>0</item>
|
|
<item>1</item>
|
|
<item>2</item>
|
|
<item>3</item>
|
|
<item>4</item>
|
|
<item>5</item>
|
|
</string-array>
|
|
|
|
<!-- Subtype locale name exceptions -->
|
|
<string-array name="subtype_locale_exception_keys">
|
|
<item>en_US</item>
|
|
<item>en_GB</item>
|
|
</string-array>
|
|
<string-array name="subtype_locale_exception_values">
|
|
<item>English (US)</item>
|
|
<item>English (UK)</item>
|
|
</string-array>
|
|
</resources>
|