From 522337d3322f2a7de508c45192dc18000067b378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=AB?= Date: Tue, 11 Aug 2026 16:49:35 +0200 Subject: [PATCH] fix(workout-builder): use navigation namespace for screen title translation --- src/features/workout-builder/screens/BuilderScreen.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/features/workout-builder/screens/BuilderScreen.tsx b/src/features/workout-builder/screens/BuilderScreen.tsx index d719e32..c5a7c23 100644 --- a/src/features/workout-builder/screens/BuilderScreen.tsx +++ b/src/features/workout-builder/screens/BuilderScreen.tsx @@ -13,6 +13,7 @@ const STROKES: StrokeType[] = ["Freestyle", "Backstroke", "Breaststroke", "Butte export function BuilderScreen() { const { t } = useTranslation("workout"); const { t: tc } = useTranslation("common"); + const { t: tb } = useTranslation("navigation"); const navigation = useNavigation>(); const { poolLength: defaultPoolLength } = useSettings(); const [poolLength, setPoolLength] = useState(defaultPoolLength); @@ -47,7 +48,7 @@ export function BuilderScreen() { > - {t("buildWorkout")} + {tb("buildWorkout")} {totalDistance}m total ยท {tc("pool", { length: poolLength })}