From 0a88822d161a86d5f009cb06789404ca20bd1f5e Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 7 May 2020 09:24:53 +0200 Subject: [PATCH] some more removing html code from translation strings --- linux/sound.cpp | 10 +++++----- 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 +++++++++++------ 5 files changed, 40 insertions(+), 20 deletions(-) diff --git a/linux/sound.cpp b/linux/sound.cpp index 9fd08995..00f9a3e0 100755 --- a/linux/sound.cpp +++ b/linux/sound.cpp @@ -58,13 +58,13 @@ void CSound::OpenJack ( const bool bNoAutoJackConnect, if ( jack_get_sample_rate ( pJackClient ) != SYSTEM_SAMPLE_RATE_HZ ) { throw CGenErr ( tr ( "The Jack server sample rate is different from " - "the required one. The required sample rate is: " ) + - QString().setNum ( SYSTEM_SAMPLE_RATE_HZ ) + tr ( " Hz. You can " + "the required one. The required sample rate is:" ) + " " + + QString().setNum ( SYSTEM_SAMPLE_RATE_HZ ) + " Hz. " + tr ( "You can " "use a tool like QJackCtl " - "to adjust the Jack server sample rate.
Make sure to set the " - "Frames/Period to a low value like " ) + + "to adjust the Jack server sample rate." ) + "
" + tr ( "Make sure to set the " + "Frames/Period to a low value like " ) + QString().setNum ( DOUBLE_SYSTEM_FRAME_SIZE_SAMPLES ) + - tr ( "
to achieve a low delay." ) ); + tr ( " to achieve a low delay." ) ); } // create four ports (two for input, two for output -> stereo) diff --git a/src/res/translation/translation_de_DE.ts b/src/res/translation/translation_de_DE.ts index 511d8c19..6f721906 100644 --- a/src/res/translation/translation_de_DE.ts +++ b/src/res/translation/translation_de_DE.ts @@ -2077,17 +2077,22 @@ What you set here will appear at your fader on the mixer board when you are conn - The Jack server sample rate is different from the required one. The required sample rate is: <b> + The Jack server sample rate is different from the required one. The required sample rate is: - Hz</b>. You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate.<br>Make sure to set the <b>Frames/Period</b> to a low value like <b> + You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate. + + + + + Make sure to set the Frames/Period to a low value like - </b> to achieve a low delay. + to achieve a low delay. diff --git a/src/res/translation/translation_es_ES.ts b/src/res/translation/translation_es_ES.ts index ebdada87..68c29688 100644 --- a/src/res/translation/translation_es_ES.ts +++ b/src/res/translation/translation_es_ES.ts @@ -2077,17 +2077,22 @@ What you set here will appear at your fader on the mixer board when you are conn - The Jack server sample rate is different from the required one. The required sample rate is: <b> + The Jack server sample rate is different from the required one. The required sample rate is: - Hz</b>. You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate.<br>Make sure to set the <b>Frames/Period</b> to a low value like <b> + You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate. + + + + + Make sure to set the Frames/Period to a low value like - </b> to achieve a low delay. + to achieve a low delay. diff --git a/src/res/translation/translation_fr_FR.ts b/src/res/translation/translation_fr_FR.ts index f7931bfd..a0b2b534 100644 --- a/src/res/translation/translation_fr_FR.ts +++ b/src/res/translation/translation_fr_FR.ts @@ -2085,17 +2085,22 @@ What you set here will appear at your fader on the mixer board when you are conn - The Jack server sample rate is different from the required one. The required sample rate is: <b> + The Jack server sample rate is different from the required one. The required sample rate is: - Hz</b>. You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate.<br>Make sure to set the <b>Frames/Period</b> to a low value like <b> + You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate. + + + + + Make sure to set the Frames/Period to a low value like - </b> to achieve a low delay. + to achieve a low delay. diff --git a/src/res/translation/translation_pt_PT.ts b/src/res/translation/translation_pt_PT.ts index ef624170..dbb64f63 100644 --- a/src/res/translation/translation_pt_PT.ts +++ b/src/res/translation/translation_pt_PT.ts @@ -2086,18 +2086,23 @@ O que definir aqui aparecerá por baixo do seu fader na secção de mistura quan - The Jack server sample rate is different from the required one. The required sample rate is: <b> - A taxa de amostragem (sample rate) do servidor Jack é diferente da necessária. A taxa de amostragem necessária é: <b> + The Jack server sample rate is different from the required one. The required sample rate is: + A taxa de amostragem (sample rate) do servidor Jack é diferente da necessária. A taxa de amostragem necessária é: - Hz</b>. You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate.<br>Make sure to set the <b>Frames/Period</b> to a low value like <b> - Hz</b>. Pode usar uma ferramenta como <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> para ajustar a taxa de amostragem do servidor Jack.<br>Certifique-se de definir <b>Frames/Período</b> para um valor baixo como <b> + You can use a tool like <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> to adjust the Jack server sample rate. + Pode usar uma ferramenta como <i><a href=http://qjackctl.sourceforge.net>QJackCtl</a></i> para ajustar a taxa de amostragem do servidor Jack. + + + + Make sure to set the Frames/Period to a low value like + Certifique-se de definir Frames/Período para um valor baixo como - </b> to achieve a low delay. - </b> para obter uma latência baixa. + to achieve a low delay. + para obter uma latência baixa.