mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Apply suggested changes from code review
Don't rename translation context
This commit is contained in:
parent
a3bb769887
commit
5c46dab5ce
@ -180,5 +180,5 @@ class GrassProvider(QgsProcessingProvider):
|
||||
|
||||
def tr(self, string, context=''):
|
||||
if context == '':
|
||||
context = 'GrassProvider'
|
||||
context = 'Grass7AlgorithmProvider'
|
||||
return QCoreApplication.translate(context, string)
|
||||
|
||||
@ -602,7 +602,7 @@ class GrassUtils:
|
||||
@staticmethod
|
||||
def tr(string, context=''):
|
||||
if context == '':
|
||||
context = 'GrassUtils'
|
||||
context = 'Grass7Utils'
|
||||
return QCoreApplication.translate(context, string)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user