Skip to content
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/
@@ -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 Algorithms'))
algorithmsToolbar.setToolTip('Processing Algorithms Toolbar'))
algorithmsToolbar = iface.addToolBar(QCoreApplication.translate('MainWindow', 'Processing Algorithms'))
algorithmsToolbar.setToolTip(QCoreApplication.translate('MainWindow', 'Processing Algorithms Toolbar'))

0 comments on commit 46f867c

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