Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
4 changes: 3 additions & 1 deletion python/plugins/processing/algs/qgis/DeleteColumn.py
Expand Up @@ -25,6 +25,8 @@

__revision__ = '$Format:%H$'

from qgis.PyQt.QtCore import QCoreApplication

from qgis.core import (QgsProcessingParameterField,
QgsProcessing,
QgsProcessingFeatureSource)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit ac63b8e

Please sign in to comment.