add locals - Endstop Panel
This commit is contained in:
parent
9e88b7125f
commit
dc977a7c32
@ -11,13 +11,27 @@
|
|||||||
<v-row v-for="(status, index) of sortEndstops" v-bind:key="index">
|
<v-row v-for="(status, index) of sortEndstops" v-bind:key="index">
|
||||||
<v-col class="py-1">
|
<v-col class="py-1">
|
||||||
<label class="mt-1 d-inline-block">{{ $t('Settings.EndstopPanel.Endstop')}} <b>{{ index.toUpperCase() }}</b></label>
|
<label class="mt-1 d-inline-block">{{ $t('Settings.EndstopPanel.Endstop')}} <b>{{ index.toUpperCase() }}</b></label>
|
||||||
<v-chip class="float-right" small :color="status === 'open' ? 'green' : 'red' " text-color="white">{{ status }}</v-chip>
|
<v-chip class="float-right" small :color="status === 'open' ? 'green' : 'red' " text-color="white">
|
||||||
|
<template v-if="status === 'open'">
|
||||||
|
{{ $t('Settings.EndstopPanel.open')}}
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
{{ $t('Settings.EndstopPanel.TRIGGERED')}}
|
||||||
|
</template>
|
||||||
|
</v-chip>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row v-if="probe !== false">
|
<v-row v-if="probe !== false">
|
||||||
<v-col class="py-1">
|
<v-col class="py-1">
|
||||||
<label class="mt-1 d-inline-block">Probe</label>
|
<label class="mt-1 d-inline-block">Probe</label>
|
||||||
<v-chip class="float-right" small :color="probe ? 'red' : 'green' " text-color="white">{{ probe ? 'TRIGGERED' : 'open' }}</v-chip>
|
<v-chip class="float-right" small :color="probe ? 'red' : 'green' " text-color="white">
|
||||||
|
<template v-if="probe">
|
||||||
|
{{ $t('Settings.EndstopPanel.TRIGGERED')}}
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
{{ $t('Settings.EndstopPanel.open')}}
|
||||||
|
</template>
|
||||||
|
</v-chip>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"title": "русский",
|
"title": "Pусский",
|
||||||
"App": {
|
"App": {
|
||||||
"Connecting": "Подключиться к сайту",
|
"Connecting": "Подключиться к сайту",
|
||||||
"To": "на сайте",
|
"To": "на сайте",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user