mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add translations
This commit is contained in:
parent
037758accb
commit
1e569300fc
@ -42,8 +42,8 @@
|
||||
id="reset-button"><i class="fas fa-undo"></i> {{ translate('serverMetrics', 'resetZoom', data['lang'])
|
||||
}}</button>
|
||||
{% if data['user_data']['hints'] %}
|
||||
<span data-html="true" class="hints text-center" title="Did you know?" , data-content="To zoom on the schedule hold your shift key then use your scroll wheel to zoom.<br><br>
|
||||
Alternatively hold the shift key then click and drag the area you'd like to zoom in on." ,
|
||||
<span data-html="true" class="hints text-center" title="<i class='fa fa-info-circle'></i> " , data-content="{{
|
||||
translate('serverMetrics', 'zoomHint1' , data['lang'])}} <br> <br> {{ translate('serverMetrics', 'zoomHint2', data['lang'])}}",
|
||||
data-placement="top"></span>
|
||||
{% end %}
|
||||
<canvas id="lineChart"></canvas>
|
||||
|
@ -474,7 +474,9 @@
|
||||
"updating": "Updating..."
|
||||
},
|
||||
"serverMetrics": {
|
||||
"resetZoom": "Reset Zoom"
|
||||
"resetZoom": "Reset Zoom",
|
||||
"zoomHint1": "To zoom on the graph hold your shift key then use your scroll wheel.",
|
||||
"zoomHint2": "Alternatively hold the shift key then click and drag the area you'd like to zoom in on."
|
||||
},
|
||||
"serverWizard": {
|
||||
"absoluteServerPath": "Absolute path to your server",
|
||||
|
Loading…
Reference in New Issue
Block a user