From a89170d63eabaec5f2b63ecb9df95c982ac044a1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 5 Jun 2011 23:16:16 +0300 Subject: Fix translation strings and rebuild translations. --- src/gui/debugwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/debugwindow.cpp') 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"), -- cgit v1.2.3-60-g2f50