Skip to content


Browse files Browse the repository at this point in the history
Use QCoreApplication.translate() instead
  • Loading branch information
DelazJ authored and nyalldawson committed May 1, 2018
1 parent 8088659 commit 46f867c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/
Expand Up @@ -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'))

Expand Down

0 comments on commit 46f867c

Please sign in to comment.