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:
@@ -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)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user