mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:49:04 +08:00
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:
parent
51ed0072db
commit
c41af1b9a0
@ -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())}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user