Skip to content

Commit cb8b8f4

Browse files
committedAug 10, 2018
Translation fix
(cherry picked from commit ac63b8e)
1 parent 2579151 commit cb8b8f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎python/plugins/processing/algs/qgis/DeleteColumn.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
__revision__ = '$Format:%H$'
2727

28+
from qgis.PyQt.QtCore import QCoreApplication
29+
2830
from qgis.core import (QgsProcessingParameterField,
2931
QgsProcessing,
3032
QgsProcessingFeatureSource)
@@ -74,7 +76,7 @@ def prepareAlgorithm(self, parameters, context, feedback):
7476
for f in self.fields_to_delete:
7577
index = source.fields().lookupField(f)
7678
if index < 0:
77-
feedback.pushInfo(self.tr('Field “{}” does not exist in input layer').format(f))
79+
feedback.pushInfo(QCoreApplication.translate('DeleteColumn', 'Field “{}” does not exist in input layer').format(f))
7880

7981
return super().prepareAlgorithm(parameters, context, feedback)
8082

0 commit comments

Comments
 (0)
Please sign in to comment.