Re: Code freeze break for Hamster
- From: Toms <toms baugis gmail com>
- To: Andre Klapper <ak-47 gmx net>
- Cc: release-team gnome org
- Subject: Re: Code freeze break for Hamster
- Date: Thu, 12 Mar 2009 19:37:43 +0200
On Thu, Mar 12, 2009 at 7:26 PM, Andre Klapper <ak-47 gmx net> wrote:
..
>> - work_cat_id = self.__add_category(_(work_category["name"]))
>> + work_cat_id = self.__add_category(unicode(work_category["name"]))
>> - nonwork_cat_id = self.__add_category(_(nonwork_category["name"]))
>> + nonwork_cat_id = self.__add_category(unicode(nonwork_category["name"]))
>
> The last two codelines remove the translation marker for "name" so it
> will be untranslatable. Was this done by purpose?
It was done because otherwise fixture strings were translated twice -
first in the definition and then in the loop.
Patrys ran away but he mentioned that i'm doing it wrong - instead of
converting to unicode, i should be working with ugettext instead of
gettext. So i'm looking into it right now.
I'm afraid that i've left impression that i'm fixing this hastily, but
actually it's just my underestimation of the gettext mess.
Toms
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]