feat(quick-260917-gyd): Widgets-Seite uebersetzt, CHANGELOG ergaenzt

- settings/dashboard/page.tsx: Lade-/Leerhinweis ueber i18n (common.loading, settings.widgets.empty) statt hartkodiertem Englisch
- de.json/en.json: neuer Schluessel settings.widgets.empty (additiv)
- CHANGELOG.md: drei Stichpunkte unter Behoben (Ruecksprung nach Anmeldung, Abmeldung bei toter Sitzung, Uebersetzung Widgets-Seite)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-17 12:30:19 +02:00
parent 474d17082b
commit 2868ffee20
4 changed files with 12 additions and 2 deletions
@@ -11,6 +11,7 @@ import { fetchWidgets } from '@/lib/dashboard-api';
*/
export default function WidgetSettingsPage() {
const t = useTranslations('settings');
const tCommon = useTranslations('common');
const [widgets, setWidgets] = useState<
Array<{ id: string; widgetType: string; config: Record<string, unknown> }>
>([]);
@@ -32,10 +33,10 @@ export default function WidgetSettingsPage() {
</h1>
{isLoading ? (
<p className="text-sm text-muted-foreground">Loading...</p>
<p className="text-sm text-muted-foreground">{tCommon('loading')}</p>
) : widgets.length === 0 ? (
<p className="text-sm text-muted-foreground">
No widgets placed on dashboard yet.
{t('widgets.empty')}
</p>
) : (
<WidgetSettingsPanel
+3
View File
@@ -129,6 +129,9 @@
"backToDashboard": "Zurück zum Dashboard",
"categoryDashboard": "Dashboard",
"categoryWidgets": "Widgets",
"widgets": {
"empty": "Es sind noch keine Widgets auf dem Dashboard platziert."
},
"categoryCalendar": "Kalender",
"categoryGeneral": "Allgemein",
"categoryAccount": "Konto",
+3
View File
@@ -129,6 +129,9 @@
"backToDashboard": "Back to Dashboard",
"categoryDashboard": "Dashboard",
"categoryWidgets": "Widgets",
"widgets": {
"empty": "No widgets have been placed on the dashboard yet."
},
"categoryCalendar": "Calendar",
"categoryGeneral": "General",
"categoryAccount": "Account",