Skip to content
Permalink
Browse files

added tr() makro for wfs progress messages

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7674 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 27, 2007
1 parent f7e689d commit 876b9e702229555f9f2d20c08f6edb442f1a7944
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wfs/qgswfsprovider.cpp
@@ -1387,13 +1387,13 @@ void QgsWFSProvider::handleWFSProgressMessage(int done, int total)
QString totalString;
if(total == 0)
{
totalString = "unknown";
totalString = tr("unknown");
}
else
{
totalString = QString::number(total);
}
QString message("received " + QString::number(done) + " bytes from " + totalString);
QString message(tr("received %1 bytes from %2").arg(QString::number(done)).arg(totalString));
emit dataReadProgressMessage(message);
}

0 comments on commit 876b9e7

Please sign in to comment.
You can’t perform that action at this time.