Make Hebrew spellchecking spellcheck Hebrew.
Bug: 19966676 Change-Id: I657d2989966804cc1b6e3b12670a2123b6f06127main
parent
f267e84548
commit
16c262abe5
|
@ -138,6 +138,8 @@ public final class AndroidSpellCheckerService extends SpellCheckerService
|
|||
return "east_slavic";
|
||||
case ScriptUtils.SCRIPT_GREEK:
|
||||
return "greek";
|
||||
case ScriptUtils.SCRIPT_HEBREW:
|
||||
return "hebrew";
|
||||
default:
|
||||
throw new RuntimeException("Wrong script supplied: " + script);
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ public class ScriptUtils {
|
|||
mLanguageCodeToScriptCode.put("ru", SCRIPT_CYRILLIC);
|
||||
mLanguageCodeToScriptCode.put("ka", SCRIPT_GEORGIAN);
|
||||
mLanguageCodeToScriptCode.put("el", SCRIPT_GREEK);
|
||||
mLanguageCodeToScriptCode.put("he", SCRIPT_HEBREW);
|
||||
mLanguageCodeToScriptCode.put("iw", SCRIPT_HEBREW);
|
||||
mLanguageCodeToScriptCode.put("km", SCRIPT_KHMER);
|
||||
mLanguageCodeToScriptCode.put("lo", SCRIPT_LAO);
|
||||
mLanguageCodeToScriptCode.put("ml", SCRIPT_MALAYALAM);
|
||||
|
|
Loading…
Reference in New Issue