comparison urwid_satext/files_management.py @ 34:875ff127b2dd

- i18n management: gettext integration + french translation - added misc files to distribution
author Goffi <goffi@goffi.org>
date Tue, 28 Dec 2010 21:48:01 +0100
parents 818393067e54
children 7155b81ffdd5
comparison
equal deleted inserted replaced
33:8147568448cd 34:875ff127b2dd
23 import sat_widgets 23 import sat_widgets
24 import os, os.path 24 import os, os.path
25 from xml.dom import minidom 25 from xml.dom import minidom
26 from logging import debug, info, error 26 from logging import debug, info, error
27 from time import time 27 from time import time
28 _ = unicode #FIXME: temporary workaround, the time to manage well i18n 28
29 import gettext
30 gettext.install('urwid_satext', unicode=True)
29 31
30 class PathEdit(sat_widgets.AdvancedEdit): 32 class PathEdit(sat_widgets.AdvancedEdit):
31 """AdvancedEdit with manage file paths""" 33 """AdvancedEdit with manage file paths"""
32 34
33 def keypress(self, size, key): 35 def keypress(self, size, key):