Skip to content
Snippets Groups Projects
Commit e00b5293 authored by Baptiste Gelez's avatar Baptiste Gelez
Browse files

Merge branch 'i18n-radios' into 'develop'

i18n: radios

See merge request funkwhale/funkwhale!138
parents f2230789 2c41cd65
No related branches found
No related tags found
No related merge requests found
<template> <template>
<button @click="toggleRadio" :class="['ui', 'blue', {'inverted': running}, 'button']"> <button @click="toggleRadio" :class="['ui', 'blue', {'inverted': running}, 'button']">
<i class="ui feed icon"></i> <i class="ui feed icon"></i>
<template v-if="running">Stop</template> <template v-if="running">{{ $t('Stop') }}</template>
<template v-else>Start</template> <template v-else>{{ $t('Start') }}</template>
radio radio
</button> </button>
</template> </template>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class="ui basic yellow button" class="ui basic yellow button"
v-if="$store.state.auth.authenticated && type === 'custom' && customRadio.user === $store.state.auth.profile.id" v-if="$store.state.auth.authenticated && type === 'custom' && customRadio.user === $store.state.auth.profile.id"
:to="{name: 'library.radios.edit', params: {id: customRadioId }}"> :to="{name: 'library.radios.edit', params: {id: customRadioId }}">
Edit... {{ $t('Edit...') }}
</router-link> </router-link>
<radio-button class="right floated button" :type="type" :custom-radio-id="customRadioId"></radio-button> <radio-button class="right floated button" :type="type" :custom-radio-id="customRadioId"></radio-button>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment