mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Clarify context of error message for translators
This should improve the translation for next time. Contributes to issue CURA-8638.
This commit is contained in:
parent
72f74b2759
commit
82441f97b1
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue