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

Side by Side Diff: chrome/installer/util/l10n_string_util.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
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 // This file defines specific implementation of BrowserDistribution class for 5 // This file defines specific implementation of BrowserDistribution class for
6 // Google Chrome. 6 // Google Chrome.
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <shlwapi.h> 9 #include <shlwapi.h>
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 offset_map[L"kn"] = IDS_L10N_OFFSET_KN; 109 offset_map[L"kn"] = IDS_L10N_OFFSET_KN;
110 offset_map[L"ko"] = IDS_L10N_OFFSET_KO; 110 offset_map[L"ko"] = IDS_L10N_OFFSET_KO;
111 offset_map[L"lt"] = IDS_L10N_OFFSET_LT; 111 offset_map[L"lt"] = IDS_L10N_OFFSET_LT;
112 offset_map[L"lv"] = IDS_L10N_OFFSET_LV; 112 offset_map[L"lv"] = IDS_L10N_OFFSET_LV;
113 offset_map[L"ml"] = IDS_L10N_OFFSET_ML; 113 offset_map[L"ml"] = IDS_L10N_OFFSET_ML;
114 offset_map[L"mr"] = IDS_L10N_OFFSET_MR; 114 offset_map[L"mr"] = IDS_L10N_OFFSET_MR;
115 // Google web properties use no for nb. Handle both just to be safe. 115 // Google web properties use no for nb. Handle both just to be safe.
116 offset_map[L"nb"] = IDS_L10N_OFFSET_NO; 116 offset_map[L"nb"] = IDS_L10N_OFFSET_NO;
117 offset_map[L"nl"] = IDS_L10N_OFFSET_NL; 117 offset_map[L"nl"] = IDS_L10N_OFFSET_NL;
118 offset_map[L"no"] = IDS_L10N_OFFSET_NO; 118 offset_map[L"no"] = IDS_L10N_OFFSET_NO;
119 offset_map[L"or"] = IDS_L10N_OFFSET_OR;
120 offset_map[L"pl"] = IDS_L10N_OFFSET_PL; 119 offset_map[L"pl"] = IDS_L10N_OFFSET_PL;
121 offset_map[L"pt-br"] = IDS_L10N_OFFSET_PT_BR; 120 offset_map[L"pt-br"] = IDS_L10N_OFFSET_PT_BR;
122 offset_map[L"pt-pt"] = IDS_L10N_OFFSET_PT_PT; 121 offset_map[L"pt-pt"] = IDS_L10N_OFFSET_PT_PT;
123 offset_map[L"ro"] = IDS_L10N_OFFSET_RO; 122 offset_map[L"ro"] = IDS_L10N_OFFSET_RO;
124 offset_map[L"ru"] = IDS_L10N_OFFSET_RU; 123 offset_map[L"ru"] = IDS_L10N_OFFSET_RU;
125 offset_map[L"sk"] = IDS_L10N_OFFSET_SK; 124 offset_map[L"sk"] = IDS_L10N_OFFSET_SK;
126 offset_map[L"sl"] = IDS_L10N_OFFSET_SL; 125 offset_map[L"sl"] = IDS_L10N_OFFSET_SL;
127 offset_map[L"sr"] = IDS_L10N_OFFSET_SR; 126 offset_map[L"sr"] = IDS_L10N_OFFSET_SR;
128 offset_map[L"sv"] = IDS_L10N_OFFSET_SV; 127 offset_map[L"sv"] = IDS_L10N_OFFSET_SV;
129 offset_map[L"ta"] = IDS_L10N_OFFSET_TA; 128 offset_map[L"ta"] = IDS_L10N_OFFSET_TA;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 DWORD count = static_cast<DWORD>(url_path.size() * 3); 248 DWORD count = static_cast<DWORD>(url_path.size() * 3);
250 scoped_array<wchar_t> url_canon(new wchar_t[count]); 249 scoped_array<wchar_t> url_canon(new wchar_t[count]);
251 HRESULT hr = ::UrlCanonicalizeW(url_path.c_str(), url_canon.get(), 250 HRESULT hr = ::UrlCanonicalizeW(url_path.c_str(), url_canon.get(),
252 &count, URL_ESCAPE_UNSAFE); 251 &count, URL_ESCAPE_UNSAFE);
253 if (SUCCEEDED(hr)) 252 if (SUCCEEDED(hr))
254 return std::wstring(url_canon.get()); 253 return std::wstring(url_canon.get());
255 return url_path; 254 return url_path;
256 } 255 }
257 256
258 } // namespace installer_util 257 } // namespace installer_util
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/translation_service.cc ('k') | webkit/glue/resources/webkit_strings_or.xtb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698