[sugar] [PATCH] Complete i18n support for sugar-base

Sayamindu Dasgupta sayamindu
Mon Jun 23 15:32:20 EDT 2008


On Tue, Jun 24, 2008 at 12:45 AM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> Hmm, in sugar-base, we may need to do the same as we do in sugar-toolkit.
>
> If for example the shell imports mime, gettext will think that its
> domain is 'sugar', not 'sugar-base'.
>
> I think that you need to add this to the top of mime.py:
>
> _ = lambda msg: gettext.dgettext('sugar-base', msg)
>


Yeah - that seems like a good idea. IIRC, I think we got bit by this
towards the beginning of the year. Apart from that - does the patch
look OK ?
Thanks,
Sayamindu


-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]



More information about the Sugar-devel mailing list