tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit d77f5f0a76f6fb087a262841d63bfb1079a62e9a
parent dde4db6dea5c1504db58eee58b05b849600a0c5b
Author: smayya <smayya@mozilla.com>
Date:   Tue, 21 Oct 2025 18:27:47 +0000

Bug 1994288 - modify LNA prompt text from Allow <website> to access apps and services.. to <website> wants access apps and services.. r=emz,fluent-reviewers,bolsson

Updating prompt test based on latest discussion with UX team -> https://docs.google.com/document/d/16d8QKuV6l50s03miZ2OqteGNYtpR9E842MUPSeBfXRk/edit?tab=t.0

Differential Revision: https://phabricator.services.mozilla.com/D268605

Diffstat:
Mbrowser/locales/en-US/chrome/browser/browser.properties | 4++--
Mbrowser/modules/PermissionUI.sys.mjs | 9+++++----
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/browser/locales/en-US/chrome/browser/browser.properties b/browser/locales/en-US/chrome/browser/browser.properties @@ -205,7 +205,7 @@ webNotifications.receiveFromSite3=Allow %S to send notifications? # localhost and localnetwork permission UI # %S is replaced by the origin of the website -localhost.allowWithSite=Allow %S to access other apps and services on this device? +localhost.allowWithSite2=%S wants to access other apps and services on this device. localhost.remember2=Remember my choice for this site localhost.allowlabel=Allow localhost.blocklabel=Block @@ -214,7 +214,7 @@ localhost.block.accesskey=B # local-network permission UI # %S is replaced by the origin of the website -localNetwork.allowWithSite=Allow %S to access apps and services on devices connected to your local network? +localNetwork.allowWithSite2=%S wants to access apps and services on devices connected to your local network. localNetwork.remember2=Remember my choice for this site localNetwork.allowLabel=Allow localNetwork.allow.accesskey=A diff --git a/browser/modules/PermissionUI.sys.mjs b/browser/modules/PermissionUI.sys.mjs @@ -1069,9 +1069,10 @@ class LocalHostPermissionPrompt extends PermissionPromptForRequest { } get message() { - return lazy.gBrowserBundle.formatStringFromName("localhost.allowWithSite", [ - "<>", - ]); + return lazy.gBrowserBundle.formatStringFromName( + "localhost.allowWithSite2", + ["<>"] + ); } get promptActions() { @@ -1294,7 +1295,7 @@ class LocalNetworkPermissionPrompt extends PermissionPromptForRequest { get message() { return lazy.gBrowserBundle.formatStringFromName( - "localNetwork.allowWithSite", + "localNetwork.allowWithSite2", ["<>"] ); }