From d66f356d80c82b41e19187906ff54e74a6affe9c Mon Sep 17 00:00:00 2001 From: Giorgio Garasto Date: Sun, 7 Jan 2024 08:49:30 +0100 Subject: [PATCH] fix: correctly localize breadcrumbs --- app/routes/dynamodb.tables/route.tsx | 1 + app/src/components/CurrentPath.tsx | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/routes/dynamodb.tables/route.tsx b/app/routes/dynamodb.tables/route.tsx index 919ae2c..4dd5b5a 100644 --- a/app/routes/dynamodb.tables/route.tsx +++ b/app/routes/dynamodb.tables/route.tsx @@ -91,6 +91,7 @@ const TablesList: FunctionComponent = () => { return ( <> + {/* t('tables') */} {typeof selected === 'string' - ? serviceToNameMap[selected] ?? kebabToTitleCase(selected) + ? serviceToNameMap[selected] ?? t(selected) : selected.name} )}