[wpdev-commits] xmlscripts/scripts/guilds stone.py,1.7,1.8
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-04 13:46:25
|
Update of /cvsroot/wpdev/xmlscripts/scripts/guilds In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24160/guilds Modified Files: stone.py Log Message: translation tags for guildstones Index: stone.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/guilds/stone.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** stone.py 22 Sep 2004 07:23:03 -0000 1.7 --- stone.py 4 Oct 2004 13:46:08 -0000 1.8 *************** *** 1,4 **** --- 1,5 ---- import wolfpack + from wolfpack import tr import wolfpack.gumps from wolfpack.consts import * *************** *** 19,23 **** if not guild: [...1454 lines suppressed...] ! tooltip.add(1060847, tr("%s\t\n") % guild.name) else: if len(guild.abbreviation) == 0: ! appendix = tr("%s") % guild.name else: ! appendix = tr("%s [%s]") % (guild.name, guild.abbreviation) ! appendix += "\n" + tr("Members: %u") % len(guild.members) ! appendix += "\n" + tr("Canidates: %u") % len(guild.canidates) if guild.leader: ! appendix += "\n" + tr("Leader: %s") % guild.leader.name else: ! appendix += "\n" + tr("Leader: None") ! tooltip.add(1060847, "%s\t\n" % appendix) else: ! tooltip.add(1060847, tr("Abandoned") + "\t ") # The guildstone is being deleted |