Skip to content

Commit

Permalink
fix: auth pages translation issues [WPB-14861]
Browse files Browse the repository at this point in the history
  • Loading branch information
e-maad committed Dec 5, 2024
1 parent 60e8e74 commit d1f097d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -1648,4 +1648,4 @@
"wireMacos": "{brandName} for macOS",
"wireWindows": "{brandName} for Windows",
"wire_for_web": "{brandName} for Web"
}
}
2 changes: 2 additions & 0 deletions src/script/auth/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d1f097d

Please sign in to comment.