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

Unified Diff: chrome/browser/ui/webui/extensions/extensions_ui.cc

Issue 2707083003: [MD Extensions] Update Item Card UI (Closed)
Patch Set: missed one Created 3 years, 10 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/extensions/extensions_ui.cc
diff --git a/chrome/browser/ui/webui/extensions/extensions_ui.cc b/chrome/browser/ui/webui/extensions/extensions_ui.cc
index abd1edaf880328a2ae9a91abc6dfe873836a05fe..279aca0f1bf5da186ab0a7d60fe12c9f3a611064 100644
--- a/chrome/browser/ui/webui/extensions/extensions_ui.cc
+++ b/chrome/browser/ui/webui/extensions/extensions_ui.cc
@@ -131,6 +131,12 @@ content::WebUIDataSource* CreateMdExtensionsSource() {
source->AddLocalizedString("itemId", IDS_MD_EXTENSIONS_ITEM_ID);
source->AddLocalizedString("itemInspectViews",
IDS_MD_EXTENSIONS_ITEM_INSPECT_VIEWS);
+ // NOTE: This text reads "<n> more". It's possible that it should be using
+ // a plural string instead. Unfortunately, this is non-trivial since we don't
+ // expose that capability to JS yet. Since we don't know it's a problem, use
+ // a simple placeholder for now.
+ source->AddLocalizedString("itemInspectViewsExtra",
+ IDS_MD_EXTENSIONS_ITEM_INSPECT_VIEWS_EXTRA);
source->AddLocalizedString("itemAllowIncognito",
IDS_MD_EXTENSIONS_ITEM_ALLOW_INCOGNITO);
source->AddLocalizedString("itemDescriptionLabel",
@@ -167,6 +173,7 @@ content::WebUIDataSource* CreateMdExtensionsSource() {
source->AddLocalizedString("itemCorruptInstall",
IDS_EXTENSIONS_CORRUPTED_EXTENSION);
source->AddLocalizedString("itemRepair", IDS_EXTENSIONS_REPAIR_CORRUPTED);
+ source->AddLocalizedString("itemReload", IDS_EXTENSIONS_RELOAD_TERMINATED);
source->AddString(
"itemSuspiciousInstall",
l10n_util::GetStringFUTF16(
« no previous file with comments | « chrome/browser/resources/md_extensions/service.js ('k') | chrome/test/data/webui/extensions/extension_item_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698