From fd6ab881a79be58af73e7501f675071337f4a0e1 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Mon, 16 Apr 2018 22:46:54 +0200
Subject: [PATCH] Fixed broken translations

---
 front/src/components/auth/Settings.vue               |  8 ++++----
 front/src/components/favorites/List.vue              |  6 +++---
 front/src/components/library/import/ArtistImport.vue | 10 ++++++++--
 front/src/components/library/import/Main.vue         |  4 ++--
 4 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/front/src/components/auth/Settings.vue b/front/src/components/auth/Settings.vue
index 64f7df714..c847bde88 100644
--- a/front/src/components/auth/Settings.vue
+++ b/front/src/components/auth/Settings.vue
@@ -80,16 +80,16 @@ export default {
           'privacy_level': {
             type: 'dropdown',
             initial: this.$store.state.auth.profile.privacy_level,
-            label: this.$t('Activity visibility'),
-            help: this.$t('Determine the visibility level of your activity'),
+            label: 'Activity visibility',
+            help: 'Determine the visibility level of your activity',
             choices: [
               {
                 value: 'me',
-                label: this.$t('Nobody except me')
+                label: 'Nobody except me'
               },
               {
                 value: 'instance',
-                label: this.$t('Everyone on this instance')
+                label: 'Everyone on this instance'
               }
             ]
           }
diff --git a/front/src/components/favorites/List.vue b/front/src/components/favorites/List.vue
index 590d91592..d189f2b85 100644
--- a/front/src/components/favorites/List.vue
+++ b/front/src/components/favorites/List.vue
@@ -85,9 +85,9 @@ export default {
       orderingDirection: defaultOrdering.direction,
       ordering: defaultOrdering.field,
       orderingOptions: [
-        ['title', this.$t('Track name')],
-        ['album__title', this.$t('Album name')],
-        ['artist__name', this.$t('Artist name')]
+        ['title', 'Track name'],
+        ['album__title', 'Album name'],
+        ['artist__name', 'Artist name']
       ]
     }
   },
diff --git a/front/src/components/library/import/ArtistImport.vue b/front/src/components/library/import/ArtistImport.vue
index 7486a65da..b24be6dc8 100644
--- a/front/src/components/library/import/ArtistImport.vue
+++ b/front/src/components/library/import/ArtistImport.vue
@@ -53,8 +53,14 @@ export default Vue.extend({
       releaseImportData: [],
       releaseGroupsData: {},
       releases: [],
-      releaseTypes: [this.$t('Album')],
-      availableReleaseTypes: [this.$t('Album'), this.$t('Live'), this.$t('Compilation'), this.$t('EP'), this.$t('Single'), this.$t('Other')]
+      releaseTypes: ['Album'],
+      availableReleaseTypes: [
+        'Album',
+        'Live',
+        'Compilation',
+        'EP',
+        'Single',
+        'Other']
     }
   },
   created () {
diff --git a/front/src/components/library/import/Main.vue b/front/src/components/library/import/Main.vue
index cf261fad8..de17e2afa 100644
--- a/front/src/components/library/import/Main.vue
+++ b/front/src/components/library/import/Main.vue
@@ -38,13 +38,13 @@
       <div class="ui hidden divider"></div>
       <div class="ui attached segment">
         <template v-if="currentStep === 0">
-          <i18next tag="p" path="First, choose where you want to import the music from:"/>
+          <i18next tag="p" path="First, choose where you want to import the music from"/>
           <form class="ui form">
             <div class="field">
               <div class="ui radio checkbox">
                 <input type="radio" id="external" value="external" v-model="currentSource">
                 <label for="external">
-                  <i18next path="External source. Supported backends:"/>
+                  <i18next path="External source. Supported backends"/>
                   <div v-for="backend in backends" class="ui basic label">
                     <i v-if="backend.icon" :class="[backend.icon, 'icon']"></i>
                     {{ backend.label }}
-- 
GitLab