diff options
author | Friedemann Kleint <[email protected]> | 2024-06-12 09:57:35 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2024-06-12 21:22:23 +0200 |
commit | 9abf7da0258f5b85a4ce4c6f6cfb2b0e44baf99a (patch) | |
tree | df60011abd9aeae1ff7bdfcb4029179c3260f329 | |
parent | 812ddbbcf4cc23af39022e6280bae51d242adc24 (diff) |
Lexer: Fix spelling error in translatable message
Pick-to: 6.8
Change-Id: I0625e5675f9a7424eebee84b734faa69f676f74a
Reviewed-by: Ulf Hermann <[email protected]>
-rw-r--r-- | src/qml/parser/qqmljslexer.cpp | 2 | ||||
-rw-r--r-- | tests/auto/qml/qqmlparser/tst_qqmlparser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/parser/qqmljslexer.cpp b/src/qml/parser/qqmljslexer.cpp index d57fb7c54a..aa95f6302f 100644 --- a/src/qml/parser/qqmljslexer.cpp +++ b/src/qml/parser/qqmljslexer.cpp @@ -1220,7 +1220,7 @@ int Lexer::scanNumber(QChar ch) _state.errorCode = IllegalNumber; _errorMessage = QCoreApplication::translate( "QQmlParser", - "There can be at most one numeric separator beetwen digits" + "There can be at most one numeric separator between digits" ); return false; } diff --git a/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp b/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp index 0a8411ddcf..62f67e548f 100644 --- a/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp +++ b/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp @@ -547,7 +547,7 @@ void tst_qqmlparser::invalidNumericSeparator_data() { QTest::addColumn<QString>("error"); QTest::newRow("Trailing numeric separator") << "1_" << "A trailing numeric separator is not allowed in numeric literals"; - QTest::newRow("Multiple numeric separators") << "1__2" << "There can be at most one numeric separator beetwen digits"; + QTest::newRow("Multiple numeric separators") << "1__2" << "There can be at most one numeric separator between digits"; } void tst_qqmlparser::invalidNumericSeparator() { |