diff --git a/src/base/bittorrent/torrentinfo.cpp b/src/base/bittorrent/torrentinfo.cpp index 7ed25e702..ca121ab20 100644 --- a/src/base/bittorrent/torrentinfo.cpp +++ b/src/base/bittorrent/torrentinfo.cpp @@ -108,7 +108,7 @@ TorrentInfo TorrentInfo::loadFromFile(const QString &path, QString *error) noexc if (file.size() > MAX_TORRENT_SIZE) { if (error) - *error = tr("File size exceeds max limit %1").arg(MAX_TORRENT_SIZE); + *error = tr("File size exceeds max limit %1").arg(Utils::Misc::friendlyUnit(MAX_TORRENT_SIZE)); return TorrentInfo(); }