diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 69a3ae12..b324f8f9 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -164,6 +164,13 @@ "message": "Modes" }, + "logActionHide": { + "message": "Hide Log" + }, + "logActionShow": { + "message": "Show Log" + }, + "serialPortOpened": { "message": "Serial port successfully opened with ID: $1" }, @@ -303,6 +310,9 @@ "message": "Welcome to Betaflight - Configurator, a utility designed to simplify updating, configuring and tuning of your flight controller." }, + "defaultWelcomeHead": { + "message": "Hardware" + }, "defaultWelcomeText": { "message": "The application supports all hardware that can run Betaflight. Check flash tab for full list of hardware.

Download Betaflight Blackbox

The firmware source code can be downloaded from here
The newest binary firmware image is available here

Latest CP210x Drivers can be downloaded from here
Latest STM USB VCP Drivers can be downloaded from here
Latest Zadig for Windows USB driver installation can be downloaded from here
" }, @@ -312,6 +322,9 @@ "defaultContributingText": { "message": "If you would like to help make Betaflight even better you can help in many ways, including:
" }, + "defaultChangelogAction": { + "message": "Changelog" + }, "defaultChangelogHead": { "message": "Configurator - Changelog" }, @@ -385,6 +398,9 @@ "initialSetupCalibrateMagText": { "message": "Move multirotor at least 360 degrees on all axis of rotation, you have 30 seconds to perform this task" }, + "initialSetupButtonCalibratingText": { + "message": "Calibrating..." + }, "initialSetupButtonReset": { "message": "Reset Settings" }, @@ -712,6 +728,9 @@ "configurationSensorAlignmentMag": { "message": "MAG Alignment" }, + "configurationSensorAlignmentDefaultOption": { + "message": "Default" + }, "configurationAccelTrims": { "message": "Accelerometer Trim" }, @@ -1190,12 +1209,18 @@ "receiverChannelMap": { "message": "Channel Map" }, + "receiverChannelDefaultOption": { + "message": "Default" + }, "receiverChannelMapTitle": { "message": "You can define your own channel map by clicking inside the box" }, "receiverRssiChannel": { "message": "RSSI Channel" }, + "receiverRssiChannelDisabledOption": { + "message": "Disabled" + }, "receiverRefreshRateTitle": { "message": "Graph refresh rate" }, @@ -1523,7 +1548,16 @@ "gpsSignalStr": { "message": "Signal Strength" }, + "gpsSignalSatId": { + "message": "Sat ID" + }, + "gpsSignalQty": { + "message": "Qty" + }, + "motorsText":{ + "message": "Motors" + }, "motorNumber1":{ "message": "Motor - 1" }, @@ -1549,6 +1583,9 @@ "message": "Motor - 8" }, + "servosText":{ + "message": "Servos" + }, "servoNumber1":{ "message": "Servo - 1" }, @@ -1573,10 +1610,19 @@ "servoNumber8":{ "message": "Servo - 8" }, - + + "motorsResetMaximumButton":{ + "message": "Reset" + }, "motorsResetMaximum":{ "message": "Reset overtime maximum" }, + "motorsSensorGyroSelect":{ + "message": "gyro" + }, + "motorsSensorAccelSelect":{ + "message": "accel" + }, "motorsMaster": { "message": "Master" }, @@ -1596,6 +1642,42 @@ "sensorsScale": { "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": { "message": "Note: Leaving CLI tab or pressing Disconnect will automatically send \"exit\" to the board. With the latest firmware this will make the controller restart and unsaved changes will be lost." @@ -1679,6 +1761,18 @@ "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": { "message": "Flight logs can be recorded to your flight controller's onboard dataflash chip." }, @@ -1724,6 +1818,25 @@ "dataflashFileWriteFailed": { "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
Reboot to retry" + }, + "sdcardStatusReady": { + "message": "Card ready" + }, + "sdcardStatusStarting": { + "message": "Card starting..." + }, + "sdcardStatusFileSystem": { + "message": "Filesystem starting..." + }, + "sdcardStatusUnknown": { + "message": "Unknown state $1" + }, "firmwareFlasherReleaseSummaryHead": { "message": "Release info" diff --git a/main.js b/main.js index a33fb3f3..ab174f9e 100644 --- a/main.js +++ b/main.js @@ -339,7 +339,7 @@ $(document).ready(function () { state = true; } - $(this).text(state ? 'Hide Log' : 'Show Log'); + $(this).text(state ? chrome.i18n.getMessage('logActionHide') : chrome.i18n.getMessage('logActionShow')); $(this).data('state', state); }); diff --git a/tabs/configuration.html b/tabs/configuration.html index 387b7848..f87c1c55 100644 --- a/tabs/configuration.html +++ b/tabs/configuration.html @@ -1,6 +1,6 @@
-
Configuration
+
@@ -271,7 +271,7 @@ @@ -280,7 +280,7 @@ @@ -289,7 +289,7 @@ diff --git a/tabs/failsafe.html b/tabs/failsafe.html index fb00ecdc..e9b70ad1 100644 --- a/tabs/failsafe.html +++ b/tabs/failsafe.html @@ -1,6 +1,6 @@
-
Failsafe
+
diff --git a/tabs/gps.html b/tabs/gps.html index 97c338fd..f2f05747 100644 --- a/tabs/gps.html +++ b/tabs/gps.html @@ -56,9 +56,9 @@
- - - + + + diff --git a/tabs/motors.html b/tabs/motors.html index defd329c..55af494a 100644 --- a/tabs/motors.html +++ b/tabs/motors.html @@ -23,12 +23,12 @@
- Reset +
@@ -104,7 +104,7 @@
-
Motors
+
  • 1
  • 2
  • @@ -118,7 +118,7 @@
-
Servos
+
  • 8
  • 7
  • diff --git a/tabs/onboard_logging.js b/tabs/onboard_logging.js index 5ad5fbe7..da632037 100644 --- a/tabs/onboard_logging.js +++ b/tabs/onboard_logging.js @@ -276,11 +276,11 @@ TABS.onboard_logging.initialize = function (callback) { } 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-free"), DATAFLASH.totalSize - DATAFLASH.usedSize, DATAFLASH.totalSize, "Free 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, 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-free"), SDCARD.freeSizeKB, SDCARD.totalSizeKB, "Free space for logs", 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, chrome.i18n.getMessage('dataflashLogsSpace'), true); $(".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) { case MSP.SDCARD_STATE_NOT_PRESENT: - $(".sdcard-status").text("No card inserted"); + $(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusNoCard')); break; case MSP.SDCARD_STATE_FATAL: - $(".sdcard-status").html("Fatal error
    Reboot to retry"); + $(".sdcard-status").html(chrome.i18n.getMessage('sdcardStatusReboot')); break; case MSP.SDCARD_STATE_READY: - $(".sdcard-status").text("Card ready"); + $(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusReady')); break; case MSP.SDCARD_STATE_CARD_INIT: - $(".sdcard-status").text("Card starting..."); + $(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusStarting')); break; case MSP.SDCARD_STATE_FS_INIT: - $(".sdcard-status").text("Filesystem starting..."); + $(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusFileSystem')); break; default: - $(".sdcard-status").text("Unknown state " + SDCARD.state); + $(".sdcard-status").text(chrome.i18n.getMessage('sdcardStatusUnknown',[SDCARD.state])); } if (SDCARD.supported && !sdcardTimer) { diff --git a/tabs/receiver.html b/tabs/receiver.html index 6e129831..601db994 100644 --- a/tabs/receiver.html +++ b/tabs/receiver.html @@ -26,7 +26,7 @@ diff --git a/tabs/receiver.js b/tabs/receiver.js index 47d76b09..bbfef293 100644 --- a/tabs/receiver.js +++ b/tabs/receiver.js @@ -225,7 +225,7 @@ TABS.receiver.initialize = function (callback) { // rssi var rssi_channel_e = $('select[name="rssi_channel"]'); - rssi_channel_e.append(''); + rssi_channel_e.append(''); //1-4 reserved for Roll Pitch Yaw & Throttle, starting at 5 for (var i = 5; i < RC.active_channels + 1; i++) { rssi_channel_e.append(''); diff --git a/tabs/sensors.html b/tabs/sensors.html index 9d951e3b..05b058f2 100644 --- a/tabs/sensors.html +++ b/tabs/sensors.html @@ -1,31 +1,29 @@
    -
    tabRawSensorData
    +
    -

    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. We recommend - to only render graphs for sensors you are interested in while using reasonable update periods.

    +

    -
    +
    - +
    -
    Gyroscope - deg/s
    +
    @@ -71,7 +69,7 @@
    -
    Accelerometer - g
    +
    @@ -117,7 +115,7 @@
    -
    Magnetometer - Ga
    +
    @@ -161,7 +159,7 @@
    -
    Barometer - meters
    +
    @@ -195,7 +193,7 @@
    -
    Sonar - cm
    +
    @@ -228,7 +226,7 @@
    -
    Debug 0
    +
    0
    @@ -257,7 +255,7 @@
    -
    Debug 1
    +
    1
    X:
    blue
    @@ -272,7 +270,7 @@
    -
    Debug 2
    +
    2
    X:
    0
    @@ -287,7 +285,7 @@
    -
    Debug 3
    +
    3
    X:
    0
    diff --git a/tabs/setup.html b/tabs/setup.html index e3ff46e6..e531d071 100644 --- a/tabs/setup.html +++ b/tabs/setup.html @@ -16,7 +16,7 @@
    -

    Calibrating...

    +

    @@ -27,7 +27,7 @@
    -

    Calibrating...

    +

Sat IDQtySignal Strength
0