plural.diff

Redmine Admin, 2006-12-29 03:18 PM

Download (2.39 KB)

View differences:

src/gui/qgssearchquerybuilder.cpp (working copy)
127 127

  
128 128
  QString str;
129 129
  if (count)
130
    str.sprintf(tr("Found %d matching features."), count);
130
    str.sprintf(tr("Found %d matching features.","",count), count);
131 131
  else
132 132
    str = tr("No matching features found.");
133 133
  QMessageBox::information(this, tr("Search results"), str);
src/gui/qgsattributetabledisplay.cpp (working copy)
351 351
   
352 352
  QString str;
353 353
  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());
355 355
  else
356 356
    str = tr("No matching features found.");
357 357
  QMessageBox::information(this, tr("Search results"), str);
src/gui/qgsserversourceselect.cpp (working copy)
572 572
      QSet<QString> crsFilter = mWmsProvider->supportedCrsForLayers(newSelectedLayers);
573 573

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

  
src/core/qgshttptransaction.cpp (working copy)
431 431
  QgsDebugMsg("QgsHttpTransaction::networkTimedOut: entering.");
432 432

  
433 433
  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)
435 435
                  ).arg(NETWORK_TIMEOUT_MSEC/1000);
436 436

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