Cherry picked pull request #1917.

This commit is contained in:
hiker 2015-02-13 08:26:25 +11:00
parent f6542194d8
commit 11f233938d
2 changed files with 5 additions and 8 deletions

View File

@ -410,12 +410,8 @@ void WiimoteManager::WiimoteDialogListener::onConfirm()
int nb_wiimotes = wiimote_manager->getNumberOfWiimotes();
if(nb_wiimotes > 0)
{
core::stringw msg = StringUtils::insertValues(
_("Found %d wiimote(s)"),
core::stringw(nb_wiimotes));
new MessageDialog( msg );
new MessageDialog(_P("Found %d wiimote", "Found %d wiimotes",
nb_wiimotes));
}
else
{

View File

@ -441,8 +441,9 @@ namespace Online
core::stringw message("");
if (friend_request_count > 1)
{
message = _("You have %d new friend requests!",
friend_request_count);
message = _P("You have %d new friend request!",
"You have %d new friend requests!",
friend_request_count);
}
else
{