Re: [Bashburn-info] Values misaligned in config menus
Brought to you by:
bashburn
From: Nick W. <ni...@uk...> - 2008-10-09 06:33:26
|
On Thu, 9 Oct 2008 07:05:09 +0100 Nick Warne <ni...@uk...> wrote: > On Wed, 8 Oct 2008 21:24:29 -0400 (EDT) > "Steven W. Orr" <st...@sy...> wrote: > > > On Wednesday, Oct 8th 2008 at 18:51 -0000, quoth Anders Lind?n: > > > > =>I've noticed that when I use the Swedish translation, the current > > settings =>in the config and advanced menu are not aligned evenly. > > In English and =>German it all looks right but not in Swedish. > > Anyone have a clue on why =>this is? > > > > I'm not sure why, but I see it too. I only see that the last four > > menu items are messaed up. The rest is ok. > > > > If I try this: > > > > #! /bin/bash > > bb_conf_menu_default=$'\205terstll' > > printf "%s\n" "$bb_conf_menu_default" > > > > It prints out something on two lines. > > > > So for starters, we should not be coding the line up with embedded > > control characters. We should be using the notation I describe > > above. > > > > As for why it displays this way... I suspect it has something to do > > wit hwhether the terminal emulator program we're using (each one of > > different) knows how to handle the characters we try to display. > > IOW, is the character that we want to see part of the character set > > that the program knows how to display? This is just a stab because > > the likelyhood is that Anders is correctly capable of displaying > > whatver that $'\205' really is. > > Now, I don't see this at all in X using mrxvt terminal. All are lined > up perfect. But if I go to virtual terminal Ctrl+Alt+F2 and try it, > they are mis-aligned by a space. OK, in xterm I see what you mean. In the Swedish lang configure.lang: bb_conf_menu_default='_____terst____ll' bb_conf_menu_revert='_____ngra ____ndringar' (if you can't see the above try: http://svn.inf.sgsp.edu.pl/filedetails.php?rep=0&path=/bashburn/trunk/lang/Swedish/configure.lang&rev=0&sc=0 ) appear as: ^[[1;31m|-^[[37;40m 20) __^__terst____ll^[[1;31m ^[[1;31m|-^[[37;40m 21) __^__ngra ____ndringar^[[1;31m i.e. having ctrl ^ chars in there instead of that funny inverse question mark. Nick -- Free Software Foundation Associate Member 5508 |