Fixed strings

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-02-20 23:14:26 +00:00
parent 749d63cfec
commit 6df90a2a75
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ const irr::core::stringw Challenge::UnlockableFeature::getUnlockedMessage() cons
// shouldn't happen but let's avoid crashes as much as possible...
if (track == NULL) return irr::core::stringw( L"????" );
return _("New track '%s' now available", track->getName());
return _("New track '%s' now available", core::stringw(track->getName()));
break;
}
case UNLOCK_MODE:
@ -71,7 +71,7 @@ const irr::core::stringw Challenge::UnlockableFeature::getUnlockedMessage() cons
// shouldn't happen but let's avoid crashes as much as possible...
if (kp == NULL) return irr::core::stringw( L"????" );
return _("New kart '%s' now available", kp->getName());
return _("New kart '%s' now available", core::stringw(kp->getName()));
}
default:
assert(false);

View File

@ -747,7 +747,7 @@ void World::removeKart(int kart_number, bool notifyOfElimination)
}
else
{
m_race_gui->addMessage(_("'%s' has been eliminated.", kart->getName()),
m_race_gui->addMessage(_("'%s' has been eliminated.", core::stringw(kart->getName())),
*i, 2.0f, 60);
}
} // for i in kart