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

Unified Diff: chrome/common/spellcheck_common.cc

Issue 6356009: Pull down new GB/AU dictionaries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deps + test Created 9 years, 11 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 c52dcba33d31bcdbefcc082ecd96050296670b76..31572de93ea34197686b4b40ad43b1853fba6ea8 100644
--- a/chrome/common/spellcheck_common.cc
+++ b/chrome/common/spellcheck_common.cc
@@ -73,9 +73,6 @@ FilePath GetVersionedFileName(const std::string& input_language,
// with additional words found by the translation team.
static const char kDefaultVersionString[] = "-1-2";
- // The following dictionaries have either not been augmented with additional
- // words (version 1-1) or have new words, as well as an upgraded dictionary
- // as of Feb 2009 (version 1-3).
static const struct {
// The language input.
const char* language;
@@ -83,9 +80,7 @@ FilePath GetVersionedFileName(const std::string& input_language,
// The corresponding version.
const char* version;
} special_version_string[] = {
- {"en-AU", "-1-1"},
- {"en-GB", "-1-1"},
- {"es-ES", "-1-1"},
+ {"es-ES", "-1-1"}, // 1-1: Have not been augmented with addtional words.
{"nl-NL", "-1-1"},
{"sv-SE", "-1-1"},
{"he-IL", "-1-1"},
@@ -93,14 +88,15 @@ FilePath GetVersionedFileName(const std::string& input_language,
{"hi-IN", "-1-1"},
{"tr-TR", "-1-1"},
{"et-EE", "-1-1"},
- {"fr-FR", "-2-0"}, // Hunspell fr(modern) 3.7 + Chromium delta.
- {"lt-LT", "-1-3"},
+ {"lt-LT", "-1-3"}, // 1-3 (Feb 2009): new words, as well as an upgraded
+ // dictionary.
{"pl-PL", "-1-3"},
+ {"fr-FR", "-2-0"}, // 2-0 (2010): upgraded dictionaries.
{"hu-HU", "-2-0"},
{"ro-RO", "-2-0"},
{"ru-RU", "-2-0"},
{"bg-BG", "-2-0"},
- {"sr", "-2-0"},
+ {"sr", "-2-0"},
{"uk-UA", "-2-0"},
};
« 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