i18n: radios

This commit is contained in:
Bat 2018-04-18 17:44:20 +01:00
parent 74bd0bae8c
commit 2c41cd6510
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<template>
<button @click="toggleRadio" :class="['ui', 'blue', {'inverted': running}, 'button']">
<i class="ui feed icon"></i>
<template v-if="running">Stop</template>
<template v-else>Start</template>
<template v-if="running">{{ $t('Stop') }}</template>
<template v-else>{{ $t('Start') }}</template>
radio
</button>
</template>

View File

@ -15,7 +15,7 @@
class="ui basic yellow button"
v-if="$store.state.auth.authenticated && type === 'custom' && customRadio.user === $store.state.auth.profile.id"
:to="{name: 'library.radios.edit', params: {id: customRadioId }}">
Edit...
{{ $t('Edit...') }}
</router-link>
<radio-button class="right floated button" :type="type" :custom-radio-id="customRadioId"></radio-button>
</div>