Author: cazfi
Date: Thu Feb 11 20:15:00 2016
New Revision: 31881

URL: http://svn.gna.org/viewcvs/freeciv?rev=31881&view=rev
Log:
Give parameters mathing the format when sending event about tech gained by a 
team member.

Patch by Konstantin Vedeneev <konved>

See bug #24391

Modified:
    trunk/server/scripting/api_server_edit.c

Modified: trunk/server/scripting/api_server_edit.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/scripting/api_server_edit.c?rev=31881&r1=31880&r2=31881&view=diff
==============================================================================
--- trunk/server/scripting/api_server_edit.c    (original)
+++ trunk/server/scripting/api_server_edit.c    Thu Feb 11 20:15:00 2016
@@ -328,7 +328,9 @@
       notify_player(pplayer, NULL, E_TECH_GAIN, ftc_server,
                     Q_("?fromscritp:You acquire %s."), adv_name);
       notify_research(presearch, pplayer, E_TECH_GAIN, ftc_server,
-                      Q_("?fromscript:%s acquires %s for you."), adv_name);
+                      Q_("?fromscript:%s acquire %s and share this advance "
+                         "with you."),
+                      nation_plural_for_player(pplayer), adv_name);
       notify_research_embassies(presearch, NULL, E_TECH_EMBASSY, ftc_server,
                                 Q_("?fromscript:%s acquire %s."),
                                 research_name, adv_name);


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

Reply via email to