diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-05 23:16:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-05 23:16:16 +0300 |
commit | a89170d63eabaec5f2b63ecb9df95c982ac044a1 (patch) | |
tree | 029a6280d9ebbe3c834a983af0d5926ac4dcc296 /src/gui/debugwindow.cpp | |
parent | d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54 (diff) | |
download | manaplus-a89170d63eabaec5f2b63ecb9df95c982ac044a1.tar.gz manaplus-a89170d63eabaec5f2b63ecb9df95c982ac044a1.tar.bz2 manaplus-a89170d63eabaec5f2b63ecb9df95c982ac044a1.tar.xz manaplus-a89170d63eabaec5f2b63ecb9df95c982ac044a1.zip |
Fix translation strings and rebuild translations.
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r-- | src/gui/debugwindow.cpp | 6 |
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"), |