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

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

Issue 2738833002: MD Settings: minor string sweep. (Closed)
Patch Set: MD Settings: minor string sweep. 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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 {"disconnectGoogleDriveAccount", IDS_SETTINGS_DISCONNECT_GOOGLE_DRIVE}, 702 {"disconnectGoogleDriveAccount", IDS_SETTINGS_DISCONNECT_GOOGLE_DRIVE},
703 {"openFileTypesAutomatically", 703 {"openFileTypesAutomatically",
704 IDS_SETTINGS_OPEN_FILE_TYPES_AUTOMATICALLY}}; 704 IDS_SETTINGS_OPEN_FILE_TYPES_AUTOMATICALLY}};
705 AddLocalizedStringsBulk(html_source, localized_strings, 705 AddLocalizedStringsBulk(html_source, localized_strings,
706 arraysize(localized_strings)); 706 arraysize(localized_strings));
707 } 707 }
708 708
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_SETTINGS_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}, 719 {"viewReportedSettings", IDS_SETTINGS_RESET_VIEW_REPORTED_SETTINGS},
720 #if defined(OS_CHROMEOS) 720 #if defined(OS_CHROMEOS)
721 {"powerwashTitle", IDS_OPTIONS_FACTORY_RESET}, 721 {"powerwashTitle", IDS_OPTIONS_FACTORY_RESET},
722 {"powerwashDialogTitle", IDS_OPTIONS_FACTORY_RESET_HEADING}, 722 {"powerwashDialogTitle", IDS_OPTIONS_FACTORY_RESET_HEADING},
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1971 1971
1972 #if defined(OS_CHROMEOS) 1972 #if defined(OS_CHROMEOS)
1973 chromeos::network_element::AddLocalizedStrings(html_source); 1973 chromeos::network_element::AddLocalizedStrings(html_source);
1974 #endif 1974 #endif
1975 policy_indicator::AddLocalizedStrings(html_source); 1975 policy_indicator::AddLocalizedStrings(html_source);
1976 1976
1977 html_source->SetJsonPath(kLocalizedStringsFile); 1977 html_source->SetJsonPath(kLocalizedStringsFile);
1978 } 1978 }
1979 1979
1980 } // namespace settings 1980 } // namespace settings
OLDNEW
« chrome/app/settings_strings.grdp ('K') | « chrome/app/settings_strings.grdp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698