Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 474b9d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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
Expand All @@ -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,
Expand Down

0 comments on commit 474b9d8

Please sign in to comment.