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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2284113002: [MD settings] change theme label text (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/browser/resources/settings/appearance_page/appearance_page.html ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 base::DictionaryValue localized_values; 244 base::DictionaryValue localized_values;
245 chromeos::AddAccountUITweaksLocalizedValues(&localized_values, profile); 245 chromeos::AddAccountUITweaksLocalizedValues(&localized_values, profile);
246 html_source->AddLocalizedStrings(localized_values); 246 html_source->AddLocalizedStrings(localized_values);
247 } 247 }
248 #endif 248 #endif
249 249
250 void AddAppearanceStrings(content::WebUIDataSource* html_source) { 250 void AddAppearanceStrings(content::WebUIDataSource* html_source) {
251 LocalizedString localized_strings[] = { 251 LocalizedString localized_strings[] = {
252 {"appearancePageTitle", IDS_SETTINGS_APPEARANCE}, 252 {"appearancePageTitle", IDS_SETTINGS_APPEARANCE},
253 {"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM}, 253 {"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM},
254 {"getThemes", IDS_SETTINGS_THEMES}, 254 {"theme", IDS_SETTINGS_THEME},
255 {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME}, 255 {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME},
256 {"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON}, 256 {"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON},
257 {"showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR}, 257 {"showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR},
258 {"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP}, 258 {"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP},
259 {"other", IDS_SETTINGS_OTHER}, 259 {"other", IDS_SETTINGS_OTHER},
260 {"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE}, 260 {"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE},
261 {"themesGalleryUrl", IDS_THEMES_GALLERY_URL}, 261 {"themesGalleryUrl", IDS_THEMES_GALLERY_URL},
262 {"chooseFromWebStore", IDS_SETTINGS_WEB_STORE}, 262 {"chooseFromWebStore", IDS_SETTINGS_WEB_STORE},
263 {"chooseFontsAndEncoding", IDS_SETTINGS_CHOOSE_FONTS_AND_ENCODING}, 263 {"chooseFontsAndEncoding", IDS_SETTINGS_CHOOSE_FONTS_AND_ENCODING},
264 #if defined(OS_CHROMEOS) 264 #if defined(OS_CHROMEOS)
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 #endif 1433 #endif
1434 AddUsersStrings(html_source); 1434 AddUsersStrings(html_source);
1435 AddWebContentStrings(html_source); 1435 AddWebContentStrings(html_source);
1436 1436
1437 policy_indicator::AddLocalizedStrings(html_source); 1437 policy_indicator::AddLocalizedStrings(html_source);
1438 1438
1439 html_source->SetJsonPath(kLocalizedStringsFile); 1439 html_source->SetJsonPath(kLocalizedStringsFile);
1440 } 1440 }
1441 1441
1442 } // namespace settings 1442 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/appearance_page/appearance_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698