-
Notifications
You must be signed in to change notification settings - Fork 370
OSD elements i18n #2524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
funkill
wants to merge
3
commits into
iNavFlight:maintenance-9.x
Choose a base branch
from
funkill:osd-elements-translation
base: maintenance-9.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
OSD elements i18n #2524
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3623,6 +3623,243 @@ | |||||||||||||
| "osd_pilot_name": { | ||||||||||||||
| "message": "Pilot's Name" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_POWER_SUPPLY_IMPEDANCE": { | ||||||||||||||
| "message": "Power Supply Impedance" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_REMAINING_FLIGHT_TIME": { | ||||||||||||||
| "message": "Remaining Flight Time" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_REMAINING_FLIGHT_DISTANCE": { | ||||||||||||||
| "message": "Remaining Flight Distance" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_THROTTLE_GAUGE": { | ||||||||||||||
| "message": "Throttle Gauge" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_THROTTLE_POSITION": { | ||||||||||||||
| "message": "Throttle Position" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_SCALED_THROTTLE_POSITION": { | ||||||||||||||
| "message": "Scaled Throttle Position" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CRAFT_NAME": { | ||||||||||||||
| "message": "Craft Name" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_PILOT_NAME": { | ||||||||||||||
| "message": "Pilot Name" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_PILOT_LOGO": { | ||||||||||||||
| "message": "Pilot Logo" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_FLYMODE": { | ||||||||||||||
| "message": "Flymode" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_HEADING": { | ||||||||||||||
| "message": "Heading" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_HEADING_GRAPH": { | ||||||||||||||
| "message": "Heading Graph" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_AIR_SPEED": { | ||||||||||||||
| "message": "Air Speed" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MIN_GROUND_SPEED": { | ||||||||||||||
| "message": "Min Ground Speed" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_GLIDE_TIME": { | ||||||||||||||
| "message": "Glide Time" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_GLIDE_RANGE": { | ||||||||||||||
| "message": "Glide Range" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MISSION INFO": { | ||||||||||||||
| "message": "Mission Info" | ||||||||||||||
| }, | ||||||||||||||
|
Comment on lines
+3674
to
+3676
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestion: Replace the space with an underscore in the
Suggested change
|
||||||||||||||
| "osdElement_VERSION": { | ||||||||||||||
| "message": "Version" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MULTI FUNCTION STATUS": { | ||||||||||||||
| "message": "Multi Function Status" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_BLACKBOX": { | ||||||||||||||
| "message": "Blackbox" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_ALTITUDE": { | ||||||||||||||
| "message": "Altitude" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_VARIO": { | ||||||||||||||
| "message": "Vario" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_ONTIME": { | ||||||||||||||
| "message": "Ontime" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_FLYTIME": { | ||||||||||||||
| "message": "Flytime" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CROSSHAIRS": { | ||||||||||||||
| "message": "Crosshairs" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_ARTIFICIAL_HORIZON": { | ||||||||||||||
| "message": "Artificial Horizon" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_HORIZON_SIDEBARS": { | ||||||||||||||
| "message": "Horizon Sidebars" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_PITCH_ANGLE": { | ||||||||||||||
| "message": "Pitch Angle" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_ROLL_ANGLE": { | ||||||||||||||
| "message": "Roll Angle" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CURRENT_DRAW": { | ||||||||||||||
| "message": "Current Draw" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_WH_DRAWN": { | ||||||||||||||
| "message": "Wh Drawn" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_POWER": { | ||||||||||||||
| "message": "Power" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CLIMB_EFFICIENCY": { | ||||||||||||||
| "message": "Climb Efficiency" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_LONGITUDE": { | ||||||||||||||
| "message": "Longitude" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_LATITUDE": { | ||||||||||||||
| "message": "Latitude" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_DIRECTION_TO_HOME": { | ||||||||||||||
| "message": "Direction to Home" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_HOME_HEADING_ERROR": { | ||||||||||||||
| "message": "Home Heading Error" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_DISTANCE_TO_HOME": { | ||||||||||||||
| "message": "Distance to Home" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_ODOMETER": { | ||||||||||||||
| "message": "Odometer" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_COURSE_HOLD_ERROR": { | ||||||||||||||
| "message": "Course Hold Error" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_COURSE_HOLD_ADJUSTMENT": { | ||||||||||||||
| "message": "Course Hold Adjustment" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_GROUND COURSE": { | ||||||||||||||
| "message": "Ground Course" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_ADSB_WARNING_MESSAGE": { | ||||||||||||||
| "message": "Adsb Warning Message" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_ADSB_INFO": { | ||||||||||||||
| "message": "Adsb Info" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CROSS TRACK ERROR": { | ||||||||||||||
| "message": "Cross Track Error" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_RX_POWER_DOWNLINK": { | ||||||||||||||
| "message": "Rx Power Downlink" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_RX_BAND": { | ||||||||||||||
| "message": "Rx Band" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_RX_MODE": { | ||||||||||||||
| "message": "Rx Mode" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_1": { | ||||||||||||||
| "message": "Custom Element 1" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_2": { | ||||||||||||||
| "message": "Custom Element 2" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_3": { | ||||||||||||||
| "message": "Custom Element 3" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_4": { | ||||||||||||||
| "message": "Custom Element 4" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_5": { | ||||||||||||||
| "message": "Custom Element 5" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_6": { | ||||||||||||||
| "message": "Custom Element 6" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_7": { | ||||||||||||||
| "message": "Custom Element 7" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CUSTOM_ELEMENT_8": { | ||||||||||||||
| "message": "Custom Element 8" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_HEADING_P": { | ||||||||||||||
| "message": "Heading P" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_BOARD_ALIGNMENT_ROLL": { | ||||||||||||||
| "message": "Board Alignment Roll" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_BOARD_ALIGNMENT_PITCH": { | ||||||||||||||
| "message": "Board Alignment Pitch" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_THROTTLE_EXPO": { | ||||||||||||||
| "message": "Throttle Expo" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_STABILIZED.RC_EXPO": { | ||||||||||||||
| "message": "Stabilized.rc Expo" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_STABILIZED.RC_YAW_EXPO": { | ||||||||||||||
| "message": "Stabilized.rc Yaw Expo" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_STABILIZED.PITCH_RATE": { | ||||||||||||||
| "message": "Stabilized.pitch Rate" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_STABILIZED.ROLL_RATE": { | ||||||||||||||
| "message": "Stabilized.roll Rate" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_STABILIZED.YAW_RATE": { | ||||||||||||||
| "message": "Stabilized.yaw Rate" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MANUAL_RC_EXPO": { | ||||||||||||||
| "message": "Manual Rc Expo" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MANUAL_RC_YAW_EXPO": { | ||||||||||||||
| "message": "Manual Rc Yaw Expo" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MANUAL_PITCH_RATE": { | ||||||||||||||
| "message": "Manual Pitch Rate" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MANUAL_ROLL_RATE": { | ||||||||||||||
| "message": "Manual Roll Rate" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MANUAL_YAW_RATE": { | ||||||||||||||
| "message": "Manual Yaw Rate" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_NAV_FW_CRUISE_THROTTLE": { | ||||||||||||||
| "message": "Nav Fw Cruise Throttle" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_NAV_FW_PITCH_TO_THROTTLE": { | ||||||||||||||
| "message": "Nav Fw Pitch to Throttle" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_FW_MIN_THROTTLE_DOWN_PITCH_ANGLE": { | ||||||||||||||
| "message": "Fw Min Throttle Down Pitch Angle" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_THRUST_PID_ATTENUATION": { | ||||||||||||||
| "message": "Thrust Pid Attenuation" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_CONTROL_SMOOTHNESS": { | ||||||||||||||
| "message": "Control Smoothness" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_TPA_TIME_CONSTANT": { | ||||||||||||||
| "message": "Tpa Time Constant" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_FW_LEVEL_TRIM": { | ||||||||||||||
| "message": "Fw Level Trim" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_MISSION_INDEX": { | ||||||||||||||
| "message": "Mission Index" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_FW_ALT_CONTROL_RESPONSE": { | ||||||||||||||
| "message": "Fw Alt Control Response" | ||||||||||||||
| }, | ||||||||||||||
| "osdElement_PILOT_LOGO_HELP": { | ||||||||||||||
| "message": "Shows your small pilot logo in the OSD, where you position it. This requires a custom font with your pilot logo." | ||||||||||||||
| }, | ||||||||||||||
|
|
||||||||||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Remove the duplicate
osd_craft_nametranslation entry and standardize on usingosdElement_CRAFT_NAMEto avoid inconsistency. [general, importance: 6]New proposed code: