mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
Added some i18n to strings for the GUI console.
This commit is contained in:
parent
b02fe8915a
commit
c45a14fd92
8 changed files with 47 additions and 47 deletions
|
@ -81,7 +81,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options, callback)
|
|||
|
||||
self.initialize();
|
||||
} else {
|
||||
GUI.log('<span style="color: red">Failed</span> to open serial port');
|
||||
GUI.log(chrome.i18n.getMessage('failedToOpenSerialPort'));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
@ -108,7 +108,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options, callback)
|
|||
retries++;
|
||||
if (retries > maxRetries) {
|
||||
clearInterval(interval);
|
||||
GUI.log('<span style="color: red">Failed</span> to flash ' + port);
|
||||
GUI.log(chrome.i18n.getMessage('failedToFlash') + port);
|
||||
}
|
||||
}
|
||||
// Check for DFU devices
|
||||
|
@ -145,7 +145,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options, callback)
|
|||
});
|
||||
});
|
||||
} else {
|
||||
GUI.log('<span style="color: red">Failed</span> to open serial port');
|
||||
GUI.log(chrome.i18n.getMessage('failedToOpenSerialPort'));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue