Skip to content
Permalink
Browse files

processing: use main vector menu translation (fixes #14535)

(cherry picked from commit 11289a0)
  • Loading branch information
jef-n committed Sep 3, 2016
1 parent 1fe085b commit 474b9d86b21752280d733908e0cf36bd4e1e5740
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/menus.py
@@ -1,7 +1,7 @@
import os
from qgis.PyQt.QtCore import QCoreApplication
from qgis.PyQt.QtWidgets import QAction, QMenu
from PyQt4.QtGui import QIcon
from PyQt4.QtGui import QIcon, QApplication
from processing.core.alglist import algList
from processing.core.ProcessingConfig import ProcessingConfig, Setting
from processing.gui.MessageDialog import MessageDialog
@@ -16,7 +16,7 @@
menusSettingsGroup = 'Menus'

defaultMenuEntries = {}
vectorMenu = Processing.tr('Vect&or')
vectorMenu = QApplication.translate('MainWindow', 'Vect&or')
analysisToolsMenu = vectorMenu + "/" + Processing.tr('&Analysis Tools')
defaultMenuEntries.update({'qgis:distancematrix': analysisToolsMenu,
'qgis:sumlinelengths': analysisToolsMenu,

0 comments on commit 474b9d8

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