mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 20:44:24 +00:00
Implement feature request in bug #11265.
This commit is contained in:
parent
acd3f95a70
commit
e6816f4c8d
@ -294,7 +294,10 @@ namespace events{
|
|||||||
//If the unit is of level > 1, or is close to advancing,
|
//If the unit is of level > 1, or is close to advancing,
|
||||||
//we warn the player about it
|
//we warn the player about it
|
||||||
std::stringstream message;
|
std::stringstream message;
|
||||||
if(u.level() > 1) {
|
if (u.upkeep() == 0) {
|
||||||
|
message << _("My lord, this unit is loyal and requires no upkeep! ") << (u.gender() == unit_race::MALE ? _("Do you really want to dismiss him?")
|
||||||
|
: _("Do you really want to dismiss her?"));
|
||||||
|
} else if(u.level() > 1) {
|
||||||
message << _("My lord, this unit is an experienced one, having advanced levels! ") << (u.gender() == unit_race::MALE ? _("Do you really want to dismiss him?")
|
message << _("My lord, this unit is an experienced one, having advanced levels! ") << (u.gender() == unit_race::MALE ? _("Do you really want to dismiss him?")
|
||||||
: _("Do you really want to dismiss her?"));
|
: _("Do you really want to dismiss her?"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user