From 18b1b2943ba941b1f37401b079e0e06da194def6 Mon Sep 17 00:00:00 2001 From: Fabian Andres Parra Sanchez Date: Mon, 20 Jul 2026 07:33:50 -0500 Subject: [PATCH] fix(i18n): use Settings.roles namespace in settings-overview MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The identity card at the top of the Settings overview was calling useTranslations('roles') (root-level) instead of useTranslations ('Settings.roles'). The root 'roles' namespace only exists in the es-CO translation as a workaround added to mask this bug — in English the chip rendered the raw keypath (e.g. 'roles.admin'). Aligns with invite-member-dialog.tsx:78 and members-tab.tsx:129, which already use the 'Settings.roles' namespace. Part of #375 --- src/components/settings/settings-overview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/settings/settings-overview.tsx b/src/components/settings/settings-overview.tsx index ce992f8..24183ca 100644 --- a/src/components/settings/settings-overview.tsx +++ b/src/components/settings/settings-overview.tsx @@ -40,7 +40,7 @@ export function SettingsOverview({ useAuth(); const { mode, theme } = useTheme(); const t = useTranslations('Settings.overview'); - const tRoles = useTranslations('roles'); + const tRoles = useTranslations('Settings.roles'); const tSections = useTranslations('Settings.sections'); const [counts, setCounts] = useState(null);