Re: HTML tags in translatable strings - glade



Em Sáb, 2009-02-07 às 19:08 +0100, Christian Rose escreveu:
> On 1/12/08, Tristan Van Berkom <tvb gnome org> wrote:
> > On Jan 11, 2008 9:47 PM, Jonh Wendell <jwendell gnome org> wrote:
> > > Hi, folks.
> > >
> > > I'd like some help/direction on how to fix bug 498402 [1].
> > > It's about strings like '<b>Enter a name for this connection</b>'.
> > >
> > > These strings come from glade, and are marked for translation. I know i
> > > should cut the html tags, but is there a way to do this without need of
> > > coding? Can glade/intltools strip those marks away automagically?
> >
> > There is an old debate I see you found here:
> >  http://bugzilla.gnome.org/show_bug.cgi?id=97061
> >
> > My personal preference here would be to support the
> > attributes property in glade, as proposed by Matthias.
> >
> > Then the preffered way of setting markup would simply
> > be through a separate property. (the bug also mentions
> > certain conflicts when setting "attributes" & "use_underline"
> > and other auxiliary properties, these conflicts IMO should
> > be dealt with in gtklabel.c).
> >
> > Cheers,
> >                   -Tristan
> 
> Tristan recently fixed this: http://bugzilla.gnome.org/show_bug.cgi?id=97061#c31
> Tristan: I owe you a big favorite drink of your choice...
> 
> I would like to start a GNOME Goal for this longer term:
> http://live.gnome.org/GnomeGoals/RemoveMarkupInMessages
> Please fill in with affected modules, comments, how to fix, etc and
> other details.
> 
> Might not be doable in the GNOME 2.26 time frame though, unless many
> modules can be resolved in time for the string freeze at February 16th
> (http://live.gnome.org/TwoPointTwentyfive)
> 
> 
> Christian

This seems to work only on gtkbuilder projects, not libglade.
So, a migration from libglade to gtkbuilder is needed at first place ;)

Cheers,
-- 
Jonh Wendell
http://www.bani.com.br



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]