Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kobedegeest
Copy link
Contributor

Based on comment in #1526

@kobedegeest kobedegeest requested a review from a team as a code owner August 27, 2024 12:43
@lordfolken
Copy link
Member

Cool Thx. I will review it asap.

@lordfolken
Copy link
Member

image
I like it.

Copy link
Member

@lordfolken lordfolken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So its very cleanly done. All good.
3 Points we should look at:

  • I think we should change current default overlayin the infoboxen. 90% don't change the defaults, we shoudl set it to avoid the infoboxen for example bottom left ib for thermal assistant and bottom right for the traffic gauge.
  • In the current configuration dialogs the flarm configuration is under Look -> ScreenLayout, we should move it to the Gauges->Flarm, other page.
  • Please add a NEWS entry so we can merge this.

@lordfolken lordfolken added this to the v7.44 milestone Sep 1, 2024
@kobedegeest kobedegeest force-pushed the Better-thermal-and-flarm-gauge branch from 957129e to 9354259 Compare September 2, 2024 12:23
@kobedegeest
Copy link
Contributor Author

3 Points we should look at:

All three addressed now.

Comment on lines 50 to 61
{ TrafficSettings::GaugeLocation::TOP_LEFT_AVOID_IB,
N_("Top Left (Avoid Infoboxes)") },
{ TrafficSettings::GaugeLocation::TOP_RIGHT_AVOID_IB,
N_("Top Right (Avoid Infoboxes)") },
{ TrafficSettings::GaugeLocation::BOTTOM_LEFT_AVOID_IB,
N_("Bottom Left (Avoid Infoboxes)") },
{ TrafficSettings::GaugeLocation::BOTTOM_RIGHT_AVOID_IB,
N_("Bottom Right (Avoid Infoboxes)") },
{ TrafficSettings::GaugeLocation::CENTER_TOP_AVOID_IB,
N_("Center Top (Avoid Infoboxes)") },
{ TrafficSettings::GaugeLocation::CENTER_BOTTOM_AVOID_IB,
N_("Center Bottom (Avoid Infoboxes)") },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you align the Text strings with the one for the Flarm gauge (case etc.) This would mean less translation strings.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the strings for Flarm gauge, you mean have them match the thermal assistant ones?
I just copied these over so they should already be translated no? (not sure how it works)

Since flarm has more options is suppose changing the ones of the thermal assistent is best? Otherwise we definitely add strings to translate. You want this to be separate commit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction these are indeed new strings. What format should i go with
"Top Left" or "Top left"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Top left". Pretty much all the other strings are written in that fashion.

@kobedegeest kobedegeest force-pushed the Better-thermal-and-flarm-gauge branch from 9354259 to 99bfaa5 Compare September 2, 2024 13:45
@lordfolken lordfolken merged commit 662faa6 into XCSoar:master Sep 2, 2024
@kobedegeest kobedegeest deleted the Better-thermal-and-flarm-gauge branch September 3, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants