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

Side by Side Diff: chrome/common/spellcheck_common.cc

Issue 2824042: Pull in the French spellcheck dictionary 2-0. This will be landed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/spellcheck_common.h" 5 #include "chrome/common/spellcheck_common.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 8
9 namespace SpellCheckCommon { 9 namespace SpellCheckCommon {
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 {"en-AU", "-1-1"}, 84 {"en-AU", "-1-1"},
85 {"en-GB", "-1-1"}, 85 {"en-GB", "-1-1"},
86 {"es-ES", "-1-1"}, 86 {"es-ES", "-1-1"},
87 {"nl-NL", "-1-1"}, 87 {"nl-NL", "-1-1"},
88 {"sv-SE", "-1-1"}, 88 {"sv-SE", "-1-1"},
89 {"he-IL", "-1-1"}, 89 {"he-IL", "-1-1"},
90 {"el-GR", "-1-1"}, 90 {"el-GR", "-1-1"},
91 {"hi-IN", "-1-1"}, 91 {"hi-IN", "-1-1"},
92 {"tr-TR", "-1-1"}, 92 {"tr-TR", "-1-1"},
93 {"et-EE", "-1-1"}, 93 {"et-EE", "-1-1"},
94 {"fr-FR", "-1-4"}, // To fix a crash, fr dictionary was updated to 1.4. 94 {"fr-FR", "-2-0"}, // Hunspell fr(modern) 3.7 + Chromium delta.
95 {"lt-LT", "-1-3"}, 95 {"lt-LT", "-1-3"},
96 {"pl-PL", "-1-3"}, 96 {"pl-PL", "-1-3"},
97 {"hu-HU", "-2-0"}, 97 {"hu-HU", "-2-0"},
98 {"ro-RO", "-2-0"}, 98 {"ro-RO", "-2-0"},
99 {"ru-RU", "-2-0"}, 99 {"ru-RU", "-2-0"},
100 {"bg-BG", "-2-0"}, 100 {"bg-BG", "-2-0"},
101 }; 101 };
102 102
103 // Generate the bdict file name using default version string or special 103 // Generate the bdict file name using default version string or special
104 // version string, depending on the language. 104 // version string, depending on the language.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 std::string language( 170 std::string language(
171 g_supported_spellchecker_languages[i].language_region); 171 g_supported_spellchecker_languages[i].language_region);
172 if (language == input_language) 172 if (language == input_language)
173 return std::string(g_supported_spellchecker_languages[i].language); 173 return std::string(g_supported_spellchecker_languages[i].language);
174 } 174 }
175 175
176 return input_language; 176 return input_language;
177 } 177 }
178 178
179 } // namespace SpellCheckCommon 179 } // namespace SpellCheckCommon
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698