Commit 5d0c1b13 authored by Mustafa Emre Acer's avatar Mustafa Emre Acer Committed by Commit Bot

Lookalike URLs: Update punycode interstitial header

Bug: 1095120
Change-Id: Ib911850d7a0900583e763553307065c46f27c367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2304193Reviewed-by: default avatarJoe DeBlasio <jdeblasio@chromium.org>
Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org>
Auto-Submit: Mustafa Emre Acer <meacer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789607}
parent c394b4b9
......@@ -70,10 +70,12 @@ void PopulateLookalikeUrlBlockingPageStrings(
// domain fails IDN spoof checks but isn't a lookalike of a known domain.
// TODO: Change to actual strings.
load_time_data->SetString(
"heading", l10n_util::GetStringUTF16(IDS_LOOKALIKE_URL_TITLE));
"heading",
l10n_util::GetStringUTF16(IDS_LOOKALIKE_URL_HEADING_NO_SUGGESTED_URL));
load_time_data->SetString(
"primaryParagraph",
l10n_util::GetStringUTF16(IDS_LOOKALIKE_URL_PRIMARY_PARAGRAPH));
l10n_util::GetStringUTF16(
IDS_LOOKALIKE_URL_PRIMARY_PARAGRAPH_NO_SUGGESTED_URL));
load_time_data->SetString(
"proceedButtonText",
l10n_util::GetStringUTF16(IDS_LOOKALIKE_URL_IGNORE));
......
......@@ -83,6 +83,12 @@
</message>
<!-- Lookalike URL without a suggested hostname -->
<message name="IDS_LOOKALIKE_URL_HEADING_NO_SUGGESTED_URL" desc="Large heading. Context: the error page that's shown when the requested URL might be trying to trick the user since it looks fake. This interstitial warns the user to not visit the site but doesn't suggest a safe site.">
Fake site ahead
</message>
<message name="IDS_LOOKALIKE_URL_PRIMARY_PARAGRAPH_NO_SUGGESTED_URL" desc="Main paragraph of an error message. Context: the error page that's shown when the requested URL might be trying to trick the user since it looks fake. This interstitial warns the user to not visit the site but doesn't suggest a safe site.">
Attackers sometimes mimic sites by making small, hard-to-see changes to the URL.
</message>
<message name="IDS_LOOKALIKE_URL_BACK_TO_SAFETY" desc="The text for the button that takes the user back to the new tab page.">
Back to safety
</message>
......@@ -90,7 +96,6 @@
Close page
</message>
<!-- Clock errors -->
<message name="IDS_CLOCK_ERROR_TITLE" desc="Tab title. Context: the browser can't load a page because the device's clock is wrong.">
Clock error
......
55253a1969cec4562c3a9c370259eddeeb0fc70b
\ No newline at end of file
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