Merge branch 'i18n'

This commit is contained in:
Manuel Cortéz 2017-02-11 02:17:43 -06:00
commit 8deed9d8ab
2 changed files with 12 additions and 1 deletions

11
src/fenrir/core/i18n.py Normal file
View File

@ -0,0 +1,11 @@
#!/bin/python
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
import gettext
import locale
# the only function we really need to call here is gettext.install. Python3 has simplified this.
gettext.install("fenrir")

View File

@ -9,7 +9,7 @@ import __main__
if not os.path.dirname(os.path.realpath(__main__.__file__)) in sys.path:
sys.path.append(os.path.dirname(os.path.realpath(__main__.__file__)))
from core import i18n
from core import settingsManager
from core import debug