diff --git a/js/gui.js b/js/gui.js index 361e3f68..1da458a7 100644 --- a/js/gui.js +++ b/js/gui.js @@ -529,7 +529,7 @@ GUI_control.prototype.update_dataflash_global = function () { width: (100-(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize) / FC.DATAFLASH.totalSize * 100) + "%", display: 'block' }); - $(".dataflash-free_global div").text('Dataflash: free ' + formatFilesize(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize)); + $(".dataflash-free_global div").text(i18n.getMessage('sensorDataFlashFreeSpace') + formatFilesize(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize)); } else { $(".noflash_global").css({ display: 'block' diff --git a/js/serial_backend.js b/js/serial_backend.js index 4f475c1a..52f10654 100755 --- a/js/serial_backend.js +++ b/js/serial_backend.js @@ -462,6 +462,7 @@ var SerialBackend = (function () { $('#sensor-status').show(); $('#portsinput').hide(); $('#dataflash_wrapper_global').show(); + $('#profiles_wrapper_global').show(); /* * Init PIDs bank with a length that depends on the version @@ -481,9 +482,6 @@ var SerialBackend = (function () { interval.add('global_data_refresh', periodicStatusUpdater.run, periodicStatusUpdater.getUpdateInterval(CONFIGURATOR.connection.bitrate), false); }); - - $('#profiles_wrapper_global').show(); - } privateScope.onClosed = function (result) { diff --git a/locale/en/messages.json b/locale/en/messages.json index 0511e593..e0d9c284 100644 --- a/locale/en/messages.json +++ b/locale/en/messages.json @@ -5700,7 +5700,7 @@ "message": "No dataflash
chip found" }, "sensorDataFlashFreeSpace": { - "message": "Dataflash: free space" + "message": "Dataflash:
free " }, "mixerProfile1": { "message": "Mixer Profile 1" diff --git a/locale/uk/messages.json b/locale/uk/messages.json index 902150a2..74b236e9 100644 --- a/locale/uk/messages.json +++ b/locale/uk/messages.json @@ -5475,7 +5475,7 @@ "message": "Чіп пам'яті
не знайдено" }, "sensorDataFlashFreeSpace": { - "message": "Доступна пам'ять" + "message": "Пам'ять:
Доступна" }, "mixerProfile1": { "message": "Профіль мікшера 1"