shared: - Add class-filter, error-state, route-error, section-error-boundary, widget-boundary components - Add ui/alert component - Add constants directory - Add breached-password, export-utils, permission-bitmap, rate-limit, resolve-action-error, route-permissions, route-resolver, type-guards lib - Add i18n messages (en, zh-CN) for invitation-codes, parent, questions, rbac tests: - Add integration tests for elective - Add tests/setup/empty-stub scripts: - Add update-md.cjs, tmp_append_en.ps1, tmp_merge_en.ps1 utilities
82 lines
3.8 KiB
JSON
82 lines
3.8 KiB
JSON
{
|
|
"title": "User Management",
|
|
"description": "Manage all system users.",
|
|
"adminDescription": "Manage all system users, including viewing, searching, and deleting.",
|
|
"importButton": "Batch Import",
|
|
"searchPlaceholder": "Search by name or email...",
|
|
"allRoles": "All Roles",
|
|
"search": "Search",
|
|
"reset": "Reset",
|
|
"emptyTitle": "No users yet",
|
|
"emptyFilteredDescription": "No matching users. Please adjust your search criteria.",
|
|
"emptyDescription": "There are no users in the system yet. Click Batch Import to create some.",
|
|
"unassigned": "Unassigned",
|
|
"deleteConfirmTitle": "Confirm delete user?",
|
|
"deleteConfirmDescription": "This will permanently delete the user and their associated data. This action cannot be undone. If the user is associated with classes or students, please remove the associations first.",
|
|
"columns": {
|
|
"name": "Name",
|
|
"email": "Email",
|
|
"role": "Role",
|
|
"phone": "Phone",
|
|
"createdAt": "Registered",
|
|
"actions": "Actions"
|
|
},
|
|
"actions": {
|
|
"edit": "Edit",
|
|
"assignRoles": "Assign Roles",
|
|
"delete": "Delete",
|
|
"cancel": "Cancel",
|
|
"deleting": "Deleting...",
|
|
"confirmDelete": "Confirm Delete"
|
|
},
|
|
"pagination": {
|
|
"info": "Showing {start}-{end} of {total} items",
|
|
"prev": "Previous",
|
|
"pageInfo": "Page {page} / {totalPages}",
|
|
"next": "Next"
|
|
},
|
|
"messages": {
|
|
"deleted": "User deleted"
|
|
},
|
|
"import": {
|
|
"title": "Batch Import Users",
|
|
"description": "Batch create user accounts via Excel file.",
|
|
"back": "Back",
|
|
"subtitle": "Batch create user accounts and automatically assign students to classes.",
|
|
"instructionsTitle": "Import Guide",
|
|
"instructionsDescription": "Steps to batch import users via Excel",
|
|
"step1": "Click the 'Batch Import Users' button to download the import template.",
|
|
"step2": "Fill in user information (name, email, role, phone, class invite code) following the template format.",
|
|
"step3": "Upload the completed Excel file. The system will parse and preview the data.",
|
|
"step4": "Confirm the preview data is correct, then click 'Confirm Import' to complete batch creation.",
|
|
"notesTitle": "Important Notes",
|
|
"notesDescription": "Please read carefully before importing",
|
|
"note1": "Default password is set for all users. Please remind users to change it after first login.",
|
|
"note2": "Email must be unique. Duplicate emails will be skipped and recorded in the error report.",
|
|
"note3": "Available roles: admin / teacher / student / parent / grade_head / teaching_head.",
|
|
"note4": "Class invite code is only valid for student role. Students will be automatically added to the corresponding class.",
|
|
"note5": "Maximum file size is 10MB. Recommended no more than 500 records per import.",
|
|
"note6": "After import, the success count, failure count, and detailed error information will be displayed.",
|
|
"templateTitle": "Template Field Guide",
|
|
"templateDescription": "Excel template column meanings and requirements",
|
|
"columnName": "Column Name",
|
|
"columnRequired": "Required",
|
|
"columnDescription": "Description",
|
|
"fieldName": "Name",
|
|
"fieldNameRequired": "Required",
|
|
"fieldNameDescription": "User name",
|
|
"fieldEmail": "Email",
|
|
"fieldEmailRequired": "Required",
|
|
"fieldEmailDescription": "Login account, must be valid email format and unique",
|
|
"fieldRole": "Role",
|
|
"fieldRoleRequired": "Required",
|
|
"fieldRoleDescription": "admin / teacher / student / parent / grade_head / teaching_head",
|
|
"fieldPhone": "Phone",
|
|
"fieldPhoneRequired": "Optional",
|
|
"fieldPhoneDescription": "Contact phone number",
|
|
"fieldInviteCode": "Class Invite Code",
|
|
"fieldInviteCodeRequired": "Optional",
|
|
"fieldInviteCodeDescription": "Only valid for student role, 6-digit invite code"
|
|
}
|
|
}
|