Merge pull request #931 from McGiverGim/bf-more_i18n

More i18n (sensors and welcome)
10.3.x-maintenance
Michael Keller 2018-02-18 02:42:53 +13:00 committed by GitHub
commit 0a69b2e168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 9 deletions

View File

@ -82,24 +82,56 @@
"message": "\u7b80\u4f53\u4e2d\u6587 (zh_CN)"
},
"sensorDataFlashNotFound": {
"message": "No dataflash <br>chip found",
"description": "Text of the dataflash image in the header of the page."
},
"sensorDataFlashFreeSpace": {
"message": "Dataflash: free space",
"description": "Text of the dataflash image in the header of the page."
},
"sensorStatusGyro": {
"message": "Gyroscope"
},
"sensorStatusGyroShort": {
"message": "Gyro",
"description": "Text of the image in the top sensors icons. Please keep it short."
},
"sensorStatusAccel": {
"message": "Accelerometer"
},
"sensorStatusAccelShort": {
"message": "Accel",
"description": "Text of the image in the top sensors icons. Please keep it short."
},
"sensorStatusMag": {
"message": "Magnetometer"
},
"sensorStatusMagShort": {
"message": "Mag",
"description": "Text of the image in the top sensors icons. Please keep it short."
},
"sensorStatusBaro": {
"message": "Barometer"
},
"sensorStatusBaroShort": {
"message": "Baro",
"description": "Text of the image in the top sensors icons. Please keep it short."
},
"sensorStatusGPS": {
"message": "GPS"
},
"sensorStatusGPSShort": {
"message": "GPS",
"description": "Text of the image in the top sensors icons. Please keep it short."
},
"sensorStatusSonar": {
"message": "Sonar / Range finder"
},
"sensorStatusSonarShort": {
"message": "Sonar",
"description": "Text of the image in the top sensors icons. Please keep it short."
},
"checkForConfiguratorUnstableVersions": {
"message": "Show update notifications for unstable versions of the configurator"
},

View File

@ -155,10 +155,10 @@
</div>
<div class="header-wrapper">
<div id="dataflash_wrapper_global">
<div class="noflash_global" align="center">No dataflash <br>chip found</div>
<div class="noflash_global" align="center" i18n="sensorDataFlashNotFound"></div>
<ul class="dataflash-contents_global">
<li class="dataflash-free_global">
<div class="legend">Dataflash: free space</div>
<div class="legend" i18n="sensorDataFlashFreeSpace"></div>
</li>
</ul>
<div id="expertMode" align="center">
@ -171,22 +171,22 @@
<div id="sensor-status" class="sensor_state mode-connected">
<ul>
<li class="gyro" i18n_title="sensorStatusGyro">
<div class="gyroicon">Gyro</div>
<div class="gyroicon" i18n="sensorStatusGyroShort"></div>
</li>
<li class="accel" i18n_title="sensorStatusAccel">
<div class="accicon">Accel</div>
<div class="accicon" i18n="sensorStatusAccelShort"></div>
</li>
<li class="mag" i18n_title="sensorStatusMag">
<div class="magicon">Mag</div>
<div class="magicon" i18n="sensorStatusMagShort"></div>
</li>
<li class="baro" i18n_title="sensorStatusBaro">
<div class="baroicon">Baro</div>
<div class="baroicon" i18n="sensorStatusBaroShort"></div>
</li>
<li class="gps" i18n_title="sensorStatusGPS">
<div class="gpsicon">GPS</div>
<div class="gpsicon" i18n="sensorStatusGPSShort"></div>
</li>
<li class="sonar" i18n_title="sensorStatusSonar">
<div class="sonaricon">Sonar</div>
<div class="sonaricon" i18n="sensorStatusSonarShort"></div>
</li>
</ul>
</div>

View File

@ -9,7 +9,7 @@
<div class="content_mid">
<div class="column third_left text1">
<div class="wrap">
<h2>Hardware</h2>
<h2 i18n="defaultWelcomeHead"></h2>
<div i18n="defaultWelcomeText"></div>
</div>
</div>