Re: HTML tags in translatable strings - glade

Jonh Wendell <[email protected]>
Newsgroups gmane.comp.gnome.internationalization.general,gmane.comp.gnome.desktop,gmane.comp.gnome.glade.devel
Message-ID <1234180305.5473.1.camel@wendell-laptop>
Em Sáb, 2009-02-07 às 19:08 +0100, Christian Rose escreveu:
> On 1/12/08, Tristan Van Berkom <[email protected]> wrote:
> > On Jan 11, 2008 9:47 PM, Jonh Wendell <[email protected]> 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

_______________________________________________
gnome-i18n mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-i18n
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.