Merge pull request #881 from McGiverGim/bf-i18n_serial

i18n serial console and others
10.3.x-maintenance
Michael Keller 2018-01-23 08:58:31 +13:00 committed by GitHub
commit 7ffa50cd32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 8 deletions

View File

@ -193,6 +193,9 @@
"serialPortClosedFail": {
"message": "<span class=\"message-negative\">Failed</span> to close serial port"
},
"serialUnrecoverable" : {
"message": "Unrecoverable <span class=\"message-negative\">failure</span> of serial connection, disconnecting..."
},
"usbDeviceOpened": {
"message": "USB device <span class=\"message-positive\">successfully</span> opened with ID: $1"
@ -921,7 +924,7 @@
"configurationSerialRX": {
"message": "Serial Receiver Provider"
},
"configurationSpiRx": {
"configurationSpiRX": {
"message": "SPI Bus Receiver Provider"
},
"configurationEepromSaved": {
@ -1960,6 +1963,9 @@
"firmwareFlasherShowDevelopmentReleasesDescription":{
"message": "Show Release-Candidates and Development Releases."
},
"firmwareFlasherOptionLoading": {
"message": "Loading ..."
},
"firmwareFlasherOptionLabelSelectFirmware": {
"message": "Choose a Firmware / Board"
},

View File

@ -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();

View File

@ -180,7 +180,7 @@
<li class="baro" i18n_title="sensorStatusBaro">
<div class="baroicon">Baro</div>
</li>
<li class="gps" i18n_title="sensorStatusGps">
<li class="gps" i18n_title="sensorStatusGPS">
<div class="gpsicon">GPS</div>
</li>
<li class="sonar" i18n_title="sensorStatusSonar">

View File

@ -5,7 +5,7 @@
<table class="cf_table" style="margin-top: 10px;">
<tr>
<td><select name="board">
<option value="0">Loading ...</option>
<option value="0" i18n="firmwareFlasherOptionLoading">Loading ...</option>
</select></td>
<td><span class="description" i18n="firmwareFlasherOnlineSelectBoardDescription"></span></td>
</tr>
@ -76,7 +76,7 @@
</div>
<div class="spacer" style="margin-bottom: 10px;">
<strong i18n="firmwareFlasherReleaseTarget"></strong> <span class="target"></span><br /> <strong
i18n="firmwareFlasherReleaseName"></strong> <a i18n_title="firmwareFlasherReleaseUrl" class="name"
i18n="firmwareFlasherReleaseName"></strong> <a i18n_title="firmwareFlasherReleaseVersionUrl" class="name"
href="#" target="_blank"></a><br /> <strong i18n="firmwareFlasherReleaseFile"></strong> <a
i18n_title="firmwareFlasherReleaseFileUrl" class="file" href="#" target="_blank"></a><br /> <strong
i18n="firmwareFlasherReleaseDate"></strong> <span class="date"></span><br /> <strong

2
tabs/osd.html Executable file → Normal file
View File

@ -8,7 +8,7 @@
</div>
<div class="unsupported hide">
<p class="note" i18n="osdSetupUnsupportedNote1" />
<p class="note" i18n="osdsetupUnsupportedNote2" />
<p class="note" i18n="osdSetupUnsupportedNote2" />
</div>
<div class="supported hide">
<div style="margin-bottom: 20px;">

View File

@ -72,7 +72,7 @@
<div class="gui_box grey topspacer" style="margin-top: 0px;">
<table class="pid_titlebar">
<tr>
<th class="name" i18n="pidTuningName"></th>
<th class="name"></th>
<th class="proportional" i18n="pidTuningProportional"></th>
<th class="integral" i18n="pidTuningIntegral"></th>
<th class="derivative" i18n="pidTuningDerivative"></th>