Remove user-visible XML tags

These XML tags are outside of the i18n call and are therefore not removed by gettext. They should not be present there.
This commit is contained in:
Ghostkeeper 2019-09-03 14:00:09 +02:00
parent 51ed0072db
commit c41af1b9a0
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -314,9 +314,9 @@ class CuraContainerRegistry(ContainerRegistry):
result = self._configureProfile(profile, profile_id, new_name, expected_machine_definition)
if result is not None:
return {"status": "error", "message": catalog.i18nc(
"@info:status Don't translate the XML tags <filename> or <message>!",
"@info:status Don't translate the XML tag <filename>!",
"Failed to import profile from <filename>{0}</filename>:",
file_name) + " <message>" + result + "</message>"}
file_name) + " " + result}
return {"status": "ok", "message": catalog.i18nc("@info:status", "Successfully imported profile {0}", profile_or_list[0].getName())}