{
  "invitation": {
    "title": "Class Invitation Code",
    "generate": "Generate Code",
    "regenerate": "Regenerate",
    "revoke": "Revoke",
    "copy": "Copy",
    "copied": "Copied",
    "code": "Code",
    "status": "Status",
    "expiresAt": "Expires At",
    "usedCount": "Used Count",
    "maxUses": "Max Uses",
    "createdAt": "Created At",
    "note": "Note",
    "neverExpires": "Never expires",
    "unlimited": "Unlimited",
    "active": "Active",
    "disabled": "Disabled",
    "expired": "Expired",
    "exhausted": "Exhausted",
    "list": "Invitation Codes",
    "empty": "No invitation codes",
    "join": "Join Class",
    "joinPlaceholder": "Enter 6-character code",
    "joinSuccess": "Joined class successfully",
    "joinFailed": "Failed to join class",
    "invalidCode": "Invalid or expired invitation code",
    "rateLimited": "Too many attempts, please try again later",
    "alreadyInClass": "You are already in this class",
    "subjectConflict": "This subject already has a teacher for this class",
    "generateSuccess": "Invitation code generated",
    "generateFailed": "Failed to generate invitation code",
    "revokeSuccess": "Invitation code revoked",
    "revokeFailed": "Failed to revoke invitation code",
    "regenerateSuccess": "Invitation code regenerated",
    "regenerateConfirm": "The old code will be invalidated immediately after regeneration. Continue?",
    "revokeConfirm": "The code will be invalidated immediately after revocation. Continue?",
    "expiresInHours": "Validity (hours)",
    "maxUsesLabel": "Max uses",
    "customNote": "Note (optional)",
    "customNotePlaceholder": "e.g., Back-to-school temporary code",
    "generateWithCustom": "Generate custom code",
    "defaultDuration": "Never expires",
    "defaultMaxUses": "Unlimited"
  },
  "class": {
    "title": "Class",
    "name": "Class Name",
    "grade": "Grade",
    "homeroomTeacher": "Homeroom Teacher",
    "studentCount": "Student Count",
    "actions": "Actions"
  },
  "list": {
    "title": "Class Management",
    "description": "Manage classes and assign teachers.",
    "new": "New Class",
    "empty": {
      "title": "No classes",
      "description": "Create your first class to get started.",
      "noMatch": "No matches found",
      "noMatchDescription": "Try adjusting filters or clearing search."
    },
    "column": {
      "school": "School",
      "grade": "Grade",
      "name": "Class Name",
      "homeroom": "Homeroom",
      "room": "Room",
      "subjectTeachers": "Subject Teachers",
      "studentCount": "Students",
      "invitationCode": "Invitation Code",
      "updated": "Updated",
      "actions": "Actions"
    },
    "actions": {
      "edit": "Edit",
      "delete": "Delete",
      "viewDetail": "View Details"
    },
    "failedCreate": "Failed to create class",
    "failedUpdate": "Failed to update class",
    "failedDelete": "Failed to delete class",
    "failedStatus": "Failed to update status",
    "failedRegenerate": "Failed to regenerate invitation code",
    "failedCopy": "Failed to copy"
  },
  "form": {
    "createTitle": "New Class",
    "editTitle": "Edit Class",
    "name": "Class Name",
    "namePlaceholder": "e.g., Grade 1 Class 1",
    "school": "School",
    "schoolPlaceholder": "Select a school",
    "grade": "Grade",
    "gradePlaceholder": "Select a grade",
    "homeroom": "Homeroom Teacher",
    "homeroomPlaceholder": "Select a teacher",
    "room": "Room",
    "roomPlaceholder": "Optional",
    "subjectTeachers": "Subject Teachers",
    "subjectTeacherPlaceholder": "Select a teacher",
    "noSchools": "No schools",
    "noGrades": "No grades",
    "noTeachers": "No teachers",
    "selectSchool": "Select a school",
    "selectGrade": "Select a grade",
    "selectTeacher": "Select a teacher",
    "optional": "Optional",
    "cancel": "Cancel",
    "create": "Create",
    "save": "Save",
    "saveChanges": "Save Changes",
    "saving": "Saving...",
    "creating": "Creating...",
    "deleting": "Deleting...",
    "adding": "Adding...",
    "add": "Add"
  },
  "delete": {
    "title": "Delete Class",
    "description": "Are you sure you want to delete \"{name}\"? This action cannot be undone.",
    "cancel": "Cancel",
    "confirm": "Delete"
  },
  "filters": {
    "search": "Search classes...",
    "school": "School",
    "allSchools": "All Schools",
    "grade": "Grade",
    "allGrades": "All Grades",
    "class": "Class",
    "allClasses": "All Classes",
    "status": "Status",
    "allStatuses": "All Statuses",
    "weekday": "Weekday",
    "selectWeekday": "Select weekday",
    "allWeekdays": "All",
    "selectClass": "Select a class",
    "selectSchool": "Select a school",
    "selectGrade": "Select a grade",
    "clear": "Clear filters",
    "reset": "Reset",
    "unknownClass": "Unknown Class",
    "filterByClass": "Filter by Class",
    "filterByStatus": "Filter by Status",
    "addEvent": "Add Event",
    "addStudent": "Add student",
    "email": "Email",
    "emailPlaceholder": "student@example.com",
    "subjectPlaceholderExample": "e.g. Math",
    "createScheduleEntryDescription": "Create a class schedule entry.",
    "enrollStudentDescription": "Enroll a student by email to a class.",
    "startTime": "Start",
    "endTime": "End"
  },
  "myClasses": {
    "title": "My Classes",
    "joinNew": "Join New Class",
    "joinTitle": "Join a Class",
    "joinDescription": "Enter the 6-digit invitation code provided by your administrator.",
    "invitationCode": "Invitation Code",
    "invitationCodePlaceholder": "e.g. 123456",
    "invitationCodeHint": "Ask your administrator for the code if you don't have one.",
    "subject": "Subject",
    "subjectPlaceholder": "Select a subject",
    "noSubjects": "No subjects available",
    "selectSubject": "Select a subject",
    "join": "Join Class",
    "joining": "Joining...",
    "cancel": "Cancel",
    "empty": {
      "title": "No classes",
      "description": "Join a class or wait for an administrator to assign one."
    },
    "entryPass": "Entry Pass",
    "submissionTrends": "Submission Trends",
    "students": "Students",
    "room": "Room",
    "noRoom": "No Room",
    "vsLastWeek": "vs last week",
    "viewDetail": "View Details",
    "copyCode": "Copy invitation code",
    "regenerateCode": "Regenerate",
    "codeCopied": "Invitation code copied"
  },
  "students": {
    "title": "Student List",
    "searchPlaceholder": "Search students...",
    "empty": {
      "title": "No students",
      "description": "There are no students in this class yet.",
      "noMatch": "No students match your filters",
      "noMatchDescription": "Try clearing filters or adjusting keywords."
    },
    "column": {
      "name": "Name",
      "email": "Email",
      "status": "Status",
      "scores": "Scores",
      "actions": "Actions"
    },
    "status": {
      "active": "Active",
      "inactive": "Inactive"
    },
    "actions": {
      "setActive": "Set Active",
      "setInactive": "Set Inactive",
      "remove": "Remove from Class"
    },
    "removeTitle": "Remove from Class",
    "removeDescription": "Are you sure you want to remove \"{name}\" from the class?"
  },
  "schedule": {
    "title": "Class Schedule",
    "empty": {
      "title": "No schedule",
      "description": "The schedule for this class has not been set up yet.",
      "noMatch": "No schedule for this class",
      "noMatchDescription": "Try selecting another class."
    },
    "column": {
      "weekday": "Weekday",
      "period": "Period",
      "subject": "Subject",
      "location": "Location",
      "teacher": "Teacher",
      "actions": "Actions"
    },
    "form": {
      "createTitle": "New Schedule Item",
      "editTitle": "Edit Schedule Item",
      "createDescription": "Create a class schedule entry.",
      "editDescription": "Update class schedule entry.",
      "weekday": "Weekday",
      "period": "Period",
      "subject": "Subject",
      "location": "Location",
      "locationPlaceholder": "Optional",
      "subjectPlaceholder": "e.g. Math",
      "startLabel": "Start",
      "endLabel": "End",
      "cancel": "Cancel",
      "create": "Create",
      "save": "Save",
      "deleteTitle": "Are you sure?",
      "deleteDescription": "This will permanently delete this schedule item."
    },
    "weekday": {
      "1": "Mon",
      "2": "Tue",
      "3": "Wed",
      "4": "Thu",
      "5": "Fri",
      "6": "Sat",
      "7": "Sun"
    }
  },
  "detail": {
    "header": {
      "students": "{count} Students",
      "homeroom": "Homeroom {name}",
      "room": "Room {room}",
      "invite": "Invite",
      "editDetails": "Edit details",
      "inviteStudents": "Invite students",
      "classSettings": "Class settings",
      "moreActions": "More actions"
    },
    "overview": {
      "averageScore": "Average Score",
      "submissionRate": "Submission Rate",
      "papersToGrade": "To Grade",
      "overdueCount": "Overdue",
      "overallPerformance": "Overall performance",
      "averageTurnInRate": "Average turn-in rate",
      "pendingReviews": "Pending reviews",
      "activeAssignmentsPastDue": "Active assignments past due"
    },
    "trends": {
      "submitted": "Submitted",
      "totalStudents": "Total Students",
      "averageScore": "Average Score",
      "medianScore": "Median Score",
      "latest": "Latest",
      "submission": "Submission",
      "score": "Score",
      "allSubjects": "All Subjects",
      "scoreTrends": "Score Trends",
      "recentTurnInRates": "Recent assignment turn-in rates",
      "avgVsMedian": "Average vs Median performance",
      "noDataForSubject": "No data for this subject"
    },
    "assignments": {
      "due": "Due {date}",
      "noDueDate": "No due date",
      "viewAll": "View All",
      "createHomework": "Create Homework",
      "activeCount": "{count} active assignments",
      "submittedCount": "{submitted}/{total} Submitted",
      "avgLabel": "Avg"
    },
    "widgets": {
      "recentHomework": "Recent Homework",
      "weeklySchedule": "Weekly Schedule",
      "quickActions": "Quick Actions",
      "submissionTrends": "Submission Trends",
      "studentList": "Student List"
    },
    "edit": {
      "title": "Edit Class",
      "name": "Class Name",
      "homeroom": "Homeroom Teacher",
      "room": "Room",
      "cancel": "Cancel",
      "save": "Save"
    },
    "empty": {
      "noSchedule": "No schedule",
      "noScheduleDescription": "The schedule for this class has not been set up yet.",
      "noAssignments": "No assignments",
      "noAssignmentsDescription": "No assignments have been created for this class yet."
    },
    "students": {
      "viewAll": "View All",
      "activeCount": "{count} active students"
    },
    "schedule": {
      "manage": "Manage",
      "showingWeekdays": "Showing Mon-Fri schedule"
    },
    "quickActions": {
      "manageSchedule": "Manage Schedule",
      "messageClassComingSoon": "Message Class (Coming soon)"
    }
  },
  "grade": {
    "title": "Class Management",
    "description": "Manage classes in your grade.",
    "insights": {
      "title": "Grade Insights",
      "description": "View homework statistics for your grade.",
      "filters": "Filters",
      "grade": "Grade",
      "apply": "Apply",
      "selectGrade": "Select Grade",
      "noGrades": "No managed grades",
      "noGradesDescription": "You have not been assigned as a grade head or teaching head.",
      "selectToView": "Select a grade to view insights",
      "selectToViewDescription": "Select a grade to view latest homework and historical score statistics.",
      "notFound": "Grade not found",
      "notFoundDescription": "The grade may not exist or has no accessible data.",
      "noData": "No homework data for this grade",
      "noDataDescription": "No assignments have been given to students in this grade yet.",
      "classes": "Classes",
      "students": "Students",
      "overallAvg": "Overall Avg",
      "latestAvg": "Latest Avg",
      "homeworkTimeline": "Homework Timeline",
      "classRanking": "Class Ranking",
      "assignment": "Assignment",
      "status": "Status",
      "created": "Created",
      "targeted": "Targeted",
      "submitted": "Submitted",
      "graded": "Graded",
      "avg": "Avg",
      "median": "Median",
      "class": "Class",
      "latestAvgCol": "Latest Avg",
      "prevAvg": "Prev Avg",
      "delta": "Delta",
      "overallAvgCol": "Overall Avg",
      "active": "Active",
      "inactive": "Inactive"
    }
  },
  "bulk": {
    "importStudents": {
      "title": "Bulk Import Students",
      "description": "One email per line, format: name,email or just email",
      "placeholder": "John,john@example.com\njane@example.com",
      "submit": "Import",
      "success": "Successfully imported {imported} students, {failed} failed",
      "failed": "Bulk import failed"
    },
    "assignTeachers": {
      "title": "Bulk Assign Teachers",
      "description": "Format: class name,subject,teacher email",
      "placeholder": "Class 1,Math,john@example.com\nClass 2,Science,jane@example.com",
      "submit": "Assign",
      "success": "Successfully updated {updated} assignments, {failed} failed",
      "failed": "Bulk assignment failed"
    }
  },
  "errors": {
    "boundary": {
      "title": "Loading failed",
      "description": "An error occurred while loading data. Please retry.",
      "retry": "Retry"
    }
  },
  "error": {
    "title": "Loading failed",
    "description": "An error occurred while loading data. Please retry.",
    "retry": "Retry"
  },
  "actions": {
    "classCreated": "Class created successfully",
    "classUpdated": "Class updated successfully",
    "classDeleted": "Class deleted successfully",
    "studentAdded": "Student added successfully",
    "studentUpdated": "Student updated successfully",
    "invitationCodeReady": "Invitation code ready",
    "invitationCodeUpdated": "Invitation code updated",
    "invitationCodeGenerated": "Invitation code generated",
    "invitationCodeRevoked": "Invitation code revoked",
    "scheduleItemCreated": "Schedule item created successfully",
    "scheduleItemUpdated": "Schedule item updated successfully",
    "scheduleItemDeleted": "Schedule item deleted successfully",
    "joinedClass": "Joined class successfully",
    "bulkImportResult": "Imported {imported} students, {failed} failed",
    "bulkAssignResult": "Updated {updated} assignments, {failed} failed",
    "missingClassId": "Missing class id",
    "missingScheduleId": "Missing schedule id",
    "missingCodeId": "Missing code id",
    "missingEnrollmentInfo": "Missing enrollment info",
    "invalidScheduleData": "Invalid schedule item data",
    "invalidExpiresInHours": "Invalid expiresInHours",
    "invalidMaxUses": "Invalid maxUses",
    "csvRequired": "CSV data is required",
    "noValidEntries": "No valid entries found",
    "classNameGradeTeacherRequired": "Class name, grade and teacher are required",
    "classNameGradeRequired": "Class name and grade are required",
    "invitationCodeRequired": "Invitation code is required",
    "subjectRequired": "Subject is required",
    "tooManyAttempts": "Too many attempts, please try again later",
    "scheduleItemNotFound": "Schedule item not found",
    "classNotFoundOrNotLinked": "Class not found or not linked to a grade",
    "notPermissionCreateGrade": "You do not have permission to create classes for this grade",
    "notPermissionUpdateClass": "You do not have permission to update this class",
    "notPermissionMoveClass": "You do not have permission to move class to this grade",
    "notPermissionDeleteClass": "You do not have permission to delete this class",
    "notOwnClass": "You do not own this class",
    "notPermissionManageClass": "You do not have permission to manage this class",
    "notPermissionManageClassSchedule": "You do not have permission to manage this class schedule",
    "onlyAdminsAndGradeHeads": "Only admins and grade heads can create classes",
    "classAndEmailRequired": "Please select a class and provide student email",
    "invalidWeekday": "Invalid weekday",
    "invalidSubjectTeachers": "Invalid subject teachers"
  },
  "metadata": {
    "myClasses": "My Classes",
    "classDetail": "Class Detail",
    "schedule": "Class Schedule",
    "students": "Students",
    "studentLearning": "Learning Center",
    "studentCourses": "My Courses",
    "studentClassDetail": "Class Home",
    "studentSchedule": "My Schedule"
  }
}
