From 963415c10d6f9734ee7e10926646a0faf98f4b87 Mon Sep 17 00:00:00 2001 From: ignotus Date: Mon, 6 Jul 2020 09:23:06 +0200 Subject: [PATCH] Update serverdlg.cpp --- src/serverdlg.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/serverdlg.cpp b/src/serverdlg.cpp index b9c241f3..1be9cafc 100755 --- a/src/serverdlg.cpp +++ b/src/serverdlg.cpp @@ -159,9 +159,9 @@ CServerDlg::CServerDlg ( CServer* pNServP, lblRecorderStatus->setWhatsThis ( "" + tr ( "Recorder Status" ) + ": " + tr ( "Displays the current status of the recorder. The following values are possible:" ) + "
" - + "
" + tr ( SREC_NOT_INITIALISED ) + "
" + + "
" + SREC_NOT_INITIALISED + "
" + "
" + tr ( "No recording directory has been set or the value is not useable" ) + "
" - + "
" + tr ( SREC_NOT_ENABLED ) + "
" + + "
" + SREC_NOT_ENABLED + "
" + "
" + tr ( "Recording has been switched off" ) #ifdef _WIN32 + tr ( " by the UI checkbox" ) @@ -169,9 +169,9 @@ CServerDlg::CServerDlg ( CServer* pNServP, + tr ( ", either by the UI checkbox or SIGUSR2 being received" ) #endif + "
" - + "
" + tr ( SREC_NOT_RECORDING ) + "
" + + "
" + SREC_NOT_RECORDING + "
" + "
" + tr ( "There is no one connected to the server to record" ) + "
" - + "
" + tr ( SREC_RECORDING ) + "
" + + "
" + SREC_RECORDING + "
" + "
" + tr ( "The performers are being recorded to the specified session directory" ) + "
" + "
" + "
" + tr ( "NOTE" ) + ": " @@ -785,17 +785,17 @@ void CServerDlg::UpdateRecorderStatus ( QString sessionDir ) { edtCurrentSessionDir->setText ( sessionDir != QString::null ? sessionDir : "" ); - strRecorderStatus = tr ( SREC_RECORDING ); + strRecorderStatus = SREC_RECORDING; bIsRecording = true; } else { - strRecorderStatus = tr ( SREC_NOT_RECORDING ); + strRecorderStatus = SREC_NOT_RECORDING; } } else { - strRecorderStatus = tr ( SREC_NOT_ENABLED ); + strRecorderStatus = SREC_NOT_ENABLED; } } else @@ -812,7 +812,7 @@ void CServerDlg::UpdateRecorderStatus ( QString sessionDir ) } chbEnableRecorder->setEnabled ( false ); - strRecorderStatus = tr ( SREC_NOT_INITIALISED ); + strRecorderStatus = SREC_NOT_INITIALISED; } edtRecordingDir->setText ( strRecordingDir );