Fixing mistranslated string.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2022-10-19 02:49:43 +02:00
parent 7686204786
commit ddb5156396
Signed by: Ad5001
GPG key ID: 7251B1AF90B960F9

View file

@ -1071,7 +1071,7 @@ ParserState.prototype.expect = function (type, value) {
var coords = this.tokens.getCoordinates(); var coords = this.tokens.getCoordinates();
throw new Error(qsTranslate('error', 'Parse error [%1:%2]: %3') throw new Error(qsTranslate('error', 'Parse error [%1:%2]: %3')
.arg(coords.line).arg(coords.column) .arg(coords.line).arg(coords.column)
.arg(qsTranslate('error', 'Expected %1').arg(qsTranslate('error',value) || type))); .arg(qsTranslate('error', 'Expected %1').arg(value || type)));
} }
}; };