Preferences/ToolGroupConfigurationDialog.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3484
645c12de6b0c
--- a/Preferences/ToolGroupConfigurationDialog.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/Preferences/ToolGroupConfigurationDialog.py	Sat Jan 11 11:55:33 2014 +0100
@@ -58,16 +58,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
         
@@ -88,16 +88,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
         
@@ -115,9 +115,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:

eric ide

mercurial