mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-10 00:04:23 -04: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
|
QString QgsExpression::parserErrorString() const
|
||||||
{
|
{
|
||||||
return d->mParserErrorString.replace( "syntax error, unexpected end of file",
|
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
|
QList<QgsExpression::ParserError> QgsExpression::parserErrors() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user