Skip to content
Permalink
Browse files

Use QCoreApplication.translate() instead

  • Loading branch information
DelazJ authored and nyalldawson committed May 1, 2018
1 parent 8088659 commit 46f867cef4f9e8fae530a0e6ae774ae52a1f0826
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/menus.py
@@ -194,8 +194,8 @@ def addAlgorithmEntry(alg, menuName, submenuName, actionText=None, icon=None, ad
if addButton:
global algorithmsToolbar
if algorithmsToolbar is None:
algorithmsToolbar = iface.addToolBar(Processing.tr('Processing Algorithms'))
algorithmsToolbar.setToolTip(Processing.tr('Processing Algorithms Toolbar'))
algorithmsToolbar = iface.addToolBar(QCoreApplication.translate('MainWindow', 'Processing Algorithms'))
algorithmsToolbar.setToolTip(QCoreApplication.translate('MainWindow', 'Processing Algorithms Toolbar'))
algorithmsToolbar.addAction(action)


0 comments on commit 46f867c

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