Re: HTML tags in translatable strings - glade

2009-02-09 Thread Jonh Wendell
Em Sáb, 2009-02-07 às 19:08 +0100, Christian Rose escreveu:
 On 1/12/08, Tristan Van Berkom t...@gnome.org wrote:
  On Jan 11, 2008 9:47 PM, Jonh Wendell jwend...@gnome.org wrote:
   Hi, folks.
  
   I'd like some help/direction on how to fix bug 498402 [1].
   It's about strings like 'bEnter 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
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: HTML tags in translatable strings - glade

2009-02-09 Thread Alberto Ruiz
2009/2/9 Jonh Wendell jwend...@gnome.org:

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

Isn't such migration a GNOME Goal already? If not,  what are we waiting for :-)


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

 ___
 desktop-devel-list mailing list
 desktop-devel-l...@gnome.org
 http://mail.gnome.org/mailman/listinfo/desktop-devel-list



-- 
Un saludo,
Alberto Ruiz
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: HTML tags in translatable strings - glade

2009-02-07 Thread Christian Rose
On 1/12/08, Tristan Van Berkom t...@gnome.org wrote:
 On Jan 11, 2008 9:47 PM, Jonh Wendell jwend...@gnome.org wrote:
  Hi, folks.
 
  I'd like some help/direction on how to fix bug 498402 [1].
  It's about strings like 'bEnter 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
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: HTML tags in translatable strings - glade

2008-01-14 Thread Bastien Nocera

On Fri, 2008-01-11 at 20:47 -0300, Jonh Wendell wrote:
 Hi, folks.
 
 I'd like some help/direction on how to fix bug 498402 [1].
 It's about strings like 'bEnter 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?

Rhythmbox and Totem work around that by using boldify and italicise
functions on the labels that need it.

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


HTML tags in translatable strings - glade

2008-01-11 Thread Jonh Wendell
Hi, folks.

I'd like some help/direction on how to fix bug 498402 [1].
It's about strings like 'bEnter 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?

[1] - http://bugzilla.gnome.org/show_bug.cgi?id=498402

Thanks,
-- 
Jonh Wendell
www.bani.com.br


___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: HTML tags in translatable strings - glade

2008-01-11 Thread Gabor Kelemen
Hi

There is an old bug about this problem for glade:

http://bugzilla.gnome.org/show_bug.cgi?id=97061

Probably this should be solved first.

Regards
Gabor Kelemen


Jonh Wendell írta:
 Hi, folks.
 
 I'd like some help/direction on how to fix bug 498402 [1].
 It's about strings like 'bEnter 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?
 
 [1] - http://bugzilla.gnome.org/show_bug.cgi?id=498402
 
 Thanks,


___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: HTML tags in translatable strings - glade

2008-01-11 Thread Tristan Van Berkom
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 'bEnter 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

PS: Adding glade-devel to the CC list, hope thats ok.
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n