Fix status localization not working when iteration count > 0

This commit is contained in:
blessedcoolant 2022-12-30 23:16:23 +13:00
parent edc22e06c3
commit 686640af3a

View File

@ -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})`;
}
}