From 7a1eb276db9479ca9b3dcb495fceec37d4ac48d6 Mon Sep 17 00:00:00 2001 From: Peter L Jones Date: Sun, 14 Jan 2024 12:50:30 +0000 Subject: [PATCH] Reword directory combo help for clarity --- src/connectdlg.cpp | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index 8ec68332b8..316e0e783a 100644 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -42,9 +42,9 @@ CConnectDlg::CConnectDlg ( CClientSettings* pNSetP, const bool bNewShowCompleteR // Add help text to controls ----------------------------------------------- // directory - QString strDirectoryWT = "" + tr ( "Directory" ) + ": " + - tr ( "Shows the servers listed by the selected directory. " - "You can add custom directories in Advanced Settings." ); + QString strDirectoryWT = "" + tr ( "Directory" ) + ": " + tr ( "The list of available directories." ) + "
" + + tr ( "Select a directory to list the servers registered with it." ) + "
" + + tr ( "You can add custom directories in Advanced Settings." ); lblDirectory->setWhatsThis ( strDirectoryWT ); lblDirectory->setToolTip ( strDirectoryWT ); cbxDirectory->setWhatsThis ( strDirectoryWT ); @@ -77,16 +77,19 @@ CConnectDlg::CConnectDlg ( CClientSettings* pNSetP, const bool bNewShowCompleteR chbExpandAll->setAccessibleName ( tr ( "Show all musicians check box" ) ); // server list view - QString strServersWT = "" + tr ( "Server List" ) + ": " + - tr ( "The Connection Setup window lists the available servers registered with " - "the selected directory. Use the Directory dropdown to change the directory, " - "find the server you want to join in the server list, click on it, and " - "then click the Connect button to connect. Alternatively, double click on " - "the server name to connect." ) + - "
" + tr ( "Permanent servers (those that have been listed for longer than 48 hours) are shown in bold." ) + "
" + - tr ( "You can add custom directories in Advanced Settings." ); - lvwServers->setWhatsThis ( strServersWT ); - lvwServers->setToolTip ( strServersWT ); + lvwServers->setWhatsThis ( "" + tr ( "Server List" ) + ": " + + tr ( "The Connection Setup window lists the available servers registered with " + "the selected directory. Use the Directory dropdown to change the directory, " + "find the server you want to join in the server list, click on it, and " + "then click the Connect button to connect. Alternatively, double click on " + "the server name to connect." ) + + "
" + tr ( "Permanent servers (those that have been listed for longer than 48 hours) are shown in bold." ) + + "
" + tr ( "You can add custom directories in Advanced Settings." ) ); + + lvwServers->setToolTip ( "" + tr ( "Server List" ) + ": " + + tr ( "The list of servers registered with the selected directory. " + "Click the server you want to join, then click the Connect button or " + "double click the server to connect." ) ); lvwServers->setAccessibleName ( tr ( "Server list view" ) );