From 6f6f4738c41b95db18d0836d3e67598c96b6fbf0 Mon Sep 17 00:00:00 2001 From: Richard Cooper Date: Mon, 28 Oct 2019 21:11:00 +0000 Subject: [PATCH] Add tooltip and info for save lua button. --- locales/en/messages.json | 6 +++++- src/tabs/vtx.html | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/locales/en/messages.json b/locales/en/messages.json index 97417728..99b06a85 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -4993,7 +4993,7 @@ }, "vtxHelp": { - "message": "Here you can configure the values for your Video Transmitter (VTX). You can view and change the transmission values, including the VTX Tables, if the flight controller and the VTX support it.
To set up your VTX use the following steps:
1. Go to this page;
2. Find the appropriate VTX configuration file for your country and your VTX model and download it;
3. Click '$t(vtxButtonLoadFile.message)' below, select the VTX configuration file, load it;
4. Verify that the settings are correct;
5. Click '$t(vtxButtonSave.message)' to store the VTX settings on the flight controller.", + "message": "Here you can configure the values for your Video Transmitter (VTX). You can view and change the transmission values, including the VTX Tables, if the flight controller and the VTX support it.
To set up your VTX use the following steps:
1. Go to this page;
2. Find the appropriate VTX configuration file for your country and your VTX model and download it;
3. Click '$t(vtxButtonLoadFile.message)' below, select the VTX configuration file, load it;
4. Verify that the settings are correct;
5. Click '$t(vtxButtonSave.message)' to store the VTX settings on the flight controller.
6. Optionally click '$t(vtxButtonSaveLua.message)' to save a lua configuration file you can use with the betaflight lua scripts (See more here.)", "description": "Introduction message in the VTX tab" }, "vtxMessageNotSupported": { @@ -5229,6 +5229,10 @@ "message": "Save Lua Script", "description": "Save Lua script button in the VTX tab" }, + "vtxLuaFileHelp" :{ + "message": "The '$t(vtxButtonSaveLua.message)' button will allow you to save a craftname.lua file containing the vtx table configuration that can be used with the betaflight lua scripts. (See more here.)", + "description": "Tooltip message for the Save Lua script button in the VTX tab" + }, "vtxButtonLoadFile": { "message": "Load from file", "description": "Load to file button in the VTX tab" diff --git a/src/tabs/vtx.html b/src/tabs/vtx.html index 9ce55abf..0bb29e1f 100644 --- a/src/tabs/vtx.html +++ b/src/tabs/vtx.html @@ -254,6 +254,7 @@
+