From e60cd2a75facda71151a3b3d611fb7f3ae4e2e99 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sun, 15 Aug 2010 07:31:32 +0200 Subject: [PATCH] gettextify card, add note about it to alchemy* --- pyfpdb/AlchemyFacilities.py | 2 ++ pyfpdb/AlchemyMappings.py | 2 ++ pyfpdb/AlchemyTables.py | 2 ++ pyfpdb/Card.py | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pyfpdb/AlchemyFacilities.py b/pyfpdb/AlchemyFacilities.py index 157d68f2..fd2082d1 100644 --- a/pyfpdb/AlchemyFacilities.py +++ b/pyfpdb/AlchemyFacilities.py @@ -15,6 +15,8 @@ #along with this program. If not, see . #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 diff --git a/pyfpdb/AlchemyMappings.py b/pyfpdb/AlchemyMappings.py index 15cdf70d..5e93a259 100644 --- a/pyfpdb/AlchemyMappings.py +++ b/pyfpdb/AlchemyMappings.py @@ -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 diff --git a/pyfpdb/AlchemyTables.py b/pyfpdb/AlchemyTables.py index 84c4b9f0..c74665b1 100644 --- a/pyfpdb/AlchemyTables.py +++ b/pyfpdb/AlchemyTables.py @@ -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 diff --git a/pyfpdb/Card.py b/pyfpdb/Card.py index eae7447f..83cc8318 100755 --- a/pyfpdb/Card.py +++ b/pyfpdb/Card.py @@ -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))