summaryrefslogtreecommitdiffstats
path: root/chrome/common/spellcheck_common.cc
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 03:43:58 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 03:43:58 +0000
commit12339e980e83376927f001eb7b696c9a1d3fb495 (patch)
treebf3e29bec152b156bb2d58e826d8fc736d742a38 /chrome/common/spellcheck_common.cc
parent5020d8dceed088b849318c2010427df1a82bd1ef (diff)
downloadchromium_src-12339e980e83376927f001eb7b696c9a1d3fb495.zip
chromium_src-12339e980e83376927f001eb7b696c9a1d3fb495.tar.gz
chromium_src-12339e980e83376927f001eb7b696c9a1d3fb495.tar.bz2
Uses the new spellchecker dictionaries on Chromium.
This change enables Chromium users to use the new spellchecker dictionaries added by r39400, r40614, and r41000. This change also adds a unit test for Hungarian and rebaselines the unit test for Romanian. As written in Issue 33024, the correct Romanian characters are U+0219 and U+021B even though our old Romanian dictionary uses U+015F and U+0163. So, this change rebaselined to use the correct Romanian characters. BUG=8397,15558,33024 TEST=unit_test.exe --gtest_filter=SpellCheckTest.SpellCheckText Review URL: http://codereview.chromium.org/661460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/spellcheck_common.cc')
-rw-r--r--chrome/common/spellcheck_common.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/common/spellcheck_common.cc b/chrome/common/spellcheck_common.cc
index e06d2eb..3789251 100644
--- a/chrome/common/spellcheck_common.cc
+++ b/chrome/common/spellcheck_common.cc
@@ -31,6 +31,7 @@ static const struct {
{"he", "he-IL"},
{"hi", "hi-IN"},
{"hr", "hr-HR"},
+ {"hu", "hu-HU"},
{"id", "id-ID"},
{"it", "it-IT"},
{"lt", "lt-LT"},
@@ -83,7 +84,6 @@ FilePath GetVersionedFileName(const std::string& input_language,
{"en-GB", "-1-1"},
{"es-ES", "-1-1"},
{"nl-NL", "-1-1"},
- {"ru-RU", "-1-1"},
{"sv-SE", "-1-1"},
{"he-IL", "-1-1"},
{"el-GR", "-1-1"},
@@ -92,7 +92,10 @@ FilePath GetVersionedFileName(const std::string& input_language,
{"et-EE", "-1-1"},
{"fr-FR", "-1-4"}, // To fix a crash, fr dictionary was updated to 1.4.
{"lt-LT", "-1-3"},
- {"pl-PL", "-1-3"}
+ {"pl-PL", "-1-3"},
+ {"hu-HU", "-2-0"},
+ {"ro-RO", "-2-0"},
+ {"ru-RU", "-2-0"},
};
// Generate the bdict file name using default version string or special