Commit bcb91608 authored by Emily Stark's avatar Emily Stark Committed by Commit Bot

Rename IDR_PAGE_INFO_SAFETY_TIP_LOOKALIKE_DESCRIPTION

This string is no longer specific to the lookalike Safety Tip, so it's
now PAGE_INFO_SAFETY_TIP_DESCRIPTION.

Bug: 1146471
Change-Id: Ibf398beb5e83bbbb33cf4668ebc5ea9e98046e17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2535393Reviewed-by: default avatarJoe DeBlasio <jdeblasio@chromium.org>
Commit-Queue: Emily Stark <estark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827081}
parent de3827b9
...@@ -97,8 +97,7 @@ base::string16 GetSafetyTipDescription( ...@@ -97,8 +97,7 @@ base::string16 GetSafetyTipDescription(
switch (warning_type) { switch (warning_type) {
case security_state::SafetyTipStatus::kBadReputation: case security_state::SafetyTipStatus::kBadReputation:
case security_state::SafetyTipStatus::kLookalike: case security_state::SafetyTipStatus::kLookalike:
return l10n_util::GetStringUTF16( return l10n_util::GetStringUTF16(IDS_PAGE_INFO_SAFETY_TIP_DESCRIPTION);
IDS_PAGE_INFO_SAFETY_TIP_LOOKALIKE_DESCRIPTION);
case security_state::SafetyTipStatus::kBadReputationIgnored: case security_state::SafetyTipStatus::kBadReputationIgnored:
case security_state::SafetyTipStatus::kLookalikeIgnored: case security_state::SafetyTipStatus::kLookalikeIgnored:
case security_state::SafetyTipStatus::kBadKeyword: case security_state::SafetyTipStatus::kBadKeyword:
......
...@@ -231,7 +231,7 @@ CreateSecurityDescriptionForSafetyTip( ...@@ -231,7 +231,7 @@ CreateSecurityDescriptionForSafetyTip(
IDS_PAGE_INFO_SAFETY_TIP_LOOKALIKE_TITLE, safe_host); IDS_PAGE_INFO_SAFETY_TIP_LOOKALIKE_TITLE, safe_host);
} }
security_description->details = security_description->details =
l10n_util::GetStringUTF16(IDS_PAGE_INFO_SAFETY_TIP_LOOKALIKE_DESCRIPTION); l10n_util::GetStringUTF16(IDS_PAGE_INFO_SAFETY_TIP_DESCRIPTION);
security_description->type = PageInfoUI::SecurityDescriptionType::SAFETY_TIP; security_description->type = PageInfoUI::SecurityDescriptionType::SAFETY_TIP;
return security_description; return security_description;
} }
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<message name="IDS_PAGE_INFO_SAFETY_TIP_LOOKALIKE_TITLE" desc="Title of Safety Tip infobar on a domain that looks like another domain."> <message name="IDS_PAGE_INFO_SAFETY_TIP_LOOKALIKE_TITLE" desc="Title of Safety Tip infobar on a domain that looks like another domain.">
Did you mean <ph name='LOOKALIKE_DOMAIN'>$1<ex>google.com</ex></ph>? Did you mean <ph name='LOOKALIKE_DOMAIN'>$1<ex>google.com</ex></ph>?
</message> </message>
<message name="IDS_PAGE_INFO_SAFETY_TIP_LOOKALIKE_DESCRIPTION" desc="Body of a warning when the user visits a page that triggered a Safety Tip."> <message name="IDS_PAGE_INFO_SAFETY_TIP_DESCRIPTION" desc="Body of a warning when the user visits a page that triggered a Safety Tip.">
Attackers sometimes mimic sites by making hard-to-see changes to the web address. Attackers sometimes mimic sites by making hard-to-see changes to the web address.
</message> </message>
......
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