Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
226 changes: 220 additions & 6 deletions locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
"message": "Betaflight Configurator",
"description": "Title of the application window, usually not translated"
},
"yes": {
"message": "Yes",
"description": "General Yes message to be used across the application"
},
"no": {
"message": "No",
"description": "General No message to be used across the application"
},
"error": {
"message": "Error: {{errorMessage}}"
},
Expand Down Expand Up @@ -280,6 +288,9 @@
"tabOsd": {
"message": "OSD"
},
"tabVtx": {
"message": "Video Transmitter"
},
"tabPower": {
"message": "Power & Battery"
},
Expand Down Expand Up @@ -3807,12 +3818,6 @@
"osdSetupCameraConnected": {
"message": "Camera Connected"
},
"osdSetupCameraConnectedValueYes": {
"message": "Yes"
},
"osdSetupCameraConnectedValueNo": {
"message": "No"
},

"osdSetupResetText": {
"message": "Reset OSD to default"
Expand Down Expand Up @@ -4687,6 +4692,215 @@
"message": "Saved"
},

"vtxHelp": {
"message": "You can configure here the values for your Video Trasmitter (VTX). You can consult and configure the values of the transmission including the VTX Tables if the flight controller and the VTX support it",
"description": "Introduction message in the VTX tab"
},
"vtxMessageNotSupported": {
"message": "<span class=\"message-negative\">Attention:</span> Your VTX is not configured or not supported. So you can't modify the VTX values from here. This will only be possible if the flight controller is attached to the VTX using some protocol like Tramp or SmartAudio and is correctly configured in the $t(tabPorts.message) tab if needed.",
"description": "Message to show when the VTX is not supported in the VTX tab"
},
"vtxMessageTableNotConfigured": {
"message": "<span class=\"message-negative\">Attention:</span> You need to configure and save FIRST the VTX Table at the bottom before you can make use of the $t(vtxSelectedMode.message) fields.",
"description": "Message to show when the VTX is not supported in the VTX tab"
},
"vtxFrequencyChannel": {
"message": "Enter frequency directly",
"description": "Text of one of the fields of the VTX tab"
},
"vtxFrequencyChannelHelp": {
"message": "If you enable this, the Configurator will let you select a frequency in place of the habitual band/channel. For this to work your VTX must support this feature.",
"description": "Help text for the frequency or channel select field of the VTX tab"
},
"vtxSelectedMode": {
"message": "Selected Mode",
"description": "Title for the actual mode header of the VTX"
},
"vtxActualState": {
"message": "Current Values",
"description": "Title for the actual values header of the VTX"
},
"vtxType": {
"message": "VTX Type",
"description": "Text of one of the fields of the VTX tab"
},
"vtxType_0": {
"message": "Unsupported",
"description": "Text for one of the types of the VTX type in VTX tab"
},
"vtxType_1": {
"message": "RTC607",
"description": "Text for one of the types of the VTX type in VTX tab"
},
"vtxType_3": {
"message": "SmartAudio",
"description": "Text for one of the types of the VTX type in VTX tab"
},
"vtxType_4": {
"message": "Tramp",
"description": "Text for one of the types of the VTX type in VTX tab"
},
"vtxType_255": {
"message": "Unknown",
"description": "Text for one of the types of the VTX type in VTX tab"
},
"vtxBand": {
"message": "Band",
"description": "Text of one of the fields of the VTX tab"
},
"vtxBandHelp": {
"message": "You can select here the band for your VTX",
"description": "Help text for the band field of the VTX tab"
},
"vtxBand_0": {
"message": "None",
"description": "Text of one of the options for the band field of the VTX tab"
},
"vtxBand_X": {
"message": "Band {{bandName}}",
"description": "Text of one of the options for the band field of the VTX tab"
},
"vtxChannel_0": {
"message": "None",
"description": "Text of one of the options for the channel field of the VTX tab"
},
"vtxChannel_X": {
"message": "Channel {{channelName}}",
"description": "Text of one of the options for the channel field of the VTX tab"
},
"vtxPower_0": {
"message": "None",
"description": "Text of one of the options for the power field of the VTX tab"
},
"vtxPower_X": {
"message": "Level {{powerLevel}}",
"description": "Text of one of the options for the power field of the VTX tab"
},
"vtxChannel": {
"message": "Channel",
"description": "Text of one of the fields of the VTX tab"
},
"vtxChannelHelp": {
"message": "You can select here the channel for your VTX",
"description": "Help text for the channel field of the VTX tab"
},
"vtxFrequency": {
"message": "Frequency",
"description": "Text of one of the fields of the VTX tab"
},
"vtxFrequencyHelp": {
"message": "You can select here the frequency for your VTX if it is supported",
"description": "Help text for the frequency field of the VTX tab"
},
"vtxDeviceReady": {
"message": "Device ready",
"description": "Text of one of the fields of the VTX tab"
},
"vtxPower": {
"message": "Power",
"description": "Text of one of the fields of the VTX tab"
},
"vtxPowerHelp": {
"message": "This is the power selected for the VTX. It can be modified if the $t(vtxPitMode.message) or the $t(vtxLowPowerDisarm.message) is enabled",
"description": "Help text for the power field of the VTX tab"
},
"vtxPitMode": {
"message": "Pit Mode",
"description": "Text of one of the fields of the VTX tab"
},
"vtxPitModeHelp": {
"message": "When enabled, the VTX enters in a very low power mode to let the quad be on at the bench without disturbing other pilots. Usually the range of this mode is less than 5m.<br><br>NOTE: Some protocols, like SmartAudio, can't enable Pit Mode via software after power-up.'",
"description": "Help text for the pit mode field of the VTX tab"
},
"vtxPitModeFrequency": {
"message": "Pit Mode frequency",
"description": "Text of one of the fields of the VTX tab"
},
"vtxPitModeFrequencyHelp": {
"message": "Frequency at which the Pit Mode changes when enabled.",
"description": "Help text for the pit mode field of the VTX tab"
},
"vtxLowPowerDisarm": {
"message": "Low Power Disarm",
"description": "Text of one of the fields of the VTX tab"
},
"vtxLowPowerDisarmHelp": {
"message": "When enabled, the VTX uses the lowest available power when disarmed (except if a failsafe has occurred).",
"description": "Help text for the low power disarm field of the VTX tab"
},
"vtxLowPowerDisarmOption_0": {
"message": "Off",
"description": "One of the options for the Low Power Disarm mode of the VTX"
},
"vtxLowPowerDisarmOption_1": {
"message": "On",
"description": "One of the options for the Low Power Disarm mode of the VTX"
},
"vtxLowPowerDisarmOption_2": {
"message": "On until first arm",
"description": "One of the options for the Low Power Disarm mode of the VTX"
},
"vtxTable": {
"message": "VTX Table",
"description": "Text of the header of the VTX Table element in the VTX tab"
},
"vtxTablePowerLevels": {
"message": "Number of power levels",
"description": "Text of one of the fields of the VTX Table element in the VTX tab"
},
"vtxTablePowerLevelsHelp": {
"message": "This defines the number of power levels supported by your VTX",
"description": "Help for the number of power levels field of the VTX Table element in the VTX tab"
},
"vtxTablePowerLevelsTableHelp": {
"message": "This table represents the different values of power that can be used for the VTX. They are divided into two: <br><b>- $t(vtxTablePowerLevelsValue.message):</b> each power level requires a value that is defined by the hardware manufacturer. Ask your manufacturer for the correct value or consult the Betaflight wiki of VTX Tables to grab some samples. <br><b>- $t(vtxTablePowerLevelsLabel.message):</b> you can put here the label you want for each power level value. It can be numbers (25, 200, 600, 1.2), letters (OFF, MIN, MAX) or a mix of them. <br><br>You must configure <b>only</b> the power levels that are legal at your contry.",
"description": "Help for the table of power levels (value-label) that appears in the VTX tab"
},
"vtxTablePowerLevelsValue": {
"message": "Value",
"description": "Text of one of the fields of the VTX Table element in the VTX tab"
},
"vtxTablePowerLevelsLabel": {
"message": "Label",
"description": "Text of one of the fields of the VTX Table element in the VTX tab"
},
"vtxTableBands": {
"message": "Number of bands",
"description": "Text of one of the fields of the VTX Table element in the VTX tab"
},
"vtxTableChannels": {
"message": "Number of channels by band",
"description": "Text of one of the fields of the VTX Table element in the VTX tab"
},
"vtxTableBandsChannelsHelp": {
"message": "This defines the number of bands and the number of channels by band that you that you want for your VTX.",
"description": "Help for the number of bands and channels field of the VTX Table element in the VTX tab"
},
"vtxTableBandTitleName": {
"message": "Name",
"description": "Text of one of the titles of the VTX Table element in the VTX tab"
},
"vtxTableBandTitleLetter": {
"message": "Letter",
"description": "Text of one of the titles of the VTX Table element in the VTX tab"
},
"vtxTableBandTitleFactory": {
"message": "Factory",
"description": "Text of one of the titles of the VTX Table element in the VTX tab"
},
"vtxTableBandsChannelsTableHelp": {
"message": "This table represents all the frequencies that can be used for your VTX. You can have several bands and for each band you must configure:<br><b>- $t(vtxTableBandTitleName.message):</b> Name that you want to assign to this band, like BOSCAM_A, FATSHARK or RACEBAND.<br><b>- $t(vtxTableBandTitleLetter.message):</b> Short letter that references the band.<br><b>- $t(vtxTableBandTitleFactory.message):</b> This indicates if it is a factory band. If enabled Betaflight sends to the VTX a band and channel number. The VTX will then use its built-in frequency table and the frequencies configured here are only to show the value in the OSD and other places. If it is not enabled, then Betaflight will send to the VTX the real frequency configured here.<br><b>- Frequencies:</b> Frequencies for this band.<br><br>Remember that not all frequencies are legal at your country. You must put a value of <b>zero</b> to each frequency index that you are not allowed to use to disable it.",
"description": "Help for the table of bands-channels that appears in the VTX tab"
},
"vtxButtonSave": {
"message": "Save",
"description": "Save button in the VTX tab"
},
"vtxButtonSaved": {
"message": "Saved",
"description": "Saved action button in the VTX tab"
},

"mainHelpArmed": {
"message": "Motor Arming"
},
Expand Down
14 changes: 13 additions & 1 deletion src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,15 @@ li.active .ic_transponder {
background-image: url(../images/icons/icon_osd_white.svg);
}

.ic_vtx {
background-image: url(../images/icons/cf_icon_vtx_grey.svg);
background-position-y: 4px;
}

.ic_vtx:hover, li.active .ic_osd {
background-image: url(../images/icons/cf_icon_vtx_white.svg);
}

.ic_power {
background-image: url(../images/icons/cf_icon_power_grey.svg);
background-position-y: 9px;
Expand Down Expand Up @@ -1481,9 +1490,12 @@ dialog {

.cf_table td {
border: 0px;
border-bottom: solid 1px var(--subtleAccent);
padding-top: 2px;
padding-bottom: 5px;
}

.cf_table tr:not(:last-child) td {
border-bottom: solid 1px var(--subtleAccent);
border-style: dotted;
}

Expand Down
Loading