diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-08 21:31:46 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-08 21:31:46 +0000 |
commit | cacc35caf719f278986e280e5d135005e7d77d93 (patch) | |
tree | 64ae6aa74b65c8d9634fc58a4c809c7bc4204bde /ui/base/strings | |
parent | 7ed91e9093602872c62eba397fc1be8741089157 (diff) | |
download | chromium_src-cacc35caf719f278986e280e5d135005e7d77d93.zip chromium_src-cacc35caf719f278986e280e5d135005e7d77d93.tar.gz chromium_src-cacc35caf719f278986e280e5d135005e7d77d93.tar.bz2 |
Fix menu for 'disable extension'.
- The 'display_source' field should specify the extension's name.
It seems to be the field for such purpose (see DisplayNameForOrigin()
method in DesktopNotificationService for example)
- Fix the strings of 'disable extension' menu item to show the
extension's name.
- Fix the behavior of 'DisableExtension' in MessageCenterNotificationManager.
It should not disable the extension itself, rather disable the notification
ability for the extension.
BUG=226185
TEST=manually
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/13421008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/strings')
-rw-r--r-- | ui/base/strings/ui_strings.grd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/strings/ui_strings.grd b/ui/base/strings/ui_strings.grd index 31d3747..4d377f5 100644 --- a/ui/base/strings/ui_strings.grd +++ b/ui/base/strings/ui_strings.grd @@ -429,7 +429,7 @@ need to be translated for each locale.--> Notification Center </message> <message name="IDS_MESSAGE_CENTER_EXTENSIONS_DISABLE" desc="The menu entry for disabling extensions from a notification."> - Disable extension + Disable notifications from <ph name="extension_name">$1<ex>Notification Galore!</ex></ph> </message> <message name="IDS_MESSAGE_CENTER_SITE_DISABLE" desc="The menu entry for disabling notification from a site."> Disable notifications from <ph name="site">$1<ex>mail.google.com</ex></ph> |