From 7ba447cba67e3b7926e84036bca88ab25f952d11 Mon Sep 17 00:00:00 2001 From: Emil Date: Sun, 10 Sep 2023 18:08:33 +0300 Subject: [PATCH] feat: Refactor vue components to use i18n (#3560) --- src/components/data-flash/DataFlash.vue | 8 +-- .../port-picker/FirmwareVirtualOption.vue | 44 +++++++------- .../port-picker/PortOverrideOption.vue | 5 +- src/components/port-picker/PortsInput.vue | 10 ++-- .../quad-status/BottomStatusIcons.vue | 12 ++-- src/components/sensor-status/SensorStatus.vue | 60 ++++++++----------- 6 files changed, 60 insertions(+), 79 deletions(-) diff --git a/src/components/data-flash/DataFlash.vue b/src/components/data-flash/DataFlash.vue index 411123feb7..9734ff9ad8 100644 --- a/src/components/data-flash/DataFlash.vue +++ b/src/components/data-flash/DataFlash.vue @@ -2,9 +2,9 @@
- No dataflash
chip found + {{ $t("sensorDataFlashNotFound") }}
- - Dataflash: free + + {{ $t("sensorDataFlashFreeSpace") }} {{ freeSpace }}
diff --git a/src/components/port-picker/FirmwareVirtualOption.vue b/src/components/port-picker/FirmwareVirtualOption.vue index ef0404b932..b3f4703bf0 100644 --- a/src/components/port-picker/FirmwareVirtualOption.vue +++ b/src/components/port-picker/FirmwareVirtualOption.vue @@ -1,33 +1,19 @@