Author: bkuhn
Date: Mon Aug 25 04:43:46 2008
New Revision: 4353
URL: http://svn.gna.org/viewcvs/pokersource?rev=4353&view=rev
Log:
[EMAIL PROTECTED]: bkuhn | 2008-08-24 22:43:01 -0400
PokerService now keeps various gettext translation functions specified by
configuration file:
* Added creation of instance variable dictionary
PokerService.gettextFuncs, which is keyed by locale strings and has
the corresponding translation function from gettext as values.
* Populated PokerService.gettextFuncs in PokerService.startService(),
using what is in the <language> entries in the configuration file.
# Added <language> examples to the configuration file template.
* Wrote test to make sure gettextFuncs was properly populated.
# Added language-pack-fr as a dependency for building on Ubuntu
variants, because fr_FR.UTF-8 *must* be a valid locale for the new
tests to work properly.
Modified:
trunk/ (props changed)
trunk/poker-network/ChangeLog
trunk/poker-network/conf/poker.server.xml.in
trunk/poker-network/debian/control.dapper
trunk/poker-network/debian/control.edgy
trunk/poker-network/debian/control.feisty
trunk/poker-network/debian/control.gutsy
trunk/poker-network/debian/control.hardy
trunk/poker-network/pokernetwork/pokerservice.py
trunk/poker-network/tests/test-pokerservice.py.in
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits