--- a/Graphics/UMLDialog.py Mon Oct 14 18:26:25 2013 +0200 +++ b/Graphics/UMLDialog.py Mon Oct 14 19:30:36 2013 +0200 @@ -230,7 +230,8 @@ if ex: fname += ex if QFileInfo(fname).exists(): - res = E5MessageBox.yesNo(self, + res = E5MessageBox.yesNo( + self, self.trUtf8("Save Diagram"), self.trUtf8("<p>The file <b>{0}</b> already exists." " Overwrite it?</p>").format(fname), @@ -256,7 +257,8 @@ f.write("\n".join(lines)) f.close() except (IOError, OSError) as err: - E5MessageBox.critical(self, + E5MessageBox.critical( + self, self.trUtf8("Save Diagram"), self.trUtf8( """<p>The file <b>{0}</b> could not be saved.</p>""" @@ -285,7 +287,8 @@ data = f.read() f.close() except (IOError, OSError) as err: - E5MessageBox.critical(self, + E5MessageBox.critical( + self, self.trUtf8("Load Diagram"), self.trUtf8( """<p>The file <b>{0}</b> could not be read.</p>"""