We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a8e734 commit d720fd5Copy full SHA for d720fd5
src/game.cpp
@@ -2298,14 +2298,14 @@ bool Game::getServerContent(bool *aborted)
2298
if ((USE_CURL == 0) ||
2299
(!g_settings->getBool("enable_remote_media_server"))) {
2300
float cur = client->getCurRate();
2301
- std::string cur_unit = gettext(" KB/s");
+ std::string cur_unit = gettext("KiB/s");
2302
2303
if (cur > 900) {
2304
cur /= 1024.0;
2305
- cur_unit = gettext(" MB/s");
+ cur_unit = gettext("MiB/s");
2306
}
2307
2308
- message << " ( " << cur << cur_unit << " )";
+ message << " (" << cur << ' ' << cur_unit << ")";
2309
2310
2311
progress = 30 + client->mediaReceiveProgress() * 35 + 0.5;