diff --git a/src/components/layout/nav-items.ts b/src/components/layout/nav-items.ts index 57af4e3..5f8a40c 100644 --- a/src/components/layout/nav-items.ts +++ b/src/components/layout/nav-items.ts @@ -91,7 +91,7 @@ const SCHOOL_ITEM: NavItem = { const PROGRESS_ITEM: NavItem = { id: "progress", to: "/marks", - labelKey: "nav.progress", + labelKey: "nav.marks", Icon: IconChart, exactRole: "student", }; diff --git a/src/i18n/messages.ts b/src/i18n/messages.ts index e7ae9c5..0d4032c 100644 --- a/src/i18n/messages.ts +++ b/src/i18n/messages.ts @@ -1108,12 +1108,12 @@ const en: Dict = { "ai.suggest4": "How is my attendance this term?", "nav.home": "Home", "nav.today": "Today", - "nav.classes": "Classes", + "nav.classes": "Education", "nav.progress": "Progress", "nav.students": "Students", "nav.children": "Children", "nav.school": "School", - "nav.notes": "Notes", + "nav.notes": "Notebook", "nav.events": "Events", "nav.exams": "Exams", "nav.questionBank": "Question bank", @@ -1161,7 +1161,7 @@ const en: Dict = { "nav.darkMode": "Dark mode", "nav.myStudents": "My Students", "parents.title": "My Students", - "parents.subtitle": "View records for your linked students.", + "parents.subtitle": "Review academic records for the students linked to your account.", "common.loading": "Loading…", "common.cancel": "Cancel", "common.save": "Save", @@ -1222,7 +1222,7 @@ const en: Dict = { "common.createItem": "Create new {item}", "common.countItem": "{count} {item}", "pool.title": "Question Pool", - "pool.subtitle": "Ask questions and discuss solutions.", + "pool.subtitle": "Post questions and discuss solutions with teachers and classmates.", "pool.ask": "Ask Question", "pool.subject": "Subject", "pool.body": "Question details", @@ -1259,7 +1259,7 @@ const en: Dict = { "auth.welcomeBack": "Good to see you again", "auth.createStudent": "Create student account", "dashboard.greeting": "Hello, {name}", - "dashboard.subtitle": "Here’s what’s happening across your workspace.", + "dashboard.subtitle": "A quick overview of what’s happening across your school today.", "dashboard.overview": "Overview", "dashboard.quickActions": "Quick actions", "dashboard.action.note": "New note", @@ -1399,12 +1399,12 @@ const en: Dict = { "dashboard.questionBankDesc": "Build and reuse question templates for exams.", "dashboard.questionPoolDesc": "Review questions submitted by students.", "dashboard.quickReview.title": "Quick review", - "dashboard.quickReview.subtitle": "Sharpen your knowledge in 2 minutes!", + "dashboard.quickReview.subtitle": "Refresh what you’ve learned in just two minutes.", "dashboard.quickReview.placeholder": "Choose a topic to review…", "dashboard.quickReview.practice": "Practice", "dashboard.quickReview.startQuiz": "Start quiz", "notes.title": "Notebook", - "notes.subtitle": "Private scratchpad for class ideas and reminders.", + "notes.subtitle": "Your private notebook for class ideas and reminders.", "notes.new": "New note", "notes.empty": "Nothing here yet. Write your first note.", "notes.noContent": "No content", @@ -1445,7 +1445,7 @@ const en: Dict = { "notes.helpBody": "Notes are private to you only. Title max 200 characters, content max 10,000. Delete and update open a confirmation dialog with a short summary before they run.", "events.title": "Events", - "events.subtitle": "Events and student attendance records in one list.", + "events.subtitle": "See all school events and their student attendance records in one place.", "events.create": "Create event", "events.empty": "No events yet.", "events.starts": "Starts", @@ -1494,7 +1494,7 @@ const en: Dict = { "nav.appointments": "Appointments", "appointments.title": "Appointments", "appointments.calendar": "Appointment calendar", - "appointments.subtitle": "Book a meeting with a teacher, or publish times you are available.", + "appointments.subtitle": "Book a meeting with a teacher, or publish the times you’re available.", "appointments.empty": "No appointments yet.", "appointments.mySlots": "My available times", "appointments.availableSlots": "Available times", @@ -1563,7 +1563,7 @@ const en: Dict = { "events.upcoming": "Upcoming", "events.past": "Past", "exams.title": "Exams", - "exams.subtitle": "All exams across education items — create them under an education item.", + "exams.subtitle": "Every exam across your classes. Create a new exam from within its class.", "exams.create": "Create exam", "exams.searchPlaceholder": "Search exams…", "exams.selectCourse": "Select course", @@ -1657,7 +1657,7 @@ const en: Dict = { "questions.correctRequired": "Mark one choice as the correct answer before saving.", "questions.correctRange": "Correct index must point to one of the choices", "bank.title": "Question bank", - "bank.subtitle": "Reusable question templates every teacher can use.", + "bank.subtitle": "Shared, reusable question templates that any teacher can add to an exam.", "bank.empty": "No templates yet.", "bank.create": "New template", "bank.edit": "Edit template", @@ -1712,7 +1712,7 @@ const en: Dict = { "subjects.select": "Select subject", "subjects.help": "Curriculum topics for this education item. Every exam question must be tagged with one.", "pomodoro.title": "Pomodoro", - "pomodoro.subtitle": "Start and finish server-stamped study focus sessions.", + "pomodoro.subtitle": "Run focused study sessions and track the time you spend.", "pomodoro.total": "Total focus", "pomodoro.running": "Running", "pomodoro.idle": "Idle", @@ -1778,7 +1778,7 @@ const en: Dict = { "exams.helpBody": "Exams belong to an education item. Teachers add them from that detail page with a kind; weighting is defined by the exam kind. Students only see their own mark (or “not graded yet”). Weighted averages appear on the report card.", "admin.title": "People & roles", - "admin.subtitle": "Promote or demote accounts. You can’t change your own role.", + "admin.subtitle": "Promote or demote accounts. You cannot change your own role.", "admin.username": "Username", "admin.id": "Id", "admin.role": "Role", @@ -1788,7 +1788,7 @@ const en: Dict = { "student < teacher < manager < admin. Higher roles inherit lower permissions. Registration always creates a student. Only admins list users and change roles.", "admin.noUsers": "No users registered yet.", "guide.title": "Product guide", - "guide.subtitle": "Campus flow: education → exams → report card, plus notes and events.", + "guide.subtitle": "How the platform fits together, from classes and exams to report cards, notes, and events.", "guide.step1.title": "1. Home overview", "guide.step1.body": "Live counts and shortcuts for notes, events, courses, exams, and your report card.", @@ -1861,8 +1861,8 @@ const en: Dict = { "role.admin": "ADMIN", "courses.title": "Education", "courses.listTitle": "{item} records", - "courses.subtitle": "Manage {item}, enrollment, and exams here.", - "courses.pageSubtitle": "Classes, study groups, and clubs in one place.", + "courses.subtitle": "Manage {item}, enrollment, and exams in one place.", + "courses.pageSubtitle": "Classes, study groups, and clubs, all in one place.", "courses.create": "New education item", "courses.empty": "No {item} yet.", "courses.enrolled": "Enrolled", @@ -1927,7 +1927,7 @@ const en: Dict = { "homework.status.incomplete": "Incomplete", "homework.status.missing": "Missing", "marks.title": "Report card", - "marks.subtitle": "Weighted averages across enrolled courses.", + "marks.subtitle": "Your weighted grade averages across every course you’re enrolled in.", "marks.overall": "Overall average", "marks.courseAvg": "Course average", "marks.empty": "Not enrolled in any course yet.", @@ -1983,7 +1983,7 @@ const en: Dict = { "exams.selectStudent": "Select a student from the roster", "exams.viewSheet": "View answers", "profile.title": "My Profile", - "profile.subtitle": "Personal information (optional).", + "profile.subtitle": "Your personal information. All fields are optional.", "profile.name": "Name", "profile.surname": "Surname", "profile.email": "Email", @@ -2004,7 +2004,7 @@ const en: Dict = { "course.removeStudentConfirm": "Are you sure you want to remove", "events.userIdRequired": "Please select a student first.", "settings.title": "School settings", - "settings.subtitle": "Manage exam kinds, attendance statuses, and grade bands.", + "settings.subtitle": "Configure exam types, attendance statuses, and grade bands used across the school.", "settings.saved": "Settings saved.", "settings.examKinds": "Exam kinds", "settings.examKindsHelp": "Kinds and weights used in course averages.", @@ -2039,7 +2039,7 @@ const en: Dict = { "settings.dietaryTags": "Dietary tags", "settings.addDietaryTag": "Add dietary tag", "meals.title": "Meals", - "meals.subtitle": "Browse menus by date, manage dietary safety, and track meal accounts.", + "meals.subtitle": "Browse menus by date, manage dietary requirements, and track meal accounts.", "meals.publish": "Publish menu", "meals.publishHelp": "One menu per date and meal slot.", "meals.date": "Menu date", @@ -2101,7 +2101,7 @@ const en: Dict = { "meals.dishName": "Dish name", "meals.priceTry": "Price (TRY)", "terms.title": "Academic terms", - "terms.subtitle": "Manage calendar terms and assign courses to them.", + "terms.subtitle": "Manage academic terms and assign courses to each one.", "terms.create": "Create term", "terms.edit": "Edit term", "terms.empty": "No terms yet.", @@ -2110,7 +2110,7 @@ const en: Dict = { "terms.dateRequired": "Start and end dates are required.", "sessions.title": "Lesson sessions", "sessions.item": "Session", - "sessions.subtitle": "Create lessons and take course roll call.", + "sessions.subtitle": "Schedule lesson sessions and record roll call for each class.", "sessions.topic": "Topic", "sessions.add": "Add session", "sessions.edit": "Edit session", @@ -2122,7 +2122,7 @@ const en: Dict = { "sessions.startRequired": "Session start date and time are required.", "sessions.endInvalid": "Enter both end date and end time, or leave both empty.", "attendance.title": "Attendance report", - "attendance.subtitle": "Event attendance and lesson roll-call rates.", + "attendance.subtitle": "Your attendance rates for events and lesson roll calls.", "attendance.events": "Events", "attendance.sessions": "Lesson sessions", "attendance.rate": "Rate", @@ -2132,7 +2132,7 @@ const en: Dict = { "attendance.show": "Show attendance", "attendance.forUser": "Attendance for {user}", "work.title": "Work log", - "work.subtitle": "Check in and out with server-stamped work entries.", + "work.subtitle": "Check in and out to log your working hours.", "work.checkIn": "Check in", "work.checkOut": "Check out", "work.checkedIn": "Checked in", @@ -2206,7 +2206,7 @@ const tr: Dict = { "ai.suggest4": "Bu dönem devamsızlığım nasıl?", "nav.home": "Ana sayfa", "nav.today": "Bugün", - "nav.classes": "Sınıflar", + "nav.classes": "Eğitim", "nav.progress": "İlerleme", "nav.students": "Öğrenciler", "nav.children": "Çocuklar", @@ -2235,8 +2235,8 @@ const tr: Dict = { "nav.work": "Çalışma Kaydı", "nav.staffWork": "Mesailer", "nav.users": "Kullanıcılar", - "nav.studentMarks": "Notlar", - "nav.studentAttendance": "Yoklamalar", + "nav.studentMarks": "Öğrenci notları", + "nav.studentAttendance": "Öğrenci yoklamaları", "nav.studentPomodoro": "Pomodorolar", "nav.settings": "Ayarlar", "nav.terms": "Dönemler", @@ -2320,7 +2320,7 @@ const tr: Dict = { "common.createItem": "Yeni {item} oluştur", "common.countItem": "{count} {item}", "pool.title": "Soru Havuzu", - "pool.subtitle": "Soru sorun ve çözümleri tartışın.", + "pool.subtitle": "Öğretmenlerinize ve arkadaşlarınıza soru sorun, çözümleri birlikte tartışın.", "pool.ask": "Soru Sor", "pool.subject": "Konu", "pool.body": "Soru detayı", @@ -2357,7 +2357,7 @@ const tr: Dict = { "auth.welcomeBack": "Seni yeniden görmek güzel", "auth.createStudent": "Öğrenci hesabı oluştur", "dashboard.greeting": "Merhaba, {name}", - "dashboard.subtitle": "Çalışma alanındaki güncel durum burada.", + "dashboard.subtitle": "Okulunuzda bugün olup bitenlerin kısa bir özeti.", "dashboard.overview": "Özet", "dashboard.quickActions": "Hızlı işlemler", "dashboard.action.note": "Yeni not", @@ -2497,12 +2497,12 @@ const tr: Dict = { "dashboard.questionBankDesc": "Sınavlar için soru şablonları oluştur ve yeniden kullan.", "dashboard.questionPoolDesc": "Öğrencilerin gönderdiği soruları incele.", "dashboard.quickReview.title": "Hızlı tekrar", - "dashboard.quickReview.subtitle": "2 dakikada bilgini tazele!", + "dashboard.quickReview.subtitle": "Öğrendiklerinizi yalnızca iki dakikada tazeleyin.", "dashboard.quickReview.placeholder": "Tekrar için konu seç…", "dashboard.quickReview.practice": "Alıştır", "dashboard.quickReview.startQuiz": "Teste başla", "notes.title": "Defter", - "notes.subtitle": "Ders fikirleri ve hatırlatmalar için özel defter.", + "notes.subtitle": "Ders fikirleriniz ve hatırlatmalarınız için özel defteriniz.", "notes.new": "Yeni not", "notes.empty": "Henüz bir şey yok. İlk notunu yaz.", "notes.noContent": "İçerik yok", @@ -2543,7 +2543,7 @@ const tr: Dict = { "notes.helpBody": "Notlar yalnızca sana aittir. Başlık en fazla 200, içerik 10.000 karakter. Silme ve güncelleme özetli onay penceresi ister.", "events.title": "Etkinlikler", - "events.subtitle": "Etkinlikler ve öğrenci yoklama kayıtları tek listede.", + "events.subtitle": "Tüm okul etkinliklerini ve öğrenci yoklama kayıtlarını tek bir listede görün.", "events.create": "Etkinlik oluştur", "events.empty": "Henüz etkinlik yok.", "events.starts": "Başlangıç", @@ -2661,7 +2661,7 @@ const tr: Dict = { "events.upcoming": "Yaklaşan", "events.past": "Geçmiş", "exams.title": "Sınavlar", - "exams.subtitle": "Tüm eğitim sınavları — yeni sınav eğitim kaydı içinden eklenir.", + "exams.subtitle": "Derslerinizdeki tüm sınavlar. Yeni bir sınavı ilgili dersin içinden ekleyebilirsiniz.", "exams.create": "Sınav oluştur", "exams.searchPlaceholder": "Sınav ara…", "exams.selectCourse": "Ders seç", @@ -2755,7 +2755,7 @@ const tr: Dict = { "questions.correctRequired": "Kaydetmeden önce bir seçeneği doğru cevap olarak işaretle.", "questions.correctRange": "Doğru indeks seçeneklerden birini göstermeli", "bank.title": "Soru bankası", - "bank.subtitle": "Bütün öğretmenlerin kullanabildiği, yeniden kullanılabilir soru şablonları.", + "bank.subtitle": "Her öğretmenin sınavlarında kullanabileceği, paylaşımlı ve yeniden kullanılabilir soru şablonları.", "bank.empty": "Henüz şablon yok.", "bank.create": "Yeni şablon", "bank.edit": "Şablonu düzenle", @@ -2810,7 +2810,7 @@ const tr: Dict = { "subjects.select": "Konu seç", "subjects.help": "Bu eğitim kaydının müfredat konuları. Her sınav sorusu bir konuya bağlanmalı.", "pomodoro.title": "Pomodoro", - "pomodoro.subtitle": "Sunucu zamanıyla odaklı çalışma oturumu başlat ve bitir.", + "pomodoro.subtitle": "Odaklı çalışma oturumları başlatın ve harcadığınız süreyi takip edin.", "pomodoro.total": "Toplam odak", "pomodoro.running": "Devam ediyor", "pomodoro.idle": "Boşta", @@ -2876,7 +2876,7 @@ const tr: Dict = { "exams.helpBody": "Sınavlar bir eğitim kaydına aittir. Öğretmenler detay sayfasından tür seçerek ekler; ağırlık sınav türünde tanımlıdır. Öğrenciler yalnızca kendi notunu görür. Ağırlıklı ortalamalar Karnem’dedir.", "admin.title": "Kişiler ve roller", - "admin.subtitle": "Hesapları yükselt / düşür. Kendi rolünü değiştiremezsin.", + "admin.subtitle": "Hesapların rolünü yükseltin veya düşürün. Kendi rolünüzü değiştiremezsiniz.", "admin.username": "Kullanıcı adı", "admin.id": "Id", "admin.role": "Rol", @@ -2886,7 +2886,7 @@ const tr: Dict = { "öğrenci < öğretmen < yönetici < admin. Üst roller alt yetkileri miras alır. Kayıt her zaman öğrenci oluşturur. Rolleri yalnız admin değiştirir.", "admin.noUsers": "Henüz kayıtlı kullanıcı yok.", "guide.title": "Ürün rehberi", - "guide.subtitle": "Kampüs akışı: eğitim → sınav → karne; artı notlar ve etkinlikler.", + "guide.subtitle": "Derslerden sınavlara, karnelerden notlara ve etkinliklere kadar platformun nasıl bir arada çalıştığı.", "guide.step1.title": "1. Ana sayfa", "guide.step1.body": "Not, etkinlik, ders, sınav ve karne için canlı sayılar ve kısayollar.", @@ -2959,8 +2959,8 @@ const tr: Dict = { "role.admin": "ADMIN", "courses.title": "Eğitim", "courses.listTitle": "{item} kayıtları", - "courses.subtitle": "{item}, kayıtlar ve sınavlar burada.", - "courses.pageSubtitle": "Dersler, etütler ve kulüpler tek yerde.", + "courses.subtitle": "{item}, kayıtları ve sınavları tek bir yerden yönetin.", + "courses.pageSubtitle": "Dersler, etütler ve kulüplerin tümü tek bir yerde.", "courses.create": "Yeni eğitim kaydı", "courses.empty": "Henüz {item} yok.", "courses.enrolled": "Kayıtlı", @@ -3025,7 +3025,7 @@ const tr: Dict = { "homework.status.incomplete": "Eksik", "homework.status.missing": "Yok", "marks.title": "Karnem", - "marks.subtitle": "Kayıtlı derslerdeki ağırlıklı ortalamalar.", + "marks.subtitle": "Kayıtlı olduğunuz tüm derslerdeki ağırlıklı not ortalamalarınız.", "marks.overall": "Genel ortalama", "marks.courseAvg": "Ders ortalaması", "marks.empty": "Henüz hiçbir derse kayıtlı değilsin.", @@ -3081,7 +3081,7 @@ const tr: Dict = { "exams.selectStudent": "Listeden bir öğrenci seç", "exams.viewSheet": "Cevapları gör", "profile.title": "Profilim", - "profile.subtitle": "Kişisel bilgiler (isteğe bağlı).", + "profile.subtitle": "Kişisel bilgileriniz. Tüm alanların doldurulması isteğe bağlıdır.", "profile.name": "Ad", "profile.surname": "Soyad", "profile.email": "E-posta", @@ -3102,7 +3102,7 @@ const tr: Dict = { "course.removeStudentConfirm": "Bu öğrenciyi çıkarmak istediğine emin misin?", "events.userIdRequired": "Önce bir öğrenci seçmelisin.", "settings.title": "Okul ayarları", - "settings.subtitle": "Sınav türleri, yoklama durumları ve not bantlarını yönet.", + "settings.subtitle": "Okul genelinde kullanılan sınav türlerini, yoklama durumlarını ve not bantlarını buradan yapılandırın.", "settings.saved": "Ayarlar kaydedildi.", "settings.examKinds": "Sınav türleri", "settings.examKindsHelp": "Ders ortalamalarında kullanılan tür ve ağırlıklar.", @@ -3137,7 +3137,7 @@ const tr: Dict = { "settings.dietaryTags": "Beslenme etiketleri", "settings.addDietaryTag": "Beslenme etiketi ekle", "meals.title": "Yemekler", - "meals.subtitle": "Menüleri tarihe göre incele; beslenme güvenliğini ve yemek hesabını takip et.", + "meals.subtitle": "Menüleri tarihe göre inceleyin, beslenme gereksinimlerini yönetin ve yemek hesaplarını takip edin.", "meals.publish": "Menü yayınla", "meals.publishHelp": "Her tarih ve öğün için tek menü.", "meals.date": "Menü tarihi", @@ -3199,7 +3199,7 @@ const tr: Dict = { "meals.dishName": "Yemek adı", "meals.priceTry": "Fiyat (TRY)", "terms.title": "Akademik dönemler", - "terms.subtitle": "Takvim dönemlerini yönet ve dersleri dönemlere bağla.", + "terms.subtitle": "Akademik dönemleri yönetin ve dersleri ilgili dönemlere atayın.", "terms.create": "Dönem oluştur", "terms.edit": "Dönemi düzenle", "terms.empty": "Henüz dönem yok.", @@ -3208,7 +3208,7 @@ const tr: Dict = { "terms.dateRequired": "Başlangıç ve bitiş tarihi gerekli.", "sessions.title": "Ders oturumları", "sessions.item": "Oturum", - "sessions.subtitle": "Ders oluştur ve ders yoklaması al.", + "sessions.subtitle": "Ders oturumlarını planlayın ve her ders için yoklama alın.", "sessions.topic": "Konu", "sessions.add": "Oturum ekle", "sessions.edit": "Oturumu düzenle", @@ -3220,7 +3220,7 @@ const tr: Dict = { "sessions.startRequired": "Oturum başlangıç tarihi ve saati gerekli.", "sessions.endInvalid": "Bitiş için tarih ve saati birlikte gir ya da ikisini de boş bırak.", "attendance.title": "Yoklama raporu", - "attendance.subtitle": "Etkinlik yoklaması ve ders oturumu devam oranları.", + "attendance.subtitle": "Etkinlik yoklamalarınız ve ders oturumu devam oranlarınız.", "attendance.events": "Etkinlikler", "attendance.sessions": "Ders oturumları", "attendance.rate": "Oran", @@ -3230,7 +3230,7 @@ const tr: Dict = { "attendance.show": "Yoklamayı göster", "attendance.forUser": "{user} yoklaması", "work.title": "Mesai kaydı", - "work.subtitle": "Sunucu saatli giriş ve çıkış kayıtları.", + "work.subtitle": "Mesai saatlerinizi kaydetmek için giriş ve çıkış yapın.", "work.checkIn": "Giriş yap", "work.checkOut": "Çıkış yap", "work.checkedIn": "Giriş yapılmış", diff --git a/src/pages/marks-page.test.tsx b/src/pages/marks-page.test.tsx index 134916c..2a11ab9 100644 --- a/src/pages/marks-page.test.tsx +++ b/src/pages/marks-page.test.tsx @@ -41,7 +41,7 @@ test("progress keeps report card and attendance in tabs", async () => { render(() => ); - expect(await screen.findByRole("tab", { name: "Report card" })).toBeTruthy(); + expect(await screen.findByRole("tab", { name: "Grades" })).toBeTruthy(); const attendanceTab = screen.getByRole("tab", { name: "Attendance" }); fireEvent.click(attendanceTab); await waitFor(() => expect(getMyAttendance).toHaveBeenCalledTimes(1)); diff --git a/src/pages/marks-page.tsx b/src/pages/marks-page.tsx index f47b106..e34a609 100644 --- a/src/pages/marks-page.tsx +++ b/src/pages/marks-page.tsx @@ -38,7 +38,7 @@ function MarksContent() {
-

{t("nav.progress")}

+

{t("marks.title")}

{tab() === "marks" ? t("marks.subtitle") : t("attendance.subtitle")}

@@ -57,7 +57,7 @@ function MarksContent() { - {t("marks.title")} + {t("nav.group.grades")} diff --git a/src/pages/meals-page.tsx b/src/pages/meals-page.tsx index f36558e..186dd92 100644 --- a/src/pages/meals-page.tsx +++ b/src/pages/meals-page.tsx @@ -68,7 +68,7 @@ function MealsContent() { return (
- } /> + } />
void refetchLimits()} />