Actually fix #1754

Thanks to Hiker for the help!
This commit is contained in:
Timothy Hamlett 2014-12-01 21:48:12 -06:00
parent 263d072c98
commit 42d6f0480c
6 changed files with 9 additions and 9 deletions

View File

@ -212,7 +212,7 @@ PlayerKartWidget::PlayerKartWidget(KartSelectionScreen* parent,
m_model_view->setRotateContinuously( 35.0f );
// ---- Kart name label
m_kart_name = new LabelWidget(true, true);
m_kart_name = new LabelWidget(false, true);
m_kart_name->setText(props->getName(), false);
m_kart_name->m_properties[PROP_TEXT_ALIGN] = "center";
m_kart_name->m_properties[PROP_ID] =

View File

@ -234,7 +234,7 @@ void ArenasScreen::buildTrackList()
if (PlayerManager::getCurrentPlayer()->isLocked(curr->getIdent()))
{
w->addItem( _("Solve Challenges to unlock"),
w->addItem( _("Locked : solve active challenges to gain access to more!"),
"locked", curr->getScreenshotFile(), LOCKED_BADGE );
}
else
@ -264,7 +264,7 @@ void ArenasScreen::buildTrackList()
if (PlayerManager::getCurrentPlayer()->isLocked(curr->getIdent()))
{
w->addItem( _("Solve challenges to unlock"),
w->addItem( _("Locked : solve active challenges to gain access to more!"),
"locked", curr->getScreenshotFile(), LOCKED_BADGE );
}
else

View File

@ -222,7 +222,7 @@ void EasterEggScreen::buildTrackList()
if (PlayerManager::getCurrentPlayer()->isLocked(curr->getIdent()))
{
tracks_widget->addItem( _("Solve challenges to unlock"),
tracks_widget->addItem( _("Locked : solve active challenges to gain access to more!"),
"locked", curr->getScreenshotFile(), LOCKED_BADGE,
IconButtonWidget::ICON_PATH_TYPE_ABSOLUTE);
}
@ -253,7 +253,7 @@ void EasterEggScreen::buildTrackList()
if (PlayerManager::getCurrentPlayer()->isLocked(curr->getIdent()))
{
tracks_widget->addItem( _("Solve challenges to unlock"),
tracks_widget->addItem( _("Locked : solve active challenges to gain access to more!"),
"locked", curr->getScreenshotFile(), LOCKED_BADGE,
IconButtonWidget::ICON_PATH_TYPE_ABSOLUTE);
}

View File

@ -854,7 +854,7 @@ void KartSelectionScreen::updateKartWidgetModel(uint8_t widget_id,
else
{
m_kart_widgets[widget_id].m_kart_name
->setText(_("Solve challenges to unlock"), false );
->setText(_("Locked : solve active challenges to gain access to more!"), false );
}
}
else
@ -1445,7 +1445,7 @@ void KartSelectionScreen::setKartsFromCurrentGroup()
const KartProperties* prop = karts.get(i);
if (PlayerManager::getCurrentPlayer()->isLocked(prop->getIdent()))
{
w->addItem(_("Solve challenges to unlock"),
w->addItem(_("Locked : solve active challenges to gain access to more!"),
ID_LOCKED + prop->getIdent(),
prop->getAbsoluteIconFile(), LOCKED_BADGE,
IconButtonWidget::ICON_PATH_TYPE_ABSOLUTE);

View File

@ -211,7 +211,7 @@ void RaceSetupScreen::init()
if (PlayerManager::getCurrentPlayer()->isLocked(IDENT_FTL))
{
w2->addItem( _("Solve challenges to unlock"),
w2->addItem( _("Locked : solve active challenges to gain access to more!"),
"locked", RaceManager::getIconOf(RaceManager::MINOR_MODE_FOLLOW_LEADER), true);
}
else

View File

@ -279,7 +279,7 @@ void TracksScreen::buildTrackList()
if (PlayerManager::getCurrentPlayer()->isLocked(curr->getIdent()))
{
tracks_widget->addItem(
_("Solve challenges to unlock"),
_("Locked : solve active challenges to gain access to more!"),
"locked", curr->getScreenshotFile(), LOCKED_BADGE,
IconButtonWidget::ICON_PATH_TYPE_ABSOLUTE);
}