Clarify voting phase
This commit is contained in:
parent
4014e8f0e4
commit
2f00196420
@ -21,6 +21,7 @@
|
|||||||
#include "config/player_manager.hpp"
|
#include "config/player_manager.hpp"
|
||||||
#include "config/user_config.hpp"
|
#include "config/user_config.hpp"
|
||||||
#include "graphics/stk_tex_manager.hpp"
|
#include "graphics/stk_tex_manager.hpp"
|
||||||
|
#include "guiengine/message_queue.hpp"
|
||||||
#include "guiengine/scalable_font.hpp"
|
#include "guiengine/scalable_font.hpp"
|
||||||
#include "guiengine/widget.hpp"
|
#include "guiengine/widget.hpp"
|
||||||
#include "guiengine/widgets/check_box_widget.hpp"
|
#include "guiengine/widgets/check_box_widget.hpp"
|
||||||
@ -174,6 +175,11 @@ void TracksScreen::beforeAddingWidget()
|
|||||||
getWidget("all-track")->m_properties[GUIEngine::PROP_WIDTH] = "60%";
|
getWidget("all-track")->m_properties[GUIEngine::PROP_WIDTH] = "60%";
|
||||||
getWidget("vote")->setVisible(true);
|
getWidget("vote")->setVisible(true);
|
||||||
calculateLayout();
|
calculateLayout();
|
||||||
|
//I18N: In track screen for networking, clarify voting phase
|
||||||
|
core::stringw msg = _("Poll will end early, after votes of all entries"
|
||||||
|
" from all players have more than 50% share, when half of the"
|
||||||
|
" remaining time is passed.");
|
||||||
|
MessageQueue::add(MessageQueue::MT_GENERIC, msg);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user