mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
add i18n
This commit is contained in:
parent
7ba9f41b87
commit
ad91e65699
2 changed files with 24 additions and 6 deletions
|
@ -5656,5 +5656,23 @@
|
||||||
},
|
},
|
||||||
"dialogRatesTypeConfirm": {
|
"dialogRatesTypeConfirm": {
|
||||||
"message": "Change"
|
"message": "Change"
|
||||||
|
},
|
||||||
|
"gpsSbasAutoDetect": {
|
||||||
|
"message": "Auto-detect"
|
||||||
|
},
|
||||||
|
"gpsSbasEuropeanEGNOS": {
|
||||||
|
"message": "European EGNOS"
|
||||||
|
},
|
||||||
|
"gpsSbasNorthAmericanWAAS": {
|
||||||
|
"message": "North American WAAS"
|
||||||
|
},
|
||||||
|
"gpsSbasJapaneseMSAS": {
|
||||||
|
"message": "Japanese MSAS"
|
||||||
|
},
|
||||||
|
"gpsSbasIndianGAGAN": {
|
||||||
|
"message": "Indian GAGAN"
|
||||||
|
},
|
||||||
|
"gpsSbasNone": {
|
||||||
|
"message": "None"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -702,14 +702,14 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
||||||
];
|
];
|
||||||
|
|
||||||
var gpsSbas = [
|
var gpsSbas = [
|
||||||
'Auto-detect',
|
i18n.getMessage('gpsSbasAutoDetect'),
|
||||||
'European EGNOS',
|
i18n.getMessage('gpsSbasEuropeanEGNOS'),
|
||||||
'North American WAAS',
|
i18n.getMessage('gpsSbasNorthAmericanWAAS'),
|
||||||
'Japanese MSAS',
|
i18n.getMessage('gpsSbasJapaneseMSAS'),
|
||||||
'Indian GAGAN'
|
i18n.getMessage('gpsSbasIndianGAGAN')
|
||||||
];
|
];
|
||||||
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||||
gpsSbas.push('NONE');
|
gpsSbas.push(i18n.getMessage('gpsSbasNone'));
|
||||||
}
|
}
|
||||||
|
|
||||||
var gps_protocol_e = $('select.gps_protocol');
|
var gps_protocol_e = $('select.gps_protocol');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue