diff --git a/packages/console/src/assets/icons/invitation.svg b/packages/console/src/assets/icons/invitation.svg index 7ee86538506b..2c245c59f2e8 100644 --- a/packages/console/src/assets/icons/invitation.svg +++ b/packages/console/src/assets/icons/invitation.svg @@ -1,3 +1,3 @@ - + diff --git a/packages/console/src/cloud/pages/Main/InvitationList/index.module.scss b/packages/console/src/cloud/pages/Main/InvitationList/index.module.scss index e4ecad534305..3f223613fc5e 100644 --- a/packages/console/src/cloud/pages/Main/InvitationList/index.module.scss +++ b/packages/console/src/cloud/pages/Main/InvitationList/index.module.scss @@ -5,7 +5,7 @@ flex-direction: column; height: 100%; min-height: 600px; - background: var(--color-surface-1); + background: var(--color-base); align-items: center; justify-content: center; overflow-y: auto; @@ -16,17 +16,11 @@ width: 540px; padding: _.unit(20) _.unit(17.5); gap: _.unit(6); - background: var(--color-bg-float); + background: var(--color-layer-1); border-radius: 16px; box-shadow: var(--shadow-1); white-space: pre-wrap; - .icon { - width: 40px; - height: 40px; - flex-shrink: 0; - } - .title { font: var(--font-headline-2); } diff --git a/packages/console/src/cloud/pages/Main/InvitationList/index.tsx b/packages/console/src/cloud/pages/Main/InvitationList/index.tsx index 1b96bb6415ba..6f5c718817b6 100644 --- a/packages/console/src/cloud/pages/Main/InvitationList/index.tsx +++ b/packages/console/src/cloud/pages/Main/InvitationList/index.tsx @@ -2,11 +2,12 @@ import { OrganizationInvitationStatus, getTenantIdFromOrganizationId } from '@lo import { useContext, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import Icon from '@/assets/icons/organization-preview.svg'; +import OrganizationIcon from '@/assets/icons/organization-preview.svg'; import { useCloudApi } from '@/cloud/hooks/use-cloud-api'; import { type TenantResponse, type InvitationListResponse } from '@/cloud/types/router'; import CreateTenantModal from '@/components/CreateTenantModal'; import TenantEnvTag from '@/components/TenantEnvTag'; +import ThemedIcon from '@/components/ThemedIcon'; import { TenantsContext } from '@/contexts/TenantsProvider'; import Button from '@/ds-components/Button'; import Spacer from '@/ds-components/Spacer'; @@ -32,7 +33,7 @@ function InvitationList({ invitations }: Props) {
{t('invitation.find_tenants_description')}
{invitations.map(({ id, organizationId, tenantName, tenantTag }) => (
- + {tenantName} diff --git a/packages/console/src/components/ItemPreview/index.module.scss b/packages/console/src/components/ItemPreview/index.module.scss index 3a09bf4d61c8..ee9ce986c924 100644 --- a/packages/console/src/components/ItemPreview/index.module.scss +++ b/packages/console/src/components/ItemPreview/index.module.scss @@ -31,9 +31,12 @@ .title { display: block; font: var(--font-body-2); - color: var(--color-text-link); text-decoration: none; @include _.text-ellipsis; + + &.withLink { + color: var(--color-text-link); + } } .subtitle { diff --git a/packages/console/src/components/ItemPreview/index.tsx b/packages/console/src/components/ItemPreview/index.tsx index 5e6d4544f525..ae29ac65697e 100644 --- a/packages/console/src/components/ItemPreview/index.tsx +++ b/packages/console/src/components/ItemPreview/index.tsx @@ -27,7 +27,7 @@ function ItemPreview({ title, subtitle, icon, to, size = 'default', suffix, toTa
{to && ( { diff --git a/packages/console/src/components/Topbar/TenantSelector/index.module.scss b/packages/console/src/components/Topbar/TenantSelector/index.module.scss index f06ff2128af3..8697a8b955cb 100644 --- a/packages/console/src/components/Topbar/TenantSelector/index.module.scss +++ b/packages/console/src/components/Topbar/TenantSelector/index.module.scss @@ -19,6 +19,7 @@ $dropdown-item-height: 40px; position: relative; border: none; background-color: transparent; + gap: _.unit(2); &:hover { cursor: pointer; @@ -31,12 +32,14 @@ $dropdown-item-height: 40px; .name { font: var(--font-title-2); - margin-right: _.unit(1.5); @include _.text-ellipsis; } - .tag { - margin-right: _.unit(2); + .redDot { + width: 10px; + height: 10px; + border-radius: 50%; + background-color: var(--color-on-error-container); } .arrowIcon { diff --git a/packages/console/src/components/Topbar/TenantSelector/index.tsx b/packages/console/src/components/Topbar/TenantSelector/index.tsx index 99e4eee98b7b..07555f0effc8 100644 --- a/packages/console/src/components/Topbar/TenantSelector/index.tsx +++ b/packages/console/src/components/Topbar/TenantSelector/index.tsx @@ -54,7 +54,8 @@ export default function TenantSelector() { }} >
{currentTenantInfo.name}
- + + {Boolean(pendingInvitations?.length) &&
}
; + } + return (
diff --git a/packages/console/src/pages/AcceptInvitation/index.tsx b/packages/console/src/pages/AcceptInvitation/index.tsx index 849bf9edbd19..6c804241b846 100644 --- a/packages/console/src/pages/AcceptInvitation/index.tsx +++ b/packages/console/src/pages/AcceptInvitation/index.tsx @@ -47,10 +47,10 @@ function AcceptInvitation() { resetTenants(data); navigateTenant(getTenantIdFromOrganizationId(organizationId)); })(); - }, [cloudApi, error, invitation, navigateTenant, t]); + }, [cloudApi, error, invitation, navigateTenant, resetTenants, t]); // No invitation returned, indicating the current signed-in user is not the invitee. - if (error?.status === 404) { + if (error?.status === 403) { return ( { @@ -63,6 +63,10 @@ function AcceptInvitation() { ); } + if (error?.status === 404) { + return ; + } + if (invitation && invitation.status !== OrganizationInvitationStatus.Pending) { return ; } diff --git a/packages/console/src/pages/TenantSettings/TenantMembers/InviteMemberModal/index.tsx b/packages/console/src/pages/TenantSettings/TenantMembers/InviteMemberModal/index.tsx index 69db6b0520f7..b922a9097e23 100644 --- a/packages/console/src/pages/TenantSettings/TenantMembers/InviteMemberModal/index.tsx +++ b/packages/console/src/pages/TenantSettings/TenantMembers/InviteMemberModal/index.tsx @@ -1,5 +1,5 @@ import { ReservedPlanId, TenantRole } from '@logto/schemas'; -import { useContext, useMemo, useState } from 'react'; +import { useContext, useEffect, useMemo, useState } from 'react'; import { Controller, FormProvider, useForm } from 'react-hook-form'; import { toast } from 'react-hot-toast'; import { useTranslation } from 'react-i18next'; @@ -50,9 +50,16 @@ function InviteMemberModal({ isOpen, onClose }: Props) { control, handleSubmit, setError, + reset, formState: { errors }, } = formMethods; + useEffect(() => { + return () => { + reset(); + }; + }, [isOpen, reset]); + const roleOptions: Array> = useMemo( () => [ { value: TenantRole.Admin, title: t('admin') }, diff --git a/packages/console/src/pages/TenantSettings/index.tsx b/packages/console/src/pages/TenantSettings/index.tsx index a1a459a78c03..6b59a3fb7fed 100644 --- a/packages/console/src/pages/TenantSettings/index.tsx +++ b/packages/console/src/pages/TenantSettings/index.tsx @@ -26,16 +26,16 @@ function TenantSettings() { - {isDevFeaturesEnabled && ( - - - - )} {canManageTenant && ( )} + {isDevFeaturesEnabled && ( + + + + )} {!isDevTenant && canManageTenant && ( <> diff --git a/packages/phrases/src/locales/de/translation/admin-console/invitation.ts b/packages/phrases/src/locales/de/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/de/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/de/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/de/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/de/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/de/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/de/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/en/translation/admin-console/invitation.ts b/packages/phrases/src/locales/en/translation/admin-console/invitation.ts index 2feeb7fe7901..91eaa2d6e199 100644 --- a/packages/phrases/src/locales/en/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/en/translation/admin-console/invitation.ts @@ -3,11 +3,12 @@ const invitation = { find_tenants_description: 'Your email address may already be registered with multiple tenants. You can choose to join the existing ones or continue create a new one.', create_new_tenant: 'Create a new tenant', - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', switch_account: 'Sign in to another account', invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/en/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/en/translation/admin-console/tenant-members.ts index c4bdafe913ef..ed0e392b0dd9 100644 --- a/packages/phrases/src/locales/en/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/en/translation/admin-console/tenant-members.ts @@ -1,11 +1,13 @@ const tenant_members = { members: 'Members', + collaborators: 'Collaborators', invitations: 'Invitations', invite_members: 'Invite members', user: 'User', roles: 'Roles', admin: 'Admin', member: 'Member', + collaborator: 'Collaborator', invitation_status: 'Invitation status', invitation_sent: 'Invitation sent', expiration_date: 'Expiration date', diff --git a/packages/phrases/src/locales/es/translation/admin-console/invitation.ts b/packages/phrases/src/locales/es/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/es/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/es/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/es/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/es/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/es/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/es/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/fr/translation/admin-console/invitation.ts b/packages/phrases/src/locales/fr/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/fr/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/fr/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/fr/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/fr/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/fr/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/fr/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/it/translation/admin-console/invitation.ts b/packages/phrases/src/locales/it/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/it/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/it/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/it/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/it/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/it/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/it/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/ja/translation/admin-console/invitation.ts b/packages/phrases/src/locales/ja/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/ja/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/ja/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/ja/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/ja/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/ja/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/ja/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/ko/translation/admin-console/invitation.ts b/packages/phrases/src/locales/ko/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/ko/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/ko/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/ko/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/ko/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/ko/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/ko/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/pl-pl/translation/admin-console/invitation.ts b/packages/phrases/src/locales/pl-pl/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/pl-pl/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/pl-pl/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/pl-pl/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/pl-pl/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/pl-pl/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/pl-pl/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/pt-br/translation/admin-console/invitation.ts b/packages/phrases/src/locales/pt-br/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/pt-br/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/pt-br/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/pt-br/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/pt-br/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/pt-br/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/pt-br/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/pt-pt/translation/admin-console/invitation.ts b/packages/phrases/src/locales/pt-pt/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/pt-pt/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/pt-pt/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/pt-pt/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/pt-pt/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/pt-pt/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/pt-pt/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/ru/translation/admin-console/invitation.ts b/packages/phrases/src/locales/ru/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/ru/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/ru/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/ru/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/ru/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/ru/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/ru/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/tr-tr/translation/admin-console/invitation.ts b/packages/phrases/src/locales/tr-tr/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/tr-tr/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/tr-tr/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/tr-tr/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/tr-tr/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/tr-tr/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/tr-tr/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/zh-cn/translation/admin-console/invitation.ts b/packages/phrases/src/locales/zh-cn/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/zh-cn/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/zh-cn/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/zh-cn/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/zh-cn/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/zh-cn/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/zh-cn/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/zh-hk/translation/admin-console/invitation.ts b/packages/phrases/src/locales/zh-hk/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/zh-hk/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/zh-hk/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/zh-hk/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/zh-hk/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/zh-hk/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/zh-hk/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent', diff --git a/packages/phrases/src/locales/zh-tw/translation/admin-console/invitation.ts b/packages/phrases/src/locales/zh-tw/translation/admin-console/invitation.ts index f512fd544bdf..c158350e390a 100644 --- a/packages/phrases/src/locales/zh-tw/translation/admin-console/invitation.ts +++ b/packages/phrases/src/locales/zh-tw/translation/admin-console/invitation.ts @@ -7,7 +7,7 @@ const invitation = { /** UNTRANSLATED */ create_new_tenant: 'Create a new tenant', /** UNTRANSLATED */ - email_not_match_title: 'You are currently signed in as\n{{email}}.', + email_not_match_title: 'You are currently signed in as\n{{email}}', /** UNTRANSLATED */ email_not_match_description: 'You do not currently have access to this organization.\nPlease sign in with the correct account to accept the invitation and become a member of the organization.', @@ -15,6 +15,8 @@ const invitation = { switch_account: 'Sign in to another account', /** UNTRANSLATED */ invalid_invitation_status: 'Invalid invitation. Please contact the administrator and try again.', + /** UNTRANSLATED */ + invitation_not_found: 'Invitation not found. Please contact the administrator.', }; export default Object.freeze(invitation); diff --git a/packages/phrases/src/locales/zh-tw/translation/admin-console/tenant-members.ts b/packages/phrases/src/locales/zh-tw/translation/admin-console/tenant-members.ts index 0b64b99cd40a..c4390e2f4426 100644 --- a/packages/phrases/src/locales/zh-tw/translation/admin-console/tenant-members.ts +++ b/packages/phrases/src/locales/zh-tw/translation/admin-console/tenant-members.ts @@ -2,6 +2,8 @@ const tenant_members = { /** UNTRANSLATED */ members: 'Members', /** UNTRANSLATED */ + collaborators: 'Collaborators', + /** UNTRANSLATED */ invitations: 'Invitations', /** UNTRANSLATED */ invite_members: 'Invite members', @@ -14,6 +16,8 @@ const tenant_members = { /** UNTRANSLATED */ member: 'Member', /** UNTRANSLATED */ + collaborator: 'Collaborator', + /** UNTRANSLATED */ invitation_status: 'Invitation status', /** UNTRANSLATED */ invitation_sent: 'Invitation sent',