Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjen Hiemstra <ahiemstra@heimr.nl>2015-09-10 17:54:20 +0300
committerArjen Hiemstra <ahiemstra@heimr.nl>2015-09-10 17:54:20 +0300
commit2ea0a3c02abc38a154ece21459b90e4081780d39 (patch)
tree606036fec3243421845c1aef24f45b4007e01090 /cura/CrashHandler.py
parentadd3776526643eb65dcc5d97f7a470fffe3fd272 (diff)
Fix strings in crash handler
Contributes to CURA-132
Diffstat (limited to 'cura/CrashHandler.py')
-rw-r--r--cura/CrashHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py
index e1a8690e52..157aa39bbd 100644
--- a/cura/CrashHandler.py
+++ b/cura/CrashHandler.py
@@ -23,7 +23,7 @@ def show(type, value, tb):
label = QLabel(dialog)
layout.addWidget(label)
- label.setText(catalog.i18nc("@info", "<p>An uncaught exception has occurred!</p><p>Please use the information below to post a bug report at <a href=\"http://github.com/Ultimaker/Cura/issues\">http://github.com/Ultimaker/Cura/issues</a></p>"))
+ label.setText(catalog.i18nc("@label", "<p>An uncaught exception has occurred!</p><p>Please use the information below to post a bug report at <a href=\"http://github.com/Ultimaker/Cura/issues\">http://github.com/Ultimaker/Cura/issues</a></p>"))
textarea = QTextEdit(dialog)
layout.addWidget(textarea)
@@ -43,7 +43,7 @@ def show(type, value, tb):
buttons = QDialogButtonBox(QDialogButtonBox.Close, dialog)
layout.addWidget(buttons)
- buttons.addButton(self._i18n_catalog.i18nc("action:button", "Open Web Page"), QDialogButtonBox.HelpRole)
+ buttons.addButton(catalog.i18nc("@action:button", "Open Web Page"), QDialogButtonBox.HelpRole)
buttons.rejected.connect(lambda: dialog.close())
buttons.helpRequested.connect(lambda: webbrowser.open("http://github.com/Ultimaker/Cura/issues"))