Verified Commit fd6ab881 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed broken translations

parent a57081a4
...@@ -80,16 +80,16 @@ export default { ...@@ -80,16 +80,16 @@ export default {
'privacy_level': { 'privacy_level': {
type: 'dropdown', type: 'dropdown',
initial: this.$store.state.auth.profile.privacy_level, initial: this.$store.state.auth.profile.privacy_level,
label: this.$t('Activity visibility'), label: 'Activity visibility',
help: this.$t('Determine the visibility level of your activity'), help: 'Determine the visibility level of your activity',
choices: [ choices: [
{ {
value: 'me', value: 'me',
label: this.$t('Nobody except me') label: 'Nobody except me'
}, },
{ {
value: 'instance', value: 'instance',
label: this.$t('Everyone on this instance') label: 'Everyone on this instance'
} }
] ]
} }
......
...@@ -85,9 +85,9 @@ export default { ...@@ -85,9 +85,9 @@ export default {
orderingDirection: defaultOrdering.direction, orderingDirection: defaultOrdering.direction,
ordering: defaultOrdering.field, ordering: defaultOrdering.field,
orderingOptions: [ orderingOptions: [
['title', this.$t('Track name')], ['title', 'Track name'],
['album__title', this.$t('Album name')], ['album__title', 'Album name'],
['artist__name', this.$t('Artist name')] ['artist__name', 'Artist name']
] ]
} }
}, },
......
...@@ -53,8 +53,14 @@ export default Vue.extend({ ...@@ -53,8 +53,14 @@ export default Vue.extend({
releaseImportData: [], releaseImportData: [],
releaseGroupsData: {}, releaseGroupsData: {},
releases: [], releases: [],
releaseTypes: [this.$t('Album')], releaseTypes: ['Album'],
availableReleaseTypes: [this.$t('Album'), this.$t('Live'), this.$t('Compilation'), this.$t('EP'), this.$t('Single'), this.$t('Other')] availableReleaseTypes: [
'Album',
'Live',
'Compilation',
'EP',
'Single',
'Other']
} }
}, },
created () { created () {
......
...@@ -38,13 +38,13 @@ ...@@ -38,13 +38,13 @@
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<div class="ui attached segment"> <div class="ui attached segment">
<template v-if="currentStep === 0"> <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"> <form class="ui form">
<div class="field"> <div class="field">
<div class="ui radio checkbox"> <div class="ui radio checkbox">
<input type="radio" id="external" value="external" v-model="currentSource"> <input type="radio" id="external" value="external" v-model="currentSource">
<label for="external"> <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"> <div v-for="backend in backends" class="ui basic label">
<i v-if="backend.icon" :class="[backend.icon, 'icon']"></i> <i v-if="backend.icon" :class="[backend.icon, 'icon']"></i>
{{ backend.label }} {{ backend.label }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment