Cleanup: Remove dead nav items, orphaned i18n keys, and stale ViewName entries

Student Navigation:
- Removed 6 teacher-only items from studentNavSections:
  grade-analytics, ai-tests, seating-chart, school-newsletter,
  school-transport, substitute-teacher
- Added 9 student-relevant views to studentViews:
  counseling, report-cards, student-wellness, student-career,
  school-library, announcements, peer-assessment, student-achievements,
  student-study-planner

Parent Navigation:
- Removed 2 student-only items from parentNavSections:
  student-study-planner, peer-assessment
- Added 8 parent-relevant views to parentViews:
  parents, grading, attendance, report-cards, school-library,
  student-achievements, student-career, competitions

i18n Cleanup:
- Removed 92 orphaned tablet_grading.* translation keys (47 DE + 45 EN)
  These were for features in the deleted tablet-grading-view.tsx component

ViewName Type:
- Removed 'tablet-grading', 'exam-calendar', 'school-events' from ViewName union
  (nav entries and renderView cases were already removed in previous commit)
This commit is contained in:
Z User committed 2026-08-10 19:10:39 +00:00
1 parent 1af01dd304
commit af0b0a5272
4 files changed
+5 -116

No files matched your search

-92
View File
@@ -5046,52 +5046,6 @@ const de: TranslationDict = {
// Tablet Grading
'nav.tablet_grading': 'Tablet-Benotung',
'tablet_grading.loading': 'Benotungsansicht wird geladen...',
'tablet_grading.select_class': 'Klasse auswählen',
'tablet_grading.select_assessment': 'Leistungüberprüfung auswählen',
'tablet_grading.search_student': 'Schüler suchen...',
'tablet_grading.all': 'Alle',
'tablet_grading.submitted': 'Abgegeben',
'tablet_grading.graded': 'Benotet',
'tablet_grading.pending': 'Ausstehend',
'tablet_grading.no_students': 'Keine Schüler gefunden',
'tablet_grading.students': 'Schüler',
'tablet_grading.select_student_hint': 'Wählen Sie einen Schüler aus, um mit der Benotung zu beginnen',
'tablet_grading.quick_grade': 'Schnellbenotung (Deutsche Notenskala)',
'tablet_grading.score': 'Punktzahl',
'tablet_grading.teacher_notes': 'Lehrernotizen',
'tablet_grading.notes_placeholder': 'Notizen zur Arbeit dieses Schülers...',
'tablet_grading.ai_suggestion': 'KI-Vorschlag',
'tablet_grading.suggested_grade': 'Vorgeschlagene Note',
'tablet_grading.current_grade': 'Aktuelle Note',
'tablet_grading.accept': 'Akzeptieren',
'tablet_grading.reject': 'Ablehnen',
'tablet_grading.suggestion_accepted': 'Vorschlag akzeptiert',
'tablet_grading.suggestion_rejected': 'Vorschlag abgelehnt',
'tablet_grading.save_grade': 'Note speichern',
'tablet_grading.saved': 'Anmerkungen gespeichert',
'tablet_grading.save_error': 'Fehler beim Speichern der Anmerkungen',
'tablet_grading.grade_saved': 'Note gespeichert',
'tablet_grading.grade_error': 'Fehler beim Speichern der Note',
'tablet_grading.ai_audit': 'KI-Prüfung',
'tablet_grading.ai_results': 'KI-Ergebnisse',
'tablet_grading.ai_review_complete': 'KI-Prüfung abgeschlossen',
'tablet_grading.ai_review_error': 'Fehler bei der KI-Prüfung',
'tablet_grading.ai_audit_title': 'KI-Benotungsprüfung',
'tablet_grading.analyzing': 'Analysiere...',
'tablet_grading.trigger_audit': 'KI-Prüfung starten',
'tablet_grading.latest_review': 'Neueste Prüfung',
'tablet_grading.reasoning': 'Begründung',
'tablet_grading.discrepancies_found': 'Gefundene Unstimmigkeiten',
'tablet_grading.discrepancy': 'Unstimmigkeit',
'tablet_grading.consistent': 'Konsistent',
'tablet_grading.discrepancies': 'Unstimmigkeiten',
'tablet_grading.review_history': 'Prüfungsverlauf',
'tablet_grading.suggested': 'Vorgeschlagen',
'tablet_grading.no_reviews': 'Noch keine KI-Prüfungen. Starten Sie eine Prüfung.',
'tablet_grading.student_view': 'Schüleransicht — Nur Lesen',
'tablet_grading.admin_view': 'Admin-Ansicht',
'tablet_grading.enter_text': 'Text eingeben...',
// Notification Center
'nav.notification_center': 'Benachrichtigungen',
@@ -11700,52 +11654,6 @@ const en: TranslationDict = {
// Tablet Grading
'nav.tablet_grading': 'Tablet Grading',
'tablet_grading.loading': 'Loading grading view...',
'tablet_grading.select_class': 'Select class',
'tablet_grading.select_assessment': 'Select assessment',
'tablet_grading.search_student': 'Search student...',
'tablet_grading.all': 'All',
'tablet_grading.submitted': 'Submitted',
'tablet_grading.graded': 'Graded',
'tablet_grading.pending': 'Pending',
'tablet_grading.no_students': 'No students found',
'tablet_grading.students': 'students',
'tablet_grading.select_student_hint': 'Select a student to begin grading',
'tablet_grading.quick_grade': 'Quick Grade (German Scale)',
'tablet_grading.score': 'Score',
'tablet_grading.teacher_notes': 'Teacher Notes',
'tablet_grading.notes_placeholder': 'Write notes about this student\'s work...',
'tablet_grading.ai_suggestion': 'AI Suggestion',
'tablet_grading.suggested_grade': 'Suggested grade',
'tablet_grading.current_grade': 'Current grade',
'tablet_grading.accept': 'Accept',
'tablet_grading.reject': 'Reject',
'tablet_grading.suggestion_accepted': 'Suggestion accepted',
'tablet_grading.suggestion_rejected': 'Suggestion dismissed',
'tablet_grading.save_grade': 'Save Grade',
'tablet_grading.saved': 'Annotations saved',
'tablet_grading.save_error': 'Error saving annotations',
'tablet_grading.grade_saved': 'Grade saved',
'tablet_grading.grade_error': 'Error saving grade',
'tablet_grading.ai_audit': 'AI Audit',
'tablet_grading.ai_results': 'AI Results',
'tablet_grading.ai_review_complete': 'AI review complete',
'tablet_grading.ai_review_error': 'Error performing AI review',
'tablet_grading.ai_audit_title': 'AI Grading Audit',
'tablet_grading.analyzing': 'Analyzing...',
'tablet_grading.trigger_audit': 'Trigger AI Audit',
'tablet_grading.latest_review': 'Latest Review',
'tablet_grading.reasoning': 'Reasoning',
'tablet_grading.discrepancies_found': 'Discrepancies Found',
'tablet_grading.discrepancy': 'Discrepancy',
'tablet_grading.consistent': 'Consistent',
'tablet_grading.discrepancies': 'discrepancies',
'tablet_grading.review_history': 'Review History',
'tablet_grading.suggested': 'Suggested',
'tablet_grading.no_reviews': 'No AI reviews yet. Trigger an audit to get started.',
'tablet_grading.student_view': 'Student View — Read Only',
'tablet_grading.admin_view': 'Admin View',
'tablet_grading.enter_text': 'Enter text...',
// Notification Center
'nav.notification_center': 'Notifications',