Skip to content

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed
 

‎src/app/qgsattributetabledisplay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ void QgsAttributeTableDisplay::doSearch(const QString& searchString)
351351

352352
QString str;
353353
if (mSearchIds.size())
354-
str.sprintf(tr("Found %d matching features."), mSearchIds.size());
354+
str.sprintf(tr("Found %d matching features.","", mSearchIds.size()), mSearchIds.size());
355355
else
356356
str = tr("No matching features found.");
357357
QMessageBox::information(this, tr("Search results"), str);

‎src/app/qgsmaptoolidentify.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@ void QgsMapToolIdentify::identifyVectorLayer(QgsVectorLayer* layer, const QgsPoi
302302
else
303303
{
304304
QString title = layer->name();
305-
title += QString(" - %1").arg(featureCount);
306-
title += QObject::tr(" features found");
305+
title += QString( tr("- %1 features found","Identify results window title",featureCount) ).arg(featureCount);
307306
mResults->setTitle(title);
308307
}
309308
QApplication::restoreOverrideCursor();

‎src/app/qgssearchquerybuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void QgsSearchQueryBuilder::on_btnTest_clicked()
126126

127127
QString str;
128128
if (count)
129-
str.sprintf(tr("Found %d matching features."), count);
129+
str.sprintf(tr("Found %d matching features.","",count), count);
130130
else
131131
str = tr("No matching features found.");
132132
QMessageBox::information(this, tr("Search results"), str);

‎src/app/qgsserversourceselect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ void QgsServerSourceSelect::on_lstLayers_selectionChanged()
573573
QSet<QString> crsFilter = mWmsProvider->supportedCrsForLayers(newSelectedLayers);
574574

575575
gbCRS->setTitle(
576-
QString( tr("Coordinate Reference System (%1 available)") )
576+
QString( tr("Coordinate Reference System (%1 available)", "", crsFilter.count() ) )
577577
.arg( crsFilter.count() )
578578
);
579579

‎src/core/qgshttptransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ void QgsHttpTransaction::networkTimedOut()
431431
QgsDebugMsg("QgsHttpTransaction::networkTimedOut: entering.");
432432

433433
mError = QString(tr("Network timed out after %1 seconds of inactivity.\n"
434-
"This may be a problem in your network connection or at the WMS server.")
434+
"This may be a problem in your network connection or at the WMS server.","", NETWORK_TIMEOUT_MSEC/1000)
435435
).arg(NETWORK_TIMEOUT_MSEC/1000);
436436

437437
QgsDebugMsg("QgsHttpTransaction::getSynchronously: Setting httpactive = FALSE");

0 commit comments

Comments
 (0)
Please sign in to comment.