mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Translation fix
This commit is contained in:
parent
ead18fc488
commit
ac63b8e16e
@ -25,6 +25,8 @@ __copyright__ = '(C) 2010, Michael Minn'
|
||||
|
||||
__revision__ = '$Format:%H$'
|
||||
|
||||
from qgis.PyQt.QtCore import QCoreApplication
|
||||
|
||||
from qgis.core import (QgsProcessingParameterField,
|
||||
QgsProcessing,
|
||||
QgsProcessingFeatureSource)
|
||||
@ -74,7 +76,7 @@ class DeleteColumn(QgisFeatureBasedAlgorithm):
|
||||
for f in self.fields_to_delete:
|
||||
index = source.fields().lookupField(f)
|
||||
if index < 0:
|
||||
feedback.pushInfo(self.tr('Field “{}” does not exist in input layer').format(f))
|
||||
feedback.pushInfo(QCoreApplication.translate('DeleteColumn', 'Field “{}” does not exist in input layer').format(f))
|
||||
|
||||
return super().prepareAlgorithm(parameters, context, feedback)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user