From 9a32c075ebc37adeaddfc847e266225c3f6d3199 Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 8 Jun 2018 01:26:56 +0800 Subject: [PATCH] Use ngettext as translator suggests --- src/states_screens/networking_lobby.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/states_screens/networking_lobby.cpp b/src/states_screens/networking_lobby.cpp index 359c008f4..e2dc12bef 100644 --- a/src/states_screens/networking_lobby.cpp +++ b/src/states_screens/networking_lobby.cpp @@ -228,8 +228,8 @@ void NetworkingLobby::onUpdate(float delta) m_cur_starting_timer = 0.0f; //I18N: In the networking lobby, display the starting timeout //for owner-less server - core::stringw msg = _("Game will start after %d second(s).", - (int)m_cur_starting_timer); + core::stringw msg = _P("Game will start after %d second.", + "Game will start after %d seconds.", (int)m_cur_starting_timer); m_timeout_message->setText(msg, true); } }