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

Unified Diff: chrome/browser/spellchecker.cc

Issue 89006: [chromium-reviews] Add Australian English spell check support. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « no previous file | chrome/third_party/hunspell/dictionaries/README_en_AU.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker.cc
===================================================================
--- chrome/browser/spellchecker.cc (revision 13899)
+++ chrome/browser/spellchecker.cc (working copy)
@@ -30,6 +30,7 @@
static const int kMaxSuggestions = 5; // Max number of dictionary suggestions.
+
namespace {
static const struct {
@@ -41,6 +42,7 @@
} g_supported_spellchecker_languages[] = {
{"en-US", "en-US"},
{"en-GB", "en-GB"},
+ {"en-AU", "en-AU"},
{"fr", "fr-FR"},
{"it", "it-IT"},
{"de", "de-DE"},
@@ -129,7 +131,7 @@
// Look for a match by comparing only language parts. All the 'en-RR'
// except for 'en-GB' exactly matched in the above loop, will match
- // 'en-US'. This is not ideal because 'en-AU', 'en-ZA', 'en-NZ' had
+ // 'en-US'. This is not ideal because 'en-ZA', 'en-NZ' had
// better be matched with 'en-GB'. This does not handle cases like
// 'az-Latn-AZ' vs 'az-Arab-AZ', either, but we don't use 3-part
// locale ids with a script code in the middle, yet.
@@ -344,6 +346,7 @@
// The corresponding version.
const char* version;
} special_version_string[] = {
+ {"en-AU", "-1-1"},
{"en-GB", "-1-1"},
{"es-ES", "-1-1"},
{"nl-NL", "-1-1"},
« no previous file with comments | « no previous file | chrome/third_party/hunspell/dictionaries/README_en_AU.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698