diff options
author | 2013-10-08 13:06:16 +0900 | |
---|---|---|
committer | 2013-10-08 15:28:43 +0900 | |
commit | 10581e68af1de7d0b5d2c88927ad7bbad7dad600 (patch) | |
tree | f98252235425da1a9bc57452dc882bf444c800e9 /java/res | |
parent | a81d37eef640ffee430be813fcccf0a448cf7ed0 (diff) | |
download | latinime-10581e68af1de7d0b5d2c88927ad7bbad7dad600.tar.gz latinime-10581e68af1de7d0b5d2c88927ad7bbad7dad600.tar.xz latinime-10581e68af1de7d0b5d2c88927ad7bbad7dad600.zip |
Make the sentence separator a resource.
This will help handing correctly the armenian full stop.
Bug: 10082781
Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/values-hy/donottranslate.xml | 3 | ||||
-rw-r--r-- | java/res/values/donottranslate.xml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/java/res/values-hy/donottranslate.xml b/java/res/values-hy/donottranslate.xml index 4a6d188fb..7b0c56655 100644 --- a/java/res/values-hy/donottranslate.xml +++ b/java/res/values-hy/donottranslate.xml @@ -26,4 +26,7 @@ <!-- Symbols that separate words. Adding armenian period and comma. --> <!-- Don't remove the enclosing double quotes, they protect whitespace (not just U+0020) --> <string name="symbols_word_separators">"	 \n"()[]{}*&<>+=|.,;:!?/_\"։՝</string> + <!-- The sentence separator code point, for capitalization --> + <!-- U+0589: "։" ARMENIAN FULL STOP ; 589h = 1417d --> + <integer name="sentence_separator">1417</integer> </resources> diff --git a/java/res/values/donottranslate.xml b/java/res/values/donottranslate.xml index 42e692d2f..4733aa257 100644 --- a/java/res/values/donottranslate.xml +++ b/java/res/values/donottranslate.xml @@ -31,6 +31,9 @@ <string name="symbols_word_separators">"	 \n"()[]{}*&<>+=|.,;:!?/_\"</string> <!-- Word connectors --> <string name="symbols_word_connectors">\'-</string> + <!-- The sentence separator code point, for capitalization --> + <!-- U+002E: "." FULL STOP ; 2Eh = 46d --> + <integer name="sentence_separator">46</integer> <!-- Whether this language uses spaces between words --> <bool name="current_language_has_spaces">true</bool> |