fix(features): customer-portal card uses 'Clients' to match sidebar wording

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.
This commit is contained in:
Paul Nothaft
2026-05-11 21:52:42 +02:00
parent 4f3db923a6
commit dec2f5d3d2
7 changed files with 12 additions and 8 deletions
@@ -118,14 +118,18 @@ export const FeaturesTab: React.FC = () => {
<Section title={t('settings.features.sections.clients', 'Clients')}>
<FeatureCard
icon={UserCog}
title={t('settings.features.customerPortal.title', 'Accounts')}
title={t('settings.features.customerPortal.title', 'Clients')}
description={t(
'settings.features.customerPortal.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.',
)}
status="beta"
statusLabel={statusLabel('beta')}
sidebarLabel={t('clients.subnav.accounts', 'Accounts')}
// Sidebar hint mirrors the top-level "Clients" entry the
// admin clicks first, not the deeper "Accounts" sub-nav.
// Keeps the wording consistent with what's actually visible
// in the menu bar.
sidebarLabel={t('navigation.clients', 'Clients')}
enabled={staged.customerPortal}
onToggle={(next) => setFlag('customerPortal', next)}
/>