some more removing html code from translation strings

This commit is contained in:
Volker Fischer 2020-05-07 09:45:11 +02:00
parent 48bfa02bb3
commit d268e8783b
5 changed files with 39 additions and 19 deletions

View file

@ -2227,17 +2227,22 @@
</message>
<message>
<location filename="../../soundbase.cpp" line="189"/>
<source>&lt;b&gt;No usable </source>
<source>No usable </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="190"/>
<source> audio device (driver) found.&lt;/b&gt;&lt;br&gt;&lt;br&gt;In the following there is a list of all available drivers with the associated error message:&lt;ul&gt;</source>
<source> audio device (driver) found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="191"/>
<source>In the following there is a list of all available drivers with the associated error message:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="205"/>
<source>&lt;br/&gt;Do you want to open the ASIO driver setups?</source>
<source>Do you want to open the ASIO driver setups?</source>
<translation type="unfinished"></translation>
</message>
<message>

View file

@ -2227,17 +2227,22 @@
</message>
<message>
<location filename="../../soundbase.cpp" line="189"/>
<source>&lt;b&gt;No usable </source>
<source>No usable </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="190"/>
<source> audio device (driver) found.&lt;/b&gt;&lt;br&gt;&lt;br&gt;In the following there is a list of all available drivers with the associated error message:&lt;ul&gt;</source>
<source> audio device (driver) found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="191"/>
<source>In the following there is a list of all available drivers with the associated error message:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="205"/>
<source>&lt;br/&gt;Do you want to open the ASIO driver setups?</source>
<source>Do you want to open the ASIO driver setups?</source>
<translation type="unfinished"></translation>
</message>
<message>

View file

@ -2235,17 +2235,22 @@
</message>
<message>
<location filename="../../soundbase.cpp" line="189"/>
<source>&lt;b&gt;No usable </source>
<source>No usable </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="190"/>
<source> audio device (driver) found.&lt;/b&gt;&lt;br&gt;&lt;br&gt;In the following there is a list of all available drivers with the associated error message:&lt;ul&gt;</source>
<source> audio device (driver) found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="191"/>
<source>In the following there is a list of all available drivers with the associated error message:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="205"/>
<source>&lt;br/&gt;Do you want to open the ASIO driver setups?</source>
<source>Do you want to open the ASIO driver setups?</source>
<translation type="unfinished"></translation>
</message>
<message>

View file

@ -2235,18 +2235,23 @@
</message>
<message>
<location filename="../../soundbase.cpp" line="189"/>
<source>&lt;b&gt;No usable </source>
<translation>&lt;b&gt;Nenhum dispositivo de áudio (driver) </translation>
<source>No usable </source>
<translation>Nenhum dispositivo de áudio (driver) </translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="190"/>
<source> audio device (driver) found.&lt;/b&gt;&lt;br&gt;&lt;br&gt;In the following there is a list of all available drivers with the associated error message:&lt;ul&gt;</source>
<translation> utilizável encontrado.&lt;/b&gt;&lt;br&gt;&lt;br&gt;De seguida verá uma lista de todos os drivers disponíveis com a mensagem de erro associada:&lt;ul&gt;</translation>
<source> audio device (driver) found.</source>
<translation> utilizável encontrado.</translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="191"/>
<source>In the following there is a list of all available drivers with the associated error message:</source>
<translation>De seguida verá uma lista de todos os drivers disponíveis com a mensagem de erro associada:</translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="205"/>
<source>&lt;br/&gt;Do you want to open the ASIO driver setups?</source>
<translation>&lt;br/&gt;Deseja abrir as configurações do driver ASIO?</translation>
<source>Do you want to open the ASIO driver setups?</source>
<translation>Deseja abrir as configurações do driver ASIO?</translation>
</message>
<message>
<location filename="../../soundbase.cpp" line="212"/>

View file

@ -186,11 +186,11 @@ QString CSoundBase::SetDev ( const int iNewDev )
if ( !vsErrorList.isEmpty() )
{
// create error message with all details
QString sErrorMessage = tr ( "<b>No usable " ) +
QString sErrorMessage = "<b>" + tr ( "No usable " ) +
strSystemDriverTechniqueName + tr ( " audio device "
"(driver) found.</b><br><br>"
"(driver) found." ) + "</b><br><br>" + tr (
"In the following there is a list of all available drivers "
"with the associated error message:<ul>" );
"with the associated error message:" ) + "<ul>";
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 ( "<br/>Do you want to open the ASIO driver setups?" );
sErrorMessage = sErrorMessage + "<br/>" + tr ( "Do you want to open the ASIO driver setups?" );
if ( QMessageBox::Yes == QMessageBox::information ( nullptr, APP_NAME, sErrorMessage, QMessageBox::Yes|QMessageBox::No ) )
{