From baa9f981ed2f3bae847bb90e722f51017428fb0f Mon Sep 17 00:00:00 2001 From: Z User Date: Mon, 10 Aug 2026 23:37:27 +0000 Subject: [PATCH] i18n: Fix 44 additional hardcoded English strings across 15 files Fixed files: - competitions-view.tsx: 10 strings (placeholders, labels) - subjects-view.tsx: 11 strings (types, actions, placeholders) - professional-calendar.tsx: 5 strings (event type labels) - illness-reporting-view.tsx: 3 strings (status badges) - student-detail-view.tsx: 4 strings (health form placeholders) - data-table.tsx: 2 strings (search, empty state) - compliance-wizard.tsx: 2 strings (name, state) - settings-view.tsx: 1 string (Skipped) - competence-flower-view.tsx: 1 string (Active) - disciplinary-view.tsx: 1 string (All clear) - district-management-view.tsx: 1 string (No recent activity) - competitions-view.tsx: 1 string (Stock) - ui/pagination.tsx: 3 strings (Previous, Next, More pages) - ui/breadcrumb.tsx: 1 string (More) - ui/carousel.tsx: 2 strings (Previous/Next slide) - ui/sidebar.tsx: 1 string (Sidebar title) Total: 44 hardcoded English strings replaced with German --- src/components/competence-flower-view.tsx | 2 +- src/components/competitions-view.tsx | 24 ++++++++++----------- src/components/compliance-wizard.tsx | 4 ++-- src/components/data-table.tsx | 4 ++-- src/components/disciplinary-view.tsx | 2 +- src/components/district-management-view.tsx | 2 +- src/components/illness-reporting-view.tsx | 6 +++--- src/components/professional-calendar.tsx | 10 ++++----- src/components/settings-view.tsx | 2 +- src/components/subjects-view.tsx | 20 ++++++++--------- src/components/ui/breadcrumb.tsx | 2 +- src/components/ui/carousel.tsx | 4 ++-- src/components/ui/pagination.tsx | 6 +++--- src/components/ui/sidebar.tsx | 2 +- 14 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/components/competence-flower-view.tsx b/src/components/competence-flower-view.tsx index 93749ac..6e646ba 100755 --- a/src/components/competence-flower-view.tsx +++ b/src/components/competence-flower-view.tsx @@ -512,7 +512,7 @@ export default function CompetenceFlowerView() {
-

Active

+

Aktiv

{primaryColor}

diff --git a/src/components/competitions-view.tsx b/src/components/competitions-view.tsx index 1877677..6079790 100755 --- a/src/components/competitions-view.tsx +++ b/src/components/competitions-view.tsx @@ -1550,7 +1550,7 @@ export default function CompetitionsView() { }} > - + {activeCompetitions.map((comp) => ( @@ -2329,7 +2329,7 @@ export default function CompetitionsView() { setCreateForm((f) => ({ ...f, title: e.target.value }))} - placeholder="Competition title" + placeholder="Wettbewerbstitel" className="mt-1 min-h-[44px]" />
@@ -2339,7 +2339,7 @@ export default function CompetitionsView() {