mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Make model checker warning easier to translate
It's often more clear to have a variable name in there so that the translator knows what'll be filled in for the variable. Contributes to issue CURA-4557.
This commit is contained in:
parent
c7ba9f9e37
commit
ab7f10ea52
1 changed files with 2 additions and 2 deletions
|
@ -64,11 +64,11 @@ class ModelChecker(QObject, Extension):
|
|||
def showWarningMessage(self, warning_nodes):
|
||||
caution_message = Message(catalog.i18nc(
|
||||
"@info:status",
|
||||
"Some models may not be printed optimal due to object size and chosen material [%s].\n"
|
||||
"Some models may not be printed optimal due to object size and chosen material for models: {model_names}.\n"
|
||||
"Tips that may be useful to improve the print quality:\n"
|
||||
"1) Use rounded corners\n"
|
||||
"2) Turn the fan off (only if the are no tiny details on the model)\n"
|
||||
"3) Use a different material") % ", ".join([n.getName() for n in warning_nodes]),
|
||||
"3) Use a different material").format(model_names = ", ".join([n.getName() for n in warning_nodes])),
|
||||
lifetime = 0,
|
||||
title = catalog.i18nc("@info:title", "Model Checker Warning"))
|
||||
caution_message.show()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue