[Sugar-devel] [PATCH sugar-toolkit-gtk3] Use class-based API for gettext translations

Manuel Kaufmann humitos at gmail.com
Tue Aug 14 18:19:22 EDT 2012


On Tue, Aug 14, 2012 at 6:55 PM, Daniel Drake <dsd at laptop.org> wrote:
> So _ will suddenly change from returning a string to a unicode for all
> activities?

Yes. Actually, this patch is only for the activities that are being
ported to Gtk3 (because it affects just to sugar-toolkit-gtk3) and
it's a good point to start handling strings as it should be (Unicode)
:)

> That is likely to break several things, for the same
> reasons that we recently saw in another thread: why doesn't pygi
> return unicode strings for GtkEntry.get_text() and so on?

Can you point me out to that thread? I didn't read it.

> The unicode mess is sorted in Python 3; it may be better to invest
> effort in moving that direction instead. (after a quick glance at the
> thread you linked to, I'm not sure what the actual problem is).

How can I help you to make it clearer?

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/


More information about the Sugar-devel mailing list