Skip to content
Permalink
Browse files
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
  • Loading branch information
homann committed Mar 9, 2007
1 parent fd40a72 commit aa3ad899766116dc5cbbf542f54c4a4b7b4c8e20
Showing with 5 additions and 6 deletions.
  1. +1 −1 src/core/qgshttptransaction.cpp
  2. +1 −1 src/gui/qgsattributetabledisplay.cpp
  3. +1 −2 src/gui/qgsmaptoolidentify.cpp
  4. +1 −1 src/gui/qgssearchquerybuilder.cpp
  5. +1 −1 src/gui/qgsserversourceselect.cpp
@@ -431,7 +431,7 @@ void QgsHttpTransaction::networkTimedOut()
QgsDebugMsg("QgsHttpTransaction::networkTimedOut: entering.");

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

QgsDebugMsg("QgsHttpTransaction::getSynchronously: Setting httpactive = FALSE");
@@ -351,7 +351,7 @@ void QgsAttributeTableDisplay::doSearch(const QString& searchString)

QString str;
if (mSearchIds.size())
str.sprintf(tr("Found %d matching features."), mSearchIds.size());
str.sprintf(tr("Found %d matching features.","", mSearchIds.size()), mSearchIds.size());
else
str = tr("No matching features found.");
QMessageBox::information(this, tr("Search results"), str);
@@ -311,8 +311,7 @@ void QgsMapToolIdentify::identifyVectorLayer(QgsVectorLayer* layer, const QgsPoi
else
{
QString title = layer->name();
title += QString(" - %1").arg(featureCount);
title += QObject::tr(" features found");
title += QString( tr("- %1 features found","Identify results window title",featureCount) ).arg(featureCount);
mResults->setTitle(title);
}
QApplication::restoreOverrideCursor();
@@ -127,7 +127,7 @@ void QgsSearchQueryBuilder::on_btnTest_clicked()

QString str;
if (count)
str.sprintf(tr("Found %d matching features."), count);
str.sprintf(tr("Found %d matching features.","",count), count);
else
str = tr("No matching features found.");
QMessageBox::information(this, tr("Search results"), str);
@@ -572,7 +572,7 @@ void QgsServerSourceSelect::on_lstLayers_selectionChanged()
QSet<QString> crsFilter = mWmsProvider->supportedCrsForLayers(newSelectedLayers);

gbCRS->setTitle(
QString( tr("Coordinate Reference System (%1 available)") )
QString( tr("Coordinate Reference System (%1 available)", "", crsFilter.count() ) )
.arg( crsFilter.count() )
);

0 comments on commit aa3ad89

Please sign in to comment.