diff --git a/locales/en/messages.json b/locales/en/messages.json index a956439b53..d7aa9d6597 100755 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -62,6 +62,10 @@ "message": "Virtual Mode (Experimental)", "description": "Configure a Virtual Flight Controller without the need of a physical FC." }, + "portsSelectPermission": { + "message": "--- I can't find my device ---", + "description": "Option in the port selection dropdown to allow the user to give permissions to the system to access the device." + }, "virtualMSPVersion": { "message": "Virtual Firmware Version" }, diff --git a/src/components/init.js b/src/components/init.js index d96e968e64..fb4a3678c3 100644 --- a/src/components/init.js +++ b/src/components/init.js @@ -13,6 +13,7 @@ import StatusBar from "./status-bar/StatusBar.vue"; import BatteryIcon from "./quad-status/BatteryIcon.vue"; import FC from '../js/fc.js'; import MSP from '../js/msp.js'; +import PortHandler from '../js/port_handler.js'; import PortUsage from '../js/port_usage.js'; import PortPicker from './port-picker/PortPicker.vue'; import CONFIGURATOR from '../js/data_storage.js'; @@ -26,6 +27,7 @@ const betaflightModel = { FC, MSP, PortUsage, + PortHandler, }; i18next.on('initialized', function() { diff --git a/src/components/port-picker/FirmwareVirtualOption.vue b/src/components/port-picker/FirmwareVirtualOption.vue index b3a11a4a35..1a943f2327 100644 --- a/src/components/port-picker/FirmwareVirtualOption.vue +++ b/src/components/port-picker/FirmwareVirtualOption.vue @@ -1,13 +1,13 @@