Author: elias
Date: Tue Apr 29 18:49:38 2008
New Revision: 26231
URL: http://svn.gna.org/viewcvs/wesnoth?rev=26231&view=rev
Log:
wmlunits: Added id also to unit info page.
Modified:
trunk/data/tools/wmlunits
Modified: trunk/data/tools/wmlunits
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmlunits?rev=26231&r1=26230&r2=26231&view=diff
==============================================================================
--- trunk/data/tools/wmlunits (original)
+++ trunk/data/tools/wmlunits Tue Apr 29 18:49:38 2008
@@ -375,7 +375,7 @@
crown = u" â"
link = "../%s/%s.html" % (self.isocode, uid)
- write("<div class=\"i\"><a href=\"%s\"
title=\"%s\">%s</a></div>" % (
+ write("<div class=\"i\"><a href=\"%s\"
title=\"id=%s\">%s</a></div>" % (
link, uid, u"â¹"))
write("<div class=\"l\">L%s%s</div>" % (level, crown))
write("<a href=\"%s\">%s</a><br/>" % (link, name))
@@ -548,7 +548,8 @@
("movement", _("Movement") + ": "),
("experience", _("XP: ")),
("level", _("Level") + ": "),
- ("alignment", _("Alignment: "))]:
+ ("alignment", _("Alignment: ")),
+ ("id", "ID")]:
write("<tr>\n")
write("<th>%s</th>" % text)
x = self.wesnoth.get_unit_value(unit, val)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits