mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
i18n serial console and others
This commit is contained in:
parent
7a6ae52e34
commit
da526cd123
6 changed files with 14 additions and 8 deletions
|
@ -66,7 +66,7 @@ var serial = {
|
|||
self.failed = 0;
|
||||
} else {
|
||||
console.log('SERIAL: Connection did not recover from last onReceiveError, disconnecting');
|
||||
GUI.log('Unrecoverable <span style="color: red">failure</span> of serial connection, disconnecting...');
|
||||
GUI.log(chrome.i18n.getMessage('serialUnrecoverable'));
|
||||
|
||||
if (GUI.connected_to || GUI.connecting_to) {
|
||||
$('a.connect').click();
|
||||
|
@ -96,7 +96,7 @@ var serial = {
|
|||
if (info.paused) {
|
||||
// assume unrecoverable, disconnect
|
||||
console.log('SERIAL: Connection did not recover from ' + self.error + ' condition, disconnecting');
|
||||
GUI.log('Unrecoverable <span style="color: red">failure</span> of serial connection, disconnecting...');
|
||||
GUI.log(chrome.i18n.getMessage('serialUnrecoverable'));
|
||||
|
||||
if (GUI.connected_to || GUI.connecting_to) {
|
||||
$('a.connect').click();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue