mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Add tr() for expression parser error
This commit is contained in:
parent
6374a99b2e
commit
a73fce75a0
@ -237,7 +237,7 @@ bool QgsExpression::hasParserError() const
|
||||
QString QgsExpression::parserErrorString() const
|
||||
{
|
||||
return d->mParserErrorString.replace( "syntax error, unexpected end of file",
|
||||
"Invalid expression. Unexpected end. You might not have finished the full expression" );
|
||||
tr( "Invalid expression. Unexpected end. You might not have finished the full expression" ) );
|
||||
}
|
||||
|
||||
QList<QgsExpression::ParserError> QgsExpression::parserErrors() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user