diff --git a/data/gui/track_info.stkgui b/data/gui/track_info.stkgui
index 38e32fc0d..31296db79 100644
--- a/data/gui/track_info.stkgui
+++ b/data/gui/track_info.stkgui
@@ -43,6 +43,9 @@
+
+
+
diff --git a/src/states_screens/track_info_screen.cpp b/src/states_screens/track_info_screen.cpp
index f8164f648..109f53f5e 100644
--- a/src/states_screens/track_info_screen.cpp
+++ b/src/states_screens/track_info_screen.cpp
@@ -97,8 +97,9 @@ void TrackInfoScreen::setTrack(Track *track)
*/
void TrackInfoScreen::init()
{
- const bool has_laps = race_manager->modeHasLaps();
- const bool has_highscores = race_manager->modeHasHighscores();
+ const int max_arena_players = m_track->getMaxArenaPlayers();
+ const bool has_laps = race_manager->modeHasLaps();
+ const bool has_highscores = race_manager->modeHasHighscores();
getWidget("name")->setText(translations->fribidize(m_track->getName()), false);
@@ -107,6 +108,14 @@ void TrackInfoScreen::init()
getWidget("author")->setText( _("Track by %s", m_track->getDesigner()),
false );
+ LabelWidget* max_players = getWidget("max-arena-players");
+ max_players->setVisible(m_track->isArena());
+ if (m_track->isArena())
+ {
+ //I18N: the max players supported by an arena.
+ max_players->setText( _("Max players supported: %d", max_arena_players), false );
+ }
+
// ---- Track screenshot
GUIEngine::IconButtonWidget* screenshot = getWidget("screenshot");
@@ -143,7 +152,6 @@ void TrackInfoScreen::init()
// Number of AIs
// -------------
- const int max_arena_players = m_track->getMaxArenaPlayers();
const int local_players = race_manager->getNumLocalPlayers();
const bool has_AI =
(race_manager->getMinorMode() == RaceManager::MINOR_MODE_3_STRIKES ?