From cf3070a04c94877d1ef73195e547349adc95f909 Mon Sep 17 00:00:00 2001 From: HThuren <99370924+HThuren@users.noreply.github.com> Date: Mon, 6 Nov 2023 19:14:08 +0100 Subject: [PATCH] Translate labels at reciever signal graph (#3622) * Translate labels at reciever signal graph * Fix sonarcloud issue --- locales/en/messages.json | 16 ++++++++++++++++ src/tabs/receiver.html | 16 ++++++++++++---- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/locales/en/messages.json b/locales/en/messages.json index 98cdfcc2bc..e1b7c783fc 100755 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -2211,6 +2211,22 @@ "receiverResetRefreshRateTitle": { "message": "Reset refresh rate" }, + "receiverRowContainerRoll": { + "message": "Roll [A]:", + "description": "Roll label in signal graph" + }, + "receiverRowContainerPitch": { + "message": "Pitch [E]:", + "description": "Pitch label in signal graph" + }, + "receiverRowContainerYaw": { + "message": "Yaw [R]:", + "description": "Yaw label in signal graph" + }, + "receiverRowContainerThrottle": { + "message": "Throttle [T]:", + "description": "Throttle label in signal graph" + }, "receiverButtonSave": { "message": "Save" }, diff --git a/src/tabs/receiver.html b/src/tabs/receiver.html index 6ea574f794..332868f4e6 100644 --- a/src/tabs/receiver.html +++ b/src/tabs/receiver.html @@ -399,7 +399,9 @@
- Roll [A]: +
    +
  • +
0 @@ -407,7 +409,9 @@
- Pitch [E]: +
    +
  • +
0 @@ -415,7 +419,9 @@
- Yaw [R]: +
    +
  • +
0 @@ -423,7 +429,9 @@
- Throttle [T]: +
    +
  • +
0