From ec05157f29dac2ce0d55d0d7266dafe141c55cd2 Mon Sep 17 00:00:00 2001
From: Amin Bandali <amin.bandali@savoirfairelinux.com>
Date: Mon, 26 Apr 2021 15:47:27 -0400
Subject: [PATCH] contactmodel: use a more clear message for the 'not found'
 case

Using 'username' rather than 'registered name' is more clear and less
ambiguous.

Change-Id: I933a542f415ac5ce0b95872b1be5932edf42a052
---
 src/contactmodel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/contactmodel.cpp b/src/contactmodel.cpp
index c7fd585d..b08ab576 100644
--- a/src/contactmodel.cpp
+++ b/src/contactmodel.cpp
@@ -955,7 +955,7 @@ ContactModelPimpl::slotRegisteredNameFound(const QString& accountId,
             updateTemporaryMessage(tr("Invalid ID"));
             break;
         case 2 /* NOT FOUND */:
-            updateTemporaryMessage(tr("Registered name not found"));
+            updateTemporaryMessage(tr("Username not found"));
             break;
         case 3 /* ERROR */:
             updateTemporaryMessage(tr("Couldn't lookup…"));
-- 
GitLab