From c9a2acb65730976a2c2d42747bea6882eb7b4d17 Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Fri, 16 Feb 2018 10:15:28 +0100 Subject: [PATCH] More i18n (sensors and welcome) --- locales/en/messages.json | 32 ++++++++++++++++++++++++++++++++ src/main.html | 16 ++++++++-------- src/tabs/landing.html | 2 +- 3 files changed, 41 insertions(+), 9 deletions(-) diff --git a/locales/en/messages.json b/locales/en/messages.json index 266c8865..2f300778 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -82,24 +82,56 @@ "message": "\u7b80\u4f53\u4e2d\u6587 (zh_CN)" }, + "sensorDataFlashNotFound": { + "message": "No dataflash
chip found", + "description": "Text of the dataflash image in the header of the page." + }, + "sensorDataFlashFreeSpace": { + "message": "Dataflash: free space", + "description": "Text of the dataflash image in the header of the page." + }, "sensorStatusGyro": { "message": "Gyroscope" }, + "sensorStatusGyroShort": { + "message": "Gyro", + "description": "Text of the image in the top sensors icons. Please keep it short." + }, "sensorStatusAccel": { "message": "Accelerometer" }, + "sensorStatusAccelShort": { + "message": "Accel", + "description": "Text of the image in the top sensors icons. Please keep it short." + }, "sensorStatusMag": { "message": "Magnetometer" }, + "sensorStatusMagShort": { + "message": "Mag", + "description": "Text of the image in the top sensors icons. Please keep it short." + }, "sensorStatusBaro": { "message": "Barometer" }, + "sensorStatusBaroShort": { + "message": "Baro", + "description": "Text of the image in the top sensors icons. Please keep it short." + }, "sensorStatusGPS": { "message": "GPS" }, + "sensorStatusGPSShort": { + "message": "GPS", + "description": "Text of the image in the top sensors icons. Please keep it short." + }, "sensorStatusSonar": { "message": "Sonar / Range finder" }, + "sensorStatusSonarShort": { + "message": "Sonar", + "description": "Text of the image in the top sensors icons. Please keep it short." + }, "checkForConfiguratorUnstableVersions": { "message": "Show update notifications for unstable versions of the configurator" }, diff --git a/src/main.html b/src/main.html index fc58ed00..194629fc 100755 --- a/src/main.html +++ b/src/main.html @@ -155,10 +155,10 @@
-
No dataflash
chip found
+
  • -
    Dataflash: free space
    +
@@ -171,22 +171,22 @@
  • -
    Gyro
    +
  • -
    Accel
    +
  • -
    Mag
    +
  • -
    Baro
    +
  • -
    GPS
    +
  • -
    Sonar
    +
diff --git a/src/tabs/landing.html b/src/tabs/landing.html index 7cfd3f34..3f1e56d3 100644 --- a/src/tabs/landing.html +++ b/src/tabs/landing.html @@ -9,7 +9,7 @@
-

Hardware

+