https://bugs.gpodder.org/show_bug.cgi?id=650

Thomas Perl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Thomas Perl <[email protected]> 2009-11-08 13:42:49 GMT ---
The following section needs to be changed in __init__.py of the gpodder module:

# i18n setup (will result in "gettext" to be available)
# Use   _ = gpodder.gettext   in modules to enable string translations
textdomain = 'gpodder'
locale_dir = gettext.bindtextdomain(textdomain)
t = gettext.translation(textdomain, locale_dir, fallback=True)
gettext = t.ugettext
if win32:
    from gtk.glade import bindtextdomain
    bindtextdomain(textdomain, locale_dir)
    del bindtextdomain
del t


(the "if win32" part has been added, and is needed for GtkBuilder to use the
correct textdomain)

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to