[wpdev-commits] xmlscripts/scripts/speech banker.py,1.12,1.13
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-04 13:47:22
|
Update of /cvsroot/wpdev/xmlscripts/scripts/speech In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24337/speech Modified Files: banker.py Log Message: banker translation updates Index: banker.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/speech/banker.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** banker.py 24 Aug 2004 20:13:22 -0000 1.12 --- banker.py 4 Oct 2004 13:47:13 -0000 1.13 *************** *** 8,11 **** --- 8,12 ---- #===============================================================# + from wolfpack import tr from wolfpack.consts import * import wolfpack *************** *** 76,82 **** amount = bank.countresource(0xeed, 0x0) if not amount: ! listener.say("Alas you don't have any money in your bank.") else: ! listener.say("You have %i gold in your bank." % amount) return 1 --- 77,83 ---- amount = bank.countresource(0xeed, 0x0) if not amount: ! listener.say(tr("Alas you don't have any money in your bank.")) else: ! listener.say(tr("You have %i gold in your bank.") % amount) return 1 *************** *** 93,97 **** bank = speaker.getbankbox() listener.turnto(speaker) ! listener.say("Here is your bank box, %s." % speaker.name) speaker.socket.sendcontainer(bank) return 1 --- 94,98 ---- bank = speaker.getbankbox() listener.turnto(speaker) ! listener.say(tr("Here is your bank box, %s.") % speaker.name) speaker.socket.sendcontainer(bank) return 1 |