Skip to content
Permalink
Browse files

more translation string fixes

  • Loading branch information
jef-n committed Mar 10, 2018
1 parent 158c329 commit e1ad1cb47376546d3500004c72c542291a789da5
@@ -133,7 +133,7 @@ def showPopupMenu(self, point):
if isinstance(item, TreeLogEntryItem):
if item.isAlg:
popupmenu = QMenu()
createTestAction = QAction(self.tr('Create Test…'), self.tree)
createTestAction = QAction(QCoreApplication.translate('HistoryDialog', 'Create Test…'), self.tree)
createTestAction.triggered.connect(self.createTest)
popupmenu.addAction(createTestAction)
popupmenu.exec_(self.tree.mapToGlobal(point))
@@ -28,6 +28,7 @@
import os
import shutil

from qgis.PyQt.QtCore import QCoreApplication
from qgis.PyQt.QtWidgets import QFileDialog

from qgis.core import Qgis, QgsApplication, QgsMessageLog, QgsSettings
@@ -40,7 +41,7 @@
class AddScriptFromFileAction(ToolboxAction):

def __init__(self):
self.name = self.tr("Add Script from File…")
self.name = QCoreApplication.translate("AddScriptFromFileAction", "Add Script from File…")
self.group = self.tr("Tools")

def execute(self):

0 comments on commit e1ad1cb

Please sign in to comment.
You can’t perform that action at this time.