diff --git a/src/serverdlg.cpp b/src/serverdlg.cpp index 704343f793..968aa2f4e1 100644 --- a/src/serverdlg.cpp +++ b/src/serverdlg.cpp @@ -175,14 +175,16 @@ CServerDlg::CServerDlg ( CServer* pNServP, CServerSettings* pNSetP, const bool b pbtRecordingDir->setWhatsThis ( "" + tr ( "Main Recording Directory" ) + ": " + tr ( "Click the button to open the dialog that allows the main recording directory to be selected. " "The chosen value must exist and be writeable (allow creation of sub-directories " - "by the user Jamulus is running as)." ) ); + "by the user %1 is running as)." ) + .arg ( APP_NAME ) ); edtRecordingDir->setAccessibleName ( tr ( "Main recording directory text box (read-only)" ) ); edtRecordingDir->setWhatsThis ( "" + tr ( "Main Recording Directory" ) + ": " + tr ( "The current value of the main recording directory. " "The chosen value must exist and be writeable (allow creation of sub-directories " - "by the user Jamulus is running as). " - "Click the button to open the dialog that allows the main recording directory to be selected." ) ); + "by the user %1 is running as). " + "Click the button to open the dialog that allows the main recording directory to be selected." ) + .arg ( APP_NAME ) ); tbtClearRecordingDir->setAccessibleName ( tr ( "Clear the recording directory button" ) ); tbtClearRecordingDir->setWhatsThis ( "" + tr ( "Clear Recording Directory" ) + ": " + @@ -202,17 +204,19 @@ CServerDlg::CServerDlg ( CServer* pNServP, CServerSettings* pNSetP, const bool b pbtServerListPersistence->setAccessibleName ( tr ( "Server List Filename dialog push button" ) ); pbtServerListPersistence->setWhatsThis ( "" + tr ( "Server List Filename" ) + ": " + tr ( "Click the button to open the dialog that allows the " - "server list persistence file name to be set. The user Jamulus is running as " + "server list persistence file name to be set. The user %1 is running as " "needs to be able to create the file name specified " - "although it may already exist (it will get overwritten on save)." ) ); + "although it may already exist (it will get overwritten on save)." ) + .arg ( APP_NAME ) ); edtServerListPersistence->setAccessibleName ( tr ( "Server List Filename text box (read-only)" ) ); edtServerListPersistence->setWhatsThis ( "" + tr ( "Server List Filename" ) + ": " + - tr ( "The current value of server list persistence file name. The user Jamulus is running as " + tr ( "The current value of server list persistence file name. The user %1 is running as " "needs to be able to create the file name specified " "although it may already exist (it will get overwritten on save). " "Click the button to open the dialog that allows the " - "server list persistence file name to be set." ) ); + "server list persistence file name to be set." ) + .arg ( APP_NAME ) ); tbtClearServerListPersistence->setAccessibleName ( tr ( "Clear the server list file name button" ) ); tbtClearServerListPersistence->setWhatsThis ( "" + tr ( "Clear Server List Filename" ) + ": " + diff --git a/src/serverlist.cpp b/src/serverlist.cpp index b3c2987688..18fc601d03 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -688,8 +688,9 @@ bool CServerListManager::Load() if ( !file.open ( QIODevice::ReadWrite | QIODevice::Text ) ) { qWarning() << qUtf8Printable ( - QString ( "Could not open '%1' for read/write. Please check that Jamulus has permission (and that there is free space)." ) - .arg ( ServerListFileName ) ); + QString ( "Could not open '%1' for read/write. Please check that %2 has permission (and that there is free space)." ) + .arg ( ServerListFileName ) + .arg ( APP_NAME ) ); ServerListFileName.clear(); return false; }