From dec2f5d3d2224b0d66f02bb9a562b4ddeaac77df Mon Sep 17 00:00:00 2001 From: Paul Nothaft Date: Mon, 11 May 2026 21:52:42 +0200 Subject: [PATCH] fix(features): customer-portal card uses 'Clients' to match sidebar wording MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Settings → Features showed the customer-portal toggle as "Accounts" ("Konten" in DE, "Comptes" in FR, etc.) — the deeper sub-nav label inside ClientsLayout — while the prominent menu-bar entry the admin actually clicks first reads "Clients" / "Kunden". The mismatch was confusing on first encounter ("which one do I look for?"). Align the Features tab card title and the "Sidebar:" callout with the menu-bar wording (`navigation.clients`) across all six locales. The sub-nav inside ClientsLayout keeps its own "Accounts" label — that one matches the /admin/clients/accounts URL and is correct. --- frontend/src/features/settings/tabs/FeaturesTab.tsx | 8 ++++++-- frontend/src/i18n/locales/de.json | 2 +- frontend/src/i18n/locales/en.json | 2 +- frontend/src/i18n/locales/fr.json | 2 +- frontend/src/i18n/locales/nl.json | 2 +- frontend/src/i18n/locales/pt.json | 2 +- frontend/src/i18n/locales/ru.json | 2 +- 7 files changed, 12 insertions(+), 8 deletions(-) diff --git a/frontend/src/features/settings/tabs/FeaturesTab.tsx b/frontend/src/features/settings/tabs/FeaturesTab.tsx index ef41785a..fa48fff9 100644 --- a/frontend/src/features/settings/tabs/FeaturesTab.tsx +++ b/frontend/src/features/settings/tabs/FeaturesTab.tsx @@ -118,14 +118,18 @@ export const FeaturesTab: React.FC = () => {
setFlag('customerPortal', next)} /> diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index 24e0e666..33b4344c 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -1498,7 +1498,7 @@ "warning": "Bestehende Benutzerkonten bleiben gültig; die Admin-Oberfläche für deren Verwaltung wird ausgeblendet, bis Sie dies wieder aktivieren." }, "customerPortal": { - "title": "Konten", + "title": "Kunden", "description": "Persistente Kunden-Logins. Wiederkehrende Kunden sehen alle zugewiesenen Galerien an einem Ort — keine Passwörter pro Event. Kunden melden sich unter /customer/login an, verwaltet werden sie unter Kunden → Konten." }, "clients": { diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 0749bd25..bded6c9d 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -1137,7 +1137,7 @@ "warning": "Existing user accounts stay valid; the admin UI for managing them will be hidden until you re-enable this." }, "customerPortal": { - "title": "Accounts", + "title": "Clients", "description": "Persistent customer logins. Recurring clients see all their assigned galleries from one place — no per-event passwords. Customers log in at /customer/login and you manage them under Clients → Accounts." }, "clients": { diff --git a/frontend/src/i18n/locales/fr.json b/frontend/src/i18n/locales/fr.json index adb3d696..bf6f5e68 100644 --- a/frontend/src/i18n/locales/fr.json +++ b/frontend/src/i18n/locales/fr.json @@ -1075,7 +1075,7 @@ "clients": "Clients" }, "customerPortal": { - "title": "Comptes", + "title": "Clients", "description": "Connexions client persistantes. Les clients récurrents voient toutes leurs galeries assignées au même endroit — pas de mots de passe par événement. Les clients se connectent sur /customer/login et vous les gérez sous Clients → Comptes." }, "clients": { diff --git a/frontend/src/i18n/locales/nl.json b/frontend/src/i18n/locales/nl.json index cd2e67c9..3efdea9b 100644 --- a/frontend/src/i18n/locales/nl.json +++ b/frontend/src/i18n/locales/nl.json @@ -1137,7 +1137,7 @@ "warning": "Bestaande gebruikersaccounts blijven geldig; de admin-interface om ze te beheren wordt verborgen totdat u dit weer inschakelt." }, "customerPortal": { - "title": "Accounts", + "title": "Klanten", "description": "Permanente klantlogins. Terugkerende klanten zien al hun toegewezen galerijen op één plek — geen wachtwoorden per evenement. Klanten loggen in op /customer/login en je beheert ze onder Klanten → Accounts." }, "clients": { diff --git a/frontend/src/i18n/locales/pt.json b/frontend/src/i18n/locales/pt.json index ac104c16..22265029 100644 --- a/frontend/src/i18n/locales/pt.json +++ b/frontend/src/i18n/locales/pt.json @@ -1154,7 +1154,7 @@ "warning": "Contas de usuário existentes permanecem válidas; a interface administrativa para gerenciá-las ficará oculta até você reativar isto." }, "customerPortal": { - "title": "Contas", + "title": "Clientes", "description": "Logins persistentes para clientes. Clientes recorrentes veem todas as galerias atribuídas em um só lugar — sem senhas por evento. Os clientes entram em /customer/login e você os gerencia em Clientes → Contas." }, "clients": { diff --git a/frontend/src/i18n/locales/ru.json b/frontend/src/i18n/locales/ru.json index 666e72c3..2da2bb5d 100644 --- a/frontend/src/i18n/locales/ru.json +++ b/frontend/src/i18n/locales/ru.json @@ -1171,7 +1171,7 @@ "warning": "Существующие учётные записи остаются действительными; интерфейс управления ими будет скрыт до повторного включения." }, "customerPortal": { - "title": "Учётные записи", + "title": "Клиенты", "description": "Постоянные учётные записи клиентов. Постоянные клиенты видят все назначенные галереи в одном месте — без паролей для каждого события. Клиенты входят на /customer/login, а вы управляете ими в разделе Клиенты → Учётные записи." }, "clients": {