From d268e8783b663ced9915d7bcb4aa4936923efd0f Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 7 May 2020 09:45:11 +0200 Subject: [PATCH] some more removing html code from translation strings --- src/res/translation/translation_de_DE.ts | 11 ++++++++--- src/res/translation/translation_es_ES.ts | 11 ++++++++--- src/res/translation/translation_fr_FR.ts | 11 ++++++++--- src/res/translation/translation_pt_PT.ts | 17 +++++++++++------ src/soundbase.cpp | 8 ++++---- 5 files changed, 39 insertions(+), 19 deletions(-) diff --git a/src/res/translation/translation_de_DE.ts b/src/res/translation/translation_de_DE.ts index 28da2e5e..da5e7bf8 100644 --- a/src/res/translation/translation_de_DE.ts +++ b/src/res/translation/translation_de_DE.ts @@ -2227,17 +2227,22 @@ - <b>No usable + No usable - audio device (driver) found.</b><br><br>In the following there is a list of all available drivers with the associated error message:<ul> + audio device (driver) found. + + + + + In the following there is a list of all available drivers with the associated error message: - <br/>Do you want to open the ASIO driver setups? + Do you want to open the ASIO driver setups? diff --git a/src/res/translation/translation_es_ES.ts b/src/res/translation/translation_es_ES.ts index 9583b094..01cecfd1 100644 --- a/src/res/translation/translation_es_ES.ts +++ b/src/res/translation/translation_es_ES.ts @@ -2227,17 +2227,22 @@ - <b>No usable + No usable - audio device (driver) found.</b><br><br>In the following there is a list of all available drivers with the associated error message:<ul> + audio device (driver) found. + + + + + In the following there is a list of all available drivers with the associated error message: - <br/>Do you want to open the ASIO driver setups? + Do you want to open the ASIO driver setups? diff --git a/src/res/translation/translation_fr_FR.ts b/src/res/translation/translation_fr_FR.ts index c7755de1..f1d21c72 100644 --- a/src/res/translation/translation_fr_FR.ts +++ b/src/res/translation/translation_fr_FR.ts @@ -2235,17 +2235,22 @@ - <b>No usable + No usable - audio device (driver) found.</b><br><br>In the following there is a list of all available drivers with the associated error message:<ul> + audio device (driver) found. + + + + + In the following there is a list of all available drivers with the associated error message: - <br/>Do you want to open the ASIO driver setups? + Do you want to open the ASIO driver setups? diff --git a/src/res/translation/translation_pt_PT.ts b/src/res/translation/translation_pt_PT.ts index 6118f853..896ae107 100644 --- a/src/res/translation/translation_pt_PT.ts +++ b/src/res/translation/translation_pt_PT.ts @@ -2235,18 +2235,23 @@ - <b>No usable - <b>Nenhum dispositivo de áudio (driver) + No usable + Nenhum dispositivo de áudio (driver) - audio device (driver) found.</b><br><br>In the following there is a list of all available drivers with the associated error message:<ul> - utilizável encontrado.</b><br><br>De seguida verá uma lista de todos os drivers disponíveis com a mensagem de erro associada:<ul> + audio device (driver) found. + utilizável encontrado. + + + + In the following there is a list of all available drivers with the associated error message: + De seguida verá uma lista de todos os drivers disponíveis com a mensagem de erro associada: - <br/>Do you want to open the ASIO driver setups? - <br/>Deseja abrir as configurações do driver ASIO? + Do you want to open the ASIO driver setups? + Deseja abrir as configurações do driver ASIO? diff --git a/src/soundbase.cpp b/src/soundbase.cpp index 2d417639..c7f0c814 100755 --- a/src/soundbase.cpp +++ b/src/soundbase.cpp @@ -186,11 +186,11 @@ QString CSoundBase::SetDev ( const int iNewDev ) if ( !vsErrorList.isEmpty() ) { // create error message with all details - QString sErrorMessage = tr ( "No usable " ) + + QString sErrorMessage = "" + tr ( "No usable " ) + strSystemDriverTechniqueName + tr ( " audio device " - "(driver) found.

" + "(driver) found." ) + "


" + tr ( "In the following there is a list of all available drivers " - "with the associated error message:
    " ); + "with the associated error message:" ) + "
      "; for ( int i = 0; i < lNumDevs; i++ ) { @@ -202,7 +202,7 @@ QString CSoundBase::SetDev ( const int iNewDev ) // to be able to access the ASIO driver setup for changing, e.g., the sample rate, we // offer the user under Windows that we open the driver setups of all registered // ASIO drivers - sErrorMessage = sErrorMessage + tr ( "
      Do you want to open the ASIO driver setups?" ); + sErrorMessage = sErrorMessage + "
      " + tr ( "Do you want to open the ASIO driver setups?" ); if ( QMessageBox::Yes == QMessageBox::information ( nullptr, APP_NAME, sErrorMessage, QMessageBox::Yes|QMessageBox::No ) ) {