rgleason / statusbar_pi

statusbar to display various info to users
GNU General Public License v3.0
1 stars 5 forks source link

Language and Background Problems #6

Closed Water-Line closed 1 year ago

Water-Line commented 3 years ago

Hi

I hope everyone is well and in good health.

Well, I tested the new version, in English and Portuguese language, as well as Brazilian Portuguese, and only in English the string works perfectly, because in the other languages, only the first line appears, that is, multiple lines only appear in English, But in both cases the background of the strings extends to the screen limit and therefore is not limited to the text.

The string that I'm using is:

%d %t %z \n Ship %2A° %02B' %02.3C" %D %03E° %02F' %02.3G" %H HDG %03.02a° HDT %03.02K HDM %03.02L COG %03.02J SOG %2.02I

In the image below, the OCPN is configured using the English language, and is working, but in the way described above.

Thank you

String with 2 lines, in English language, as an example.

Statusbar Background

Bellow same String with 3 lines, in English language, as an example:

%d %t %z \n Ship %2A° %02B' %02.3C" %D %03E° %02F' %02.3G" %H \n HDG %03.02a° HDT %03.02K HDM %03.02L COG %03.02J SOG %2.02I

Statusbar Background With 3 Lines

rgleason commented 3 years ago

This is related to locale issues, I believe, some of which are not yet addressed.

rgleason commented 2 years ago

I think it is fixed now.

Water-Line commented 2 years ago

Thanks Rick and all the best Fair winds, smooth seas and blue horizons...

rgleason commented 2 years ago

Carl-Port There is a new version out now, that you can try. Can we please close this? The OP original poster normally closes these.

rgleason commented 1 year ago

Please close this Carl, if it is fixed.