Fixed broken translations

This commit is contained in:
Eliot Berriot 2018-04-16 22:46:54 +02:00
parent a57081a4e9
commit fd6ab881a7
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
4 changed files with 17 additions and 11 deletions

View File

@ -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'
}
]
}

View File

@ -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']
]
}
},

View File

@ -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 () {

View File

@ -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 }}