Follow-up Comment #4, bug #13891 (project freeciv):

text_tag_replace_text() actually looks for unit or city id and then
determines city/unit name based on that like you said.  But in the case the
unit/city is not known by a client, it's replaced by the name granted with
the link (ptag->link.name).

About the unit name translation there is some problem.  When the unit is
known by the client, it replaces the text with the translation.  Else, I
don't think we can set the name translation set by users, because the users
can have different language support.  In a such case, maybe it would try to
translate the link name to the local language in text_tag_replace_text() ?


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13891>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to