From ec4c0fcc2016b3bb25222ddd35dc337f56ea50a3 Mon Sep 17 00:00:00 2001 From: Shuran Huang Date: Thu, 9 Jan 2025 18:54:13 +0000 Subject: [PATCH] Update strings to use mode b language. Bug: b/388845293 Change-Id: I9f9200ba6401c01dda92077914b7c48be70e1371 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6165443 Commit-Queue: Danil Somsikov Auto-Submit: Shuran Huang Reviewed-by: Danil Somsikov --- front_end/panels/security/CookieControlsView.ts | 4 ++-- front_end/panels/security/CookieReportView.ts | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/front_end/panels/security/CookieControlsView.ts b/front_end/panels/security/CookieControlsView.ts index 4baf347407..fbeb61bea4 100644 --- a/front_end/panels/security/CookieControlsView.ts +++ b/front_end/panels/security/CookieControlsView.ts @@ -28,11 +28,11 @@ const UIStrings = { /** *@description Explanation in the view's header about the purpose of this controls tool */ - viewExplanation: 'Test how this site will perform if a user chooses to restrict third-party cookies in Chrome', + viewExplanation: 'Test how this site will perform if third-party cookies are limited in Chrome', /** *@description Title in the card within the controls tool */ - cardTitle: 'Temporarily restrict third-party cookies', + cardTitle: 'Temporarily limit third-party cookies', /** *@description Disclaimer beneath the card title to tell the user that the controls will only persist while devtools is open */ diff --git a/front_end/panels/security/CookieReportView.ts b/front_end/panels/security/CookieReportView.ts index e08b6a8840..12cdf888a7 100644 --- a/front_end/panels/security/CookieReportView.ts +++ b/front_end/panels/security/CookieReportView.ts @@ -25,8 +25,7 @@ const UIStrings = { /** *@description Explaination in the header about the cookies listed in the report */ - body: - 'Third-party cookies that might be restricted by users, depending on their settings. If a user chooses to restrict cookies, then this site might not work for them.', + body: 'This site might not work if third-party cookies are limited in Chrome.', /** *@description A link the user can follow to learn more about third party cookie usage */