aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-05-06 15:41:37 -0400
committerShadowNinja <shadowninja@minetest.net>2015-05-06 15:41:37 -0400
commitd720fd564427b64cfab76e4b6177307bc46fa893 (patch)
tree0c47ab3da0277485f8620d791b0e63b10c5d8a49 /src
parent3a8e7341ec29e264cb13f5ff4983ab625ab67498 (diff)
downloadminetest-d720fd564427b64cfab76e4b6177307bc46fa893.tar.gz
minetest-d720fd564427b64cfab76e4b6177307bc46fa893.tar.bz2
minetest-d720fd564427b64cfab76e4b6177307bc46fa893.zip
Fix connection speed unit names
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index af68a2571..74ae211bf 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2298,14 +2298,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;