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

Side by Side Diff: chrome/browser/renderer_host/translation_service.cc

Issue 1144001: Remove Oriya from the list of UI languages for now because we're not getting ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « chrome/app/resources/terms/terms_or.html ('k') | chrome/installer/util/l10n_string_util.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser/renderer_host/translation_service.h" 5 #include "chrome/browser/renderer_host/translation_service.h"
6 6
7 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util-inl.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profile.h"
10 #include "chrome/common/render_messages.h" 10 #include "chrome/common/render_messages.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // The list of languages the Google translation server supports. 50 // The list of languages the Google translation server supports.
51 // For information, here is the list of languages that Chrome can be run into 51 // For information, here is the list of languages that Chrome can be run into
52 // but that the translation server does not support: 52 // but that the translation server does not support:
53 // am Amharic 53 // am Amharic
54 // bn Bengali 54 // bn Bengali
55 // gu Gujarati 55 // gu Gujarati
56 // kn Kannada 56 // kn Kannada
57 // ml Malayalam 57 // ml Malayalam
58 // mr Marathi 58 // mr Marathi
59 // or Oriya
60 // ta Tamil 59 // ta Tamil
61 // te Telugu 60 // te Telugu
62 const char* kSupportedLanguages[] = { 61 const char* kSupportedLanguages[] = {
63 "af", // Afrikaans 62 "af", // Afrikaans
64 "sq", // Albanian 63 "sq", // Albanian
65 "ar", // Arabic 64 "ar", // Arabic
66 "be", // Belarusian 65 "be", // Belarusian
67 "bg", // Bulgarian 66 "bg", // Bulgarian
68 "ca", // Catalan 67 "ca", // Catalan
69 "zh-CN", // Chinese (Simplified) 68 "zh-CN", // Chinese (Simplified)
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 request->append("=1"); 666 request->append("=1");
668 } 667 }
669 } 668 }
670 // IMPORTANT NOTE: if you make any change below, make sure to reflect them in 669 // IMPORTANT NOTE: if you make any change below, make sure to reflect them in
671 // text_param_length_ in TranslationService constructor. 670 // text_param_length_ in TranslationService constructor.
672 request->append("&"); 671 request->append("&");
673 request->append(kTextParam); 672 request->append(kTextParam);
674 request->append("="); 673 request->append("=");
675 request->append(text); 674 request->append(text);
676 } 675 }
OLDNEW
« no previous file with comments | « chrome/app/resources/terms/terms_or.html ('k') | chrome/installer/util/l10n_string_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698