Fix the picture for some special cases.

This commit is contained in:
Thibault Févry 2011-10-23 20:23:05 +00:00
parent 85c307f8a2
commit e718249a40

View file

@ -66,7 +66,7 @@ def parse_terrain(data):
| %s
| %s
""" % (
"http://svn.gna.org/svn/wesnoth/trunk/data/core/images/terrain/%s.png" % content['symbol_image'],
"http://svn.gna.org/svn/wesnoth/trunk/data/core/images/terrain/%s.png" % (content['editor_image'] if 'editor_image' in content else content['symbol_image']),
content['editor_name'][4:-1] if 'editor_name' in content else content['name'][4:-1],
content['string'].replace("# wmllint: ignore", ""),
content['aliasof'] if 'aliasof' in content else "",