From 5377bf528d1fbae587820ac7a8ffbe8a94548f2e 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 411123feb7b..9734ff9ad82 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 ef0404b9328..b3f4703bf02 100644 --- a/src/components/port-picker/FirmwareVirtualOption.vue +++ b/src/components/port-picker/FirmwareVirtualOption.vue @@ -1,33 +1,19 @@