Merge PR #968: Improve wording for unknown error

pull/971/head
jenkins 2023-02-13 15:06:54 +01:00
commit 5927a74777
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ NymeaDialog {
// Legacy as some places might still use strings instead of enums
property string errorCode: ""
text: qsTr("An unexpected error happened. We're sorry for that.") +
text: qsTr("An unexpected error happened. Sorry about that.") +
(errorCode.length > 0 ? "\n\n" + qsTr("Error code: %1").arg(errorCode) : "") +
(error != 0 ? "\n\n" + qsTr("Error code: %1").arg(error) : "")