The commented out gettext in fpdb.pyw and HHC should work, but doesnt
I tried having those lines in a plain script but same problem - translation file not found
This commit is contained in:
parent
d7f73bf691
commit
4bcc622efa
|
@ -41,9 +41,9 @@ import Hand
|
|||
from Exceptions import FpdbParseError
|
||||
import Configuration
|
||||
|
||||
import gettext
|
||||
gettext.install('fpdb')
|
||||
|
||||
#import gettext
|
||||
#trans=gettext.translation("fpdb", "/home/steffen/poker/fpdb-dev/pyfpdb/locale", languages=["de"])
|
||||
#trans.install()
|
||||
|
||||
import pygtk
|
||||
import gtk
|
||||
|
|
|
@ -20,6 +20,10 @@ import sys
|
|||
import re
|
||||
import Queue
|
||||
|
||||
#import gettext
|
||||
#trans=gettext.translation("fpdb", "locale", ["en_GB"])
|
||||
#trans.install()
|
||||
|
||||
# if path is set to use an old version of python look for a new one:
|
||||
# (does this work in linux?)
|
||||
if os.name == 'nt' and sys.version[0:3] not in ('2.5', '2.6') and '-r' not in sys.argv:
|
||||
|
|
Loading…
Reference in New Issue
Block a user