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:
parent
749d63cfec
commit
6df90a2a75
@ -42,7 +42,7 @@ const irr::core::stringw Challenge::UnlockableFeature::getUnlockedMessage() cons
|
|||||||
// shouldn't happen but let's avoid crashes as much as possible...
|
// shouldn't happen but let's avoid crashes as much as possible...
|
||||||
if (track == NULL) return irr::core::stringw( L"????" );
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case UNLOCK_MODE:
|
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...
|
// shouldn't happen but let's avoid crashes as much as possible...
|
||||||
if (kp == NULL) return irr::core::stringw( L"????" );
|
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:
|
default:
|
||||||
assert(false);
|
assert(false);
|
||||||
|
@ -747,7 +747,7 @@ void World::removeKart(int kart_number, bool notifyOfElimination)
|
|||||||
}
|
}
|
||||||
else
|
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);
|
*i, 2.0f, 60);
|
||||||
}
|
}
|
||||||
} // for i in kart
|
} // for i in kart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user