Update comments

Change-Id: I6aef328ec9041666cc168c8323bed04d39591b71
main
Ken Wakasa 2013-04-08 23:02:14 +09:00
parent 31f42ba0c2
commit d17c8bd929
2 changed files with 4 additions and 4 deletions

View File

@ -350,10 +350,10 @@
<!-- Inform the user that a particular language has an available dictionary --> <!-- Inform the user that a particular language has an available dictionary -->
<string name="has_dictionary">Dictionary available</string> <string name="has_dictionary">Dictionary available</string>
<!-- Preferences item for enabling to send user statistics to Google --> <!-- Preferences item for enabling to send user statistics for development only diagnostics -->
<string name="prefs_enable_log">Enable user feedback</string> <string name="prefs_enable_log">Enable user feedback</string>
<!-- Description for enabling to send user statistics to Google --> <!-- Description for enabling to send user statistics for development only diagnostics -->
<string name="prefs_description_log">Help improve this input method editor by automatically sending usage statistics and crash reports to Google.</string> <string name="prefs_description_log">Help improve this input method editor by automatically sending usage statistics and crash reports</string>
<!-- Title of the item to change the keyboard theme [CHAR LIMIT=20]--> <!-- Title of the item to change the keyboard theme [CHAR LIMIT=20]-->
<string name="keyboard_layout">Keyboard theme</string> <string name="keyboard_layout">Keyboard theme</string>

View File

@ -150,7 +150,7 @@ public abstract class AndroidWordLevelSpellCheckerSession extends Session {
// Greek letters are either in the 370~3FF range (Greek & Coptic), or in the // Greek letters are either in the 370~3FF range (Greek & Coptic), or in the
// 1F00~1FFF range (Greek extended). Our dictionary contains both sort of characters. // 1F00~1FFF range (Greek extended). Our dictionary contains both sort of characters.
// Our dictionary also contains a few words with 0xF2; it would be best to check // Our dictionary also contains a few words with 0xF2; it would be best to check
// if that's correct, but a Google search does return results for these words so // if that's correct, but a web search does return results for these words so
// they are probably okay. // they are probably okay.
return (codePoint >= 0x370 && codePoint <= 0x3FF) return (codePoint >= 0x370 && codePoint <= 0x3FF)
|| (codePoint >= 0x1F00 && codePoint <= 0x1FFF) || (codePoint >= 0x1F00 && codePoint <= 0x1FFF)