Commit d0085755 authored by meacer's avatar meacer Committed by Commit Bot

Change lookalike interstitial title to 'Safety warning'

Bug: 1009686
Change-Id: I63a4ff8b18ff7c7ec53586d10441b9e53cdb136c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1925241
Auto-Submit: Mustafa Emre Acer <meacer@chromium.org>
Reviewed-by: default avatarChristopher Thompson <cthomp@chromium.org>
Commit-Queue: Christopher Thompson <cthomp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#716892}
parent f2966925
...@@ -90,8 +90,8 @@ void LookalikeUrlInterstitialPage::PopulateInterstitialStrings( ...@@ -90,8 +90,8 @@ void LookalikeUrlInterstitialPage::PopulateInterstitialStrings(
const base::string16 hostname = const base::string16 hostname =
security_interstitials::common_string_util::GetFormattedHostName( security_interstitials::common_string_util::GetFormattedHostName(
request_url()); request_url());
load_time_data->SetString("tabTitle", l10n_util::GetStringFUTF16( load_time_data->SetString("tabTitle",
IDS_LOOKALIKE_URL_TITLE, hostname)); l10n_util::GetStringUTF16(IDS_LOOKALIKE_URL_TITLE));
load_time_data->SetString( load_time_data->SetString(
"heading", "heading",
l10n_util::GetStringFUTF16(IDS_LOOKALIKE_URL_HEADING, hostname)); l10n_util::GetStringFUTF16(IDS_LOOKALIKE_URL_HEADING, hostname));
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<!-- Lookalike URL warning --> <!-- Lookalike URL warning -->
<message name="IDS_LOOKALIKE_URL_TITLE" desc="Tab title. Context: the requested URL might be trying to trick the user since it looks like a more popular URL. This interstitial points the user to the safe site instead."> <message name="IDS_LOOKALIKE_URL_TITLE" desc="Tab title. Context: the requested URL might be trying to trick the user since it looks like a more popular URL. This interstitial points the user to the safe site instead.">
Did you mean <ph name="DOMAIN">$1<ex>example.com</ex></ph>? Safety warning
</message> </message>
<message name="IDS_LOOKALIKE_URL_HEADING" desc="Large heading. Context: the error page that's shown when the requested URL might be trying to trick the user since it looks like a more popular URL. This interstitial points the user to the safe site instead."> <message name="IDS_LOOKALIKE_URL_HEADING" desc="Large heading. Context: the error page that's shown when the requested URL might be trying to trick the user since it looks like a more popular URL. This interstitial points the user to the safe site instead.">
Did you mean &lt;a href="#" id="dont-proceed-link"&gt;<ph name="DOMAIN">$1<ex>example.com</ex></ph>&lt;/a&gt;? Did you mean &lt;a href="#" id="dont-proceed-link"&gt;<ph name="DOMAIN">$1<ex>example.com</ex></ph>&lt;/a&gt;?
......
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