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

As reported on freeciv-i18n.


-----------------------------------------------------------------------
かわいそうな兵士ね。どうしようかな。
diff --git a/server/unittools.c b/server/unittools.c
index 8576975..8b72d6a 100644
--- a/server/unittools.c
+++ b/server/unittools.c
@@ -295,8 +295,9 @@ void pay_for_units(struct player *pplayer, struct city *pcity)
       assert(pplayer->economic.gold + potential_gold >= 0);
 
       notify_player(pplayer, NULL, E_UNIT_LOST_MISC,
-		       _("Not enough gold. %s disbanded"),
-		       unit_name_translation(punit));
+                    _("Not enough gold to pay upkeep "
+                      "for %s. Unit disbanded."),
+                    unit_name_translation(punit));
       wipe_unit(punit);
     } else {
       /* Gold can get negative here as city improvements will be sold
commit 03fb5090ea513fe6676357fddb3f348a2a6236f8
Author: Madeline Book <madeline.b...@gmail.com>
Date:   Tue Jan 27 15:53:27 2009 -0500

    Fix missing period and phrasing of unit gold upkeep message.
    
    Reported by: Sini Ruohomaa <sini.ruoho...@cs.helsinki.fi>
---
 server/unittools.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/server/unittools.c b/server/unittools.c
index 455a9bb..9188e2d 100644
--- a/server/unittools.c
+++ b/server/unittools.c
@@ -294,8 +294,9 @@ void pay_for_units(struct player *pplayer, struct city *pcity)
       assert(pplayer->economic.gold + potential_gold >= 0);
       
       notify_player(pplayer, NULL, E_UNIT_LOST,
-		       _("Not enough gold. %s disbanded"),
-		       unit_name_translation(punit));
+                    _("Not enough gold to pay upkeep "
+                      "for %s. Unit disbanded."),
+                    unit_name_translation(punit));
       wipe_unit(punit);
     } else {
       /* Gold can get negative here as city improvements will be sold
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to