Commits
2026-08-04
fix: 🌍 close the i18n gaps a locale switch exposed - switching the app to English surfaced 21 strings that never went through the dictionary and stayed Turkish: the rich-text toolbar's seven tips, six message controls and three placeholders, the notebook import button and panel, the command palette and table search clear buttons, and the question pool's delete confirmation - /guide was Turkish end to end apart from its heading. Its 77 strings now live in the dictionary, and the page keeps only presentation in its arrays — the six module cards and the four role tabs render from <For> instead of 220 lines of copy-paste - the language tip claimed the switcher sits under the avatar at the top right; it is the account menu at the bottom of the sidebar - a page without a sidebar entry printed its raw pathname as the shell title, so /profile/me read as "/profile/me". Routes now fall back to an explicit label, and to the nav entry for any role — a page keeps its name on the no-access screen - one sidebar entry and its page disagreed: "Çocuklar" against "Öğrencilerim" for /students. Both read "Çocuklarım" now - 33 labels mixed Title Case into a system that is otherwise sentence case, in both locales — messages, the question pool, the exam forms, payments, and the shell's right panel - role.admin was the only role shouted in caps; a role is an identity, not a status, so RoleBadge drops the semantic destructive variant for a tinted pill with a leading dot - a course card's kind badge was plural ("Dersler") on a single record, and "Yeni {item} oluştur" capitalised the kind mid-sentence - drop 36 guide.stepN.* keys and nav.myStudents, defined in both locales and referenced nowhereBurak Boduroğlu · b9bf08b
fix: 🌍 close the i18n gaps a locale switch exposed
- switching the app to English surfaced 21 strings that never went through
the dictionary and stayed Turkish: the rich-text toolbar's seven tips,
six message controls and three placeholders, the notebook import button
and panel, the command palette and table search clear buttons, and the
question pool's delete confirmation
- /guide was Turkish end to end apart from its heading. Its 77 strings now
live in the dictionary, and the page keeps only presentation in its
arrays — the six module cards and the four role tabs render from <For>
instead of 220 lines of copy-paste
- the language tip claimed the switcher sits under the avatar at the top
right; it is the account menu at the bottom of the sidebar
- a page without a sidebar entry printed its raw pathname as the shell
title, so /profile/me read as "/profile/me". Routes now fall back to an
explicit label, and to the nav entry for any role — a page keeps its
name on the no-access screen
- one sidebar entry and its page disagreed: "Çocuklar" against
"Öğrencilerim" for /students. Both read "Çocuklarım" now
- 33 labels mixed Title Case into a system that is otherwise sentence
case, in both locales — messages, the question pool, the exam forms,
payments, and the shell's right panel
- role.admin was the only role shouted in caps; a role is an identity, not
a status, so RoleBadge drops the semantic destructive variant for a
tinted pill with a leading dot
- a course card's kind badge was plural ("Dersler") on a single record,
and "Yeni {item} oluştur" capitalised the kind mid-sentence
- drop 36 guide.stepN.* keys and nav.myStudents, defined in both locales
and referenced nowhere