Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: chrome/common/spellcheck_common.cc

Issue 1814503003: Spellchecking: Added use of Persian dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bumped third_party/hunspell_dictionaries DEPS hash Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | chrome/renderer/spellchecker/spellcheck_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/spellcheck_common.cc
diff --git a/chrome/common/spellcheck_common.cc b/chrome/common/spellcheck_common.cc
index f032c7062922dc810e0494223857ce5a5e8d2106..17063498081394607c592bacb4486b0c7491bec1 100644
--- a/chrome/common/spellcheck_common.cc
+++ b/chrome/common/spellcheck_common.cc
@@ -38,12 +38,13 @@ static const LanguageRegion g_supported_spellchecker_languages[] = {
{"da", "da-DK"},
{"de", "de-DE"},
{"el", "el-GR"},
- {"en-AU", "en-AU"},
+ {"en-AU", "en-GB"},
{"en-CA", "en-CA"},
{"en-GB", "en-GB"},
{"en-US", "en-US"},
{"es", "es-ES"},
{"et", "et-EE"},
+ {"fa", "fa-IR"},
{"fo", "fo-FO"},
{"fr", "fr-FR"},
{"he", "he-IL"},
@@ -113,13 +114,14 @@ base::FilePath GetVersionedFileName(const std::string& input_language,
// crash.
{"tg-TG", "-5-0"}, // Mar 4, 2014: Add Tajik dictionary.
- // Oct 28, 2014: Update from upstream, add new words.
- {"en-AU", "-4-0"},
- {"en-GB", "-4-0"},
+ // March 2016: Update from upstream
+ {"en-AU", "-7-0"},
+ {"en-CA", "-7-0"},
+ {"en-GB", "-7-0"},
+ {"en-US", "-7-0"},
- // March 10, 2015: Update from upstream, enable typographical apostrophe.
- {"en-CA", "-6-1"},
- {"en-US", "-6-1"},
+ // March 2016: Initial check-in of Persian
+ {"fa-IR", "-7-0"},
};
// Generate the bdict file name using default version string or special
« no previous file with comments | « DEPS ('k') | chrome/renderer/spellchecker/spellcheck_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698