Changing timer strings from "system time" to "current local time"...
...and "turn time" to "time left for current turn".
This commit is contained in:
parent
fe4f8d5084
commit
028f02f88d
2 changed files with 3 additions and 3 deletions
|
@ -177,9 +177,9 @@ void play_controller::init(CVideo& video){
|
|||
const config &theme_cfg = get_theme(game_config_, level_["theme"]);
|
||||
gui_.reset(new game_display(units_, video, map_, tod_manager_, teams_, theme_cfg, game_config_, level_));
|
||||
if (gamestate_.mp_settings().mp_countdown)
|
||||
gui_->get_theme().modify_label("time-icon", _ ("turn time"));
|
||||
gui_->get_theme().modify_label("time-icon", _ ("time left for current turn"));
|
||||
else
|
||||
gui_->get_theme().modify_label("time-icon", _ ("system time"));
|
||||
gui_->get_theme().modify_label("time-icon", _ ("current local time"));
|
||||
loadscreen::global_loadscreen->set_progress(90, _("Initializing display"));
|
||||
mouse_handler_.set_gui(gui_.get());
|
||||
menu_handler_.set_gui(gui_.get());
|
||||
|
|
|
@ -131,7 +131,7 @@ void replay_controller::rebuild_replay_theme()
|
|||
{
|
||||
if (const config &replay_theme_cfg = res.child("replay"))
|
||||
gui_->get_theme().modify(replay_theme_cfg);
|
||||
gui_->get_theme().modify_label("time-icon", _ ("system time"));
|
||||
gui_->get_theme().modify_label("time-icon", _ ("current local time"));
|
||||
//Make sure we get notified if the theme is redrawn completely. That way we have
|
||||
//a chance to restore the replay controls of the theme as well.
|
||||
gui_->invalidate_theme();
|
||||
|
|
Loading…
Add table
Reference in a new issue