VCS/ProjectBrowserHelper.py

changeset 5669
63295be38bc6
parent 5452
9f89364d9ffd
child 6048
82ad8ec9548c
--- a/VCS/ProjectBrowserHelper.py	Thu Mar 30 18:58:51 2017 +0200
+++ b/VCS/ProjectBrowserHelper.py	Thu Mar 30 19:04:57 2017 +0200
@@ -11,7 +11,7 @@
 
 import os
 
-from PyQt5.QtCore import QObject
+from PyQt5.QtCore import QObject, QCoreApplication
 from PyQt5.QtWidgets import QDialog
 
 from E5Gui.E5Application import e5App
@@ -271,8 +271,11 @@
             
             dlg = DeleteFilesConfirmationDialog(
                 self.parent(),
-                self.tr("Remove from repository (and disk)"),
-                self.tr(
+                QCoreApplication.translate(
+                    "VcsProjectBrowserHelper",
+                    "Remove from repository (and disk)"),
+                QCoreApplication.translate(
+                    "VcsProjectBrowserHelper",
                     "Do you really want to remove these translation files from"
                     " the repository (and disk)?"),
                 names)
@@ -291,8 +294,11 @@
             
             dlg = DeleteFilesConfirmationDialog(
                 self.parent(),
-                self.tr("Remove from repository (and disk)"),
-                self.tr(
+                QCoreApplication.translate(
+                    "VcsProjectBrowserHelper",
+                    "Remove from repository (and disk)"),
+                QCoreApplication.translate(
+                    "VcsProjectBrowserHelper",
                     "Do you really want to remove these files/directories"
                     " from the repository (and disk)?"),
                 files)

eric ide

mercurial