Browse Source

Fix translation of Unable to slice message

Previously the {0} would be filled in at runtime, causing the translation to no longer be found in the catalogue.

Contributes to issue CURA-4091.
Ruben D 7 years ago
parent
commit
c61b9c41ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/CuraEngineBackend/CuraEngineBackend.py

+ 1 - 1
plugins/CuraEngineBackend/CuraEngineBackend.py

@@ -293,7 +293,7 @@ class CuraEngineBackend(QObject, Backend):
                     error_labels.add(definitions[0].label)
 
                 error_labels = ", ".join(error_labels)
-                self._error_message = Message(catalog.i18nc("@info:status", "Unable to slice with the current settings. The following settings have errors: {0}".format(error_labels)),
+                self._error_message = Message(catalog.i18nc("@info:status", "Unable to slice with the current settings. The following settings have errors: {0}").format(error_labels),
                                               title = catalog.i18nc("@info:title", "Unable to slice"))
                 self._error_message.show()
                 self.backendStateChange.emit(BackendState.Error)