Show wiki to target, ie. Board---FRSKYF4 (#3187)

10.9-maintenance
HThuren 2023-01-06 20:57:19 +01:00 committed by GitHub
parent 3a6ea29147
commit 1301f97a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 25 deletions

View File

@ -1665,7 +1665,6 @@
"message": "Boost iTerm and increase P during fast throttle changes.<br><br>8.0 means about 8x iTerm boost", "message": "Boost iTerm and increase P during fast throttle changes.<br><br>8.0 means about 8x iTerm boost",
"description": "Anti Gravity Gain Parameter Help Icon" "description": "Anti Gravity Gain Parameter Help Icon"
}, },
"pidTuningAntiGravityThres": { "pidTuningAntiGravityThres": {
"message": "Threshold", "message": "Threshold",
"description": "Anti Gravity Threshold Parameter" "description": "Anti Gravity Threshold Parameter"
@ -2074,7 +2073,6 @@
"pidTuningEepromSaved": { "pidTuningEepromSaved": {
"message": "EEPROM <span class=\"message-positive\">saved</span>" "message": "EEPROM <span class=\"message-positive\">saved</span>"
}, },
"tuningHelp": { "tuningHelp": {
"message": "<b>Tuning tips</b><br /><span class=\"message-negative\">IMPORTANT:</span> It is important to verify motor temperatures during first flights. The higher the filter value gets the better it may fly, but you also will get more noise into the motors. <br>Default value of 100Hz is optimal, but for noiser setups you can try lowering Dterm filter to 50Hz and possibly also the gyro filter." "message": "<b>Tuning tips</b><br /><span class=\"message-negative\">IMPORTANT:</span> It is important to verify motor temperatures during first flights. The higher the filter value gets the better it may fly, but you also will get more noise into the motors. <br>Default value of 100Hz is optimal, but for noiser setups you can try lowering Dterm filter to 50Hz and possibly also the gyro filter."
}, },
@ -2188,14 +2186,12 @@
"receiverModelPreview": { "receiverModelPreview": {
"message": "Preview" "message": "Preview"
}, },
"receiverMspWarningText": { "receiverMspWarningText": {
"message": "These sticks allow Betaflight to be armed and tested without a transmitter or receiver being present. However, <strong>this feature is not intended for flight and propellers must not be attached.</strong><br /><br />This feature does not guarantee reliable control of your craft. <strong>Serious injury is likely to result if propellers are left on.</strong>" "message": "These sticks allow Betaflight to be armed and tested without a transmitter or receiver being present. However, <strong>this feature is not intended for flight and propellers must not be attached.</strong><br /><br />This feature does not guarantee reliable control of your craft. <strong>Serious injury is likely to result if propellers are left on.</strong>"
}, },
"receiverMspEnableButton": { "receiverMspEnableButton": {
"message": "Enable controls" "message": "Enable controls"
}, },
"auxiliaryHelp": { "auxiliaryHelp": {
"message": "Configure modes here using a combination of ranges and/or links to other modes (links supported on BF 4.0 and later). Use <strong>ranges</strong> to define the switches on your transmitter and corresponding mode assignments. A receiver channel that gives a reading between a range min/max will activate the mode. Use a <strong>link</strong> to activate a mode when another mode is activated. <strong>Exceptions:</strong> ARM cannot be linked to or from another mode, modes cannot be linked to other modes that are configured with a link (chained links). Multiple ranges/links can be used to activate any mode. If there is more than one range/link defined for a mode, each of them can be set to <strong>AND</strong> or <strong>OR</strong>. A mode will be activated when:<br />- ALL <strong>AND</strong> ranges/links are active; OR<br />- at least one <strong>OR</strong> range/link is active.<br /><br />Remember to save your settings using the Save button." "message": "Configure modes here using a combination of ranges and/or links to other modes (links supported on BF 4.0 and later). Use <strong>ranges</strong> to define the switches on your transmitter and corresponding mode assignments. A receiver channel that gives a reading between a range min/max will activate the mode. Use a <strong>link</strong> to activate a mode when another mode is activated. <strong>Exceptions:</strong> ARM cannot be linked to or from another mode, modes cannot be linked to other modes that are configured with a link (chained links). Multiple ranges/links can be used to activate any mode. If there is more than one range/link defined for a mode, each of them can be set to <strong>AND</strong> or <strong>OR</strong>. A mode will be activated when:<br />- ALL <strong>AND</strong> ranges/links are active; OR<br />- at least one <strong>OR</strong> range/link is active.<br /><br />Remember to save your settings using the Save button."
}, },
@ -2383,7 +2379,6 @@
"adjustmentsEepromSaved": { "adjustmentsEepromSaved": {
"message": "EEPROM <span class=\"message-positive\">saved</span>" "message": "EEPROM <span class=\"message-positive\">saved</span>"
}, },
"transponderNotSupported": { "transponderNotSupported": {
"message": "Your flight controller's firmware does not support transponder functionality." "message": "Your flight controller's firmware does not support transponder functionality."
}, },
@ -2450,7 +2445,6 @@
"transponderEepromSaved": { "transponderEepromSaved": {
"message": "EEPROM <span class=\"message-positive\">saved</span>" "message": "EEPROM <span class=\"message-positive\">saved</span>"
}, },
"servosFirmwareUpgradeRequired": { "servosFirmwareUpgradeRequired": {
"message": "Servos requires firmware &gt;= 1.10.0. and target support." "message": "Servos requires firmware &gt;= 1.10.0. and target support."
}, },
@ -2580,7 +2574,6 @@
"gnssHealthyUnhealthy": { "gnssHealthyUnhealthy": {
"message": "unhealthy" "message": "unhealthy"
}, },
"motorsVoltage": { "motorsVoltage": {
"message": "Voltage:" "message": "Voltage:"
}, },
@ -2599,7 +2592,6 @@
"motorsmAhDrawnValue": { "motorsmAhDrawnValue": {
"message": "$1 mAh" "message": "$1 mAh"
}, },
"motorsText":{ "motorsText":{
"message": "Motors" "message": "Motors"
}, },
@ -2627,7 +2619,6 @@
"motorNumber8":{ "motorNumber8":{
"message": "Motor - 8" "message": "Motor - 8"
}, },
"servosText":{ "servosText":{
"message": "Servos" "message": "Servos"
}, },
@ -2655,7 +2646,6 @@
"servoNumber8":{ "servoNumber8":{
"message": "Servo - 8" "message": "Servo - 8"
}, },
"motorsResetMaximumButton":{ "motorsResetMaximumButton":{
"message": "Reset" "message": "Reset"
}, },
@ -2702,7 +2692,6 @@
"motorsDialogSettingsChangedOk": { "motorsDialogSettingsChangedOk": {
"message": "OK" "message": "OK"
}, },
"motorOutputReorderDialogClose": { "motorOutputReorderDialogClose": {
"message": "Cancel" "message": "Cancel"
}, },
@ -2817,7 +2806,6 @@
"escDshotDirectionDialog-StopWizard": { "escDshotDirectionDialog-StopWizard": {
"message": "Stop motors" "message": "Stop motors"
}, },
"sensorsInfo": { "sensorsInfo": {
"message": "Keep in mind that using fast update periods and rendering multiple graphs at the same time is resource heavy and will burn your battery quicker if you use a laptop.<br />We recommend to only render graphs for sensors you are interested in while using reasonable update periods." "message": "Keep in mind that using fast update periods and rendering multiple graphs at the same time is resource heavy and will burn your battery quicker if you use a laptop.<br />We recommend to only render graphs for sensors you are interested in while using reasonable update periods."
}, },
@ -2866,7 +2854,6 @@
"sensorsDebugTitle": { "sensorsDebugTitle": {
"message": "Debug" "message": "Debug"
}, },
"cliInfo": { "cliInfo": {
"message": "<strong>Note:</strong> Leaving CLI tab or pressing Disconnect will <strong>automatically</strong> send \"<strong>exit</strong>\" to the board. With the latest firmware this will make the controller <strong>restart</strong> and unsaved changes will be <strong>lost</strong>.<p><strong><span class=\"message-negative\">Warning:</span></strong> Some commands in CLI can result in arbitrary signals being sent on the motor output pins. This can cause motors to spin up if a battery is connected. Therefore it is highly recommended to make sure that <strong>no battery is connected before entering commands in CLI</strong>." "message": "<strong>Note:</strong> Leaving CLI tab or pressing Disconnect will <strong>automatically</strong> send \"<strong>exit</strong>\" to the board. With the latest firmware this will make the controller <strong>restart</strong> and unsaved changes will be <strong>lost</strong>.<p><strong><span class=\"message-negative\">Warning:</span></strong> Some commands in CLI can result in arbitrary signals being sent on the motor output pins. This can cause motors to spin up if a battery is connected. Therefore it is highly recommended to make sure that <strong>no battery is connected before entering commands in CLI</strong>."
}, },
@ -2909,7 +2896,6 @@
"cliConfirmSnippetBtn": { "cliConfirmSnippetBtn": {
"message": "Execute" "message": "Execute"
}, },
"loggingNote": { "loggingNote": {
"message": "Data will be logged in this tab <span class=\"message-negative\">only</span>, leaving the tab will <span class=\"message-negative\">cancel</span> logging and application will return to its normal <strong>\"configurator\"</strong> state.<br /> You are free to select the global update period, data will be written into the log file every <strong>1</strong> second for performance reasons." "message": "Data will be logged in this tab <span class=\"message-negative\">only</span>, leaving the tab will <span class=\"message-negative\">cancel</span> logging and application will return to its normal <strong>\"configurator\"</strong> state.<br /> You are free to select the global update period, data will be written into the log file every <strong>1</strong> second for performance reasons."
}, },
@ -2943,7 +2929,6 @@
"loggingAutomaticallyRetained": { "loggingAutomaticallyRetained": {
"message": "Automatically loaded previous log file: <strong>$1</strong>" "message": "Automatically loaded previous log file: <strong>$1</strong>"
}, },
"blackboxNotSupported": { "blackboxNotSupported": {
"message": "Your flight controller's firmware does not support Blackbox logging." "message": "Your flight controller's firmware does not support Blackbox logging."
}, },
@ -2968,14 +2953,12 @@
"blackboxLoggingSerial": { "blackboxLoggingSerial": {
"message": "Serial Port" "message": "Serial Port"
}, },
"serialLoggingSupportedNote": { "serialLoggingSupportedNote": {
"message": "You can log to an external logging device (such as an OpenLager) by using a serial port. Configure the port on the Ports tab." "message": "You can log to an external logging device (such as an OpenLager) by using a serial port. Configure the port on the Ports tab."
}, },
"sdcardNote": { "sdcardNote": {
"message": "Flight logs can be recorded to your flight controller's onboard SD card slot." "message": "Flight logs can be recorded to your flight controller's onboard SD card slot."
}, },
"dataflashUsedSpace": { "dataflashUsedSpace": {
"message": "Used space" "message": "Used space"
}, },
@ -3042,7 +3025,6 @@
"dataflashFileWriteFailed": { "dataflashFileWriteFailed": {
"message": "Failed to write to the file you selected, are the permissions on that folder okay?" "message": "Failed to write to the file you selected, are the permissions on that folder okay?"
}, },
"sdcardStatusNoCard": { "sdcardStatusNoCard": {
"message": "No card inserted" "message": "No card inserted"
}, },
@ -3085,6 +3067,9 @@
"firmwareFlasherReleaseTarget": { "firmwareFlasherReleaseTarget": {
"message": "Target:" "message": "Target:"
}, },
"firmwareFlasherTargetWikiUrlInfo": {
"message": "Get more information about target at Betaflight wiki (wiki url found in unified target configuration)"
},
"firmwareFlasherReleaseMCU": { "firmwareFlasherReleaseMCU": {
"message": "MCU:" "message": "MCU:"
}, },
@ -3121,7 +3106,6 @@
"firmwareFlasherTargetWarning": { "firmwareFlasherTargetWarning": {
"message": "<span class=\"message-negative\">IMPORTANT</span>: Ensure you flash a file appropriate for your target. Flashing a binary for the wrong target can cause <span class=\"message-negative\">bad</span> things to happen." "message": "<span class=\"message-negative\">IMPORTANT</span>: Ensure you flash a file appropriate for your target. Flashing a binary for the wrong target can cause <span class=\"message-negative\">bad</span> things to happen."
}, },
"firmwareFlasherPath": { "firmwareFlasherPath": {
"message": "Path:" "message": "Path:"
}, },
@ -3357,7 +3341,6 @@
"firmwareFlasherPreviousDevice": { "firmwareFlasherPreviousDevice": {
"message": "Detected: <strong>$1</strong> - previous device still flashing, please replug to try again" "message": "Detected: <strong>$1</strong> - previous device still flashing, please replug to try again"
}, },
"ledStripHelp": { "ledStripHelp": {
"message": "The flight controller can control colors and effects of individual LEDs on a strip.<br />Configure LEDs on the grid, configure wiring order then attach LEDs on your aircraft according to grid positions. LEDs without wire ordering number will not be saved.<br />Double-click on a color to edit the HSV values." "message": "The flight controller can control colors and effects of individual LEDs on a strip.<br />Configure LEDs on the grid, configure wiring order then attach LEDs on your aircraft according to grid positions. LEDs without wire ordering number will not be saved.<br />Double-click on a color to edit the HSV values."
}, },
@ -3669,7 +3652,6 @@
"controlAxisAux16": { "controlAxisAux16": {
"message": "AUX 16" "message": "AUX 16"
}, },
"pidTuningBasic": { "pidTuningBasic": {
"message": "Basic/Acro" "message": "Basic/Acro"
}, },
@ -4430,7 +4412,6 @@
"failsafeSwitchOptionKill": { "failsafeSwitchOptionKill": {
"message": "Kill" "message": "Kill"
}, },
"powerButtonSave": { "powerButtonSave": {
"message": "Save" "message": "Save"
}, },

View File

@ -64,12 +64,22 @@ firmware_flasher.initialize = function (callback) {
} else { } else {
$('div.release_info #manufacturerInfo').hide(); $('div.release_info #manufacturerInfo').hide();
} }
$('div.release_info .target').text(summary.target); $('div.release_info .target').text(summary.target);
$('div.release_info .name').text(summary.release).prop('href', summary.releaseUrl); $('div.release_info .name').text(summary.release).prop('href', summary.releaseUrl);
$('div.release_info .date').text(summary.date); $('div.release_info .date').text(summary.date);
$('div.release_info #targetMCU').text(summary.mcu); $('div.release_info #targetMCU').text(summary.mcu);
$('div.release_info .configFilename').text(self.isConfigLocal ? self.configFilename : "[default]"); $('div.release_info .configFilename').text(self.isConfigLocal ? self.configFilename : "[default]");
// Wiki link to url found in unified target configuration or if not defined to general wiki url
let targetWiki = $('#targetWikiInfoUrl');
targetWiki.html(`&nbsp;&nbsp;&nbsp;[Wiki]`);
if (summary.wiki === undefined) {
targetWiki.attr("href", "https://github.com/betaflight/betaflight/wiki/");
} else {
targetWiki.attr("href", summary.wiki);
}
if (summary.cloudBuild) { if (summary.cloudBuild) {
$('div.release_info #cloudTargetInfo').show(); $('div.release_info #cloudTargetInfo').show();
$('div.release_info #cloudTargetLog').text(''); $('div.release_info #cloudTargetLog').text('');

View File

@ -231,7 +231,7 @@
<div class="margin-bottom"> <div class="margin-bottom">
<strong i18n="firmwareFlasherReleaseTarget"></strong> <strong i18n="firmwareFlasherReleaseTarget"></strong>
<span class="target"></span> <span class="target"></span>
<br /> <a id="targetWikiInfoUrl" i18n_title="firmwareFlasherTargetWikiUrlInfo" href="#" class="name" target="_blank"></a>
<div id="manufacturerInfo"> <div id="manufacturerInfo">
<strong i18n="firmwareFlasherReleaseManufacturer"></strong> <strong i18n="firmwareFlasherReleaseManufacturer"></strong>
<span id="manufacturer"></span> <span id="manufacturer"></span>
@ -248,7 +248,6 @@
<br /> <br />
<strong i18n="firmwareFlasherConfigurationFile"></strong> <strong i18n="firmwareFlasherConfigurationFile"></strong>
<span class="configFilename"></span> <span class="configFilename"></span>
<br />
</div> </div>
<div id="cloudTargetInfo"> <div id="cloudTargetInfo">
<strong i18n="firmwareFlasherCloudBuildDetails"></strong> <strong i18n="firmwareFlasherCloudBuildDetails"></strong>