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:
Message sent via/by Gna!
Freeciv-dev mailing list