summaryrefslogtreecommitdiffstats
path: root/chrome/common/spellcheck_common.cc
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 05:25:48 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 05:25:48 +0000
commit6d972cce4fa50c2835b9a69cd423443cf75cf3c8 (patch)
treebaff275d4d55eb07b205877aeda344c129c9bdbd /chrome/common/spellcheck_common.cc
parent9567d701a3b52599c426640f91e1297bee325208 (diff)
downloadchromium_src-6d972cce4fa50c2835b9a69cd423443cf75cf3c8.zip
chromium_src-6d972cce4fa50c2835b9a69cd423443cf75cf3c8.tar.gz
chromium_src-6d972cce4fa50c2835b9a69cd423443cf75cf3c8.tar.bz2
Adds a unit test for the Serbian (Latin) dictionary.
This change adds a test case for the Serbian (Latin) dictionary and removes a comment for the test case for the Portuguese (Brazil) dictionary. BUG=53018,57494 TEST=unit_tests --gtest_filter=SpellCheckTest.SpellCheckText Review URL: http://codereview.chromium.org/6708081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/spellcheck_common.cc')
-rw-r--r--chrome/common/spellcheck_common.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/spellcheck_common.cc b/chrome/common/spellcheck_common.cc
index c34c2fd..21ff923 100644
--- a/chrome/common/spellcheck_common.cc
+++ b/chrome/common/spellcheck_common.cc
@@ -47,6 +47,7 @@ static const struct {
{"ru", "ru-RU"},
{"sk", "sk-SK"},
{"sl", "sl-SI"},
+ {"sh", "sh"},
{"sr", "sr"},
{"sv", "sv-SE"},
{"tr", "tr-TR"},
@@ -101,6 +102,8 @@ FilePath GetVersionedFileName(const std::string& input_language,
{"uk-UA", "-2-0"},
{"en-US", "-2-1"}, // 2-1 (Mar 2011): upgraded dictionaries.
{"en-CA", "-2-1"},
+ {"pt-BR", "-2-2"}, // 2-2 (Mar 2011): upgraded a dictionary.
+ {"sh", "-2-2"}, // 2-2 (Mar 2011): added a dictionary.
};
// Generate the bdict file name using default version string or special