mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06: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
1 changed files with 2 additions and 2 deletions
|
@ -314,9 +314,9 @@ class CuraContainerRegistry(ContainerRegistry):
|
||||||
result = self._configureProfile(profile, profile_id, new_name, expected_machine_definition)
|
result = self._configureProfile(profile, profile_id, new_name, expected_machine_definition)
|
||||||
if result is not None:
|
if result is not None:
|
||||||
return {"status": "error", "message": catalog.i18nc(
|
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>:",
|
"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())}
|
return {"status": "ok", "message": catalog.i18nc("@info:status", "Successfully imported profile {0}", profile_or_list[0].getName())}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue