Skip to content
Permalink
Browse files
Translation fix
  • Loading branch information
jef-n committed Jul 2, 2018
1 parent ead18fc commit ac63b8e
Showing 1 changed file with 3 additions and 1 deletion.
@@ -25,6 +25,8 @@

__revision__ = '$Format:%H$'

from qgis.PyQt.QtCore import QCoreApplication

from qgis.core import (QgsProcessingParameterField,
QgsProcessing,
QgsProcessingFeatureSource)
@@ -74,7 +76,7 @@ def prepareAlgorithm(self, parameters, context, feedback):
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)

0 comments on commit ac63b8e

Please sign in to comment.