1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

fix(NewUIExtensionTitleTranslation): [Auth/PM-18710] Fix extension having incorrect verifyIdentity (#13667)

This commit is contained in:
Jared Snider
2025-03-04 13:30:46 -05:00
committed by GitHub
parent 2b29bf8c23
commit 17393050b5
7 changed files with 13 additions and 13 deletions

View File

@@ -669,8 +669,8 @@
"browserNotSupportClipboard": { "browserNotSupportClipboard": {
"message": "Your web browser does not support easy clipboard copying. Copy it manually instead." "message": "Your web browser does not support easy clipboard copying. Copy it manually instead."
}, },
"verifyIdentity": { "verifyYourIdentity": {
"message": "Verify identity" "message": "Verify your identity"
}, },
"weDontRecognizeThisDevice": { "weDontRecognizeThisDevice": {
"message": "We don't recognize this device. Enter the code sent to your email to verify your identity." "message": "We don't recognize this device. Enter the code sent to your email to verify your identity."

View File

@@ -171,7 +171,7 @@ const routes: Routes = [
data: { data: {
elevation: 1, elevation: 1,
pageTitle: { pageTitle: {
key: "verifyIdentity", key: "verifyYourIdentity",
}, },
showBackButton: true, showBackButton: true,
} satisfies RouteDataProperties & ExtensionAnonLayoutWrapperData, } satisfies RouteDataProperties & ExtensionAnonLayoutWrapperData,
@@ -248,7 +248,7 @@ const routes: Routes = [
data: { data: {
pageIcon: DeviceVerificationIcon, pageIcon: DeviceVerificationIcon,
pageTitle: { pageTitle: {
key: "verifyIdentity", key: "verifyYourIdentity",
}, },
pageSubtitle: { pageSubtitle: {
key: "weDontRecognizeThisDevice", key: "weDontRecognizeThisDevice",

View File

@@ -97,7 +97,7 @@ const routes: Routes = [
], ],
data: { data: {
pageTitle: { pageTitle: {
key: "verifyIdentity", key: "verifyYourIdentity",
}, },
} satisfies RouteDataProperties & AnonLayoutWrapperData, } satisfies RouteDataProperties & AnonLayoutWrapperData,
}, },
@@ -126,7 +126,7 @@ const routes: Routes = [
data: { data: {
pageIcon: DeviceVerificationIcon, pageIcon: DeviceVerificationIcon,
pageTitle: { pageTitle: {
key: "verifyIdentity", key: "verifyYourIdentity",
}, },
pageSubtitle: { pageSubtitle: {
key: "weDontRecognizeThisDevice", key: "weDontRecognizeThisDevice",

View File

@@ -916,7 +916,7 @@
"message": "Verify with Duo Security for your organization using the Duo Mobile app, SMS, phone call, or U2F security key.", "message": "Verify with Duo Security for your organization using the Duo Mobile app, SMS, phone call, or U2F security key.",
"description": "'Duo Security' and 'Duo Mobile' are product names and should not be translated." "description": "'Duo Security' and 'Duo Mobile' are product names and should not be translated."
}, },
"verifyIdentity": { "verifyYourIdentity": {
"message": "Verify your Identity" "message": "Verify your Identity"
}, },
"weDontRecognizeThisDevice": { "weDontRecognizeThisDevice": {

View File

@@ -522,7 +522,7 @@ const routes: Routes = [
], ],
data: { data: {
pageTitle: { pageTitle: {
key: "verifyIdentity", key: "verifyYourIdentity",
}, },
} satisfies RouteDataProperties & AnonLayoutWrapperData, } satisfies RouteDataProperties & AnonLayoutWrapperData,
}, },
@@ -542,7 +542,7 @@ const routes: Routes = [
], ],
data: { data: {
pageTitle: { pageTitle: {
key: "verifyIdentity", key: "verifyYourIdentity",
}, },
} satisfies RouteDataProperties & AnonLayoutWrapperData, } satisfies RouteDataProperties & AnonLayoutWrapperData,
}, },
@@ -619,7 +619,7 @@ const routes: Routes = [
data: { data: {
pageIcon: DeviceVerificationIcon, pageIcon: DeviceVerificationIcon,
pageTitle: { pageTitle: {
key: "verifyIdentity", key: "verifyYourIdentity",
}, },
pageSubtitle: { pageSubtitle: {
key: "weDontRecognizeThisDevice", key: "weDontRecognizeThisDevice",

View File

@@ -82,8 +82,8 @@ document.addEventListener("DOMContentLoaded", async () => {
const titleForSmallerScreens = document.getElementById("title-smaller-screens"); const titleForSmallerScreens = document.getElementById("title-smaller-screens");
const titleForLargerScreens = document.getElementById("title-larger-screens"); const titleForLargerScreens = document.getElementById("title-larger-screens");
titleForSmallerScreens.innerText = localeService.t("verifyIdentity"); titleForSmallerScreens.innerText = localeService.t("verifyYourIdentity");
titleForLargerScreens.innerText = localeService.t("verifyIdentity"); titleForLargerScreens.innerText = localeService.t("verifyYourIdentity");
const subtitle = document.getElementById("subtitle"); const subtitle = document.getElementById("subtitle");
subtitle.innerText = localeService.t("followTheStepsBelowToFinishLoggingIn"); subtitle.innerText = localeService.t("followTheStepsBelowToFinishLoggingIn");

View File

@@ -1203,7 +1203,7 @@
"authenticationSessionTimedOut": { "authenticationSessionTimedOut": {
"message": "The authentication session timed out. Please restart the login process." "message": "The authentication session timed out. Please restart the login process."
}, },
"verifyIdentity": { "verifyYourIdentity": {
"message": "Verify your Identity" "message": "Verify your Identity"
}, },
"weDontRecognizeThisDevice": { "weDontRecognizeThisDevice": {