Skip to content
Permalink
Browse files

Translation fix

  • Loading branch information
jef-n committed Jul 2, 2018
1 parent ead18fc commit ac63b8e16e9fbe76922bced14190ccab243eee26
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/algs/qgis/DeleteColumn.py
@@ -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.
You can’t perform that action at this time.