From d1f097dce98477956a1eda88027a4ad0f2165f05 Mon Sep 17 00:00:00 2001 From: Immad Abdul Jabbar Date: Thu, 5 Dec 2024 17:13:13 +0100 Subject: [PATCH] fix: auth pages translation issues [WPB-14861] --- src/i18n/en-US.json | 4 ++-- src/script/auth/main.tsx | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/i18n/en-US.json b/src/i18n/en-US.json index 1f2c097c4b6..37adefb985b 100644 --- a/src/i18n/en-US.json +++ b/src/i18n/en-US.json @@ -1508,7 +1508,7 @@ "teamCreationSuccessListItem1": "Invite your first team members, and start working together", "teamCreationSuccessListItem2": "Customize your team settings", "teamCreationSuccessListTitle": "Go to Team Management to:", - "teamCreationSuccessSubTitle": "You’re now the owner of the team ({teamName}).", + "teamCreationSuccessSubTitle": "You’re now the owner of the team {teamName}.", "teamCreationSuccessTitle": "Congratulations {name}!", "teamCreationTitle": "Create your team", "teamName.headline": "Name your team", @@ -1648,4 +1648,4 @@ "wireMacos": "{brandName} for macOS", "wireWindows": "{brandName} for Windows", "wire_for_web": "{brandName} for Web" -} +} \ No newline at end of file diff --git a/src/script/auth/main.tsx b/src/script/auth/main.tsx index 56874276b13..177562ebbbf 100644 --- a/src/script/auth/main.tsx +++ b/src/script/auth/main.tsx @@ -38,6 +38,7 @@ import {actionRoot} from './module/action'; import {Root} from './page/Root'; import {Config} from '../Config'; +import {setAppLocale} from '../localization/Localizer'; import {APIClient} from '../service/APIClientSingleton'; import {Core} from '../service/CoreSingleton'; @@ -81,6 +82,7 @@ async function runApp() { await initializeDataDog(config, {domain: domain}); render(Root); + setAppLocale(); if (module.hot) { module.hot.accept('./page/Root', () => { render(require('./page/Root').Root);