mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
4ac6eb8cd8
commit
551b9a45a3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user