diff -r 7912530a33e2 -r 542e97d4ecb3 UI/EmailDialog.py --- a/UI/EmailDialog.py Mon Oct 14 18:26:25 2013 +0200 +++ b/UI/EmailDialog.py Mon Oct 14 19:30:36 2013 +0200 @@ -118,7 +118,8 @@ @param ev key event (QKeyEvent) """ if ev.key() == Qt.Key_Escape: - res = E5MessageBox.yesNo(self, + res = E5MessageBox.yesNo( + self, self.trUtf8("Close dialog"), self.trUtf8("""Do you really want to close the dialog?""")) if res: @@ -137,7 +138,8 @@ """ Private slot to handle the rejected signal of the button box. """ - res = E5MessageBox.yesNo(self, + res = E5MessageBox.yesNo( + self, self.trUtf8("Close dialog"), self.trUtf8("""Do you really want to close the dialog?""")) if res: @@ -301,7 +303,8 @@ errorStr = e[1] else: errorStr = str(e) - res = E5MessageBox.retryAbort(self, + res = E5MessageBox.retryAbort( + self, self.trUtf8("Send bug report"), self.trUtf8( """<p>Authentication failed.<br>Reason: {0}</p>""") @@ -326,7 +329,8 @@ errorStr = e[1] else: errorStr = str(e) - res = E5MessageBox.retryAbort(self, + res = E5MessageBox.retryAbort( + self, self.trUtf8("Send bug report"), self.trUtf8( """<p>Message could not be sent.<br>Reason: {0}</p>""")