summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-05 23:16:16 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-05 23:16:16 +0300
commita89170d63eabaec5f2b63ecb9df95c982ac044a1 (patch)
tree029a6280d9ebbe3c834a983af0d5926ac4dcc296 /src/gui/debugwindow.cpp
parentd8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54 (diff)
downloadmv-a89170d63eabaec5f2b63ecb9df95c982ac044a1.tar.gz
mv-a89170d63eabaec5f2b63ecb9df95c982ac044a1.tar.bz2
mv-a89170d63eabaec5f2b63ecb9df95c982ac044a1.tar.xz
mv-a89170d63eabaec5f2b63ecb9df95c982ac044a1.zip
Fix translation strings and rebuild translations.
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index d7cec480a..0b84dda1e 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -382,12 +382,12 @@ void NetDebugTab::logic()
{
if (player_node && player_node->getPingTime() != 0)
{
- mPingLabel->setCaption(strprintf(_("Ping: %d ms"),
- player_node->getPingTime()));
+ mPingLabel->setCaption(strprintf(_("Ping: %s ms"),
+ toString((int)player_node->getPingTime()).c_str()));
}
else
{
- mPingLabel->setCaption(_("Ping: ? ms"));
+ mPingLabel->setCaption(strprintf(_("Ping: %s ms"), "?"));
}
mInPackets1Label->setCaption(strprintf(_("In: %d bytes/s"),