mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 23:35:22 +03:00
More i18n
More strings passed to the messages file for i18n.
This commit is contained in:
parent
148178e109
commit
65728c913a
11 changed files with 158 additions and 47 deletions
|
@ -164,6 +164,13 @@
|
||||||
"message": "Modes"
|
"message": "Modes"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"logActionHide": {
|
||||||
|
"message": "Hide Log"
|
||||||
|
},
|
||||||
|
"logActionShow": {
|
||||||
|
"message": "Show Log"
|
||||||
|
},
|
||||||
|
|
||||||
"serialPortOpened": {
|
"serialPortOpened": {
|
||||||
"message": "Serial port <span class=\"message-positive\">successfully</span> opened with ID: $1"
|
"message": "Serial port <span class=\"message-positive\">successfully</span> opened with ID: $1"
|
||||||
},
|
},
|
||||||
|
@ -303,6 +310,9 @@
|
||||||
"message": "Welcome to <strong>Betaflight - Configurator</strong>, a utility designed to simplify updating, configuring and tuning of your flight controller."
|
"message": "Welcome to <strong>Betaflight - Configurator</strong>, a utility designed to simplify updating, configuring and tuning of your flight controller."
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"defaultWelcomeHead": {
|
||||||
|
"message": "Hardware"
|
||||||
|
},
|
||||||
"defaultWelcomeText": {
|
"defaultWelcomeText": {
|
||||||
"message": "The application supports all hardware that can run Betaflight. Check flash tab for full list of hardware.<br><br> <a href=\"https://chrome.google.com/webstore/detail/betaflight-blackbox-explo/canpiagfkeefejklcojkhojdijglnghc\" target=\"_blank\"> Download Betaflight Blackbox</a><br /><br />The firmware source code can be downloaded from <a href=\"https://github.com/betaflight/betaflight\" title=\"www.github.com\" target=\"_blank\">here</a><br />The newest binary firmware image is available <a href=\"https://github.com/betaflight/betaflight/releases\" title=\"www.github.com\" target=\"_blank\">here</a><br /><br />Latest <a href=\"http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx\" title=\"http://www.silabs.com\" target=\"_blank\">CP210x Drivers</a> can be downloaded from <a href=\"http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx\" title=\"http://www.silabs.com\" target=\"_blank\">here</a><br />Latest <a href=\"http://www.st.com/web/en/catalog/tools/PF257938\" title=\"http://www.st.com\" target=\"_blank\">STM USB VCP Drivers</a> can be downloaded from <a href=\"http://www.st.com/web/en/catalog/tools/PF257938\" title=\"http://www.st.com\" target=\"_blank\">here</a><br />Latest <a href=\"http://zadig.akeo.ie/\" title=\"http://zadig.akeo.ie\" target=\"_blank\">Zadig</a> for Windows USB driver installation can be downloaded from <a href=\"http://zadig.akeo.ie/\" title=\"http://zadig.akeo.ie\" target=\"_blank\">here</a><br />"
|
"message": "The application supports all hardware that can run Betaflight. Check flash tab for full list of hardware.<br><br> <a href=\"https://chrome.google.com/webstore/detail/betaflight-blackbox-explo/canpiagfkeefejklcojkhojdijglnghc\" target=\"_blank\"> Download Betaflight Blackbox</a><br /><br />The firmware source code can be downloaded from <a href=\"https://github.com/betaflight/betaflight\" title=\"www.github.com\" target=\"_blank\">here</a><br />The newest binary firmware image is available <a href=\"https://github.com/betaflight/betaflight/releases\" title=\"www.github.com\" target=\"_blank\">here</a><br /><br />Latest <a href=\"http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx\" title=\"http://www.silabs.com\" target=\"_blank\">CP210x Drivers</a> can be downloaded from <a href=\"http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx\" title=\"http://www.silabs.com\" target=\"_blank\">here</a><br />Latest <a href=\"http://www.st.com/web/en/catalog/tools/PF257938\" title=\"http://www.st.com\" target=\"_blank\">STM USB VCP Drivers</a> can be downloaded from <a href=\"http://www.st.com/web/en/catalog/tools/PF257938\" title=\"http://www.st.com\" target=\"_blank\">here</a><br />Latest <a href=\"http://zadig.akeo.ie/\" title=\"http://zadig.akeo.ie\" target=\"_blank\">Zadig</a> for Windows USB driver installation can be downloaded from <a href=\"http://zadig.akeo.ie/\" title=\"http://zadig.akeo.ie\" target=\"_blank\">here</a><br />"
|
||||||
},
|
},
|
||||||
|
@ -312,6 +322,9 @@
|
||||||
"defaultContributingText": {
|
"defaultContributingText": {
|
||||||
"message": "If you would like to help make Betaflight even better you can help in many ways, including:<br /><ul><li>Answering other users questions on the forums and IRC.</li><li>Contributing code to the firmware and configurator - new features, fixes, improvements</li><li>Testing <a href=\"https://github.com/Betaflight/betaflight/pulls\" target=\"_blank\">new features/fixes</a> and providing feedback.</li><li>Helping out with <a href=\"https://github.com/betaflight/betaflight/issues\" target=\"_blank\">issues and commenting on feature requests</a>.</li><li></li></ul>"
|
"message": "If you would like to help make Betaflight even better you can help in many ways, including:<br /><ul><li>Answering other users questions on the forums and IRC.</li><li>Contributing code to the firmware and configurator - new features, fixes, improvements</li><li>Testing <a href=\"https://github.com/Betaflight/betaflight/pulls\" target=\"_blank\">new features/fixes</a> and providing feedback.</li><li>Helping out with <a href=\"https://github.com/betaflight/betaflight/issues\" target=\"_blank\">issues and commenting on feature requests</a>.</li><li></li></ul>"
|
||||||
},
|
},
|
||||||
|
"defaultChangelogAction": {
|
||||||
|
"message": "Changelog"
|
||||||
|
},
|
||||||
"defaultChangelogHead": {
|
"defaultChangelogHead": {
|
||||||
"message": "Configurator - Changelog"
|
"message": "Configurator - Changelog"
|
||||||
},
|
},
|
||||||
|
@ -385,6 +398,9 @@
|
||||||
"initialSetupCalibrateMagText": {
|
"initialSetupCalibrateMagText": {
|
||||||
"message": "Move multirotor at least <strong>360</strong> degrees on all axis of rotation, you have 30 seconds to perform this task"
|
"message": "Move multirotor at least <strong>360</strong> degrees on all axis of rotation, you have 30 seconds to perform this task"
|
||||||
},
|
},
|
||||||
|
"initialSetupButtonCalibratingText": {
|
||||||
|
"message": "Calibrating..."
|
||||||
|
},
|
||||||
"initialSetupButtonReset": {
|
"initialSetupButtonReset": {
|
||||||
"message": "Reset Settings"
|
"message": "Reset Settings"
|
||||||
},
|
},
|
||||||
|
@ -712,6 +728,9 @@
|
||||||
"configurationSensorAlignmentMag": {
|
"configurationSensorAlignmentMag": {
|
||||||
"message": "MAG Alignment"
|
"message": "MAG Alignment"
|
||||||
},
|
},
|
||||||
|
"configurationSensorAlignmentDefaultOption": {
|
||||||
|
"message": "Default"
|
||||||
|
},
|
||||||
"configurationAccelTrims": {
|
"configurationAccelTrims": {
|
||||||
"message": "Accelerometer Trim"
|
"message": "Accelerometer Trim"
|
||||||
},
|
},
|
||||||
|
@ -1190,12 +1209,18 @@
|
||||||
"receiverChannelMap": {
|
"receiverChannelMap": {
|
||||||
"message": "Channel Map"
|
"message": "Channel Map"
|
||||||
},
|
},
|
||||||
|
"receiverChannelDefaultOption": {
|
||||||
|
"message": "Default"
|
||||||
|
},
|
||||||
"receiverChannelMapTitle": {
|
"receiverChannelMapTitle": {
|
||||||
"message": "You can define your own channel map by clicking inside the box"
|
"message": "You can define your own channel map by clicking inside the box"
|
||||||
},
|
},
|
||||||
"receiverRssiChannel": {
|
"receiverRssiChannel": {
|
||||||
"message": "RSSI Channel"
|
"message": "RSSI Channel"
|
||||||
},
|
},
|
||||||
|
"receiverRssiChannelDisabledOption": {
|
||||||
|
"message": "Disabled"
|
||||||
|
},
|
||||||
"receiverRefreshRateTitle": {
|
"receiverRefreshRateTitle": {
|
||||||
"message": "Graph refresh rate"
|
"message": "Graph refresh rate"
|
||||||
},
|
},
|
||||||
|
@ -1523,7 +1548,16 @@
|
||||||
"gpsSignalStr": {
|
"gpsSignalStr": {
|
||||||
"message": "Signal Strength"
|
"message": "Signal Strength"
|
||||||
},
|
},
|
||||||
|
"gpsSignalSatId": {
|
||||||
|
"message": "Sat ID"
|
||||||
|
},
|
||||||
|
"gpsSignalQty": {
|
||||||
|
"message": "Qty"
|
||||||
|
},
|
||||||
|
|
||||||
|
"motorsText":{
|
||||||
|
"message": "Motors"
|
||||||
|
},
|
||||||
"motorNumber1":{
|
"motorNumber1":{
|
||||||
"message": "Motor - 1"
|
"message": "Motor - 1"
|
||||||
},
|
},
|
||||||
|
@ -1549,6 +1583,9 @@
|
||||||
"message": "Motor - 8"
|
"message": "Motor - 8"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"servosText":{
|
||||||
|
"message": "Servos"
|
||||||
|
},
|
||||||
"servoNumber1":{
|
"servoNumber1":{
|
||||||
"message": "Servo - 1"
|
"message": "Servo - 1"
|
||||||
},
|
},
|
||||||
|
@ -1573,10 +1610,19 @@
|
||||||
"servoNumber8":{
|
"servoNumber8":{
|
||||||
"message": "Servo - 8"
|
"message": "Servo - 8"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"motorsResetMaximumButton":{
|
||||||
|
"message": "Reset"
|
||||||
|
},
|
||||||
"motorsResetMaximum":{
|
"motorsResetMaximum":{
|
||||||
"message": "Reset overtime maximum"
|
"message": "Reset overtime maximum"
|
||||||
},
|
},
|
||||||
|
"motorsSensorGyroSelect":{
|
||||||
|
"message": "gyro"
|
||||||
|
},
|
||||||
|
"motorsSensorAccelSelect":{
|
||||||
|
"message": "accel"
|
||||||
|
},
|
||||||
"motorsMaster": {
|
"motorsMaster": {
|
||||||
"message": "Master"
|
"message": "Master"
|
||||||
},
|
},
|
||||||
|
@ -1596,6 +1642,42 @@
|
||||||
"sensorsScale": {
|
"sensorsScale": {
|
||||||
"message": "Scale:"
|
"message": "Scale:"
|
||||||
},
|
},
|
||||||
|
"sensorsGyroSelect": {
|
||||||
|
"message": "Gyroscope"
|
||||||
|
},
|
||||||
|
"sensorsAccelSelect": {
|
||||||
|
"message": "Accelerometer"
|
||||||
|
},
|
||||||
|
"sensorsMagSelect": {
|
||||||
|
"message": "Magnetometer"
|
||||||
|
},
|
||||||
|
"sensorsBaroSelect": {
|
||||||
|
"message": "Barometer"
|
||||||
|
},
|
||||||
|
"sensorsSonarSelect": {
|
||||||
|
"message": "Sonar"
|
||||||
|
},
|
||||||
|
"sensorsDebugSelect": {
|
||||||
|
"message": "Debug"
|
||||||
|
},
|
||||||
|
"sensorsGyroTitle": {
|
||||||
|
"message": "Gyroscope - deg/s"
|
||||||
|
},
|
||||||
|
"sensorsAccelTitle": {
|
||||||
|
"message": "Accelerometer - g"
|
||||||
|
},
|
||||||
|
"sensorsMagTitle": {
|
||||||
|
"message": "Magnetometer - Ga"
|
||||||
|
},
|
||||||
|
"sensorsBaroTitle": {
|
||||||
|
"message": "Barometer - meters"
|
||||||
|
},
|
||||||
|
"sensorsSonarTitle": {
|
||||||
|
"message": "Sonar - cm"
|
||||||
|
},
|
||||||
|
"sensorsDebugTitle": {
|
||||||
|
"message": "Debug 0"
|
||||||
|
},
|
||||||
|
|
||||||
"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 <span class=\"message-negative\">restart</span> and unsaved changes will be <span class=\"message-negative\">lost</span>."
|
"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 <span class=\"message-negative\">restart</span> and unsaved changes will be <span class=\"message-negative\">lost</span>."
|
||||||
|
@ -1679,6 +1761,18 @@
|
||||||
"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": {
|
||||||
|
"message": "Used space"
|
||||||
|
},
|
||||||
|
"dataflashFreeSpace": {
|
||||||
|
"message": "Free space"
|
||||||
|
},
|
||||||
|
"dataflashUnavSpace": {
|
||||||
|
"message": "Unavailable space"
|
||||||
|
},
|
||||||
|
"dataflashLogsSpace": {
|
||||||
|
"message": "Free space for logs"
|
||||||
|
},
|
||||||
"dataflashNote": {
|
"dataflashNote": {
|
||||||
"message": "Flight logs can be recorded to your flight controller's onboard dataflash chip."
|
"message": "Flight logs can be recorded to your flight controller's onboard dataflash chip."
|
||||||
},
|
},
|
||||||
|
@ -1724,6 +1818,25 @@
|
||||||
"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": {
|
||||||
|
"message": "No card inserted"
|
||||||
|
},
|
||||||
|
"sdcardStatusReboot": {
|
||||||
|
"message": "Fatal error<br>Reboot to retry"
|
||||||
|
},
|
||||||
|
"sdcardStatusReady": {
|
||||||
|
"message": "Card ready"
|
||||||
|
},
|
||||||
|
"sdcardStatusStarting": {
|
||||||
|
"message": "Card starting..."
|
||||||
|
},
|
||||||
|
"sdcardStatusFileSystem": {
|
||||||
|
"message": "Filesystem starting..."
|
||||||
|
},
|
||||||
|
"sdcardStatusUnknown": {
|
||||||
|
"message": "Unknown state $1"
|
||||||
|
},
|
||||||
|
|
||||||
"firmwareFlasherReleaseSummaryHead": {
|
"firmwareFlasherReleaseSummaryHead": {
|
||||||
"message": "Release info"
|
"message": "Release info"
|
||||||
|
|
2
main.js
2
main.js
|
@ -339,7 +339,7 @@ $(document).ready(function () {
|
||||||
|
|
||||||
state = true;
|
state = true;
|
||||||
}
|
}
|
||||||
$(this).text(state ? 'Hide Log' : 'Show Log');
|
$(this).text(state ? chrome.i18n.getMessage('logActionHide') : chrome.i18n.getMessage('logActionShow'));
|
||||||
$(this).data('state', state);
|
$(this).data('state', state);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="tab-configuration toolbar_fixed_bottom">
|
<div class="tab-configuration toolbar_fixed_bottom">
|
||||||
<div class="content_wrapper">
|
<div class="content_wrapper">
|
||||||
<div class="tab_title" i18n="tabConfiguration">Configuration</div>
|
<div class="tab_title" i18n="tabConfiguration"></div>
|
||||||
<div class="cf_doc_version_bt">
|
<div class="cf_doc_version_bt">
|
||||||
<a id="button-documentation" href="https://github.com/betaflight/betaflight/releases" target="_blank"></a>
|
<a id="button-documentation" href="https://github.com/betaflight/betaflight/releases" target="_blank"></a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -271,7 +271,7 @@
|
||||||
<label>
|
<label>
|
||||||
<span i18n="configurationSensorAlignmentGyro"></span>
|
<span i18n="configurationSensorAlignmentGyro"></span>
|
||||||
<select class="gyroalign">
|
<select class="gyroalign">
|
||||||
<option value="0">Default</option>
|
<option i18n="configurationSensorAlignmentDefaultOption" value="0"></option>
|
||||||
<!-- list generated here -->
|
<!-- list generated here -->
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
@ -280,7 +280,7 @@
|
||||||
<label>
|
<label>
|
||||||
<span i18n="configurationSensorAlignmentAcc"></span>
|
<span i18n="configurationSensorAlignmentAcc"></span>
|
||||||
<select class="accalign">
|
<select class="accalign">
|
||||||
<option value="0">Default</option>
|
<option i18n="configurationSensorAlignmentDefaultOption" value="0"></option>
|
||||||
<!-- list generated here -->
|
<!-- list generated here -->
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
@ -289,7 +289,7 @@
|
||||||
<label>
|
<label>
|
||||||
<span i18n="configurationSensorAlignmentMag"></span>
|
<span i18n="configurationSensorAlignmentMag"></span>
|
||||||
<select class="magalign">
|
<select class="magalign">
|
||||||
<option value="0">Default</option>
|
<option value="0" i18n="configurationSensorAlignmentDefaultOption"></option>
|
||||||
<!-- list generated here -->
|
<!-- list generated here -->
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="tab-failsafe toolbar_fixed_bottom">
|
<div class="tab-failsafe toolbar_fixed_bottom">
|
||||||
<div class="content_wrapper">
|
<div class="content_wrapper">
|
||||||
<div class="tab_title">Failsafe</div>
|
<div i18n="tabFailsafe" class="tab_title"></div>
|
||||||
<div class="cf_doc_version_bt">
|
<div class="cf_doc_version_bt">
|
||||||
<a id="button-documentation" href="https://github.com/betaflight/betaflight/releases" target="_blank"></a>
|
<a id="button-documentation" href="https://github.com/betaflight/betaflight/releases" target="_blank"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -56,9 +56,9 @@
|
||||||
<div class="spacer_box GPS_signal_strength">
|
<div class="spacer_box GPS_signal_strength">
|
||||||
<table class="cf_table">
|
<table class="cf_table">
|
||||||
<tr class="titles">
|
<tr class="titles">
|
||||||
<td style="width: 20%;">Sat ID</td>
|
<td style="width: 20%;" i18n="gpsSignalSatId"></td>
|
||||||
<td style="width: 15%;">Qty</td>
|
<td style="width: 15%;" i18n="gpsSignalQty"></td>
|
||||||
<td style="width: 65%;" i18n="gpsSignalStr">Signal Strength</td>
|
<td style="width: 65%;" i18n="gpsSignalStr"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>0</td>
|
<td>0</td>
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
<div class="table">
|
<div class="table">
|
||||||
<div class="sensor row">
|
<div class="sensor row">
|
||||||
<div class="left-cell motor-button">
|
<div class="left-cell motor-button">
|
||||||
<a class="reset_max" href="#" i18n_title="motorsResetMaximum">Reset</a>
|
<a class="reset_max" href="#" i18n="motorsResetMaximumButton" i18n_title="motorsResetMaximum"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="right-cell">
|
<div class="right-cell">
|
||||||
<select name="sensor_choice">
|
<select name="sensor_choice">
|
||||||
<option value="gyro" selected="selected">Gyro</option>
|
<option value="gyro" selected="selected" i18n="motorsSensorGyroSelect"></option>
|
||||||
<option value="accel">Accel</option>
|
<option value="accel" i18n="motorsSensorAccelSelect"></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
<div class="gui_box motorblock">
|
<div class="gui_box motorblock">
|
||||||
<div class="spacer">
|
<div class="spacer">
|
||||||
<div class="left motors">
|
<div class="left motors">
|
||||||
<div class="title2">Motors</div>
|
<div class="title2" i18n="motorsText"></div>
|
||||||
<ul class="titles">
|
<ul class="titles">
|
||||||
<li i18n_title="motorNumber1">1</li>
|
<li i18n_title="motorNumber1">1</li>
|
||||||
<li i18n_title="motorNumber2">2</li>
|
<li i18n_title="motorNumber2">2</li>
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
<div class="bar-wrapper"></div>
|
<div class="bar-wrapper"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right servos">
|
<div class="right servos">
|
||||||
<div class="title2">Servos</div>
|
<div class="title2" i18n="servosText"></div>
|
||||||
<ul class="titles">
|
<ul class="titles">
|
||||||
<li i18n_title="servoNumber8">8</li>
|
<li i18n_title="servoNumber8">8</li>
|
||||||
<li i18n_title="servoNumber7">7</li>
|
<li i18n_title="servoNumber7">7</li>
|
||||||
|
|
|
@ -276,11 +276,11 @@ TABS.onboard_logging.initialize = function (callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_html() {
|
function update_html() {
|
||||||
update_bar_width($(".tab-onboard_logging .dataflash-used"), DATAFLASH.usedSize, DATAFLASH.totalSize, "Used space", false);
|
update_bar_width($(".tab-onboard_logging .dataflash-used"), DATAFLASH.usedSize, DATAFLASH.totalSize, chrome.i18n.getMessage('dataflashUsedSpace'), false);
|
||||||
update_bar_width($(".tab-onboard_logging .dataflash-free"), DATAFLASH.totalSize - DATAFLASH.usedSize, DATAFLASH.totalSize, "Free space", false);
|
update_bar_width($(".tab-onboard_logging .dataflash-free"), DATAFLASH.totalSize - DATAFLASH.usedSize, DATAFLASH.totalSize, chrome.i18n.getMessage('dataflashFreeSpace'), false);
|
||||||
|
|
||||||
update_bar_width($(".tab-onboard_logging .sdcard-other"), SDCARD.totalSizeKB - SDCARD.freeSizeKB, SDCARD.totalSizeKB, "Unavailable space", true);
|
update_bar_width($(".tab-onboard_logging .sdcard-other"), SDCARD.totalSizeKB - SDCARD.freeSizeKB, SDCARD.totalSizeKB, chrome.i18n.getMessage('dataflashUnavSpace'), true);
|
||||||
update_bar_width($(".tab-onboard_logging .sdcard-free"), SDCARD.freeSizeKB, SDCARD.totalSizeKB, "Free space for logs", true);
|
update_bar_width($(".tab-onboard_logging .sdcard-free"), SDCARD.freeSizeKB, SDCARD.totalSizeKB, chrome.i18n.getMessage('dataflashLogsSpace'), true);
|
||||||
|
|
||||||
$(".btn a.erase-flash, .btn a.save-flash").toggleClass("disabled", DATAFLASH.usedSize === 0);
|
$(".btn a.erase-flash, .btn a.save-flash").toggleClass("disabled", DATAFLASH.usedSize === 0);
|
||||||
|
|
||||||
|
@ -291,22 +291,22 @@ TABS.onboard_logging.initialize = function (callback) {
|
||||||
|
|
||||||
switch (SDCARD.state) {
|
switch (SDCARD.state) {
|
||||||
case MSP.SDCARD_STATE_NOT_PRESENT:
|
case MSP.SDCARD_STATE_NOT_PRESENT:
|
||||||
$(".sdcard-status").text("No card inserted");
|
$(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusNoCard'));
|
||||||
break;
|
break;
|
||||||
case MSP.SDCARD_STATE_FATAL:
|
case MSP.SDCARD_STATE_FATAL:
|
||||||
$(".sdcard-status").html("Fatal error<br>Reboot to retry");
|
$(".sdcard-status").html(chrome.i18n.getMessage('sdcardStatusReboot'));
|
||||||
break;
|
break;
|
||||||
case MSP.SDCARD_STATE_READY:
|
case MSP.SDCARD_STATE_READY:
|
||||||
$(".sdcard-status").text("Card ready");
|
$(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusReady'));
|
||||||
break;
|
break;
|
||||||
case MSP.SDCARD_STATE_CARD_INIT:
|
case MSP.SDCARD_STATE_CARD_INIT:
|
||||||
$(".sdcard-status").text("Card starting...");
|
$(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusStarting'));
|
||||||
break;
|
break;
|
||||||
case MSP.SDCARD_STATE_FS_INIT:
|
case MSP.SDCARD_STATE_FS_INIT:
|
||||||
$(".sdcard-status").text("Filesystem starting...");
|
$(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusFileSystem'));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$(".sdcard-status").text("Unknown state " + SDCARD.state);
|
$(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusUnknown',[SDCARD.state]));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SDCARD.supported && !sdcardTimer) {
|
if (SDCARD.supported && !sdcardTimer) {
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<input type="text" name="rcmap" spellcheck="false" />
|
<input type="text" name="rcmap" spellcheck="false" />
|
||||||
<select class="hybrid_helper"
|
<select class="hybrid_helper"
|
||||||
name="rcmap_helper">
|
name="rcmap_helper">
|
||||||
<option value="AETR1234">Default</option>
|
<option i18n="receiverChannelDefaultOption" value="AETR1234"></option>
|
||||||
<option value="AETR1234">FrSky / Futaba / Hitec</option>
|
<option value="AETR1234">FrSky / Futaba / Hitec</option>
|
||||||
<option value="TAER1234">Spektrum / Graupner / JR</option>
|
<option value="TAER1234">Spektrum / Graupner / JR</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -225,7 +225,7 @@ TABS.receiver.initialize = function (callback) {
|
||||||
|
|
||||||
// rssi
|
// rssi
|
||||||
var rssi_channel_e = $('select[name="rssi_channel"]');
|
var rssi_channel_e = $('select[name="rssi_channel"]');
|
||||||
rssi_channel_e.append('<option value="0">Disabled</option>');
|
rssi_channel_e.append('<option value="0">' + chrome.i18n.getMessage("receiverRssiChannelDisabledOption") + '</option>');
|
||||||
//1-4 reserved for Roll Pitch Yaw & Throttle, starting at 5
|
//1-4 reserved for Roll Pitch Yaw & Throttle, starting at 5
|
||||||
for (var i = 5; i < RC.active_channels + 1; i++) {
|
for (var i = 5; i < RC.active_channels + 1; i++) {
|
||||||
rssi_channel_e.append('<option value="' + i + '">' + chrome.i18n.getMessage("controlAxisAux" + (i-4)) + '</option>');
|
rssi_channel_e.append('<option value="' + i + '">' + chrome.i18n.getMessage("controlAxisAux" + (i-4)) + '</option>');
|
||||||
|
|
|
@ -1,31 +1,29 @@
|
||||||
<div class="tab-sensors">
|
<div class="tab-sensors">
|
||||||
<div class="content_wrapper">
|
<div class="content_wrapper">
|
||||||
<div class="tab_title" i18n="tabRawSensorData">tabRawSensorData</div>
|
<div class="tab_title" i18n="tabRawSensorData"></div>
|
||||||
<div class="cf_doc_version_bt">
|
<div class="cf_doc_version_bt">
|
||||||
<a id="button-documentation" href="https://github.com/betaflight/betaflight/releases" target="_blank"></a>
|
<a id="button-documentation" href="https://github.com/betaflight/betaflight/releases" target="_blank"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="note" style="margin-bottom: 10px;">
|
<div class="note" style="margin-bottom: 10px;">
|
||||||
<div class="note_spacer">
|
<div class="note_spacer">
|
||||||
<p i18n="sensorsInfo">Keep in mind that using fast update periods and rendering multiple graphs at
|
<p i18n="sensorsInfo"></p>
|
||||||
the same time is resource heavy and will burn your battery quicker if you use a laptop. We recommend
|
|
||||||
to only render graphs for sensors you are interested in while using reasonable update periods.</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="gui_box">
|
<div class="gui_box">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<div class="checkboxes">
|
<div class="checkboxes">
|
||||||
<label><input type="checkbox" name="gyro_on" class="first" />Gyroscope</label> <label><input
|
<label><input type="checkbox" name="gyro_on" class="first" /><span i18n="sensorsGyroSelect"/></label> <label><input
|
||||||
type="checkbox" name="accel_on" />Accelerometer</label> <label><input type="checkbox"
|
type="checkbox" name="accel_on" /><span i18n="sensorsAccelSelect"/></label> <label><input type="checkbox"
|
||||||
name="mag_on" />Magnetometer</label> <label><input type="checkbox" name="baro_on" />Barometer</label> <label><input
|
name="mag_on" /><span i18n="sensorsMagSelect"/></label> <label><input type="checkbox" name="baro_on" /><span i18n="sensorsBaroSelect"/></label> <label><input
|
||||||
type="checkbox" name="sonar_on" />Sonar</label> <label><input type="checkbox" name="debug_on" />Debug</label>
|
type="checkbox" name="sonar_on" /><span i18n="sensorsSonarSelect"/></label> <label><input type="checkbox" name="debug_on" /><span i18n="sensorsDebugSelect"/></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wrapper gyro">
|
<div class="wrapper gyro">
|
||||||
<div class="gui_box grey">
|
<div class="gui_box grey">
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Gyroscope - deg/s</div>
|
<div class="title" i18n="sensorsGyroTitle"></div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt i18n="sensorsRefresh"></dt>
|
<dt i18n="sensorsRefresh"></dt>
|
||||||
<dd class="rate">
|
<dd class="rate">
|
||||||
|
@ -71,7 +69,7 @@
|
||||||
<div class="wrapper accel">
|
<div class="wrapper accel">
|
||||||
<div class="gui_box grey">
|
<div class="gui_box grey">
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Accelerometer - g</div>
|
<div class="title" i18n="sensorsAccelTitle"></div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt i18n="sensorsRefresh"></dt>
|
<dt i18n="sensorsRefresh"></dt>
|
||||||
<dd class="rate">
|
<dd class="rate">
|
||||||
|
@ -117,7 +115,7 @@
|
||||||
<div class="wrapper mag">
|
<div class="wrapper mag">
|
||||||
<div class="gui_box grey">
|
<div class="gui_box grey">
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Magnetometer - Ga</div>
|
<div class="title" i18n="sensorsMagTitle"></div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt i18n="sensorsRefresh"></dt>
|
<dt i18n="sensorsRefresh"></dt>
|
||||||
<dd class="rate">
|
<dd class="rate">
|
||||||
|
@ -161,7 +159,7 @@
|
||||||
<div class="wrapper baro">
|
<div class="wrapper baro">
|
||||||
<div class="gui_box grey">
|
<div class="gui_box grey">
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Barometer - meters</div>
|
<div class="title" i18n="sensorsBaroTitle"></div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt i18n="sensorsRefresh"></dt>
|
<dt i18n="sensorsRefresh"></dt>
|
||||||
<dd class="rate">
|
<dd class="rate">
|
||||||
|
@ -195,7 +193,7 @@
|
||||||
<div class="wrapper sonar">
|
<div class="wrapper sonar">
|
||||||
<div class="gui_box grey">
|
<div class="gui_box grey">
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Sonar - cm</div>
|
<div class="title" i18n="sensorsSonarTitle"></div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt i18n="sensorsRefresh"></dt>
|
<dt i18n="sensorsRefresh"></dt>
|
||||||
<dd class="rate">
|
<dd class="rate">
|
||||||
|
@ -228,7 +226,7 @@
|
||||||
<div class="wrapper debug">
|
<div class="wrapper debug">
|
||||||
<div class="gui_box grey">
|
<div class="gui_box grey">
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Debug 0</div>
|
<div class="title"><span i18n="sensorsDebugTitle"/> 0</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt i18n="sensorsRefresh"></dt>
|
<dt i18n="sensorsRefresh"></dt>
|
||||||
<dd class="rate">
|
<dd class="rate">
|
||||||
|
@ -257,7 +255,7 @@
|
||||||
</svg>
|
</svg>
|
||||||
<div class="clear-both"></div>
|
<div class="clear-both"></div>
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Debug 1</div>
|
<div class="title"><span i18n="sensorsDebugTitle"/> 1</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>X:</dt>
|
<dt>X:</dt>
|
||||||
<dd class="x">blue</dd>
|
<dd class="x">blue</dd>
|
||||||
|
@ -272,7 +270,7 @@
|
||||||
</svg>
|
</svg>
|
||||||
<div class="clear-both"></div>
|
<div class="clear-both"></div>
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Debug 2</div>
|
<div class="title"><span i18n="sensorsDebugTitle"/> 2</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>X:</dt>
|
<dt>X:</dt>
|
||||||
<dd class="x">0</dd>
|
<dd class="x">0</dd>
|
||||||
|
@ -287,7 +285,7 @@
|
||||||
</svg>
|
</svg>
|
||||||
<div class="clear-both"></div>
|
<div class="clear-both"></div>
|
||||||
<div class="plot_control">
|
<div class="plot_control">
|
||||||
<div class="title">Debug 3</div>
|
<div class="title"><span i18n="sensorsDebugTitle"/> 3</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>X:</dt>
|
<dt>X:</dt>
|
||||||
<dd class="x">0</dd>
|
<dd class="x">0</dd>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<div id="accel_calib_running">
|
<div id="accel_calib_running">
|
||||||
<div class="data-loading-setup">
|
<div class="data-loading-setup">
|
||||||
<p>Calibrating...</p>
|
<p i18n="initialSetupButtonCalibratingText"></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<div id="mag_calib_running">
|
<div id="mag_calib_running">
|
||||||
<div class="data-loading-setup">
|
<div class="data-loading-setup">
|
||||||
<p>Calibrating...</p>
|
<p i18n="initialSetupButtonCalibratingText"></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue