changeset 139:1970df98643d

i18n: moved gettext install
author Goffi <goffi@goffi.org>
date Wed, 24 Jul 2019 20:20:33 +0200
parents f1624c1fb0e6
children 810f92c7de88
files urwid_satext/__init__.py urwid_satext/files_management.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/urwid_satext/__init__.py	Wed Jul 24 20:20:05 2019 +0200
+++ b/urwid_satext/__init__.py	Wed Jul 24 20:20:33 2019 +0200
@@ -18,3 +18,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 __version__ = '0.7.0a3'
+import gettext
+gettext.install('urwid_satext', unicode=True)
+
--- a/urwid_satext/files_management.py	Wed Jul 24 20:20:05 2019 +0200
+++ b/urwid_satext/files_management.py	Wed Jul 24 20:20:33 2019 +0200
@@ -25,9 +25,6 @@
 from time import time
 from .keys import action_key_map as a_key
 
-import gettext
-gettext.install('urwid_satext', unicode=True)
-
 class PathEdit(sat_widgets.AdvancedEdit):
     """AdvancedEdit with manage file paths"""