Philipp Hörist pushed to branch master at gajim / gajim
Commits: 084e5d6c by Philipp Hörist at 2018-10-07T16:19:57Z Better fix for aa50da05
- - - - -
1 changed file:
- gajim/common/i18n.py
Changes:
===================================== gajim/common/i18n.py ===================================== @@ -67,7 +67,7 @@ def iter_locale_dirs(): continue found_paths.append(locale_dir) if locale_dir.is_dir(): - yield locale_dir + yield str(locale_dir)
def initialize_direction_mark(): from gi.repository import Gtk @@ -150,7 +150,7 @@ if os.name == 'nt': # Search for the translation in all locale dirs for dir_ in iter_locale_dirs(): try: - _translation = gettext.translation(DOMAIN, str(dir_)) + _translation = gettext.translation(DOMAIN, dir_) _ = _translation.gettext except OSError: continue
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/084e5d6ca7648298a949b77c43aca5b7884...