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