Skip to content

Commit

Permalink
Translation fix
Browse files Browse the repository at this point in the history
(cherry picked from commit ac63b8e)
  • Loading branch information
jef-n committed Aug 10, 2018
1 parent 2579151 commit cb8b8f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/algs/qgis/DeleteColumn.py
Original file line number Diff line number Diff line change
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 cb8b8f4

Please sign in to comment.