1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

feat(auth): [PM-3953] generalize copy for login with device flows

Updates UI text and translations for the login with device feature to be more consistent and clear across desktop, browser and web clients. Changes include:

- Updated titles and content for login via auth request components
- Revised translations for device approval modal
- Updated notification titles and alert messages
- Simplified device management URL handling
- Added missing translations across platforms

Resolves PM-3953
This commit is contained in:
Alec Rippberger
2025-01-31 11:54:41 -06:00
committed by GitHub
parent 91509f2f7a
commit 8e70d5b923
16 changed files with 146 additions and 57 deletions

View File

@@ -3123,12 +3123,18 @@
"notificationSentDevice": {
"message": "A notification has been sent to your device."
},
"notificationSentDevicePart1": {
"message": "Unlock Bitwarden on your device or on the"
},
"notificationSentDeviceAnchor": {
"message": "web app"
},
"notificationSentDevicePart2": {
"message": "Make sure the Fingerprint phrase matches the one below before approving."
},
"aNotificationWasSentToYourDevice": {
"message": "A notification was sent to your device"
},
"makeSureYourAccountIsUnlockedAndTheFingerprintEtc": {
"message": "Make sure your account is unlocked and the fingerprint phrase matches on the other device"
},
"youWillBeNotifiedOnceTheRequestIsApproved": {
"message": "You will be notified once the request is approved"
},
@@ -3138,6 +3144,9 @@
"loginInitiated": {
"message": "Login initiated"
},
"logInRequestSent": {
"message": "Request sent"
},
"exposedMasterPassword": {
"message": "Exposed Master Password"
},

View File

@@ -7,13 +7,20 @@
<div class="content login-page">
<ng-container *ngIf="state == StateEnum.StandardAuthRequest">
<div>
<p class="lead">{{ "loginInitiated" | i18n }}</p>
<p class="lead">{{ "logInRequestSent" | i18n }}</p>
<div>
<p>{{ "notificationSentDevice" | i18n }}</p>
<p>
{{ "fingerprintMatchInfo" | i18n }}
{{ "notificationSentDevicePart1" | i18n }}
<a
bitLink
linkType="primary"
class="tw-cursor-pointer"
[href]="deviceManagementUrl"
target="_blank"
rel="noreferrer"
>{{ "notificationSentDeviceAnchor" | i18n }}</a
>. {{ "notificationSentDevicePart2" | i18n }}
</p>
</div>

View File

@@ -437,7 +437,7 @@ const routes: Routes = [
data: {
pageIcon: DevicesIcon,
pageTitle: {
key: "loginInitiated",
key: "logInRequestSent",
},
pageSubtitle: {
key: "aNotificationWasSentToYourDevice",