aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/values
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-08-15 16:31:29 +0900
committerJean Chalard <jchalard@google.com>2013-08-16 21:01:08 +0900
commitc239a34262358e51aedb15f2e315bbe9bcd57c4b (patch)
tree908ab7adecbba19a65886a75240e7ec683f3ca37 /java/res/values
parenta440aa391c54b7d0d35a64aa4418ca1811518fa2 (diff)
downloadlatinime-c239a34262358e51aedb15f2e315bbe9bcd57c4b.tar.gz
latinime-c239a34262358e51aedb15f2e315bbe9bcd57c4b.tar.xz
latinime-c239a34262358e51aedb15f2e315bbe9bcd57c4b.zip
Support languages that don't use spaces.
Thai is an example. Bug: 10138062 Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7
Diffstat (limited to 'java/res/values')
-rw-r--r--java/res/values/donottranslate.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/res/values/donottranslate.xml b/java/res/values/donottranslate.xml
index e352f082b..8983536af 100644
--- a/java/res/values/donottranslate.xml
+++ b/java/res/values/donottranslate.xml
@@ -18,6 +18,8 @@
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- TODO: these settings depend on the language. They should be put either in the dictionary
+ header, or in the subtype maybe? -->
<!-- Symbols that are suggested between words -->
<string name="suggested_punctuations">!,?,\\,,:,;,\",(,),\',-,/,@,_</string>
<!-- Symbols that are normally preceded by a space (used to add an auto-space before these) -->
@@ -29,6 +31,8 @@
<string name="symbols_word_separators">"&#x0009;&#x0020;\n"()[]{}*&amp;&lt;&gt;+=|.,;:!?/_\"</string>
<!-- Word connectors -->
<string name="symbols_word_connectors">\'-</string>
+ <!-- Whether this language uses spaces -->
+ <bool name="current_language_has_spaces">true</bool>
<!-- Always show the suggestion strip -->
<string name="prefs_suggestion_visibility_show_value">0</string>