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:
@@ -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