Skip to content

Commit aa3ad89

Browse files
author
homann
committedMar 9, 2007
Pathc for plural forms added. Thank you lubaby
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6781 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent fd40a72 commit aa3ad89

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed
 

‎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");

‎src/gui/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/gui/qgsmaptoolidentify.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ void QgsMapToolIdentify::identifyVectorLayer(QgsVectorLayer* layer, const QgsPoi
311311
else
312312
{
313313
QString title = layer->name();
314-
title += QString(" - %1").arg(featureCount);
315-
title += QObject::tr(" features found");
314+
title += QString( tr("- %1 features found","Identify results window title",featureCount) ).arg(featureCount);
316315
mResults->setTitle(title);
317316
}
318317
QApplication::restoreOverrideCursor();

‎src/gui/qgssearchquerybuilder.cpp

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

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

‎src/gui/qgsserversourceselect.cpp

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.