mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Add unknown i18n
This commit is contained in:
parent
c2bae18846
commit
2c42243bfb
2 changed files with 4 additions and 1 deletions
|
@ -4822,6 +4822,9 @@
|
||||||
"onboardLoggingDebugMode": {
|
"onboardLoggingDebugMode": {
|
||||||
"message": "Blackbox debug mode"
|
"message": "Blackbox debug mode"
|
||||||
},
|
},
|
||||||
|
"onboardLoggingDebugModeUnknown": {
|
||||||
|
"message": "UNKNOWN"
|
||||||
|
},
|
||||||
"onboardLoggingSerialLogger": {
|
"onboardLoggingSerialLogger": {
|
||||||
"message": "Outboard serial logging device"
|
"message": "Outboard serial logging device"
|
||||||
},
|
},
|
||||||
|
|
|
@ -328,7 +328,7 @@ TABS.onboard_logging.initialize = function (callback) {
|
||||||
if (i < debugModes.length) {
|
if (i < debugModes.length) {
|
||||||
debugModeSelect.append(new Option(debugModes[i].text, i));
|
debugModeSelect.append(new Option(debugModes[i].text, i));
|
||||||
} else {
|
} else {
|
||||||
debugModeSelect.append(new Option("UNKNOWN", i));
|
debugModeSelect.append(new Option(i18n.getMessage('onboardLoggingDebugModeUnknown'), i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue