Plugins/VcsPlugins/vcsMercurial/HgAddSubrepositoryDialog.py

changeset 3190
a9a94491c4fd
parent 3186
a05eff845522
child 3366
6084bb3c3911
--- a/Plugins/VcsPlugins/vcsMercurial/HgAddSubrepositoryDialog.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgAddSubrepositoryDialog.py	Sat Jan 11 11:55:33 2014 +0100
@@ -84,7 +84,7 @@
         """
         path = E5FileDialog.getExistingDirectory(
             self,
-            self.trUtf8("Add Sub-repository"),
+            self.tr("Add Sub-repository"),
             os.path.join(self.__projectPath, self.pathEdit.text()),
             E5FileDialog.Options(E5FileDialog.Option(0)))
         
@@ -96,9 +96,9 @@
             else:
                 E5MessageBox.critical(
                     self,
-                    self.trUtf8("Add Sub-repository"),
-                    self.trUtf8("""The sub-repository path must be inside"""
-                                """ the project."""))
+                    self.tr("Add Sub-repository"),
+                    self.tr("""The sub-repository path must be inside"""
+                            """ the project."""))
                 return
     
     def getData(self):

eric ide

mercurial