Skip to content
Permalink
Browse files

added tr() makro for wfs progress messages

git-svn-id: http://svn.osgeo.org/qgis/trunk@7674 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 27, 2007
1 parent 4ac6eb8 commit 551b9a45a3b6113ca72cb5fdf04b233d2f43f0bf
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 551b9a4

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