Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
-
90a44f61
by André Apitzsch at 2018-10-11T22:02:37Z
1 changed file:
Changes:
| ... | ... | @@ -152,6 +152,8 @@ for dir_ in iter_locale_dirs(): |
| 152 | 152 |
try:
|
| 153 | 153 |
_translation = gettext.translation(DOMAIN, dir_)
|
| 154 | 154 |
_ = _translation.gettext
|
| 155 |
+ if hasattr(locale, 'bindtextdomain'):
|
|
| 156 |
+ locale.bindtextdomain(DOMAIN, dir_) # type: ignore
|
|
| 155 | 157 |
except OSError:
|
| 156 | 158 |
continue
|
| 157 | 159 |
else:
|