Plugins/VcsPlugins/vcsSubversion/SvnChangeListsDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3621
15f23ed3f216
--- a/Plugins/VcsPlugins/vcsSubversion/SvnChangeListsDialog.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnChangeListsDialog.py	Thu Apr 03 23:05:31 2014 +0200
@@ -9,8 +9,8 @@
 
 from __future__ import unicode_literals
 try:
-    str = unicode    # __IGNORE_WARNING__
-except (NameError):
+    str = unicode
+except NameError:
     pass
 
 import os
@@ -80,7 +80,7 @@
         self.changeListsDict = {}
         
         self.filesLabel.setText(
-            self.trUtf8("Files (relative to {0}):").format(path))
+            self.tr("Files (relative to {0}):").format(path))
         
         self.errorGroup.hide()
         self.intercept = False
@@ -116,8 +116,8 @@
             self.inputGroup.hide()
             E5MessageBox.critical(
                 self,
-                self.trUtf8('Process Generation Error'),
-                self.trUtf8(
+                self.tr('Process Generation Error'),
+                self.tr(
                     'The process {0} could not be started. '
                     'Ensure, that it is in the search path.'
                 ).format('svn'))
@@ -144,7 +144,7 @@
         self.inputGroup.hide()
         
         if len(self.changeListsDict) == 0:
-            self.changeLists.addItem(self.trUtf8("No changelists found"))
+            self.changeLists.addItem(self.tr("No changelists found"))
             self.buttonBox.button(QDialogButtonBox.Close).setFocus(
                 Qt.OtherFocusReason)
         else:

eric ide

mercurial