[sugar] [PATCH] Add speaker device and icon by default

Wade Brainerd wadetb
Sat Apr 26 06:07:45 EDT 2008


On Fri, Apr 25, 2008 at 1:56 PM, Eben Eliason <eben.eliason at gmail.com> wrote:
> On Fri, Apr 25, 2008 at 1:46 PM, Martin Dengler
>  >  self._mute_item.get_child().set_text(_(mute_item_text))
>
>  Oh, I missed that.  I would wrap the localization around the string
>  literal, so the connection is clear. (Yes, you have to use it twice
>  instead of once....but it was imported as _ for a reason. ;) )

Won't gettext fail to pick these up when generating the .pot file, the
way it's written now?

I was under the impression it just looks blindly through the source
for _(<quoted string>) when building the translation files...

Wade



More information about the Sugar-devel mailing list