Improve translated strings

Change-Id: I7a45c6f8dcbb0e1b3c17a60823664fe1943c5654
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Robert Loehning
2018-02-08 20:51:43 +01:00
parent 8c7567c447
commit 7282e05554
6 changed files with 12 additions and 12 deletions

View File

@@ -237,8 +237,8 @@ void TestSettingsWidget::onAddFilterClicked()
{
TestFilterDialog dialog;
dialog.setWindowTitle(tr("Add Filter"));
dialog.setDetailsText(tr("<p>Specify a filter expression to be added to the list of filters."
"<br/>Wildcards are not supported.</p>"));
dialog.setDetailsText("<p>" + tr("Specify a filter expression to be added to the list of filters."
"<br/>Wildcards are not supported.") + "</p>");
if (dialog.exec() == QDialog::Accepted) {
const QString &filter = dialog.filterPath();
if (!filter.isEmpty())
@@ -254,8 +254,8 @@ void TestSettingsWidget::onEditFilterClicked()
TestFilterDialog dialog;
dialog.setWindowTitle(tr("Edit Filter"));
dialog.setDetailsText(tr("<p>Specify a filter expression that will replace \"%1\"."
"<br/>Wildcards are not supported.</p>").arg(oldFilter));
dialog.setDetailsText("<p>" + tr("Specify a filter expression that will replace \"%1\"."
"<br/>Wildcards are not supported.").arg(oldFilter) + "</p>");
dialog.setDefaultFilterPath(oldFilter);
if (dialog.exec() == QDialog::Accepted) {
const QString &edited = dialog.filterPath();