Shorten locked message for karts in multiplayer mode, the long stirng doesn't fit

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2011-04-22 23:54:06 +00:00
parent 26d7b1b6f2
commit 9dcb8b7753

View File

@@ -795,8 +795,15 @@ public:
Vec3(0,0,0), Vec3(15.0f, 15.0f, 15.0f) );
w3->update(0);
m_parent->m_kart_widgets[playerID].m_kart_name->setText(
_("Locked : solve active challenges to gain access to more!"), false );
if (m_parent->m_multiplayer)
{
m_parent->m_kart_widgets[playerID].m_kart_name->setText(_("Locked"), false );
}
else
{
m_parent->m_kart_widgets[playerID].m_kart_name->setText(
_("Locked : solve active challenges to gain access to more!"), false );
}
}
else
{