mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:06:00 +08:00
First translate, then process replacement keys
If we first process the replacement keys, the replaced string can't be found in the translation database, so you don't get a translation of the phrase 'Finishes x at y'. Fixes #10718.
This commit is contained in:
parent
1b503f003e
commit
db637802bd
@ -97,7 +97,7 @@ Item
|
|||||||
case "queued":
|
case "queued":
|
||||||
return catalog.i18nc("@label:status", "Action required");
|
return catalog.i18nc("@label:status", "Action required");
|
||||||
default:
|
default:
|
||||||
return catalog.i18nc("@label:status", "Finishes %1 at %2".arg(OutputDevice.getDateCompleted(printJob.timeRemaining)).arg(OutputDevice.getTimeCompleted(printJob.timeRemaining)));
|
return catalog.i18nc("@label:status", "Finishes %1 at %2").arg(OutputDevice.getDateCompleted(printJob.timeRemaining)).arg(OutputDevice.getTimeCompleted(printJob.timeRemaining));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
width: contentWidth
|
width: contentWidth
|
||||||
|
Loading…
x
Reference in New Issue
Block a user