Make the remaining string of #3962 translatable too

This commit is contained in:
Severin Glöckner 2019-03-11 13:25:26 +01:00
parent 2763596bdb
commit c95974ab55

View file

@ -13,6 +13,7 @@
#pragma once
#include "gettext.hpp"
#include "config.hpp"
#include "events.hpp"
#include "generic_event.hpp"
@ -35,7 +36,10 @@ struct user_choice
///whether the choice is visible for the user like an advancement choice
///a non-visible choice is for example get_global_variable
virtual bool is_visible() const { return true; }
virtual std::string description() const { return "input"; }
// TRANSLATORS: In networked games, this text is shown for other clients,
// while they wait for an action from another player.
// This text will be embedded into a sentence.
virtual std::string description() const { return _("waiting for^input"); }
};
/**