Author: cazfi
Date: Wed Nov 25 22:53:56 2015
New Revision: 30777

URL: http://svn.gna.org/viewcvs/freeciv?rev=30777&view=rev
Log:
Improve translatable tech acquirements strings.

See patch #6628

Modified:
    branches/S2_5/server/cityturn.c
    branches/S2_5/server/diplhand.c
    branches/S2_5/server/techtools.c

Modified: branches/S2_5/server/cityturn.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/cityturn.c?rev=30777&r1=30776&r2=30777&view=diff
==============================================================================
--- branches/S2_5/server/cityturn.c     (original)
+++ branches/S2_5/server/cityturn.c     Wed Nov 25 22:53:56 2015
@@ -1681,10 +1681,12 @@
         const char *adv_name = advance_name_for_player(pplayer, tech);
 
         notify_player(pplayer, NULL, E_TECH_GAIN, ftc_server,
-                      _("Acquired %s from %s."), adv_name, provider);
+                      /* TRANS: Tech from building (Darwin's Voyage) */
+                      _("?frombldng:Acquired %s from %s."), adv_name, 
provider);
 
         notify_embassies(pplayer, NULL, NULL, E_TECH_GAIN, ftc_server,
-                         _("The %s have acquired %s from %s."),
+                         /* TRANS: Tech from building (Darwin's Voyage) */
+                         _("?frombldng:The %s have acquired %s from %s."),
                          nation_plural_for_player(pplayer), adv_name,
                          provider);
       }

Modified: branches/S2_5/server/diplhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/diplhand.c?rev=30777&r1=30776&r2=30777&view=diff
==============================================================================
--- branches/S2_5/server/diplhand.c     (original)
+++ branches/S2_5/server/diplhand.c     Wed Nov 25 22:53:56 2015
@@ -451,7 +451,8 @@
 
         if (tech_transfer(pdest, pgiver, pclause->value)) {
           notify_embassies(pdest, pgiver, NULL, E_TECH_GAIN, ftc_server,
-                           _("The %s have acquired %s from the %s."),
+                           /* TRANS: Tech from another player */
+                           _("?fromplr:The %s have acquired %s from the %s."),
                            nation_plural_for_player(pdest),
                            advance_name_for_player(pdest, pclause->value),
                            nation_plural_for_player(pgiver));

Modified: branches/S2_5/server/techtools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/techtools.c?rev=30777&r1=30776&r2=30777&view=diff
==============================================================================
--- branches/S2_5/server/techtools.c    (original)
+++ branches/S2_5/server/techtools.c    Wed Nov 25 22:53:56 2015
@@ -188,7 +188,8 @@
                         advance_name_for_player(pplayer, i),
                         astr_str(&effects));
           notify_embassies(pplayer, NULL, NULL, E_TECH_GAIN, ftc_server,
-                           _("The %s have acquired %s from %s."),
+                           /* TRANS: Tech from source of an effect (Great 
Library) */
+                           _("?fromeffect:The %s have acquired %s from %s."),
                            nation_plural_for_player(pplayer),
                            advance_name_for_player(pplayer, i),
                            astr_str(&effects));
@@ -427,7 +428,7 @@
       if (additional_tech != A_UNSET) {
         notify_research(plr, E_TECH_GAIN, ftc_server,
                         /* TRANS: Got free tech. */
-                        _("Acquired %s"), padv_name);
+                        _("Acquired %s."), padv_name);
       }
     } else if (additional_tech != A_UNSET) {
       notify_research(plr, E_TECH_GAIN, ftc_server,


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

Reply via email to