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

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

Issue 2785013003: MD Settings: Google Play Store: Add subpage and polish (Closed)
Patch Set: Restore some strings 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 side-by-side diff with in-line comments
Download patch
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 45c902cf43aeff32a82126b177c7964dfb22fbbc..5f57d48dad8682fddabb9988b4f30f453e3890bd 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
@@ -294,18 +294,28 @@ void AddAccountUITweaksStrings(content::WebUIDataSource* html_source,
void AddAndroidAppStrings(content::WebUIDataSource* html_source) {
LocalizedString localized_strings[] = {
{"androidAppsPageTitle", IDS_SETTINGS_ANDROID_APPS_TITLE},
- {"androidAppsEnabled", IDS_SETTINGS_ANDROID_APPS_ENABLE},
+ {"androidAppsPageLabel", IDS_SETTINGS_ANDROID_APPS_LABEL},
+ {"androidAppsEnable", IDS_SETTINGS_ANDROID_APPS_ENABLE},
{"androidAppsManageApps", IDS_SETTINGS_ANDROID_APPS_MANAGE_APPS},
+ {"androidAppsRemove", IDS_SETTINGS_ANDROID_APPS_REMOVE},
{"androidAppsLearnMore", IDS_SETTINGS_ANDROID_APPS_LEARN_MORE},
{"androidAppsDisableDialogTitle",
IDS_SETTINGS_ANDROID_APPS_DISABLE_DIALOG_TITLE},
- {"androidAppsDisableDialogMessage",
- IDS_SETTINGS_ANDROID_APPS_DISABLE_DIALOG_MESSAGE},
+ {"androidAppsDisableDialogRemove",
+ IDS_SETTINGS_ANDROID_APPS_DISABLE_DIALOG_REMOVE},
};
AddLocalizedStringsBulk(html_source, localized_strings,
arraysize(localized_strings));
- html_source->AddString("androidAppsLearnMoreUrl",
- chrome::kAndroidAppsLearnMoreURL);
+ html_source->AddString(
+ "androidAppsSubtext",
+ l10n_util::GetStringFUTF16(
+ IDS_SETTINGS_ANDROID_APPS_SUBTEXT,
+ base::ASCIIToUTF16(chrome::kAndroidAppsLearnMoreURL)));
+ html_source->AddString(
+ "androidAppsDisableDialogMessage",
+ l10n_util::GetStringFUTF16(
+ IDS_SETTINGS_ANDROID_APPS_DISABLE_DIALOG_MESSAGE,
+ base::ASCIIToUTF16(chrome::kAndroidAppsLearnMoreURL)));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698