Cherry picked pull request #1917.
This commit is contained in:
parent
f6542194d8
commit
11f233938d
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user