From eb0b9178586a40f8c46bdbb66f43d7c4590838cc Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 6 May 2015 15:41:37 -0400 Subject: [PATCH] Fix connection speed unit names --- src/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index 94934677..3635cfc3 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2314,14 +2314,14 @@ bool Game::getServerContent(bool *aborted) if ((USE_CURL == 0) || (!g_settings->getBool("enable_remote_media_server"))) { float cur = client->getCurRate(); - std::string cur_unit = gettext(" KB/s"); + std::string cur_unit = gettext("KiB/s"); if (cur > 900) { cur /= 1024.0; - cur_unit = gettext(" MB/s"); + cur_unit = gettext("MiB/s"); } - message << " ( " << cur << cur_unit << " )"; + message << " (" << cur << ' ' << cur_unit << ")"; } progress = 30 + client->mediaReceiveProgress() * 35 + 0.5;