Commit 30b876c1 authored by Tommy Li's avatar Tommy Li Committed by Commit Bot

[flash] Update infobar message to match the placeholder

Updates the Flash deprecation infobar message to match the placeholder:

Adobe Flash Player is no longer supported

Bug: 1069833
Change-Id: Ia34c079c52bcb24ea006fda8540de7c3dc7774eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2472177Reviewed-by: default avatarJoshua Pawlicki <waffles@chromium.org>
Commit-Queue: Tommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817112}
parent 9c17f75d
...@@ -8064,11 +8064,6 @@ the Bookmarks menu."> ...@@ -8064,11 +8064,6 @@ the Bookmarks menu.">
<message name="IDS_PLUGIN_OUTDATED_PROMPT" desc="Infobar message when an outdated plugin was disabled"> <message name="IDS_PLUGIN_OUTDATED_PROMPT" desc="Infobar message when an outdated plugin was disabled">
<ph name="PLUGIN_NAME">$1<ex>Flash</ex></ph> was blocked because it is out of date <ph name="PLUGIN_NAME">$1<ex>Flash</ex></ph> was blocked because it is out of date
</message> </message>
<message name="IDS_PLUGIN_DEPRECATED_PROMPT" desc="Infobar message when an deprecated plugin was disabled">
<ph name="PLUGIN_NAME">
$1<ex>Flash</ex>
</ph> was blocked because it is deprecated
</message>
<message name="IDS_PLUGIN_ENABLE_TEMPORARILY" desc="Infobar button to run a blocked outdated plugin"> <message name="IDS_PLUGIN_ENABLE_TEMPORARILY" desc="Infobar button to run a blocked outdated plugin">
Run this time Run this time
</message> </message>
......
...@@ -42,7 +42,7 @@ namespace { ...@@ -42,7 +42,7 @@ namespace {
base::string16 GetInfoBarMessage(const PluginMetadata& metadata) { base::string16 GetInfoBarMessage(const PluginMetadata& metadata) {
return l10n_util::GetStringFUTF16(metadata.plugin_is_deprecated() return l10n_util::GetStringFUTF16(metadata.plugin_is_deprecated()
? IDS_PLUGIN_DEPRECATED_PROMPT ? IDS_PLUGIN_DEPRECATED
: IDS_PLUGIN_OUTDATED_PROMPT, : IDS_PLUGIN_OUTDATED_PROMPT,
metadata.name()); metadata.name());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment