Skip to content

Commit

Permalink
added tr() makro for wfs progress messages
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7674 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Nov 27, 2007
1 parent f7e689d commit 876b9e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 876b9e7

Please sign in to comment.