Hello,

22 червня 2007 о 12:02 +0100 Baruch Even написав(-ла):
> I'm trying to fix a bug in debian installer and traced it through 
> cdebconf to newt. This is about bug #429351.
> 
> The bug is that the multiple select checkboxes are shown on the left and 
> the text is left aligned. The checkboxes should be on the right and the 
> text should be right aligned, at least the Hebrew text should be right 
> aligned, I'm undecided about the english text if there are untranslated 
> strings.
> 
> I wanted to know if you have an idea where to look and how this can be 
> fixed? Just trying to speed up the process.

There are two possibilities:
1. use get_text_direction() function to get direction of text displayed
in those checkboxes and then align this text (see patch 020_bidi.patch).
It is also posible to move checkboxes to the right, but if checkbox
contain both entries in LTR and RTL language there will be a mess.
2. introduce some string like "LTR" that can be translated as "LTR" of "RTL"
for different language and based on translation draw checkboxes
differently. In this case all entries will have the same direction. IIRC
this was done in cdebconf.

Attachment: signature.asc
Description: Digital signature

Reply via email to