[Sugar-devel] [PATCH sugar-toolkit] Move the translation initialisation to an earlier stage, SL #3654
Manuel Quiñones
manuq at laptop.org
Tue Jun 5 07:35:09 EDT 2012
2012/6/5 Simon Schampijer <simon at schampijer.de>:
>
>
> Am 05.06.2012 um 07:03 schrieb Manuel Quiñones <manuq at laptop.org>:
>
>> 2012/6/4 Daniel Drake <dsd at laptop.org>:
>>> On Mon, Jun 4, 2012 at 10:52 AM, Simon Schampijer <simon at schampijer.de> wrote:
>>>> To not depend on gconf at this stage the shell does set
>>>> an env variable when reading the GConf key. This is handled
>>>> in sugar-activity deployed by the sugar-toolkit-gtk3.
>>>
>>> Thanks Simon, these 3 patches look good to me. Unobtrusive way to
>>> preserve the langpackdir functionality, and solves the issue in
>>> question.
>>
>> Tested the patches in the XO with olpc build os12, compile details
>> below. It fixes the issue for me in Physics, but not in Clock (I
>> still see all tooltips in English, through I have the XO in Spanish).
>>
>> Compile details:
>>
>> I copied patched sugar, sugar-toolkit and sugar-toolkit-gtk. Then I
>> satisfied dependencies:
>>
>> for sugar: yum install git make gcc intltool pygtk2-devel GConf2-devel
>>
>> for sugar-toolkit: yum install libICE-devel libSM-devel alsa-lib-devel
>>
>> for sugar-toolkit-gtk3: yum install gobject-introspection-devel
>> librsgv2-devel gtk3-devel
>>
>> Then I run for each, ./autogen.sh; make; make install
>>
>> --
>> .. manuq ..
>
> Thanks for testing Manuel.
>
> In the case of Clock actually the po file is borked. Have a look at es.po for example, the strings like 'Nice Clock' are commented at the end of the file, uncommenting them and rerunning 'setup.py build' does bring them back for me. Except for the string 'Digital Clock' which seem to have not the right context.
Yes, I see now the es.po file is wroing. Tried uncommenting and
building and it works.
--
.. manuq ..
More information about the Sugar-devel
mailing list