mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Improved message when save lua VTX file (#3110)
* Improved message when save lua VTX file * Added new strings * Missing backslash * Update messages.json removed one blank line * Update locales/en/messages.json Co-authored-by: Míguel Ángel Mulero Martínez <mcgivergim@gmail.com> * Update locales/en/messages.json Co-authored-by: Míguel Ángel Mulero Martínez <mcgivergim@gmail.com> * Update locales/en/messages.json Co-authored-by: Míguel Ángel Mulero Martínez <mcgivergim@gmail.com> Co-authored-by: Míguel Ángel Mulero Martínez <mcgivergim@gmail.com>
This commit is contained in:
parent
ec5453e49b
commit
8b79bcd3a0
2 changed files with 11 additions and 4 deletions
|
@ -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'));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue