<URL: http://bugs.freeciv.org/Ticket/Display.html?id=19463 >

> [EMAIL PROTECTED] - Mar. Oct. 16 15:19:28 2007]:
> 
> if we do that we have to change the translations, sure we should add
> that extra option that says kill units in huts. But it's  a one line
> hack to just make the huts go                     _("An abandoned
> village is here.") instead.
> 
> 
> Index: server/unittools.c
> ===================================================================
> --- server/unittools.c  (revision 13776)
> +++ server/unittools.c  (working copy)
> @@ -2257,7 +2257,8 @@
>    bool ok = TRUE;
> 
>    if (city_exists_within_city_radius(punit->tile, TRUE)
> -      || unit_has_type_flag(punit, F_GAMELOSS)) {
> +      || unit_has_type_flag(punit, F_GAMELOSS)
> +      || game.info.barbarianrate < 1) {
>      notify_player(pplayer, punit->tile, E_HUT_BARB_CITY_NEAR,
>                      _("An abandoned village is here."));
>    } else {
> 
> 
> 

That's sure that we cannot change a translated string for 2.1. However,
it's the way for 2.2 and trunk. I am not sure we should change anything
for 2.1 (sadly).


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to