Refactor authentication and internationalize metadata
This commit simplifies the authentication mechanism by directly comparing user ID and primary owner ID while refactoring the Team Account container. Simultaneously, it internationalizes the metadata of several pages by creating server I18n instances for title translations, ensuring better support for varied languages.
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
"manageConnectedAccounts": "Connected Accounts",
|
||||
"manageConnectedAccountsSubheading": "Manage your connected accounts",
|
||||
"connectedAccounts": "Connected Accounts",
|
||||
"homePage": "Home",
|
||||
"billingTab": "Billing",
|
||||
"settingsTab": "Settings",
|
||||
"authenticationTab": "Authentication",
|
||||
"multiFactorAuth": "Multi-Factor Authentication",
|
||||
"multiFactorAuthDescription": "Set up Multi-Factor Authentication method to further secure your account",
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"home": {
|
||||
"pageTitle": "Home"
|
||||
},
|
||||
"settings": {
|
||||
"pageTitle": "Settings",
|
||||
"pageDescription": "Manage your Team details",
|
||||
@@ -9,6 +12,12 @@
|
||||
"dangerZone": "Danger Zone",
|
||||
"dangerZoneDescription": "This section contains actions that are irreversible"
|
||||
},
|
||||
"members": {
|
||||
"pageTitle": "Members"
|
||||
},
|
||||
"billing": {
|
||||
"pageTitle": "Billing"
|
||||
},
|
||||
"yourTeams": "Your Teams",
|
||||
"createTeam": "Create a Team",
|
||||
"personalAccount": "Personal Account",
|
||||
|
||||
Reference in New Issue
Block a user