diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py index 9e1dc0897d..e1a8690e52 100644 --- a/cura/CrashHandler.py +++ b/cura/CrashHandler.py @@ -6,6 +6,7 @@ import webbrowser from PyQt5.QtCore import QT_VERSION_STR, PYQT_VERSION_STR, QCoreApplication from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QVBoxLayout, QLabel, QTextEdit from UM.i18n import i18nCatalog +catalog = i18nCatalog("cura") def show(type, value, tb): if not hasattr(sys, "frozen"): @@ -16,13 +17,13 @@ def show(type, value, tb): sys.exit(1) dialog = QDialog() - dialog.setWindowTitle(self._i18n_catalog.i18nc("@title:errormessage", "Oops!")) + dialog.setWindowTitle(catalog.i18nc("@title:window", "Oops!")) layout = QVBoxLayout(dialog) label = QLabel(dialog) layout.addWidget(label) - label.setText(self._i18n_catalog.i18nc("@info:errormessage", "

An uncaught exception has occurred!

Please use the information below to post a bug report at http://github.com/Ultimaker/Cura/issues

")) + label.setText(catalog.i18nc("@info", "

An uncaught exception has occurred!

Please use the information below to post a bug report at http://github.com/Ultimaker/Cura/issues

")) textarea = QTextEdit(dialog) layout.addWidget(textarea) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 47b52912ac..eae339bc02 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -132,7 +132,7 @@ class CuraApplication(QtApplication): "message": "font color=UM.Theme.colors.message_text;", }) - self.showSplashMessage(self._i18n_catalog.i18nc("@info:splashscreen", "Setting up scene...")) + self.showSplashMessage(self._i18n_catalog.i18nc("@info", "Setting up scene...")) controller = self.getController() @@ -166,7 +166,7 @@ class CuraApplication(QtApplication): controller.getScene().setActiveCamera("3d") - self.showSplashMessage(self._i18n_catalog.i18nc("@info:splashscreen", "Loading interface...")) + self.showSplashMessage(self._i18n_catalog.i18nc("@info", "Loading interface...")) self.setMainQml(Resources.getPath(self.ResourceTypes.QmlFiles, "Cura.qml")) self.initializeEngine()