From 686640af3acece799307daeee20d10e2d66405e4 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Fri, 30 Dec 2022 23:16:23 +1300 Subject: [PATCH] Fix status localization not working when iteration count > 0 --- frontend/src/features/system/components/StatusIndicator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/features/system/components/StatusIndicator.tsx b/frontend/src/features/system/components/StatusIndicator.tsx index b13fb9b274..6e16a537fd 100644 --- a/frontend/src/features/system/components/StatusIndicator.tsx +++ b/frontend/src/features/system/components/StatusIndicator.tsx @@ -61,7 +61,7 @@ const StatusIndicator = () => { if (statusMessage) if (isProcessing) { if (totalIterations > 1) { - statusMessage += ` (${currentIteration}/${totalIterations})`; + statusMessage = t(statusMessage as keyof typeof t) + ` (${currentIteration}/${totalIterations})`; } }