Internationalize mode range copy.

10.3.x-maintenance
Dominic Clifton 2014-10-13 18:59:26 +01:00
parent c9b7cf40f3
commit 7400a2af2f
2 changed files with 13 additions and 23 deletions

View File

@ -354,17 +354,17 @@
"message": "EEPROM <span style=\"color: green\">saved</span>"
},
"auxiliaryName": {
"message": "Name"
"auxiliaryHelp": {
"message": "Use ranges to define the switches on your transmitter and corresponding mode assignments. A receiver channel that gives a reading between a range min/max will activate the mode. Remember to save your settings using the Save button."
},
"auxiliaryLow": {
"message": "LOW"
"auxiliaryMin": {
"message": "Min"
},
"auxiliaryMed": {
"message": "MED"
"auxiliaryMax": {
"message": "Max"
},
"auxiliaryHigh": {
"message": "HIGH"
"auxiliaryAddRange": {
"message": "Add Range"
},
"auxiliaryButtonSave": {
"message": "Save"

View File

@ -1,21 +1,11 @@
<div class="tab-auxiliary_configuration">
<div class="help">
<p>Use ranges to define the switches on your transmitter and corresponding mode assignments. A receiver channel that gives a reading between a range min/max will activate the mode. Remember to save your settings using the Save button.</p>
<p i18n="auxiliaryHelp"></p>
</div>
<table class="modes">
<tbody>
</tbody>
</table>
<!-- templates -->
<table class="boxes">
<tr class="heads">
<th style="width: 18%"></th>
</tr>
<tr class="main">
<th i18n="auxiliaryName"></th>
</tr>
</table>
<div class="buttons">
<a class="save" href="#" i18n="auxiliaryButtonSave"></a>
</div>
@ -26,9 +16,9 @@
<tbody>
<tr class="mode">
<td class="info">
<p class="name">ARM</p>
<p class="name"></p>
<div class="buttons">
<a class="addRange" href="#">Add Range</a>
<a class="addRange" href="#" i18n="auxiliaryAddRange"></a>
</div>
</td>
<td class="ranges">
@ -43,8 +33,8 @@
<option value=""></option>
</select>
<div class="limits">
<p class="lowerLimit">Min: <span class="lowerLimitValue"></span></p>
<p class="upperLimit">Max: <span class="upperLimitValue"></span></p>
<p class="lowerLimit"><span i18n="auxiliaryMin"></span>: <span class="lowerLimitValue"></span></p>
<p class="upperLimit"><span i18n="auxiliaryMax"></span>: <span class="upperLimitValue"></span></p>
</div>
</div>
<div class="channel-slider pips-channel-range">