diff --git a/locales/en/messages.json b/locales/en/messages.json index 9a944f53..d78f69b6 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -5656,5 +5656,29 @@ }, "dialogRatesTypeConfirm": { "message": "Change" + }, + "gpsSbasAutoDetect": { + "message": "Auto-detect", + "description": "One of the options selectable for the GPS SBAS system" + }, + "gpsSbasEuropeanEGNOS": { + "message": "European EGNOS", + "description": "One of the options selectable for the GPS SBAS system" + }, + "gpsSbasNorthAmericanWAAS": { + "message": "North American WAAS", + "description": "One of the options selectable for the GPS SBAS system" + }, + "gpsSbasJapaneseMSAS": { + "message": "Japanese MSAS", + "description": "One of the options selectable for the GPS SBAS system" + }, + "gpsSbasIndianGAGAN": { + "message": "Indian GAGAN", + "description": "One of the options selectable for the GPS SBAS system" + }, + "gpsSbasNone": { + "message": "None", + "description": "One of the options selectable for the GPS SBAS system" } } diff --git a/src/js/tabs/configuration.js b/src/js/tabs/configuration.js index fde2d4c0..9f23cb1d 100644 --- a/src/js/tabs/configuration.js +++ b/src/js/tabs/configuration.js @@ -702,12 +702,15 @@ 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(i18n.getMessage('gpsSbasNone')); + } var gps_protocol_e = $('select.gps_protocol'); for (var i = 0; i < gpsProtocols.length; i++) {