Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
export * from './idp-management';
export * from './organization-management';
export * from './domain-management';
export * from './member-management/invitation-tab-types';
export * from './member-management/member-management-types';
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/**
* Custom message type definitions for invitation tab.
* @module invitation-tab-types
* @internal
*/

export interface OrganizationInvitationTabMessages {
table?: {
columns?: {
email?: string;
status?: string;
inviter?: string;
created_at?: string;
expires_at?: string;
roles?: string;
};
empty_message?: string;
search_placeholder?: string;
filter_by_role?: string;
all_roles?: string;
reset_filter?: string;
showing_results?: string;
status_pending?: string;
status_expired?: string;
};
actions?: {
menu_label?: string;
view_details?: string;
copy_url?: string;
revoke_and_resend?: string;
revoke?: string;
};
create?: {
title?: string;
description?: string;
email_label?: string;
email_placeholder?: string;
email_helper?: string;
email_limit_error?: string;
email_invalid_error?: string;
email_duplicate_error?: string;
email_required_error?: string;
roles_label?: string;
roles_placeholder?: string;
provider_label?: string;
provider_placeholder?: string;
submit_button?: string;
creating?: string;
cancel_button?: string;
};
details?: {
title?: string;
email_label?: string;
status_label?: string;
roles_label?: string;
provider_label?: string;
created_at_label?: string;
expires_at_label?: string;
invited_by_label?: string;
invitation_url_label?: string;
copy_url_button?: string;
close_button?: string;
revoke_button?: string;
resend_button?: string;
};
revoke?: {
title?: string;
description?: string;
confirm_button?: string;
cancel_button?: string;
};
revoke_resend?: {
title?: string;
description?: string;
confirm_button?: string;
cancel_button?: string;
};
success?: {
url_copied?: string;
invitation_resent?: string;
};
error?: {
fetch_failed?: string;
create_failed?: string;
revoke_failed?: string;
resend_failed?: string;
revoke_resend_failed?: string;
copy_url_failed?: string;
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Custom message type definitions for member management.
* @module member-management-types
* @internal
*/

import type { OrganizationInvitationTabMessages } from './invitation-tab-types';

export interface OrganizationMemberManagementMessages {
header?: {
title?: string;
description?: string;
};
tabs?: {
members?: string;
invitations?: string;
};
invitation?: OrganizationInvitationTabMessages;
}
119 changes: 119 additions & 0 deletions packages/core/src/i18n/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1069,5 +1069,124 @@
"install_guardian_description": "In order to continue, install the Auth0 Guardian app via the app store from your mobile device"
}
}
},
"member_management": {
"header": {
"title": "Members",
"description": "Manage the members of your organization."
},
"invite_button": "Invite Member",
"tabs": {
"members": "Members",
"invitations": "Invitations"
},
"member": {
"table": {
"columns": {
"name": "Name",
"email": "Email",
"roles": "Roles"
},
"empty_message": "No members found."
},
"remove": {
"title": "Remove Member",
"description": "Are you sure you want to remove ${name} from this organization?",
"confirm_button": "Remove",
"cancel_button": "Cancel",
"success": "${name} has been removed from the organization."
},
"error": {
"fetch_failed": "Failed to load members. Please try again.",
"remove_failed": "Failed to remove member. Please try again."
}
},
"invitation": {
"table": {
"columns": {
"email": "Email",
"status": "Status",
"inviter": "Invited By",
"created_at": "Created At",
"expires_at": "Expires At",
"roles": "Roles"
},
"empty_message": "No pending invitations.",
"search_placeholder": "Search by email...",
"filter_by_role": "Filter By Role",
"all_roles": "All",
"reset_filter": "Reset",
"showing_results": "Showing ${start}-${end} of ${total}",
"status_pending": "Pending",
"status_expired": "Expired"
},
"actions": {
"menu_label": "Actions",
"view_details": "View Details",
"copy_url": "Copy Invitation URL",
"revoke_and_resend": "Revoke and Resend",
"revoke": "Revoke Invitation"
},
"create": {
"title": "Invite Member",
"description": "Send an invitation to join this organization.",
"email_label": "Email Address",
"email_placeholder": "Enter email address and press Enter",
"email_helper": "Add up to 10 members in a comma-separated list.",
"email_limit_error": "You can add up to 10 email addresses.",
"email_invalid_error": "Please enter a valid email address.",
"email_duplicate_error": "This email has already been added.",
"email_required_error": "Please enter at least one email address.",
"roles_label": "Roles",
"roles_placeholder": "Select roles (optional)",
"provider_label": "Provider",
"provider_placeholder": "Select provider (optional)",
"provider_helper": "If none is selected, the member can log in with any provider.",
"submit_button": "Send Invite",
"creating": "Creating...",
"cancel_button": "Cancel",
"success": "Invitation sent to ${email}."
},
"details": {
"title": "Invitation Details",
"email_label": "Email",
"status_label": "Status",
"roles_label": "Roles",
"provider_label": "Identity Provider",
"created_at_label": "Created",
"expires_at_label": "Expires",
"invited_by_label": "Invited By",
"invitation_url_label": "Invitation URL",
"copy_url_button": "Copy",
"close_button": "Close",
"revoke_button": "Revoke Invitation",
"resend_button": "Revoke and Resend"
},
"revoke": {
"title": "Revoke Invitation",
"description": "Are you sure you want to revoke the invitation to <bold>${email}</bold>?",
"confirm_button": "Revoke",
"cancel_button": "Cancel",
"success": "Invitation for ${email} has been revoked."
},
"revoke_resend": {
"title": "Revoke and Resend Invitation",
"description": "Are you sure you want to revoke the current invitation and send a new one to <bold>${email}</bold>?",
"confirm_button": "Proceed",
"cancel_button": "Cancel"
},
"success": {
"url_copied": "Invitation URL copied to clipboard.",
"invitation_resent": "Invitation resent to ${email}."
},
"error": {
"fetch_failed": "Failed to load invitations. Please try again.",
"create_failed": "Failed to send invitation. Please try again.",
"revoke_failed": "Failed to revoke invitation. Please try again.",
"resend_failed": "Failed to resend invitation. Please try again.",
"revoke_resend_failed": "Failed to revoke and resend invitation. Please try again.",
"copy_url_failed": "Failed to copy invitation URL. Please try again."
}
}
}
}
119 changes: 119 additions & 0 deletions packages/core/src/i18n/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1071,5 +1071,124 @@
"install_guardian_description": "続行するには、お使いのモバイルデバイスからアプリストア経由でAuth0 Guardianアプリをインストールしてください。"
}
}
},
"member_management": {
"header": {
"title": "メンバー",
"description": "組織のメンバーを管理します。"
},
"invite_button": "メンバーを招待",
"tabs": {
"members": "メンバー",
"invitations": "招待"
},
"member": {
"table": {
"columns": {
"name": "名前",
"email": "メール",
"roles": "ロール"
},
"empty_message": "メンバーが見つかりません。"
},
"remove": {
"title": "メンバーを削除",
"description": "この組織から${name}を削除してもよろしいですか?",
"confirm_button": "削除",
"cancel_button": "キャンセル",
"success": "${name}が組織から削除されました。"
},
"error": {
"fetch_failed": "メンバーの読み込みに失敗しました。もう一度お試しください。",
"remove_failed": "メンバーの削除に失敗しました。もう一度お試しください。"
}
},
"invitation": {
"table": {
"columns": {
"email": "メール",
"status": "ステータス",
"inviter": "招待者",
"created_at": "作成日",
"expires_at": "有効期限",
"roles": "ロール"
},
"empty_message": "保留中の招待はありません。",
"search_placeholder": "メールで検索...",
"filter_by_role": "ロールで絞り込み",
"all_roles": "すべて",
"reset_filter": "リセット",
"showing_results": "${start}〜${end} / ${total}件",
"status_pending": "保留中",
"status_expired": "期限切れ"
},
"actions": {
"menu_label": "アクション",
"view_details": "詳細を表示",
"copy_url": "招待URLをコピー",
"revoke_and_resend": "取り消して再送信",
"revoke": "招待を取り消す"
},
"create": {
"title": "メンバーを招待",
"description": "この組織に参加するための招待を送信します。",
"email_label": "メールアドレス",
"email_placeholder": "メールアドレスを入力してEnterを押してください",
"email_helper": "カンマ区切りで最大10名まで追加できます。",
"email_limit_error": "メールアドレスは最大10件まで追加できます。",
"email_invalid_error": "有効なメールアドレスを入力してください。",
"email_duplicate_error": "このメールアドレスは既に追加されています。",
"email_required_error": "メールアドレスを1つ以上入力してください。",
"roles_label": "ロール",
"roles_placeholder": "ロールを選択(任意)",
"provider_label": "プロバイダー",
"provider_placeholder": "プロバイダーを選択(任意)",
"provider_helper": "選択しない場合、メンバーは任意のプロバイダーでログインできます。",
"submit_button": "招待を送信",
"creating": "作成中...",
"cancel_button": "キャンセル",
"success": "${email}に招待を送信しました。"
},
"details": {
"title": "招待の詳細",
"email_label": "メール",
"status_label": "ステータス",
"roles_label": "ロール",
"provider_label": "IDプロバイダー",
"created_at_label": "作成日",
"expires_at_label": "有効期限",
"invited_by_label": "招待者",
"invitation_url_label": "招待URL",
"copy_url_button": "コピー",
"close_button": "閉じる",
"revoke_button": "招待を取り消す",
"resend_button": "取り消して再送信"
},
"revoke": {
"title": "招待を取り消す",
"description": "<bold>${email}</bold>への招待を取り消してもよろしいですか?",
"confirm_button": "取り消す",
"cancel_button": "キャンセル",
"success": "${email}への招待が取り消されました。"
},
"revoke_resend": {
"title": "招待を取り消して再送信",
"description": "現在の招待を取り消し、<bold>${email}</bold>に新しい招待を送信してもよろしいですか?",
"confirm_button": "続行",
"cancel_button": "キャンセル"
},
"success": {
"url_copied": "招待URLをクリップボードにコピーしました。",
"invitation_resent": "${email}に招待を再送信しました。"
},
"error": {
"fetch_failed": "招待の読み込みに失敗しました。もう一度お試しください。",
"create_failed": "招待の送信に失敗しました。もう一度お試しください。",
"revoke_failed": "招待の取り消しに失敗しました。もう一度お試しください。",
"resend_failed": "招待の再送信に失敗しました。もう一度お試しください。",
"revoke_resend_failed": "招待の取り消しと再送信に失敗しました。もう一度お試しください。",
"copy_url_failed": "招待URLのコピーに失敗しました。もう一度お試しください。"
}
}
}
}
3 changes: 3 additions & 0 deletions packages/core/src/schemas/my-organization/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
export * from './organization-management';
export * from './idp-management';
export * from './domain-management';
export * from './member-management/invitations/invitation-schema';
export * from './member-management/invitations/invitation-create-schema';
export * from './member-management/invitations/invitation-create-schema-types';
Loading