From 0c1e7202ee0bfe3dc688a708e7dd73e0a719ab91 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Thu, 30 Apr 2020 09:39:47 +0200 Subject: [PATCH] Make error message translatable --- src/core/expression/qgsexpressionnodeimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/expression/qgsexpressionnodeimpl.cpp b/src/core/expression/qgsexpressionnodeimpl.cpp index 69b51327ff4..00eda77104a 100644 --- a/src/core/expression/qgsexpressionnodeimpl.cpp +++ b/src/core/expression/qgsexpressionnodeimpl.cpp @@ -1276,7 +1276,7 @@ QVariant QgsExpressionNodeColumnRef::evalNode( QgsExpression *parent, const QgsE return feature.attribute( mName ); } } - parent->setEvalErrorString( QStringLiteral( "Column '%1' not found" ).arg( mName ) ); + parent->setEvalErrorString( tr( "Column '%1' not found" ).arg( mName ) ); return QVariant(); }