- 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
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"title": {
|
|
"list": "Notifications",
|
|
"dropdown": "Notifications"
|
|
},
|
|
"description": {
|
|
"list": "Stay updated on your latest activities."
|
|
},
|
|
"actions": {
|
|
"markRead": "Mark as read",
|
|
"markAllRead": "Mark all as read",
|
|
"viewAll": "View all notifications",
|
|
"view": "View",
|
|
"archive": "Archive",
|
|
"unarchive": "Unarchive"
|
|
},
|
|
"type": {
|
|
"message": "Message",
|
|
"announcement": "Announcement",
|
|
"homework": "Homework",
|
|
"grade": "Grade",
|
|
"diagnostic": "Diagnostic"
|
|
},
|
|
"filter": {
|
|
"all": "All"
|
|
},
|
|
"priority": {
|
|
"low": "Low",
|
|
"normal": "Normal",
|
|
"high": "High",
|
|
"urgent": "Urgent"
|
|
},
|
|
"status": {
|
|
"new": "New"
|
|
},
|
|
"empty": {
|
|
"noNotifications": "No notifications",
|
|
"noNotificationsDesc": "You have no notifications yet.",
|
|
"noNotificationsDropdown": "No notifications",
|
|
"noFilterResults": "No results",
|
|
"noFilterResultsDesc": "No notifications match the current filter."
|
|
},
|
|
"messages": {
|
|
"allMarkedRead": "All notifications marked as read",
|
|
"notificationMarkedRead": "Notification marked as read",
|
|
"markReadFailed": "Failed to mark as read",
|
|
"archiveFailed": "Archive failed"
|
|
},
|
|
"error": {
|
|
"loadFailed": "Failed to load notifications",
|
|
"loadFailedDesc": "Sorry, an unexpected error occurred while loading notifications. Please try again later.",
|
|
"boundaryTitle": "Notifications section failed to load",
|
|
"boundaryDescription": "An error occurred while loading notifications. Please retry.",
|
|
"retry": "Retry"
|
|
}
|
|
}
|