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

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

Issue 2722083003: MD Settings: Change "view reported settings" string. (Closed)
Patch Set: Add test. Created 3 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
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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 void AddResetStrings(content::WebUIDataSource* html_source) { 709 void AddResetStrings(content::WebUIDataSource* html_source) {
710 LocalizedString localized_strings[] = { 710 LocalizedString localized_strings[] = {
711 {"resetPageTitle", IDS_SETTINGS_RESET}, 711 {"resetPageTitle", IDS_SETTINGS_RESET},
712 {"resetPageDescription", IDS_RESET_PROFILE_SETTINGS_DESCRIPTION}, 712 {"resetPageDescription", IDS_RESET_PROFILE_SETTINGS_DESCRIPTION},
713 {"resetPageExplanation", IDS_RESET_PROFILE_SETTINGS_EXPLANATION}, 713 {"resetPageExplanation", IDS_RESET_PROFILE_SETTINGS_EXPLANATION},
714 {"triggeredResetPageExplanation", 714 {"triggeredResetPageExplanation",
715 IDS_TRIGGERED_RESET_PROFILE_SETTINGS_EXPLANATION}, 715 IDS_TRIGGERED_RESET_PROFILE_SETTINGS_EXPLANATION},
716 {"triggeredResetPageTitle", IDS_TRIGGERED_RESET_PROFILE_SETTINGS_TITLE}, 716 {"triggeredResetPageTitle", IDS_TRIGGERED_RESET_PROFILE_SETTINGS_TITLE},
717 {"resetPageCommit", IDS_RESET_PROFILE_SETTINGS_COMMIT_BUTTON}, 717 {"resetPageCommit", IDS_RESET_PROFILE_SETTINGS_COMMIT_BUTTON},
718 {"resetPageFeedback", IDS_SETTINGS_RESET_PROFILE_FEEDBACK}, 718 {"resetPageFeedback", IDS_SETTINGS_RESET_PROFILE_FEEDBACK},
719 {"viewReportedSettings", IDS_SETTINGS_RESET_VIEW_REPORTED_SETTINGS},
720 #if defined(OS_CHROMEOS) 719 #if defined(OS_CHROMEOS)
721 {"powerwashTitle", IDS_OPTIONS_FACTORY_RESET}, 720 {"powerwashTitle", IDS_OPTIONS_FACTORY_RESET},
722 {"powerwashDialogTitle", IDS_OPTIONS_FACTORY_RESET_HEADING}, 721 {"powerwashDialogTitle", IDS_OPTIONS_FACTORY_RESET_HEADING},
723 {"powerwashDialogExplanation", IDS_OPTIONS_FACTORY_RESET_WARNING}, 722 {"powerwashDialogExplanation", IDS_OPTIONS_FACTORY_RESET_WARNING},
724 {"powerwashDialogButton", IDS_SETTINGS_RESTART}, 723 {"powerwashDialogButton", IDS_SETTINGS_RESTART},
725 {"powerwashLearnMoreUrl", IDS_FACTORY_RESET_HELP_URL}, 724 {"powerwashLearnMoreUrl", IDS_FACTORY_RESET_HELP_URL},
726 #endif 725 #endif
727 // Automatic reset banner (now a dialog). 726 // Automatic reset banner (now a dialog).
728 {"resetAutomatedDialogTitle", IDS_SETTINGS_RESET_AUTOMATED_DIALOG_TITLE}, 727 {"resetAutomatedDialogTitle", IDS_SETTINGS_RESET_AUTOMATED_DIALOG_TITLE},
729 {"resetProfileBannerButton", 728 {"resetProfileBannerButton",
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1971 1970
1972 #if defined(OS_CHROMEOS) 1971 #if defined(OS_CHROMEOS)
1973 chromeos::network_element::AddLocalizedStrings(html_source); 1972 chromeos::network_element::AddLocalizedStrings(html_source);
1974 #endif 1973 #endif
1975 policy_indicator::AddLocalizedStrings(html_source); 1974 policy_indicator::AddLocalizedStrings(html_source);
1976 1975
1977 html_source->SetJsonPath(kLocalizedStringsFile); 1976 html_source->SetJsonPath(kLocalizedStringsFile);
1978 } 1977 }
1979 1978
1980 } // namespace settings 1979 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698