added tr() makro for wfs progress messages

git-svn-id: http://svn.osgeo.org/qgis/trunk@7674 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2007-11-27 22:34:16 +00:00
parent 4ac6eb8cd8
commit 551b9a45a3

View File

@ -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);
}