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
30 lines
1.2 KiB
XML
30 lines
1.2 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 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\u0027\n-/_</string>
|
|
<!-- Symbols that should promote 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>
|
|
</resources>
|