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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 1167523004: chrome/settings: Shorten strings in appearance, downloads, date&time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/settings/downloads_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
index 834e8cff7bef361e2de55b6ed580f0ecbe1deefe..093fa1638a9d434ed3c24bc2cc447846850779b2 100644
--- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
@@ -65,11 +65,9 @@ void AddAppearanceStrings(content::WebUIDataSource* html_source) {
html_source->AddLocalizedString(
"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME);
html_source->AddLocalizedString(
- "appearanceShowHomeButtonLabel",
- IDS_SETTINGS_APPEARANCE_SHOW_HOME_BUTTON_LABEL);
+ "showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON);
html_source->AddLocalizedString(
- "appearanceShowBookmarksBarLabel",
- IDS_SETTINGS_APPEARANCE_SHOW_BOOKMARKS_BAR_LABEL);
+ "showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR);
html_source->AddLocalizedString(
"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP);
html_source->AddLocalizedString(
@@ -84,28 +82,22 @@ void AddDownloadsStrings(content::WebUIDataSource* html_source) {
html_source->AddLocalizedString(
"downloadsPageTitle", IDS_SETTINGS_DOWNLOADS_PAGE_TITLE);
html_source->AddLocalizedString(
- "downloadsLocationLabel", IDS_SETTINGS_DOWNLOADS_LOCATION_LABEL);
+ "downloadLocation", IDS_SETTINGS_DOWNLOAD_LOCATION);
html_source->AddLocalizedString(
- "downloadsChangeLocationButton",
- IDS_SETTINGS_DOWNLOADS_CHANGE_LOCATION_BUTTON);
+ "changeDownloadLocation", IDS_SETTINGS_CHANGE_DOWNLOAD_LOCATION);
html_source->AddLocalizedString(
- "downloadsPromptForDownloadLabel",
- IDS_SETTINGS_DOWNLOADS_PROMPT_FOR_DOWNLOAD_LABEL);
+ "promptForDownload", IDS_SETTINGS_PROMPT_FOR_DOWNLOAD);
}
void AddDateTimeStrings(content::WebUIDataSource* html_source) {
html_source->AddLocalizedString(
- "dateTimePageTitle",
- IDS_SETTINGS_DATE_TIME_PAGE_TITLE);
+ "dateTimePageTitle", IDS_SETTINGS_DATE_TIME_PAGE_TITLE);
html_source->AddLocalizedString(
- "dateTimeTimeZoneLabel",
- IDS_SETTINGS_DATE_TIME_TIME_ZONE_LABEL);
+ "timeZone", IDS_SETTINGS_TIME_ZONE);
html_source->AddLocalizedString(
- "dateTime24HourClockLabel",
- IDS_SETTINGS_DATE_TIME_24_HOUR_CLOCK_LABEL);
+ "use24HourClock", IDS_SETTINGS_USE_24_HOUR_CLOCK);
html_source->AddLocalizedString(
- "dateTimeAutomaticallySet",
- IDS_SETTINGS_DATE_TIME_AUTOMATICALLY_SET);
+ "dateTimeSetAutomatically", IDS_SETTINGS_DATE_TIME_SET_AUTOMATICALLY);
}
#if defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/ui/webui/settings/downloads_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698