Re: Please avoid unnecessary markup in messages


Christian Rose <menthos menthos com> writes:

> > I see these advantages of using a single label instead of a vbox with
> > two labels:
> > 
> >  (1) it's much easier to implement
> On the other hand, it's also much more difficult to translate and
> maintain the translation of. Also, the implementation only needs to be
> done once, while it will need to be translated up to 40 times, one for
> each language.

there are 40 different people doing this so the work is distributed
quite nicely and it's only a little annoying anyway. I'd say that
putting the burden on the developers is not an issue.

> >  (2) the distance between the labels can be specified in line heights
> >      and thus adapts to the font size
> Can't this be done with seperate entities too?

no, not easily. Determing the line spacing from the used font is not
actually trivial and would involve poking around with Pango.

Salut, Sven

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