cli i18n support

10.3.x-maintenance
cTn 2014-05-08 11:15:35 +02:00
parent 20e2995fb4
commit 9fbec01a81
2 changed files with 9 additions and 2 deletions

View File

@ -423,5 +423,12 @@
},
"sensorsScale": {
"message": "Scale:"
},
"cliInfo": {
"message": "<span style=\"color: red\">Note</span>: Leaving CLI tab or pressing Disconnect will <strong>automatically</strong> send \"<strong>exit</strong>\" to the board, which will make the controller save all the changes and <span style=\"color: red\">restart</span>."
},
"cliInputPlaceholder": {
"message": "Write your command here"
}
}

View File

@ -1,5 +1,5 @@
<div class="tab-cli">
<p>
<p i18n="cliInfo">
<span style="color: red;">Note</span>: Leaving CLI tab or pressing Disconnect will <strong>automatically</strong>
send "<strong>exit</strong>" to the board, which will make the controller save all the changes and <span style="color: red">restart</span>.
</p>
@ -7,5 +7,5 @@
<div class="wrapper">
</div>
</div>
<textarea name="commands" placeholder="Write your command here" rows="0" cols="0"></textarea>
<textarea name="commands" i18n_placeholder="cliInputPlaceholder" rows="0" cols="0"></textarea>
</div>