fix(workspaces): streamline member import modal
This commit is contained in:
@@ -315,6 +315,21 @@ export const en = {
|
||||
invalid: "Invalid",
|
||||
noRows: "No rows loaded yet.",
|
||||
localErrors: "Fix local file errors before backend validation.",
|
||||
helpTitle: "Import help",
|
||||
helpDescription: "Use these rules to prepare a valid member import file.",
|
||||
helpCurrencyTitle: "Currency options",
|
||||
helpRolesTitle: "Role options",
|
||||
roleAdminDescription: "Can manage workspace settings, members, projects, reports, and shared data.",
|
||||
roleMemberDescription: "Can use the workspace normally and record time for accessible projects.",
|
||||
roleGuestDescription: "Has limited workspace access and can record time only where access is granted.",
|
||||
helpMobilePrefix: "Column",
|
||||
helpMobileSuffix: "is required and must belong to an existing registered user.",
|
||||
helpRolePrefix: "Column",
|
||||
helpRoleSuffix: "is optional. Empty role becomes member.",
|
||||
helpRatePrefix: "Columns",
|
||||
helpRateMiddle: "and",
|
||||
helpRateSuffix: "are optional, but must be filled together when used.",
|
||||
helpSamplesTitle: "Sample files",
|
||||
success: "Members imported successfully.",
|
||||
parseFailed: "Failed to parse the file.",
|
||||
missingMobile: "Mobile is required.",
|
||||
@@ -323,6 +338,20 @@ export const en = {
|
||||
invalidRate: "Hourly rate must be a valid positive number.",
|
||||
rateCurrencyPair: "Hourly rate and currency must be provided together.",
|
||||
tooManyRows: "Import is limited to 500 rows.",
|
||||
messagesMap: {
|
||||
too_many_rows: "Import is limited to 500 rows.",
|
||||
mobile_required: "Mobile is required.",
|
||||
duplicate_mobile: "This mobile appears more than once.",
|
||||
user_not_found: "No registered user was found with this mobile.",
|
||||
already_member: "This user is already a workspace member.",
|
||||
owner_role_not_allowed: "Owner role cannot be imported.",
|
||||
invalid_role: "Role must be admin, member, or guest.",
|
||||
role_permission_denied: "You do not have permission to assign this role.",
|
||||
rate_currency_pair_required: "Hourly rate and currency must be provided together.",
|
||||
hourly_rate_positive: "Hourly rate must be greater than zero.",
|
||||
hourly_rate_invalid: "Hourly rate must be a valid number.",
|
||||
currency_invalid: "Currency is not valid.",
|
||||
},
|
||||
},
|
||||
membersLocked: "Only owners and admins can view the full member list.",
|
||||
manageMembers: "Manage members",
|
||||
|
||||
Reference in New Issue
Block a user