Renamed 'back to track selectin' to 'back to challenge selection',

which (imho) describes a bit better where this goes to. Removed
"Setup New race" when selecting a challenge from the overworld, since
it is confusing to come from the overworld and end up on the game
mode selection screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-05-16 06:53:01 +00:00
parent 6d097b6ad5
commit f3e9520339

View File

@ -124,18 +124,19 @@ void RaceResultGUI::enableAllButtons()
{
// Normal race
// -----------
top->setText( _("Setup New Race") );
top->setVisible(true);
middle->setText( _("Restart") );
middle->setVisible(true);
if (race_manager->raceWasStartedFromOverworld())
{
bottom->setText( _("Back to track selection") );
top->setVisible(false);
bottom->setText( _("Back to challenge selection") );
}
else
{
top->setText( _("Setup New Race") );
top->setVisible(true);
bottom->setText( _("Back to the menu") );
}
bottom->setVisible(true);