{
  "list": {
    "title": "Textbooks",
    "subtitle": "Manage your digital curriculum resources and chapters.",
    "add": "Add Textbook",
    "empty": {
      "withFilters": "No textbooks match your filters",
      "withoutFilters": "No textbooks yet",
      "withFiltersDesc": "Try clearing filters or adjusting keywords.",
      "withoutFiltersDesc": "Create your first textbook to start organizing chapters."
    },
    "clearFilters": "Clear filters",
    "chapters": "Chapters"
  },
  "student": {
    "list": {
      "title": "Textbooks",
      "subtitle": "Browse your course textbooks.",
      "empty": {
        "withFilters": "No textbooks match your filters",
        "withoutFilters": "No textbooks yet",
        "withFiltersDesc": "Try clearing filters or adjusting keywords.",
        "withoutFiltersDesc": "No textbooks are available right now."
      }
    },
    "noUser": "No user found",
    "noUserDesc": "Create a student user to see textbooks."
  },
  "reader": {
    "back": "Back to textbooks",
    "tabs": {
      "chapters": "Chapters",
      "knowledge": "Knowledge Points",
      "graph": "Graph"
    },
    "selectChapter": "Please select a chapter to start reading.",
    "selectChapterDesc": "Choose a chapter from the sidebar to view its content.",
    "selectChapterKnowledge": "Please select a chapter to view knowledge points.",
    "selectChapterKnowledgeDesc": "Choose a chapter from the sidebar to see its knowledge points.",
    "selectChapterGraph": "Please select a chapter to view the knowledge graph.",
    "selectChapterGraphDesc": "Choose a chapter from the sidebar to see its knowledge graph.",
    "emptyKnowledge": "No knowledge points in this chapter yet.",
    "emptyKnowledgeDesc": "Select text while reading to create a knowledge point.",
    "emptyContent": "No content yet",
    "emptyContentDesc": "Click \"Edit Content\" to start writing this chapter.",
    "loadingKnowledge": "Loading knowledge points...",
    "editContent": "Edit Content",
    "cancel": "Cancel",
    "save": "Save",
    "saving": "Saving...",
    "saveFailed": "Failed to save",
    "createFailed": "Failed to create",
    "updateFailed": "Failed to update",
    "deleteFailed": "Failed to delete",
    "questionCreatorDefaultContent": "Please explain the knowledge point: {name}",
    "addKnowledgePoint": "Add Knowledge Point",
    "clickToViewKp": "Click to view knowledge point details",
    "noChapters": "No chapters",
    "noChaptersDesc": "This textbook has no chapters yet.",
    "sidebar": "Chapters & Knowledge",
    "openSidebar": "Open Sidebar",
    "prepareLesson": "Prepare Lesson for This Text"
  },
  "dialog": {
    "create": {
      "title": "Add New Textbook",
      "description": "Create a new digital textbook. Click save when you're done.",
      "submit": "Save changes",
      "saving": "Saving..."
    },
    "settings": {
      "title": "Textbook Settings",
      "description": "Update textbook details or delete this textbook.",
      "delete": "Delete Textbook",
      "deleteConfirmTitle": "Delete Textbook?",
      "deleteConfirmDesc": "This action cannot be undone. This will permanently delete the textbook and all its chapters and knowledge points.",
      "save": "Save Changes",
      "processing": "Processing...",
      "trigger": "Settings"
    },
    "chapter": {
      "createTitle": "Add New Chapter",
      "createDesc": "Create a new chapter or section.",
      "submit": "Create Chapter",
      "creating": "Creating...",
      "deleteTitle": "Delete Chapter?",
      "deleteDesc": "This will permanently delete {title}. This action cannot be undone.",
      "delete": "Delete",
      "deleting": "Deleting...",
      "cannotDeleteWithSubchapters": "Cannot delete chapter with subchapters",
      "addSubchapter": "Add Subchapter",
      "titlePlaceholder": "e.g. Chapter 1: Introduction",
      "toggle": "Toggle",
      "orderUpdated": "Order updated",
      "orderUpdateFailed": "Failed to update order",
      "cancel": "Cancel",
      "dragHandle": "Drag to reorder"
    },
    "knowledge": {
      "createTitle": "Add Knowledge Point",
      "createDesc": "Create a knowledge point from the selected text.",
      "editTitle": "Edit Knowledge Point",
      "editDesc": "Modify the knowledge point name and description.",
      "name": "Name",
      "description": "Description (optional)",
      "descriptionPlaceholder": "Enter description...",
      "displayName": "Display Name",
      "anchorText": "Advanced: Anchor Text (affects highlighting)",
      "anchorTextHint": "Changing this field will change the text highlighted in the content. Usually keep it consistent with the original.",
      "create": "Create",
      "creating": "Creating...",
      "save": "Save",
      "saving": "Saving...",
      "cancel": "Cancel",
      "deleteTitle": "Confirm Delete",
      "deleteDesc": "Are you sure you want to delete this knowledge point? This action cannot be undone.",
      "delete": "Delete",
      "createQuestion": "Create Related Question",
      "editKp": "Edit Knowledge Point",
      "deleteKp": "Delete Knowledge Point"
    }
  },
  "field": {
    "title": "Title",
    "subject": "Subject",
    "grade": "Grade",
    "publisher": "Publisher",
    "titlePlaceholder": "e.g. Advanced Calculus",
    "publisherPlaceholder": "e.g. Next Education",
    "subjectPlaceholder": "Select subject",
    "gradePlaceholder": "Select grade"
  },
  "filters": {
    "searchPlaceholder": "Search by title, publisher...",
    "allSubjects": "All Subjects",
    "allGrades": "All Grades"
  },
  "card": {
    "chapters": "Chapters",
    "updated": "Updated",
    "gradeNA": "Grade N/A",
    "publisherNA": "Publisher N/A",
    "editContent": "Edit Content",
    "delete": "Delete",
    "moreOptions": "More options"
  },
  "panel": {
    "knowledgePoints": "Knowledge Points",
    "noPointsYet": "No points yet",
    "noPointsDesc": "Add knowledge points to tag content in this chapter.",
    "selectChapter": "Select a chapter to manage knowledge points",
    "level": "Lv."
  },
  "subject": {
    "chinese": "Chinese",
    "mathematics": "Mathematics",
    "physics": "Physics",
    "chemistry": "Chemistry",
    "biology": "Biology",
    "english": "English",
    "history": "History",
    "geography": "Geography"
  },
  "grade": {
    "grade1": "Grade 1",
    "grade2": "Grade 2",
    "grade3": "Grade 3",
    "grade4": "Grade 4",
    "grade5": "Grade 5",
    "grade6": "Grade 6",
    "grade7": "Grade 7",
    "grade8": "Grade 8",
    "grade9": "Grade 9",
    "grade10": "Grade 10",
    "grade11": "Grade 11",
    "grade12": "Grade 12"
  },
  "error": {
    "loadFailed": "Failed to load textbook",
    "loadFailedDesc": "An error occurred while loading the textbook content. Please try again.",
    "retry": "Retry"
  },
  "errors": {
    "unexpected": "An unexpected error occurred"
  },
  "actions": {
    "retry": "Retry"
  },
  "action": {
    "createSuccess": "Textbook created successfully.",
    "createFailed": "Failed to create textbook.",
    "updateSuccess": "Textbook updated successfully.",
    "updateFailed": "Failed to update textbook.",
    "deleteSuccess": "Textbook deleted successfully.",
    "textbookDeleteFailed": "Failed to delete textbook.",
    "chapterCreateSuccess": "Chapter created successfully",
    "chapterCreateFailed": "Failed to create chapter",
    "chapterDeleteSuccess": "Chapter deleted successfully",
    "chapterDeleteFailed": "Failed to delete chapter",
    "contentUpdateSuccess": "Content updated successfully",
    "contentUpdateFailed": "Failed to update content",
    "kpCreateSuccess": "Knowledge point created successfully",
    "kpCreateFailed": "Failed to create knowledge point",
    "kpUpdateSuccess": "Knowledge point updated successfully",
    "kpUpdateFailed": "Failed to update knowledge point",
    "kpDeleteSuccess": "Knowledge point deleted successfully",
    "kpDeleteFailed": "Failed to delete knowledge point",
    "reorderSuccess": "Order updated",
    "reorderFailed": "Failed to reorder chapters",
    "fillRequired": "Please fill in all required fields.",
    "titleRequired": "Title is required",
    "nameRequired": "Name is required",
    "invalidContent": "Invalid chapter content data",
    "errorOccurred": "An error occurred",
    "deleteFailed": "Deletion failed",
    "updateFailedGeneric": "Update failed",
    "chapterNotBelong": "Chapter does not belong to this textbook",
    "kpNotBelong": "Knowledge point does not belong to this textbook",
    "chaptersReordered": "Chapters reordered successfully",
    "ok": "OK",
    "kpLoadFailed": "Failed to load knowledge points",
    "graphLoadFailed": "Graph failed to load",
    "invalidInput": "Invalid input",
    "cyclicDependency": "Cannot add cyclic dependency",
    "prerequisiteCreated": "Prerequisite added",
    "prerequisiteCreateFailed": "Failed to add prerequisite",
    "prerequisiteDeleted": "Prerequisite removed",
    "prerequisiteDeleteFailed": "Failed to remove prerequisite",
    "notFound": "Textbook not found or access denied",
    "noClassMasteryPermission": "No permission to view class mastery data"
  },
  "graph": {
    "layout": {
      "hierarchical": "Hierarchical",
      "force": "Force Graph"
    },
    "viewMode": {
      "structure": "Structure",
      "studentMastery": "My Mastery",
      "classMastery": "Class Mastery"
    },
    "node": {
      "questions": "Questions",
      "mastery": "Mastery",
      "prerequisite": "Prerequisite",
      "successor": "Successor"
    },
    "detail": {
      "title": "Knowledge Point Details",
      "close": "Close",
      "noDescription": "No description",
      "viewAllQuestions": "View all questions",
      "editPrerequisite": "Edit prerequisites",
      "addPrerequisite": "Add prerequisite",
      "addPrerequisiteTitle": "Add Prerequisite Knowledge Point",
      "addPrerequisiteDesc": "Select a knowledge point as the prerequisite of the current one.",
      "selectPrerequisite": "Select a prerequisite knowledge point",
      "removePrerequisite": "Remove",
      "noPrerequisites": "No prerequisite knowledge points",
      "noSuccessors": "No successor knowledge points",
      "masteryNotAssessed": "Not assessed",
      "correctRate": "Correct rate",
      "totalQuestions": "Total questions",
      "prerequisiteAdded": "Prerequisite added",
      "prerequisiteRemoved": "Prerequisite removed",
      "prerequisiteAddFailed": "Failed to add prerequisite",
      "prerequisiteRemoveFailed": "Failed to remove prerequisite",
      "cancel": "Cancel",
      "confirm": "Confirm",
      "saving": "Saving..."
    },
    "toolbar": {
      "search": "Search knowledge points",
      "filterByChapter": "Filter by chapter",
      "resetView": "Reset view",
      "refreshing": "Refreshing..."
    },
    "empty": {
      "noPrerequisites": "No prerequisite relationships",
      "noData": "No graph data"
    },
    "error": {
      "cyclicDependency": "Cannot add cyclic dependency",
      "loadFailed": "Graph failed to load"
    }
  }
}
