Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2021-10-25 15:35:31 +0300
committerGhostkeeper <rubend@tutanota.com>2021-10-25 16:22:28 +0300
commit82441f97b19c26d9be58ecc87c7060f17278a553 (patch)
treeea079d61621112cfae2a523b0c2c2397ea533a89 /cura/Machines
parent72f74b275971d44126cd6d4094d343aa3c2c7d20 (diff)
Clarify context of error message for translators
This should improve the translation for next time. Contributes to issue CURA-8638.
Diffstat (limited to 'cura/Machines')
-rw-r--r--cura/Machines/Models/MaterialManagementModel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/Machines/Models/MaterialManagementModel.py b/cura/Machines/Models/MaterialManagementModel.py
index 802f2559f8..53c7721a8e 100644
--- a/cura/Machines/Models/MaterialManagementModel.py
+++ b/cura/Machines/Models/MaterialManagementModel.py
@@ -354,8 +354,8 @@ class MaterialManagementModel(QObject):
except OSError as e:
Logger.log("e", f"Can't write to destination {file_path.toLocalFile()}: {type(e)} - {str(e)}")
error_message = Message(
- text = catalog.i18nc("@message:text", "Could not save material archive to {}:").format(file_path.toLocalFile()) + " " + str(e),
- title = catalog.i18nc("@message:title", "Failed to save material archive"),
+ text = catalog.i18nc("@error:text Followed by an error message of why it could not save", "Could not save material archive to {filename}:").format(filename = file_path.toLocalFile()) + " " + str(e),
+ title = catalog.i18nc("@error:title", "Failed to save material archive"),
message_type = Message.MessageType.ERROR
)
error_message.show()