Re: [Bashburn-info] Values misaligned in config menus
Brought to you by:
bashburn
From: Nick W. <ni...@uk...> - 2008-10-10 10:43:15
|
On Fri, 10 Oct 2008 11:24:58 +0100 Nick Warne <ni...@uk...> wrote: > On Fri, 10 Oct 2008 06:51:43 +0200 > Anders Lindén <and...@gm...> wrote: > > > On Thursday 09 October 2008 03:24:29 Steven W. Orr 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. > > > > I ran that little test script and the output I get is different. In > > konsole i get "�terstll" on one line. That is, the "angstrom sign" > > is replaced with junk. > > In xterm I get two lines. The first being blank and the second > > saying "terstll" > > > > This is strange. In lang/Swedish/configure.lang I see: > > bb_conf_menu_revert='Ã^Ångra ändringar' > > but if I remove the funny chars to: > > Ångra Ãndringar > > which, according to online tramslator means to 'undo changes', then > the menu works OK. > > BTW, to change the line I have to cut 'n' paste the 'Å' otherwise the > shell put the funny chars back. > > Also I see the funny '¤' always after the 'Ã', which is wrong, I > guess. OK, I uploaded the changes - I wonder if it it svn that mangles the stuff? Nick -- Free Software Foundation Associate Member 5508 |