From 2c41cd6510d2b82ef64efce2c0b7af800ae638cf Mon Sep 17 00:00:00 2001
From: Bat <baptiste@gelez.xyz>
Date: Wed, 18 Apr 2018 17:44:20 +0100
Subject: [PATCH] i18n: radios

---
 front/src/components/radios/Button.vue | 4 ++--
 front/src/components/radios/Card.vue   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/front/src/components/radios/Button.vue b/front/src/components/radios/Button.vue
index 0869313a..abdc660f 100644
--- a/front/src/components/radios/Button.vue
+++ b/front/src/components/radios/Button.vue
@@ -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>
diff --git a/front/src/components/radios/Card.vue b/front/src/components/radios/Card.vue
index 17de3c85..62de6ec6 100644
--- a/front/src/components/radios/Card.vue
+++ b/front/src/components/radios/Card.vue
@@ -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>
-- 
GitLab