diff --git a/packages/react/src/locales/en/account.admin.json b/packages/react/src/locales/en/account.admin.json new file mode 100644 index 00000000..7d140b75 --- /dev/null +++ b/packages/react/src/locales/en/account.admin.json @@ -0,0 +1,202 @@ +{ + "addTitle": "Add customer", + "editTitle": "Edit customer", + "form": { + "actions": { + "cancel": "Cancel", + "save": "Save", + "submit": "Save" + }, + "fields": { + "billingAddress": "Billing address", + "database": "Database", + "domain": "Domain", + "name": "Name", + "registeredNumber": "Registered number", + "slug": "Slug", + "taxId": "Tax ID", + "type": { + "label": "Individual", + "options": { + "individual": "Individual", + "organization": "Organization" + } + }, + "useSeparateDb": "Use separate database" + }, + "messages": { + "error": { + "create": "Failed to create account", + "edit": "Failed to update account" + }, + "success": { + "create": "Account created successfully", + "edit": "Account updated successfully" + } + }, + "validations": { + "domain": { + "invalid": "Domain must be less than 255 characters" + }, + "name": { + "invalid": "Name must be less than 255 characters", + "required": "Name is required" + }, + "registeredNumber": { + "invalid": "Registered number must be less than 255 characters" + }, + "slug": { + "invalid": "Slug must be less than 24 characters", + "required": "Slug is required" + }, + "taxId": { + "invalid": "Tax id must be less than 255 characters" + } + } + }, + "info": { + "title": "Info" + }, + "invitations": { + "form": { + "actions": { + "cancel": "Cancel", + "submit": "Invite user" + }, + "fields": { + "email": { + "label": "Email", + "placeholder": "" + }, + "expiresAfter": { + "label": "Expires after", + "placeholder": "Enter number of days" + }, + "expiresAt": { + "label": "Expires at", + "placeholder": "Select a date" + }, + "role": { + "label": "Role", + "placeholder": "Select role" + } + }, + "title": "Invite an user", + "validation": { + "messages": { + "email": "Email is required", + "expiresAt": "Expiry date is required", + "requiredField": "This field is required", + "role": "Role is required", + "validEmail": "Email must be a valid email" + } + } + }, + "messages": { + "delete": { + "error": "Error deleting invitation", + "success": "Successfully deleted invitation" + }, + "invite": { + "error": "Error inviting user", + "success": "Successfully invited user" + }, + "resend": { + "error": "Error resending invitation", + "success": "Successfully resent invitation" + }, + "revoke": { + "error": "Error revoking invitation", + "success": "Successfully revoked invitation" + } + }, + "status": { + "accepted": "Accepted", + "expired": "Expired", + "pending": "Pending", + "revoked": "Revoked" + }, + "table": { + "actions": { + "delete": "Delete", + "invite": "Invite an user", + "resend": "Resend", + "revoke": "Revoke" + }, + "columns": { + "email": "Email", + "expiresAt": "Expires at", + "invitedBy": "Invited by", + "role": "Role", + "status": "Status" + }, + "confirmation": { + "header": "Confirmation", + "messages": { + "delete": "Are you sure you want to delete?", + "resend": "Are you sure you want to resend?", + "revoke": "Are you sure you want to revoke?" + } + }, + "emptyMessage": "Table is empty", + "pagination": { + "pageControl": "Go to", + "rowsPerPage": "Rows" + }, + "searchPlaceholder": "" + }, + "title": "Invitations" + }, + "toolbar": { + "back": "Back", + "edit": "Edit" + }, + "users": { + "messages": { + "enable": { + "error": "Error enabling user", + "success": "User enabled successfully" + }, + "disable": { + "error": "Error disabling user", + "success": "User disabled successfully" + } + }, + "roles": { + "SAAS_ACCOUNT_MEMBER": "Member", + "SAAS_ACCOUNT_OWNER": "Owner" + }, + "status": { + "active": "Active", + "disabled": "Disabled", + "enabled": "Enabled" + }, + "table": { + "actions": { + "disable": "Disable user", + "enable": "Enable user", + "invite": "Invite an user" + }, + "columns": { + "email": "Email", + "name": "Name", + "roles": "Roles", + "signedUpOn": "Signed up on", + "status": "Status" + }, + "confirmation": { + "header": "Confirmation", + "messages": { + "disable": "Are you sure you want to disable this user?", + "enable": "Are you sure you want to enable this user?" + } + }, + "pagination": { + "pageControl": "Go to", + "rowsPerPage": "Rows" + }, + "searchPlaceholder": "Search" + }, + "title": "Users" + } +} diff --git a/packages/react/src/locales/en/account.json b/packages/react/src/locales/en/account.user.json similarity index 97% rename from packages/react/src/locales/en/account.json rename to packages/react/src/locales/en/account.user.json index 9a76d7ea..3a66fb32 100644 --- a/packages/react/src/locales/en/account.json +++ b/packages/react/src/locales/en/account.user.json @@ -79,7 +79,7 @@ "placeholder": "Select role" } }, - "title": "Invite a user", + "title": "Invite an user", "validation": { "messages": { "email": "Email is required", @@ -117,7 +117,7 @@ "table": { "actions": { "delete": "Delete", - "invite": "Invite a user", + "invite": "Invite an user", "resend": "Resend", "revoke": "Revoke" }, @@ -169,7 +169,7 @@ "actions": { "disable": "Disable user", "enable": "Enable user", - "invite": "Invite a user" + "invite": "Invite an user" }, "columns": { "email": "Email", diff --git a/packages/react/src/locales/en/accounts.admin.json b/packages/react/src/locales/en/accounts.admin.json new file mode 100644 index 00000000..9fb6cc9c --- /dev/null +++ b/packages/react/src/locales/en/accounts.admin.json @@ -0,0 +1,120 @@ +{ + "account": { + "actions": { + "switch": "Switch" + }, + "active": "Active", + "name": "Name", + "registeredNumber": "Registered number", + "taxId": "Tax ID", + "type": { + "individual": "Individual", + "organization": "Organization" + } + }, + "signup": { + "actions": { + "cancel": "Cancel", + "next": "Next", + "previous": "Previous", + "submit": "Signup" + }, + "fields": { + "billingAddress": "Billing address", + "confirmPassword": "Confirm password", + "domain": "Custom domain", + "email": { "label": "Your email", "placeholder": "" }, + "individual": "Individual", + "name": "Name", + "password": { + "label": "Your password", + "helper": "Password must contain at least 8 characters, including a number, a lowercase and an uppercase" + }, + "registeredNumber": "Registered number", + "slug": "Slug", + "taxId": "Tax ID", + "typeId": { + "label": "Type", + "options": { + "individual": "Individual", + "organization": "Organization" + } + }, + "useSeparateDb": "Use separate database" + }, + "fieldsGroup": { + "accountType": "What is the type of your account?", + "configuration": "Account configurations" + }, + "termsAndConditions": "I agree to all the <0>Terms and Conditions by the user agreement.", + "title": { + "account": "Create a new account", + "user": "Signup" + }, + "validations": { + "confirmPassword": { + "mustMatch": "Passwords must match", + "required": "Confirm password is required" + }, + "domain": { + "invalid": "Please enter a valid domain upto 255 characters" + }, + "email": { + "invalid": "Please enter valid email address", + "required": "Email is required" + }, + "name": { + "invalid": "Name must be less than 255 characters", + "required": "Name is required" + }, + "password": { + "invalid": "Please enter valid password", + "required": "Password is required" + }, + "registeredNumber": { + "invalid": "Registered number must be less than 255 characters" + }, + "slug": { + "invalid": "Please enter a valid slug upto 24 characters", + "required": "Slug is required" + }, + "taxId": { + "invalid": "Tax id must be less than 255 characters" + }, + "termsAndConditions": { + "required": "Please agree to the terms and conditions" + } + } + }, + "switcher": { + "emptyLabel": "Choose account", + "helper": "Accounts" + }, + "table": { + "actions": { + "add": "Add", + "edit": "Edit", + "view": "View" + }, + "columns": { + "name": "Name", + "registeredNumber": "Registered name", + "schema": "Schema", + "taxId": "Tax ID", + "tenant": "Tenant", + "type": "Type" + }, + "emptyMessage": "Table is empty", + "pagination": { + "pageControl": "Go to", + "rowsPerPage": "Rows" + }, + "searchPlaceholder": "", + "title": "Customers" + }, + "title": "Customers", + "unregisteredDomain": { + "message": "Please visit again later. If the problem persists, please contact support.", + "title": "Sorry, the subdomain or domain is not registered." + } +} diff --git a/packages/react/src/locales/en/accounts.json b/packages/react/src/locales/en/accounts.user.json similarity index 89% rename from packages/react/src/locales/en/accounts.json rename to packages/react/src/locales/en/accounts.user.json index 5033d169..31f6848c 100644 --- a/packages/react/src/locales/en/accounts.json +++ b/packages/react/src/locales/en/accounts.user.json @@ -6,11 +6,7 @@ "active": "Active", "name": "Name", "registeredNumber": "Registered number", - "taxId": "Tax ID", - "type": { - "individual": "Individual", - "organization": "Organization" - } + "taxId": "Tax ID" }, "error": { "message": "Please visit again later. If the problem persists, please contact support.", @@ -23,12 +19,10 @@ }, "info": "You've been invited to join account: {{account}}", "messages": { - "messages": { - "error": "Error accepting invitation", - "errorFetching": "Invalid token. Please contact your administrator", - "invalid": "Invitation is no longer valid", - "success": "Successfully accepted invitation" - } + "error": "Error accepting invitation", + "errorFetching": "Invalid token. Please contact your administrator", + "invalid": "Invitation is no longer valid", + "success": "Successfully accepted invitation" }, "title": "Invitation to join" }, @@ -143,6 +137,6 @@ "title": "My accounts", "unregisteredDomain": { "message": "Please visit again later. If the problem persists, please contact support.", - "title": "Sorry, the subdomain or domain is not registered. " + "title": "Sorry, the subdomain or domain is not registered." } } diff --git a/packages/react/src/locales/fr/account.admin.json b/packages/react/src/locales/fr/account.admin.json new file mode 100644 index 00000000..1a61b321 --- /dev/null +++ b/packages/react/src/locales/fr/account.admin.json @@ -0,0 +1,202 @@ +{ + "addTitle": "Add customer (fr)", + "editTitle": "Edit customer (fr)", + "form": { + "actions": { + "cancel": "Cancel (fr)", + "save": "Save (fr)", + "submit": "Save (fr)" + }, + "fields": { + "billingAddress": "Billing address (fr)", + "database": "Database (fr)", + "domain": "Domain (fr)", + "name": "Name (fr)", + "registeredNumber": "Registered number (fr)", + "slug": "Slug (fr)", + "taxId": "Tax ID (fr)", + "type": { + "label": "Individual (fr)", + "options": { + "individual": "Individual (fr)", + "organization": "Organization (fr)" + } + }, + "useSeparateDb": "Use separate database (fr)" + }, + "messages": { + "error": { + "create": "Failed to create account (fr)", + "edit": "Failed to update account (fr)" + }, + "success": { + "create": "Account created successfully (fr)", + "edit": "Account updated successfully (fr)" + } + }, + "validations": { + "domain": { + "invalid": "Domain must be less than 255 characters (fr)" + }, + "name": { + "invalid": "Name must be less than 255 characters (fr)", + "required": "Name is required (fr)" + }, + "registeredNumber": { + "invalid": "Registered number must be less than 255 characters (fr)" + }, + "slug": { + "invalid": "Slug must be less than 24 characters (fr)", + "required": "Slug is required (fr)" + }, + "taxId": { + "invalid": "Tax id must be less than 255 characters (fr)" + } + } + }, + "info": { + "title": "Info (fr)" + }, + "invitations": { + "form": { + "actions": { + "cancel": "Cancel (fr)", + "submit": "Invite user (fr)" + }, + "fields": { + "email": { + "label": "Email (fr)", + "placeholder": "" + }, + "expiresAfter": { + "label": "Expires after (fr)", + "placeholder": "Enter number of days (fr)" + }, + "expiresAt": { + "label": "Expires at (fr)", + "placeholder": "Select a date (fr)" + }, + "role": { + "label": "Role (fr)", + "placeholder": "Select role (fr)" + } + }, + "title": "Invite an user (fr)", + "validation": { + "messages": { + "email": "Email is required (fr)", + "expiresAt": "Expiry date is required (fr)", + "requiredField": "This field is required (fr)", + "role": "Role is required (fr)", + "validEmail": "Email must be a valid email (fr)" + } + } + }, + "messages": { + "delete": { + "error": "Error deleting invitation (fr)", + "success": "Successfully deleted invitation (fr)" + }, + "invite": { + "error": "Error inviting user (fr)", + "success": "Successfully invited user (fr)" + }, + "resend": { + "error": "Error resending invitation (fr)", + "success": "Successfully resent invitation (fr)" + }, + "revoke": { + "error": "Error revoking invitation (fr)", + "success": "Successfully revoked invitation (fr)" + } + }, + "status": { + "accepted": "Accepted (fr)", + "expired": "Expired (fr)", + "pending": "Pending (fr)", + "revoked": "Revoked (fr)" + }, + "table": { + "actions": { + "delete": "Delete (fr)", + "invite": "Invite an user (fr)", + "resend": "Resend (fr)", + "revoke": "Revoke (fr)" + }, + "columns": { + "email": "Email (fr)", + "expiresAt": "Expires at (fr)", + "invitedBy": "Invited by (fr)", + "role": "Role (fr)", + "status": "Status (fr)" + }, + "confirmation": { + "header": "Confirmation (fr)", + "messages": { + "delete": "Are you sure you want to delete (fr)?", + "resend": "Are you sure you want to resend (fr)?", + "revoke": "Are you sure you want to revoke (fr)?" + } + }, + "emptyMessage": "Table is empty (fr)", + "pagination": { + "pageControl": "Go to (fr)", + "rowsPerPage": "Rows (fr)" + }, + "searchPlaceholder": "" + }, + "title": "Invitations (fr)" + }, + "toolbar": { + "back": "Back (fr)", + "edit": "Edit (fr)" + }, + "users": { + "messages": { + "enable": { + "error": "Error enabling user (fr)", + "success": "User enabled successfully (fr)" + }, + "disable": { + "error": "Error disabling user (fr)", + "success": "User disabled successfully (fr)" + } + }, + "roles": { + "SAAS_ACCOUNT_MEMBER": "Member (fr)", + "SAAS_ACCOUNT_OWNER": "Owner (fr)" + }, + "status": { + "active": "Active (fr)", + "disabled": "Disabled (fr)", + "enabled": "Enabled (fr)" + }, + "table": { + "actions": { + "disable": "Disable user (fr)", + "enable": "Enable user (fr)", + "invite": "Invite an user (fr)" + }, + "columns": { + "email": "Email (fr)", + "name": "Name (fr)", + "roles": "Roles (fr)", + "signedUpOn": "Signed up on (fr)", + "status": "Status (fr)" + }, + "confirmation": { + "header": "Confirmation (fr)", + "messages": { + "disable": "Are you sure you want to disable this user (fr)?", + "enable": "Are you sure you want to enable this user (fr)?" + } + }, + "pagination": { + "pageControl": "Go to (fr)", + "rowsPerPage": "Rows (fr)" + }, + "searchPlaceholder": "Search (fr)" + }, + "title": "Users (fr)" + } +} diff --git a/packages/react/src/locales/fr/account.json b/packages/react/src/locales/fr/account.user.json similarity index 97% rename from packages/react/src/locales/fr/account.json rename to packages/react/src/locales/fr/account.user.json index c9403336..aefc33c2 100644 --- a/packages/react/src/locales/fr/account.json +++ b/packages/react/src/locales/fr/account.user.json @@ -79,7 +79,7 @@ "placeholder": "Select role (fr)" } }, - "title": "Invite a user (fr)", + "title": "Invite an user (fr)", "validation": { "messages": { "email": "Email is required (fr)", @@ -117,7 +117,7 @@ "table": { "actions": { "delete": "Delete (fr)", - "invite": "Invite a user (fr)", + "invite": "Invite an user (fr)", "resend": "Resend (fr)", "revoke": "Revoke (fr)" }, @@ -169,7 +169,7 @@ "actions": { "disable": "Disable user (fr)", "enable": "Enable user (fr)", - "invite": "Invite a user (fr)" + "invite": "Invite an user (fr)" }, "columns": { "email": "Email (fr)", diff --git a/packages/react/src/locales/fr/accounts.admin.json b/packages/react/src/locales/fr/accounts.admin.json new file mode 100644 index 00000000..96c3e40f --- /dev/null +++ b/packages/react/src/locales/fr/accounts.admin.json @@ -0,0 +1,120 @@ +{ + "account": { + "actions": { + "switch": "Switch (fr)" + }, + "active": "Active (fr)", + "name": "Name (fr)", + "registeredNumber": "Registered number (fr)", + "taxId": "Tax ID (fr)", + "type": { + "individual": "Individual (fr)", + "organization": "Organization (fr)" + } + }, + "signup": { + "actions": { + "cancel": "Cancel (fr)", + "next": "Next (fr)", + "previous": "Previous (fr)", + "submit": "Signup (fr)" + }, + "fields": { + "billingAddress": "Billing address (fr)", + "confirmPassword": "Confirm password (fr)", + "domain": "Custom domain (fr)", + "email": { "label": "Your email (fr)", "placeholder": "" }, + "individual": "Individual (fr)", + "name": "Name (fr)", + "password": { + "label": "Your password (fr)", + "helper": "Password must contain at least 8 characters, including a number, a lowercase and an uppercase (fr)" + }, + "registeredNumber": "Registered number (fr)", + "slug": "Slug (fr)", + "taxId": "Tax ID (fr)", + "typeId": { + "label": "Type (fr)", + "options": { + "individual": "Individual (fr)", + "organization": "Organization (fr)" + } + }, + "useSeparateDb": "Use separate database (fr)" + }, + "fieldsGroup": { + "accountType": "What is the type of your account? (fr)", + "configuration": "Account configurations (fr)" + }, + "termsAndConditions": "I agree to all the <0>Terms and Conditions by the user agreement. (fr)", + "title": { + "account": "Create a new account (fr)", + "user": "Signup (fr)" + }, + "validations": { + "confirmPassword": { + "mustMatch": "Passwords must match (fr)", + "required": "Confirm password is required (fr)" + }, + "domain": { + "invalid": "Domain must be less than 255 characters (fr)" + }, + "email": { + "invalid": "Please enter valid email address (fr)", + "required": "Email is required (fr)" + }, + "name": { + "invalid": "Name must be less than 255 characters (fr)", + "required": "Name is required (fr)" + }, + "password": { + "invalid": "Please enter valid password (fr)", + "required": "Password is required (fr)" + }, + "registeredNumber": { + "invalid": "Registered number must be less than 255 characters (fr)" + }, + "slug": { + "invalid": "Slug must be less than 24 characters (fr)", + "required": "Slug is required (fr)" + }, + "taxId": { + "invalid": "Tax id must be less than 255 characters (fr)" + }, + "termsAndConditions": { + "required": "Please agree to the terms and conditions (fr)" + } + } + }, + "switcher": { + "emptyLabel": "Choose account (fr)", + "helper": "Accounts (fr)" + }, + "table": { + "actions": { + "add": "Add (fr)", + "edit": "Edit (fr)", + "view": "View (fr)" + }, + "columns": { + "name": "Name (fr)", + "registeredNumber": "Registered number (fr)", + "schema": "Schema (fr)", + "taxId": "Tax ID (fr)", + "tenant": "Tenant (fr)", + "type": "Type (fr)" + }, + "emptyMessage": "Table is empty (fr)", + "pagination": { + "pageControl": "Go to (fr)", + "rowsPerPage": "Rows (fr)" + }, + "searchPlaceholder": " (fr)", + "title": "Customers (fr)" + }, + "title": "Customers (fr)", + "unregisteredDomain": { + "message": "Please visit again later. If the problem persists, please contact support. (fr)", + "title": "Sorry, the subdomain or domain is not registered. (fr)" + } +} diff --git a/packages/react/src/locales/fr/accounts.json b/packages/react/src/locales/fr/accounts.user.json similarity index 96% rename from packages/react/src/locales/fr/accounts.json rename to packages/react/src/locales/fr/accounts.user.json index 62b5fccc..5f0feda0 100644 --- a/packages/react/src/locales/fr/accounts.json +++ b/packages/react/src/locales/fr/accounts.user.json @@ -6,17 +6,13 @@ "active": "Active (fr)", "name": "Name (fr)", "registeredNumber": "Registered number (fr)", - "taxId": "Tax ID (fr)", - "type": { - "individual": "Individual (fr)", - "organization": "Organization (fr)" - } + "taxId": "Tax ID (fr)" }, "error": { "message": "Please visit again later. If the problem persists, please contact support. (fr)", "title": "Sorry, something went wrong. (fr)" }, - "joinAccount": { + "joinInvitation": { "actions": { "accept": "Accept invitation (fr)", "ignore": "Ignore (fr)"