From ef2e8086d51d2434de3a527185c7060f36c7c80b Mon Sep 17 00:00:00 2001 From: cTn Date: Thu, 8 May 2014 11:09:23 +0200 Subject: [PATCH] sensors i18n support --- _locales/en/messages.json | 10 ++++++++++ tabs/sensors.html | 21 ++++++++++----------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 90ff7a97..a211d280 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -413,5 +413,15 @@ }, "motorsNotice": { "message": "Motor Test Mode Notice:
Moving the sliders will cause the motors to spin up.
In order to prevent injury remove ALL propellers before using this feature.
If you understand these instructions check the box below to enable motor test.

" + }, + + "sensorsInfo": { + "message": "Keep in mind that using fast update periods and rendering multiple graphs at the same time is resource heavy and will burn your battery quicker if you use a laptop.
We recommend to only render graphs for sensors you are interested in while using reasonable update periods." + }, + "sensorsRefresh": { + "message": "Refresh:" + }, + "sensorsScale": { + "message": "Scale:" } } \ No newline at end of file diff --git a/tabs/sensors.html b/tabs/sensors.html index 279badb3..341180d6 100644 --- a/tabs/sensors.html +++ b/tabs/sensors.html @@ -1,10 +1,9 @@
-

+

Keep in mind that using fast update periods and rendering multiple graphs at the same time is resource heavy and will burn your battery quicker if you use a laptop.
- We recommend to only render graphs for sensors you are interested in while using reasonable - update periods.
+ We recommend to only render graphs for sensors you are interested in while using reasonable update periods.

@@ -18,7 +17,7 @@
Gyroscope - deg/s
-
Refresh:
+
-
Scale:
+
@@ -73,7 +72,7 @@
-
Scale:
+
@@ -113,7 +112,7 @@
-
Scale:
+
@@ -168,7 +167,7 @@
Debug 1
-
Refresh:
+