Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/common/i18n.py
    ... ... @@ -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: