From ddb5156396c3d8608cbd6123cb2306aeacc1abfb Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Wed, 19 Oct 2022 02:49:43 +0200 Subject: [PATCH] Fixing mistranslated string. --- LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/expr-eval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/expr-eval.js b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/expr-eval.js index 7ac669a..6a3d828 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/expr-eval.js +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/expr-eval.js @@ -1071,7 +1071,7 @@ ParserState.prototype.expect = function (type, value) { var coords = this.tokens.getCoordinates(); throw new Error(qsTranslate('error', 'Parse error [%1:%2]: %3') .arg(coords.line).arg(coords.column) - .arg(qsTranslate('error', 'Expected %1').arg(qsTranslate('error',value) || type))); + .arg(qsTranslate('error', 'Expected %1').arg(value || type))); } };