1
0
Fork 0
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:
IvoFPV 2019-08-12 09:04:12 +02:00
parent c2bae18846
commit 2c42243bfb
2 changed files with 4 additions and 1 deletions

View file

@ -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"
}, },

View file

@ -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));
} }
} }