From c41af1b9a02f74b6fef5a941ec64fc8e73aae964 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 3 Sep 2019 14:00:09 +0200 Subject: [PATCH] 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. --- cura/Settings/CuraContainerRegistry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/Settings/CuraContainerRegistry.py b/cura/Settings/CuraContainerRegistry.py index 314adeeb54..7059831fe4 100644 --- a/cura/Settings/CuraContainerRegistry.py +++ b/cura/Settings/CuraContainerRegistry.py @@ -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 or !", + "@info:status Don't translate the XML tag !", "Failed to import profile from {0}:", - file_name) + " " + result + ""} + file_name) + " " + result} return {"status": "ok", "message": catalog.i18nc("@info:status", "Successfully imported profile {0}", profile_or_list[0].getName())}