Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7f6fae9 authored by Chieu Nguyen's avatar Chieu Nguyen Committed by Android (Google) Code Review
Browse files

Merge "Make Hebrew spellchecking spellcheck Hebrew."

parents ef224cf6 16c262ab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
        }
+1 −1
Original line number Diff line number Diff line
@@ -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);