cli i18n support

pull/3/head
cTn 11 years ago
parent 20e2995fb4
commit 9fbec01a81

@ -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"
}
}

@ -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>
Loading…
Cancel
Save