Added deprecation warning for dataflash saving.

10.5.x-maintenance
mikeller 2019-02-10 12:17:14 +13:00
parent 43bb0e42b5
commit a2c2b82806
3 changed files with 7 additions and 1 deletions

View File

@ -2301,6 +2301,10 @@
"dataflashFirmwareUpgradeRequired": {
"message": "Dataflash requires firmware >= 1.8.0."
},
"dataflashSavingDeprecationNote": {
"message": "(Deprecated, use '<b>$t(onboardLoggingRebootMscText.message)</b>' below:",
"description": "Used to indicate that saving log files through configurator is deprecated if MSC is available. Note: The seemingly unbalanced opening brace is intentional, there is a closing brace in a separate DOM element after the button."
},
"dataflashButtonSaveFile": {
"message": "Save flash to file..."
},

View File

@ -211,7 +211,7 @@
}
.tab-onboard_logging.msc-supported .require-msc-supported {
display: block;
display: unset;
}
.require-msc-not-ready {

View File

@ -97,7 +97,9 @@
<div>
<a class="regular-button erase-flash" href="#" i18n="dataflashButtonErase"></a>
<span class="require-msc-supported" i18n="dataflashSavingDeprecationNote"></span>
<a class="regular-button save-flash" href="#" i18n="dataflashButtonSaveFile"></a>
<span class="require-msc-supported">)</span>
</div>
</div>