Ticket #51512: patch-bin-meld.diff

File patch-bin-meld.diff, 630 bytes (added by josephsacco, 8 years ago)

patch-bin-meld.diff

  • bin/

    old new  
    115115        libintl.bind_textdomain_codeset(locale_domain, 'UTF-8')
    116116        del libintl
    117117    else:
    118         locale.bindtextdomain(locale_domain, locale_dir)
    119         locale.bind_textdomain_codeset(locale_domain, 'UTF-8')
     118        gettext.bindtextdomain(locale_domain, locale_dir)
     119        gettext.bind_textdomain_codeset(locale_domain, 'UTF-8')
    120120except AttributeError as e:
    121121    # Python builds linked without libintl (i.e., OSX) don't have
    122122    # bindtextdomain(), which causes Gtk.Builder translations to fail.