Using translated property name in usage error messages.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
34a436fe49
commit
bac802ec5b
2 changed files with 6 additions and 2 deletions
|
@ -145,7 +145,9 @@ Repeater {
|
|||
title: qsTranslate("expression", "LogarithmPlotter - Parsing error")
|
||||
text: ""
|
||||
function showDialog(propName, propValue, error) {
|
||||
text = qsTranslate("error", "Error while parsing expression for property %1:\n%2\n\nEvaluated expression: %3").arg(propName).arg(error).arg(propValue)
|
||||
text = qsTranslate("error", "Error while parsing expression for property %1:\n%2\n\nEvaluated expression: %3")
|
||||
.arg(qsTranslate('prop', propName))
|
||||
.arg(error).arg(propValue)
|
||||
open()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -202,7 +202,9 @@ Item {
|
|||
title: qsTranslate("expression", "LogarithmPlotter - Parsing error")
|
||||
text: ""
|
||||
function showDialog(propName, propValue, error) {
|
||||
text = qsTranslate("expression", "Error while parsing expression for property %1:\n%2\n\nEvaluated expression: %3").arg(propName).arg(error).arg(propValue)
|
||||
text = qsTranslate("expression", "Error while parsing expression for property %1:\n%2\n\nEvaluated expression: %3")
|
||||
.arg(qsTranslate('prop', propName))
|
||||
.arg(error).arg(propValue)
|
||||
open()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue