From a6fd5e75c30d6dc4caa220369203081e0d520ddd Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 7 May 2020 08:51:16 +0200 Subject: [PATCH] some more removing html code from translation strings --- src/connectdlg.cpp | 26 ++++++------- src/res/translation/translation_de_DE.ts | 37 +++++++++++++++--- src/res/translation/translation_es_ES.ts | 37 +++++++++++++++--- src/res/translation/translation_fr_FR.ts | 37 +++++++++++++++--- src/res/translation/translation_pt_PT.ts | 49 ++++++++++++++++++------ 5 files changed, 143 insertions(+), 43 deletions(-) diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index fc5ddc27..9a54755f 100755 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -44,13 +44,13 @@ CConnectDlg::CConnectDlg ( const bool bNewShowCompleteRegList, // Add help text to controls ----------------------------------------------- // server list - lvwServers->setWhatsThis ( tr ( "Server List: The server list shows " - "a list of available servers which are registered at the central " - "server. Select a server from the list and press the connect button to " + lvwServers->setWhatsThis ( "" + tr ( "Server List" ) + ": " + tr ( + "The server list shows a list of available servers which are registered at the " + "central server. Select a server from the list and press the connect button to " "connect to this server. Alternatively, double click a server from " "the list to connect to it. If a server is occupied, a list of the " "connected musicians is available by expanding the list item. " - "Permanent servers are shown in bold font.
" + "Permanent servers are shown in bold font." ) + "
" + tr ( "Note that it may take some time to retrieve the server list from the " "central server. If no valid central server address is specified in " "the settings, no server list will be available." ) ); @@ -58,12 +58,12 @@ CConnectDlg::CConnectDlg ( const bool bNewShowCompleteRegList, lvwServers->setAccessibleName ( tr ( "Server list view" ) ); // server address - QString strServAddrH = tr ( "Server Address: The IP address or URL " - "of the server running the " ) + APP_NAME + tr ( " server software " - "must be set here. An optional port number can be added after the IP " - "address or URL using a comma as a separator, e.g, " + QString strServAddrH = "" + tr ( "Server Address" ) + ": " + tr ( + "The IP address or URL of the server running the " ) + APP_NAME + tr ( + " server software must be set here. An optional port number can be added after the IP " + "address or URL using a comma as a separator, e.g, " "example.org:" ) + - QString().setNum ( LLCON_DEFAULT_PORT_NUMBER ) + tr ( ". A list of " + QString().setNum ( LLCON_DEFAULT_PORT_NUMBER ) + tr ( ". A list of " "the most recent used server IP addresses or URLs is available for " "selection." ); @@ -75,13 +75,13 @@ CConnectDlg::CConnectDlg ( const bool bNewShowCompleteRegList, "IP address or URL. It also stores old URLs in the combo box list." ) ); // filter - edtFilter->setWhatsThis ( tr ( "Filter: The server list is filered " - "by the given text. Note that the filter is case insensitive." ) ); + edtFilter->setWhatsThis ( "" + tr ( "Filter" ) + ": " + tr ( "The server " + "list is filered by the given text. Note that the filter is case insensitive." ) ); edtFilter->setAccessibleName ( tr ( "Filter edit box" ) ); // show all mucisians - chbExpandAll->setWhatsThis ( tr ( "Show All Musicians: If you check " - "this check box, the musicians of all servers are shown. If you " + chbExpandAll->setWhatsThis ( "" + tr ( "Show All Musicians" ) + ": " + tr ( + "If you check this check box, the musicians of all servers are shown. If you " "uncheck the check box, all list view items are collapsed.") ); chbExpandAll->setAccessibleName ( tr ( "Show all musicians check box" ) ); diff --git a/src/res/translation/translation_de_DE.ts b/src/res/translation/translation_de_DE.ts index 91dec646..1f773ad9 100644 --- a/src/res/translation/translation_de_DE.ts +++ b/src/res/translation/translation_de_DE.ts @@ -1263,7 +1263,17 @@ CConnectDlg - <b>Server List:</b> The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font.<br>Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. + Server List + + + + + The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font. + + + + + Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. @@ -1273,17 +1283,22 @@ - <b>Server Address:</b> The IP address or URL of the server running the + Server Address + + + + + The IP address or URL of the server running the - server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, <i>example.org: + server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, example.org: - </i>. A list of the most recent used server IP addresses or URLs is available for selection. + . A list of the most recent used server IP addresses or URLs is available for selection. @@ -1298,7 +1313,12 @@ - <b>Filter:</b> The server list is filered by the given text. Note that the filter is case insensitive. + Filter + + + + + The server list is filered by the given text. Note that the filter is case insensitive. @@ -1308,7 +1328,12 @@ - <b>Show All Musicians:</b> If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. + Show All Musicians + + + + + If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. diff --git a/src/res/translation/translation_es_ES.ts b/src/res/translation/translation_es_ES.ts index 12523b3c..e23dfe02 100644 --- a/src/res/translation/translation_es_ES.ts +++ b/src/res/translation/translation_es_ES.ts @@ -1263,7 +1263,17 @@ CConnectDlg - <b>Server List:</b> The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font.<br>Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. + Server List + + + + + The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font. + + + + + Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. @@ -1273,17 +1283,22 @@ - <b>Server Address:</b> The IP address or URL of the server running the + Server Address + + + + + The IP address or URL of the server running the - server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, <i>example.org: + server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, example.org: - </i>. A list of the most recent used server IP addresses or URLs is available for selection. + . A list of the most recent used server IP addresses or URLs is available for selection. @@ -1298,7 +1313,12 @@ - <b>Filter:</b> The server list is filered by the given text. Note that the filter is case insensitive. + Filter + + + + + The server list is filered by the given text. Note that the filter is case insensitive. @@ -1308,7 +1328,12 @@ - <b>Show All Musicians:</b> If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. + Show All Musicians + + + + + If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. diff --git a/src/res/translation/translation_fr_FR.ts b/src/res/translation/translation_fr_FR.ts index 5fe46fee..fe837f74 100644 --- a/src/res/translation/translation_fr_FR.ts +++ b/src/res/translation/translation_fr_FR.ts @@ -1271,7 +1271,17 @@ CConnectDlg - <b>Server List:</b> The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font.<br>Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. + Server List + + + + + The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font. + + + + + Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. @@ -1281,17 +1291,22 @@ - <b>Server Address:</b> The IP address or URL of the server running the + Server Address + + + + + The IP address or URL of the server running the - server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, <i>example.org: + server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, example.org: - </i>. A list of the most recent used server IP addresses or URLs is available for selection. + . A list of the most recent used server IP addresses or URLs is available for selection. @@ -1306,7 +1321,12 @@ - <b>Filter:</b> The server list is filered by the given text. Note that the filter is case insensitive. + Filter + Filtre + + + + The server list is filered by the given text. Note that the filter is case insensitive. @@ -1316,7 +1336,12 @@ - <b>Show All Musicians:</b> If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. + Show All Musicians + Afficher tous les musiciens + + + + If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. diff --git a/src/res/translation/translation_pt_PT.ts b/src/res/translation/translation_pt_PT.ts index 347dc2c6..d86afa9f 100644 --- a/src/res/translation/translation_pt_PT.ts +++ b/src/res/translation/translation_pt_PT.ts @@ -1271,8 +1271,18 @@ CConnectDlg - <b>Server List:</b> The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font.<br>Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. - <b>Lista de servidores:</b> A lista de servidores mostra a os servidores disponíveis registados no servidor central. Selecione um servidor da lista e pressione o botão Ligar para se ligar a este servidor. Como alternativa, clique duas vezes num servidor da lista para se ligar ao mesmo. Se um servidor estiver ocupado, uma lista dos músicos ligados estará disponível expandindo o item da lista. Os servidores permanentes são mostrados em negrito.<br>Observe que pode demorar algum tempo para obter a lista de servidores do servidor central. Se nenhum endereço de servidor central válido for especificado nas definições, nenhuma lista de servidores estará disponível. + Server List + Lista de servidores + + + + The server list shows a list of available servers which are registered at the central server. Select a server from the list and press the connect button to connect to this server. Alternatively, double click a server from the list to connect to it. If a server is occupied, a list of the connected musicians is available by expanding the list item. Permanent servers are shown in bold font. + A lista de servidores mostra a os servidores disponíveis registados no servidor central. Selecione um servidor da lista e pressione o botão Ligar para se ligar a este servidor. Como alternativa, clique duas vezes num servidor da lista para se ligar ao mesmo. Se um servidor estiver ocupado, uma lista dos músicos ligados estará disponível expandindo o item da lista. Os servidores permanentes são mostrados em negrito. + + + + Note that it may take some time to retrieve the server list from the central server. If no valid central server address is specified in the settings, no server list will be available. + Observe que pode demorar algum tempo para obter a lista de servidores do servidor central. Se nenhum endereço de servidor central válido for especificado nas definições, nenhuma lista de servidores estará disponível. @@ -1281,18 +1291,23 @@ - <b>Server Address:</b> The IP address or URL of the server running the - <b>Endereço do servidor:</b> O endereço IP ou URL do servidor executando o servidor + Server Address + Endereço do servidor + + + + The IP address or URL of the server running the + O endereço IP ou URL do servidor executando o servidor - server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, <i>example.org: - deve ser definido aqui. Um número de porta opcional pode ser adicionado após o endereço IP ou URL usando o caractere dois pontos como separador, por exemplo, <i>example.org: + server software must be set here. An optional port number can be added after the IP address or URL using a comma as a separator, e.g, example.org: + deve ser definido aqui. Um número de porta opcional pode ser adicionado após o endereço IP ou URL usando o caractere dois pontos como separador, por exemplo, example.org: - </i>. A list of the most recent used server IP addresses or URLs is available for selection. - </i>. Uma lista dos endereços IP ou URLs dos servidores usados recentemente está disponível para seleção. + . A list of the most recent used server IP addresses or URLs is available for selection. + . Uma lista dos endereços IP ou URLs dos servidores usados recentemente está disponível para seleção. @@ -1306,8 +1321,13 @@ - <b>Filter:</b> The server list is filered by the given text. Note that the filter is case insensitive. - <b>Filtro:</b> A lista de servidores é filtrada pelo texto fornecido. Note que o filtro não diferencia maiúsculas de minúsculas. + Filter + Filtro + + + + The server list is filered by the given text. Note that the filter is case insensitive. + A lista de servidores é filtrada pelo texto fornecido. Note que o filtro não diferencia maiúsculas de minúsculas. @@ -1316,8 +1336,13 @@ - <b>Show All Musicians:</b> If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. - <b>Mostrar Todos os Músicos:</b> Se marcar esta caixa de seleção, os músicos de todos os servidores serão mostrados. Se desmarcar a caixa de seleção, todos os itens em exibição na lista serão recolhidos. + Show All Musicians + Mostrar Todos os Músicos + + + + If you check this check box, the musicians of all servers are shown. If you uncheck the check box, all list view items are collapsed. + Se marcar esta caixa de seleção, os músicos de todos os servidores serão mostrados. Se desmarcar a caixa de seleção, todos os itens em exibição na lista serão recolhidos.