> _translation = gettext.translation(APP, DIR)
> gtk.glade.bindtextdomain (APP, DIR)
> gtk.glade.textdomain (APP)
> 
> def _(s):
>          if s == '':
>                  return s
>          assert s
>          return _translation.gettext(s)

This is busted. should only be:
_ = gettext.translation(APP, DIR)

unless I'm missing something.

APP / DIR might be wrong, you'd have to check what files are accessed by
python/
-- 
Johan Dahlin <[EMAIL PROTECTED]>

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to