--- a/Preferences/ToolGroupConfigurationDialog.py Sun Mar 30 22:00:14 2014 +0200 +++ b/Preferences/ToolGroupConfigurationDialog.py Thu Apr 03 23:05:31 2014 +0200 @@ -60,16 +60,16 @@ if not groupName: E5MessageBox.critical( self, - self.trUtf8("Add tool group entry"), - self.trUtf8("You have to give a name for the group to add.")) + self.tr("Add tool group entry"), + self.tr("You have to give a name for the group to add.")) return if len(self.groupsList.findItems( groupName, Qt.MatchFlags(Qt.MatchExactly))): E5MessageBox.critical( self, - self.trUtf8("Add tool group entry"), - self.trUtf8("An entry for the group name {0} already exists.") + self.tr("Add tool group entry"), + self.tr("An entry for the group name {0} already exists.") .format(groupName)) return @@ -90,16 +90,16 @@ if not groupName: E5MessageBox.critical( self, - self.trUtf8("Add tool group entry"), - self.trUtf8("You have to give a name for the group to add.")) + self.tr("Add tool group entry"), + self.tr("You have to give a name for the group to add.")) return if len(self.groupsList.findItems( groupName, Qt.MatchFlags(Qt.MatchExactly))): E5MessageBox.critical( self, - self.trUtf8("Add tool group entry"), - self.trUtf8("An entry for the group name {0} already exists.") + self.tr("Add tool group entry"), + self.tr("An entry for the group name {0} already exists.") .format(groupName)) return @@ -117,9 +117,9 @@ res = E5MessageBox.yesNo( self, - self.trUtf8("Delete tool group entry"), - self.trUtf8("""<p>Do you really want to delete the tool group""" - """ <b>"{0}"</b>?</p>""") + self.tr("Delete tool group entry"), + self.tr("""<p>Do you really want to delete the tool group""" + """ <b>"{0}"</b>?</p>""") .format(self.groupsList.currentItem().text()), icon=E5MessageBox.Warning) if not res: