Improve "user not found" error messages

This commit is contained in:
miruka
2020-06-02 20:30:04 -04:00
parent bb7178a5c4
commit 8ec715eab7
3 changed files with 9 additions and 9 deletions

View File

@@ -105,12 +105,12 @@ BoxPopup {
"servers, can't invite %1").arg(user) :
type === "MatrixNotFound" ?
qsTr("%1 not found, please verify the entered user ID")
qsTr("%1 not found, please verify the entered ID")
.arg(user) :
type === "MatrixBadGateway" ?
qsTr("Server error while trying to find %1, please " +
"verify the entered user ID").arg(user) :
qsTr("Could not contact %1's server, " +
"please verify the entered ID").arg(user) :
type === "MatrixUnsupportedRoomVersion" ?
qsTr("%1's server does not support this room's version")