diff --git a/python/plugins/grassprovider/grass_provider.py b/python/plugins/grassprovider/grass_provider.py index 3975938d56d0..4db424ab26f6 100644 --- a/python/plugins/grassprovider/grass_provider.py +++ b/python/plugins/grassprovider/grass_provider.py @@ -180,5 +180,5 @@ def canBeActivated(self): def tr(self, string, context=''): if context == '': - context = 'GrassProvider' + context = 'Grass7AlgorithmProvider' return QCoreApplication.translate(context, string) diff --git a/python/plugins/grassprovider/grass_utils.py b/python/plugins/grassprovider/grass_utils.py index 62acf546618b..814e3fe13b15 100644 --- a/python/plugins/grassprovider/grass_utils.py +++ b/python/plugins/grassprovider/grass_utils.py @@ -602,7 +602,7 @@ def checkGrassIsInstalled(ignorePreviousState=False): @staticmethod def tr(string, context=''): if context == '': - context = 'GrassUtils' + context = 'Grass7Utils' return QCoreApplication.translate(context, string) @staticmethod