0

[Site Info] Update description text for permanent exceptions.

Screenshot: https://screenshot.googleplex.com/4GA5geYJc8Adejz
Bug: b:300918726
Change-Id: I18117f4996f5a4cb2d63d646796eff2057002592
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4916434
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Commit-Queue: Alvin Lam <alvingo@google.com>
Auto-Submit: Alvin Lam <alvingo@google.com>
Cr-Commit-Position: refs/heads/main@{#1205981}
This commit is contained in:
Alvin Lam
2023-10-05 19:19:29 +00:00
committed by Chromium LUCI CQ
parent 0a6f9c4e5f
commit 2ff37ed08d
3 changed files with 7 additions and 1 deletions

@ -288,7 +288,9 @@ void PageInfoCookiesContentView::SetThirdPartyCookiesInfo(
title = l10n_util::GetStringUTF16(
IDS_PAGE_INFO_COOKIES_PERMANENT_ALLOWED_TITLE);
description = l10n_util::GetStringUTF16(
IDS_PAGE_INFO_COOKIES_PERMANENT_ALLOWED_DESCRIPTION);
presenter_->IsTrackingProtection3pcdEnabled()
? IDS_PAGE_INFO_TRACKING_PROTECTION_COOKIES_PERMANENT_ALLOWED_DESCRIPTION
: IDS_PAGE_INFO_COOKIES_PERMANENT_ALLOWED_DESCRIPTION);
} else if (presenter_->IsTrackingProtection3pcdEnabled()) {
title = l10n_util::GetPluralStringFUTF16(
presenter_->AreAllThirdPartyCookiesBlocked()

@ -907,6 +907,9 @@
<message name="IDS_PAGE_INFO_COOKIES_PERMANENT_ALLOWED_DESCRIPTION" desc="Descriptive text in the page info bubble after the user has allowed third-party cookies on a site explaining the trade-off of their decision.">
This means that most site features should work, but you have less protection
</message>
<message name="IDS_PAGE_INFO_TRACKING_PROTECTION_COOKIES_PERMANENT_ALLOWED_DESCRIPTION" desc="Descriptive text in the page info Tracking Protection subpage if the user is visiting a site on their third-party cookies allow list.">
This means site features should work as expected, but you may have less browsing protection.
</message>
<message name="IDS_PAGE_INFO_COOKIES_THIRD_PARTY_COOKIES_ALLOWED_TOGGLE_A11Y" desc="Accessible name in the page info bubble, for the third-party cookies toggle, if third party cookies are allowed indicating how many third-party sites were allowed to access cookies.">
{NUM_COOKIES, plural,
=0 {Third-party cookies, No sites allowed}