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

Sayamindu Dasgupta sayamindu
Mon Jun 23 15:42:29 EDT 2008


Ok - modified and pushed into d.l.o.
Thanks,
Sayamindu


On Tue, Jun 24, 2008 at 1:08 AM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> Yes, the rest of the patch looks good to me.
>
> Thanks,
>
> Tomeu
>
> On Mon, Jun 23, 2008 at 9:32 PM, Sayamindu Dasgupta <sayamindu at gmail.com> wrote:
>> 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]
>>
>



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



More information about the Sugar-devel mailing list