diff --git a/locales/en/messages.json b/locales/en/messages.json index 2e11126e..c8f9f439 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -6194,7 +6194,6 @@ "message": "This table represents all the frequencies that can be used for your VTX. You can have several bands and for each band you must configure:
- $t(vtxTableBandTitleName.message): Name that you want to assign to this band, like BOSCAM_A, FATSHARK or RACEBAND.
- $t(vtxTableBandTitleLetter.message): Short letter that references the band.
- $t(vtxTableBandTitleFactory.message): This indicates if it is a factory band. If enabled Betaflight sends to the VTX a band and channel number. The VTX will then use its built-in frequency table and the frequencies configured here are only to show the value in the OSD and other places. If it is not enabled, then Betaflight will send to the VTX the real frequency configured here.
- Frequencies: Frequencies for this band.

Remember that not all frequencies are legal at your country. You must put a value of zero to each frequency index that you are not allowed to use to disable it.", "description": "Help for the table of bands-channels that appears in the VTX tab" }, - "vtxSavedFileOk": { "message": "VTX Config file saved", "description": "Message in the GUI log when the VTX Config file is saved" @@ -6203,6 +6202,14 @@ "message": "Error while saving the VTX Config file", "description": "Message in the GUI log when the VTX Config file is saved" }, + "vtxSavedLuaFileOk": { + "message": "lua VTX Config file saved", + "description": "Message in the GUI log when the lua VTX Config file is saved" + }, + "vtxSavedLuaFileKo": { + "message": "Error while saving the lua VTX Config file", + "description": "Message in the GUI log when the lua VTX Config file saving has failed" + }, "vtxLoadFileOk": { "message": "VTX Config file loaded", "description": "Message in the GUI log when the VTX Config file is loaded" diff --git a/src/js/tabs/vtx.js b/src/js/tabs/vtx.js index 29f87ddb..8a7f5c98 100644 --- a/src/js/tabs/vtx.js +++ b/src/js/tabs/vtx.js @@ -633,7 +633,7 @@ vtx.initialize = function (callback) { writer.onerror = function(){ console.error('Failed to write VTX table lua file'); - GUI.log(i18n.getMessage('vtxSavedFileKo')); + GUI.log(i18n.getMessage('vtxSavedLuaFileKo')); }; writer.onwriteend = function() { @@ -646,7 +646,7 @@ vtx.initialize = function (callback) { writer.onwriteend = function() { analytics.sendEvent(analytics.EVENT_CATEGORIES.FLIGHT_CONTROLLER, 'VtxTableLuaSave', text.length); console.log('Write VTX table lua file end'); - GUI.log(i18n.getMessage('vtxSavedFileOk')); + GUI.log(i18n.getMessage('vtxSavedLuaFileOk')); }; writer.write(data); @@ -656,7 +656,7 @@ vtx.initialize = function (callback) { }, function (){ console.error('Failed to get VTX table lua file writer'); - GUI.log(i18n.getMessage('vtxSavedFileKo')); + GUI.log(i18n.getMessage('vtxSavedLuaFileKo')); }); }); }