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

Fixed broken translations

parent a57081a4
......@@ -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'
}
]
}
......
......@@ -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']
]
}
},
......
......@@ -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 () {
......
......@@ -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 }}
......
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