gettextify card, add note about it to alchemy*

This commit is contained in:
steffen123 2010-08-15 07:31:32 +02:00
parent 80d00dbde6
commit e60cd2a75f
4 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,8 @@
#along with this program. If not, see <http://www.gnu.org/licenses/>.
#In the "official" distribution you can find the license in agpl-3.0.txt.
#TODO: gettextify if file is used again
from decimal import Decimal
from sqlalchemy import types

View File

@ -19,6 +19,8 @@
This package contains all classes to be mapped and mappers themselves
"""
#TODO: gettextify if file is used again
import logging
import re
from decimal import Decimal

View File

@ -19,6 +19,8 @@
Contains all sqlalchemy tables
"""
#TODO: gettextify if file is used again
from sqlalchemy import Table, Float, Column, Integer, String, MetaData, \
ForeignKey, Boolean, SmallInteger, DateTime, Text, Index, CHAR, \
PickleType, Unicode

View File

@ -153,7 +153,7 @@ def encodeCard(cardString):
return encodeCardList[cardString]
if __name__ == '__main__':
print "fpdb card encoding(same as pokersource)"
print _("fpdb card encoding(same as pokersource)")
for i in xrange(1, 14):
print "card %2d = %s card %2d = %s card %2d = %s card %2d = %s" % \
(i, valueSuitFromCard(i), i+13, valueSuitFromCard(i+13), i+26, valueSuitFromCard(i+26), i+39, valueSuitFromCard(i+39))