From ed0b14f9225288ff32aef5fa049b104dd384fe49 Mon Sep 17 00:00:00 2001 From: Peter L Jones Date: Mon, 4 Jul 2022 23:01:29 +0100 Subject: [PATCH 1/2] Fixes #2709: reword status to say "directory" --- src/serverdlg.cpp | 2 +- src/serverlist.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serverdlg.cpp b/src/serverdlg.cpp index 406de35141..8d410d3182 100644 --- a/src/serverdlg.cpp +++ b/src/serverdlg.cpp @@ -734,7 +734,7 @@ void CServerDlg::UpdateGUIDependencies() if ( pServer->IsDirectoryServer() ) { - strStatus = tr ( "Now a directory server" ); + strStatus = tr ( "Now a directory" ); } else { diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 9bc0df89e7..d387995c00 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -385,7 +385,7 @@ void CServerListManager::SetIsDirectoryServer() if ( bIsDirectoryServer ) { - qInfo() << "Now a directory server"; + qInfo() << "Now a directory"; // Load any persistent server list (create it if it is not there) (void) Load(); } From 8b71da1e6068845b8111b97f70bb4d4bd9581bd9 Mon Sep 17 00:00:00 2001 From: Peter L Jones Date: Mon, 4 Jul 2022 23:05:16 +0100 Subject: [PATCH 2/2] Also reword status at server --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index 607815305c..6a828b5b83 100644 --- a/src/util.h +++ b/src/util.h @@ -645,7 +645,7 @@ inline QString svrRegStatusToString ( ESvrRegStatus eSvrRegStatus ) return QCoreApplication::translate ( "CServerDlg", "Registered" ); case SRS_SERVER_LIST_FULL: - return QCoreApplication::translate ( "CServerDlg", "Directory Server full" ); + return QCoreApplication::translate ( "CServerDlg", "Directory server list full" ); case SRS_VERSION_TOO_OLD: return QCoreApplication::translate ( "CServerDlg", "Your server version is too old" );