feat(shared): update db schema, i18n messages, rate-limit, auth-session-provider
- Update src/shared/db/schema.ts - Update i18n messages for en and zh-CN (error-book, exam-homework, leave, lesson-preparation, notifications, rbac, student, textbooks, diagnostic) - Update src/shared/lib/rate-limit/index.ts and redis-limiter.ts - Update src/shared/components/auth-session-provider.tsx
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
{
|
||||
"title": "Leave Request",
|
||||
"title.parent": "Online Leave",
|
||||
"title.teacher": "Leave Approval",
|
||||
"title.student": "My Leave Requests",
|
||||
"description": "Submit a leave request for your child.",
|
||||
"description.parent": "Submit a leave request for your child. Attendance is auto-synced after homeroom teacher approval.",
|
||||
"description.teacher": "View and approve leave requests from students in your classes. Approved leaves automatically mark attendance as 'excused'.",
|
||||
"description.student": "Submit your own leave request. It takes effect after homeroom teacher approval.",
|
||||
"title": {
|
||||
"default": "Leave Request",
|
||||
"parent": "Online Leave",
|
||||
"teacher": "Leave Approval",
|
||||
"student": "My Leave Requests"
|
||||
},
|
||||
"description": {
|
||||
"default": "Submit a leave request for your child.",
|
||||
"parent": "Submit a leave request for your child. Attendance is auto-synced after homeroom teacher approval.",
|
||||
"teacher": "View and approve leave requests from students in your classes. Approved leaves automatically mark attendance as 'excused'.",
|
||||
"student": "Submit your own leave request. It takes effect after homeroom teacher approval."
|
||||
},
|
||||
"backToDashboard": "Back to Dashboard",
|
||||
"onlineLeave": "Online Leave Request",
|
||||
"comingSoon": "Coming soon",
|
||||
|
||||
Reference in New Issue
Block a user