diff --git a/src/admin/components/dashboard/DashTodayPlan.tsx b/src/admin/components/dashboard/DashTodayPlan.tsx index 25e7d19..da0a464 100644 --- a/src/admin/components/dashboard/DashTodayPlan.tsx +++ b/src/admin/components/dashboard/DashTodayPlan.tsx @@ -24,7 +24,7 @@ function projectLabel(p: TodayPlan): string { } /** - * "Můj plán na dnešek" — shows the logged-in user's work-plan entry for today + * "Vaše dnešní zařazení" — shows the logged-in user's work-plan entry for today * (category + project/site + note, with a range badge when the day is part of a * multi-day range). `plan === null` = the user has plan access but nothing is * scheduled today (muted empty state). Rendered near the clock-in on the @@ -38,7 +38,7 @@ export default function DashTodayPlan({ plan }: { plan: TodayPlan | null }) { variant="subtitle2" sx={{ mb: 1.5, fontWeight: 600, color: "text.secondary" }} > - Můj plán na dnešek + Vaše dnešní zařazení {plan ? ( diff --git a/src/routes/admin/dashboard.ts b/src/routes/admin/dashboard.ts index 72692a2..a4135e8 100644 --- a/src/routes/admin/dashboard.ts +++ b/src/routes/admin/dashboard.ts @@ -43,7 +43,7 @@ export default async function dashboardRoutes( result.my_shift = { has_ongoing: myShift !== null }; } - // Today's work plan (personal) — powers the "Můj plán na dnešek" card. + // Today's work plan (personal) — powers the "Vaše dnešní zařazení" card. // resolveCell applies override-beats-range precedence; null = the user has // plan access but nothing is scheduled today. The category key is enriched // with its label + colour so the widget needs no extra query. todayStr uses