Merge pull request #1042 from McGiverGim/i18n_failsafe_kill_options

i18n failsafe switch modes
10.3.x-maintenance
Michael Keller 2018-06-06 22:27:28 +12:00 committed by GitHub
commit 3f54e59f48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -2777,6 +2777,15 @@
"failsafeSwitchModeHelp": {
"message": "This option determines what happens when Failsafe is activated through AUX switch:<br/><strong>Stage 1</strong> activates Stage 1 failsafe. This is useful if you want to simulate the exact signal loss failsafe behavior.<br/><strong>Stage 2</strong> skips Stage 1 and activates the Stage 2 procedure immediately<br/><strong>Kill</strong> disarms instantly (your craft will crash)"
},
"failsafeSwitchOptionStage1": {
"message": "Stage 1"
},
"failsafeSwitchOptionStage2": {
"message": "Stage 2"
},
"failsafeSwitchOptionKill": {
"message": "Kill"
},
"powerButtonSave": {
"message": "Save"

View File

@ -50,9 +50,9 @@
<div class="selectSwitchMode">
<label>
<select class="switchMode" name="failsafe_switch_mode">
<option value="0">Stage 1</option>
<option value="2">Stage 2</option>
<option value="1">Kill</option>
<option value="0" i18n="failsafeSwitchOptionStage1"></option>
<option value="2" i18n="failsafeSwitchOptionStage2"></option>
<option value="1" i18n="failsafeSwitchOptionKill"></option>
</select>
<span i18n="failsafeSwitchModeItem"></span>
<div class="helpicon cf_tip" i18n_title="failsafeSwitchModeHelp"></div>