comparison urwid_satext/files_management.py @ 139:1970df98643d

i18n: moved gettext install
author Goffi <goffi@goffi.org>
date Wed, 24 Jul 2019 20:20:33 +0200
parents f2589475269f
children 144bdf877d21
comparison
equal deleted inserted replaced
138:f1624c1fb0e6 139:1970df98643d
22 import os, os.path 22 import os, os.path
23 from xml.dom import minidom 23 from xml.dom import minidom
24 import logging as log 24 import logging as log
25 from time import time 25 from time import time
26 from .keys import action_key_map as a_key 26 from .keys import action_key_map as a_key
27
28 import gettext
29 gettext.install('urwid_satext', unicode=True)
30 27
31 class PathEdit(sat_widgets.AdvancedEdit): 28 class PathEdit(sat_widgets.AdvancedEdit):
32 """AdvancedEdit with manage file paths""" 29 """AdvancedEdit with manage file paths"""
33 30
34 def keypress(self, size, key): 31 def keypress(self, size, key):