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

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

Powered by Google App Engine
This is Rietveld 408576698