[web] Fix translation key

This commit is contained in:
Alain Nussbaumer 2025-03-08 12:02:15 +01:00
parent 23f624aec5
commit 368bb18aa8
15 changed files with 237 additions and 195 deletions

View File

@ -6,7 +6,6 @@
"cancel": "Abbrechen", "cancel": "Abbrechen",
"clear": "Alle entfernen", "clear": "Alle entfernen",
"edit": "Bearbeiten", "edit": "Bearbeiten",
"filter": "Filter",
"login": "Einloggen", "login": "Einloggen",
"logout": "Ausloggen", "logout": "Ausloggen",
"hide-previous": "Vorherige verbergen", "hide-previous": "Vorherige verbergen",
@ -142,40 +141,49 @@
"version": "Version {version}" "version": "Version {version}"
}, },
"albums": { "albums": {
"hide-singles-help": "Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind.", "filter": {
"hide-singles": "Nach Aktivierung werden keine Singles angezeigt", "hide-singles": "Nach Aktivierung werden keine Singles angezeigt",
"hide-spotify-help": "Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind.", "hide-singles-help": "Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind.",
"hide-spotify": "Verbirgt Spotify-Alben", "hide-spotify": "Verbirgt Spotify-Alben",
"title": "Alben", "hide-spotify-help": "Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind.",
"title": "Filtern"
},
"sort": { "sort": {
"artist-name": "Künstler Name", "artist-name": "Künstler Name",
"artist-date": "Künstler Erscheinungsdatum", "artist-date": "Künstler Erscheinungsdatum",
"title": "Sortieren",
"name": "Name", "name": "Name",
"recently-added": "Kürzlich hinzugefügt", "recently-added": "Kürzlich hinzugefügt",
"recently-released": "Kürzlich erschienen" "recently-released": "Kürzlich erschienen",
} "title": "Sortieren"
},
"title": "Alben"
}, },
"artist": { "artist": {
"hide-spotify-help": "Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist.", "filter": {
"hide-spotify": "Verbirgt Spotify-Inhalt", "hide-spotify": "Verbirgt Spotify-Inhalt",
"hide-spotify-help": "Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist.",
"title": "Filtern"
},
"sort": { "sort": {
"title": "Sortieren",
"name": "Name", "name": "Name",
"rating": "Bewertung", "rating": "Bewertung",
"release-date": "Erscheinungsdatum" "release-date": "Erscheinungsdatum",
"title": "Sortieren"
} }
}, },
"artists": { "artists": {
"sort": { "filter": {
"title": "Sortieren", "hide-singles": "Nach Aktivierung werden keine Singles angezeigt",
"name": "Namen", "hide-singles-help": "Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind.",
"recently-added": "Kürzlich hinzugefügt" "hide-spotify": "Verbirgt Künstler auf Spotify",
"hide-spotify-help": "Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind.",
"title": "Filtern"
},
"sort": {
"name": "Namen",
"recently-added": "Kürzlich hinzugefügt",
"title": "Sortieren"
}, },
"hide-singles-help": "Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind.",
"hide-singles": "Nach Aktivierung werden keine Singles angezeigt",
"hide-spotify-help": "Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind.",
"hide-spotify": "Verbirgt Künstler auf Spotify",
"title": "Künstler" "title": "Künstler"
}, },
"audiobooks": { "audiobooks": {
@ -193,9 +201,9 @@
}, },
"composer": { "composer": {
"sort": { "sort": {
"title": "Sortieren",
"name": "Name", "name": "Name",
"rating": "Bewertung" "rating": "Bewertung",
"title": "Sortieren"
} }
}, },
"composers": { "composers": {
@ -206,9 +214,9 @@
}, },
"genre": { "genre": {
"sort": { "sort": {
"title": "Sortieren",
"name": "Name", "name": "Name",
"rating": "Bewertung" "rating": "Bewertung",
"title": "Sortieren"
} }
}, },
"genres": { "genres": {

View File

@ -6,7 +6,6 @@
"cancel": "Cancel", "cancel": "Cancel",
"clear": "Clear", "clear": "Clear",
"edit": "Edit", "edit": "Edit",
"filter": "Filter",
"login": "Login", "login": "Login",
"logout": "Logout", "logout": "Logout",
"hide-previous": "Hide previous", "hide-previous": "Hide previous",
@ -142,40 +141,49 @@
"version": "Version {version}" "version": "Version {version}"
}, },
"albums": { "albums": {
"hide-singles-help": "If active, hides singles and albums with tracks that only appear in playlists.", "filter": {
"hide-singles": "Hide singles", "hide-singles": "Hide singles",
"hide-spotify-help": "If active, hides albums that only appear in your Spotify library.", "hide-singles-help": "If active, hides singles and albums with tracks that only appear in playlists.",
"hide-spotify": "Hide albums from Spotify", "hide-spotify": "Hide albums from Spotify",
"title": "Albums", "hide-spotify-help": "If active, hides albums that only appear in your Spotify library.",
"title": "Filter"
},
"sort": { "sort": {
"artist-name": "Artist Name", "artist-name": "Artist Name",
"artist-date": "Artist Release date", "artist-date": "Artist Release date",
"title": "Sort",
"name": "Name", "name": "Name",
"recently-added": "Recently added", "recently-added": "Recently added",
"recently-released": "Recently released" "recently-released": "Recently released",
} "title": "Sort"
},
"title": "Albums"
}, },
"artist": { "artist": {
"hide-spotify-help": "If active, hides the content only appearing in your Spotify library.", "filter": {
"hide-spotify": "Hide the content from Spotify", "hide-spotify": "Hide the content from Spotify",
"hide-spotify-help": "If active, hides the content only appearing in your Spotify library.",
"title": "Filter"
},
"sort": { "sort": {
"title": "Sort",
"name": "Name", "name": "Name",
"rating": "Rating", "rating": "Rating",
"release-date": "Release date" "release-date": "Release date",
"title": "Sort"
} }
}, },
"artists": { "artists": {
"sort": { "filter": {
"title": "Sort", "hide-singles": "Hide singles",
"name": "Name", "hide-singles-help": "If active, hides artists that only appear on singles or playlists.",
"recently-added": "Recently added" "hide-spotify": "Hide artists from Spotify",
"hide-spotify-help": "If active, hides artists that only appear in your Spotify library.",
"title": "Filter"
},
"sort": {
"name": "Name",
"recently-added": "Recently added",
"title": "Sort"
}, },
"hide-singles-help": "If active, hides artists that only appear on singles or playlists.",
"hide-singles": "Hide singles",
"hide-spotify-help": "If active, hides artists that only appear in your Spotify library.",
"hide-spotify": "Hide artists from Spotify",
"title": "Artists" "title": "Artists"
}, },
"audiobooks": { "audiobooks": {
@ -193,9 +201,9 @@
}, },
"composer": { "composer": {
"sort": { "sort": {
"title": "Sort",
"name": "Name", "name": "Name",
"rating": "Rating" "rating": "Rating",
"title": "Sort"
} }
}, },
"composers": { "composers": {
@ -206,9 +214,9 @@
}, },
"genre": { "genre": {
"sort": { "sort": {
"title": "Sort",
"name": "Name", "name": "Name",
"rating": "Rating" "rating": "Rating",
"title": "Sort"
} }
}, },
"genres": { "genres": {

View File

@ -6,7 +6,6 @@
"cancel": "Annuler", "cancel": "Annuler",
"clear": "Effacer", "clear": "Effacer",
"edit": "Éditer", "edit": "Éditer",
"filter": "Filtrer",
"login": "Se connecter", "login": "Se connecter",
"logout": "Se déconnecter", "logout": "Se déconnecter",
"hide-previous": "Masquer lhistorique", "hide-previous": "Masquer lhistorique",
@ -142,40 +141,49 @@
"version": "Version {version}" "version": "Version {version}"
}, },
"albums": { "albums": {
"hide-singles-help": "Si actif, masque les singles et les albums dont les pistes napparaissent que dans les listes de lecture.", "filter": {
"hide-singles": "Masquer les singles", "hide-singles": "Masquer les singles",
"hide-spotify-help": "Si actif, masque les albums qui napparaissent que dans votre bibliothèque Spotify.", "hide-singles-help": "Si actif, masque les singles et les albums dont les pistes napparaissent que dans les listes de lecture.",
"hide-spotify": "Masquer les albums de Spotify", "hide-spotify": "Masquer les albums de Spotify",
"title": "Albums", "hide-spotify-help": "Si actif, masque les albums qui napparaissent que dans votre bibliothèque Spotify.",
"title": "Filtrer"
},
"sort": { "sort": {
"artist-name": "Artiste Nom", "artist-name": "Artiste Nom",
"artist-date": "Artiste Date de sortie", "artist-date": "Artiste Date de sortie",
"title": "Trier",
"name": "Nom", "name": "Nom",
"recently-added": "Ajouts récents", "recently-added": "Ajouts récents",
"recently-released": "Sorties récentes" "recently-released": "Sorties récentes",
} "title": "Trier"
},
"title": "Albums"
}, },
"artist": { "artist": {
"hide-spotify-help": "Si actif, masque le contenu qui napparaît que dans votre bibliothèque Spotify.", "filter": {
"hide-spotify": "Masquer le contenu de Spotify", "hide-spotify": "Masquer le contenu de Spotify",
"hide-spotify-help": "Si actif, masque le contenu qui napparaît que dans votre bibliothèque Spotify.",
"title": "Filtrer"
},
"sort": { "sort": {
"title": "Trier",
"name": "Nom", "name": "Nom",
"rating": "Classement", "rating": "Classement",
"release-date": "Date de sortie" "release-date": "Date de sortie",
"title": "Trier"
} }
}, },
"artists": { "artists": {
"sort": { "filter": {
"title": "Trier", "hide-singles": "Masquer les singles",
"name": "Nom", "hide-singles-help": "Si actif, masque les artistes qui napparaissent que dans des singles ou des listes de lecture.",
"recently-added": "Ajouts récents" "hide-spotify": "Masquer les artistes de Spotify",
"hide-spotify-help": "Si actif, masque les artistes qui napparaissent que dans votre bibliothèque Spotify.",
"title": "Filtrer"
},
"sort": {
"name": "Nom",
"recently-added": "Ajouts récents",
"title": "Trier"
}, },
"hide-singles-help": "Si actif, masque les artistes qui napparaissent que dans des singles ou des listes de lecture.",
"hide-singles": "Masquer les singles",
"hide-spotify-help": "Si actif, masque les artistes qui napparaissent que dans votre bibliothèque Spotify.",
"hide-spotify": "Masquer les artistes de Spotify",
"title": "Artistes" "title": "Artistes"
}, },
"audiobooks": { "audiobooks": {
@ -193,9 +201,9 @@
}, },
"composer": { "composer": {
"sort": { "sort": {
"title": "Trier",
"name": "Nom", "name": "Nom",
"rating": "Classement" "rating": "Classement",
"title": "Trier"
} }
}, },
"composers": { "composers": {
@ -206,9 +214,9 @@
}, },
"genre": { "genre": {
"sort": { "sort": {
"title": "Trier",
"name": "Nom", "name": "Nom",
"rating": "Classement" "rating": "Classement",
"title": "Trier"
} }
}, },
"genres": { "genres": {

View File

@ -6,7 +6,6 @@
"cancel": "取消", "cancel": "取消",
"clear": "清除", "clear": "清除",
"edit": "编辑", "edit": "编辑",
"filter": "筛选",
"login": "登入", "login": "登入",
"logout": "退出", "logout": "退出",
"hide-previous": "隐藏历史", "hide-previous": "隐藏历史",
@ -142,40 +141,49 @@
"version": "版本 {version}" "version": "版本 {version}"
}, },
"albums": { "albums": {
"hide-singles-help": "如果激活,将隐藏仅在播放列表出现的单曲和专辑", "filter": {
"hide-singles": "隐藏单曲", "hide-singles": "隐藏单曲",
"hide-spotify-help": "如果激活将隐藏仅在Spotify资料库出现的专辑", "hide-singles-help": "如果激活,将隐藏仅在播放列表出现的单曲和专辑",
"hide-spotify": "隐藏来自Spotify的专辑", "hide-spotify": "隐藏来自Spotify的专辑",
"title": "专辑", "hide-spotify-help": "如果激活将隐藏仅在Spotify资料库出现的专辑",
"title": "专辑"
},
"sort": { "sort": {
"artist-name": "艺人 名称", "artist-name": "艺人 名称",
"artist-date": "艺人 发行日期", "artist-date": "艺人 发行日期",
"title": "分类",
"name": "名称", "name": "名称",
"recently-added": "最近添加", "recently-added": "最近添加",
"recently-released": "最近发行" "recently-released": "最近发行",
} "title": "分类"
},
"title": "张专辑"
}, },
"artist": { "artist": {
"hide-spotify-help": "如果激活将隐藏只出现在Spotify库中的内容", "filter": {
"hide-spotify": "隐藏来自Spotify的内容", "hide-spotify": "隐藏来自Spotify的内容",
"hide-spotify-help": "如果激活将隐藏只出现在Spotify库中的内容",
"title": "专辑"
},
"sort": { "sort": {
"title": "分类",
"name": "名称", "name": "名称",
"rating": "评级", "rating": "评级",
"release-date": "发行日期" "release-date": "发行日期",
"title": "分类"
} }
}, },
"artists": { "artists": {
"sort": { "filter": {
"title": "分类", "hide-singles": "隐藏单曲",
"name": "名称", "hide-singles-help": "如果激活,将隐藏仅在播放列表出现的单曲和专辑",
"recently-added": "最近添加" "hide-spotify": "隐藏来自Spotify的艺人",
"hide-spotify-help": "如果激活将隐藏仅在Spotify资料库出现的专辑",
"title": "专辑"
},
"sort": {
"name": "名称",
"recently-added": "最近添加",
"title": "分类"
}, },
"hide-singles-help": "如果激活,将隐藏仅在播放列表出现的单曲和专辑",
"hide-singles": "隐藏单曲",
"hide-spotify-help": "如果激活将隐藏仅在Spotify资料库出现的专辑",
"hide-spotify": "隐藏来自Spotify的艺人",
"title": "艺人" "title": "艺人"
}, },
"audiobooks": { "audiobooks": {
@ -193,9 +201,9 @@
}, },
"composer": { "composer": {
"sort": { "sort": {
"title": "分类",
"name": "名称", "name": "名称",
"rating": "评级" "rating": "评级",
"title": "分类"
} }
}, },
"composers": { "composers": {
@ -206,9 +214,9 @@
}, },
"genre": { "genre": {
"sort": { "sort": {
"title": "分类",
"name": "名称", "name": "名称",
"rating": "评级" "rating": "评级",
"title": "分类"
} }
}, },
"genres": { "genres": {

View File

@ -6,7 +6,6 @@
"cancel": "取消", "cancel": "取消",
"clear": "清除", "clear": "清除",
"edit": "編輯", "edit": "編輯",
"filter": "篩選",
"login": "登入", "login": "登入",
"logout": "退出", "logout": "退出",
"hide-previous": "隱藏歷史", "hide-previous": "隱藏歷史",
@ -142,40 +141,49 @@
"version": "版本 {version}" "version": "版本 {version}"
}, },
"albums": { "albums": {
"hide-singles-help": "如果啓用,將隱藏僅在播放列表出現的單曲和專輯", "filter": {
"hide-singles": "隱藏單曲", "hide-singles": "隱藏單曲",
"hide-spotify-help": "如果啓用將隱藏僅在Spotify資料庫出現的專輯", "hide-singles-help": "如果啓用,將隱藏僅在播放列表出現的單曲和專輯",
"hide-spotify": "隱藏來自Spotify的專輯", "hide-spotify": "隱藏來自Spotify的專輯",
"title": "專輯", "hide-spotify-help": "如果啓用將隱藏僅在Spotify資料庫出現的專輯",
"title": "篩選"
},
"sort": { "sort": {
"artist-name": "藝人 名稱", "artist-name": "藝人 名稱",
"artist-date": "藝人 發行日期", "artist-date": "藝人 發行日期",
"title": "分類",
"name": "名稱", "name": "名稱",
"recently-added": "最近新增", "recently-added": "最近新增",
"recently-released": "最近發行" "recently-released": "最近發行",
} "title": "分類"
},
"title": "專輯"
}, },
"artist": { "artist": {
"hide-spotify-help": "如果啓用將隱藏只出現在Spotify庫中的內容", "filter": {
"hide-spotify": "隱藏來自Spotify的內容", "hide-spotify": "隱藏來自Spotify的內容",
"hide-spotify-help": "如果啓用將隱藏只出現在Spotify庫中的內容",
"title": "篩選"
},
"sort": { "sort": {
"title": "分類",
"name": "名稱", "name": "名稱",
"rating": "評級", "rating": "評級",
"release-date": "發行日期" "release-date": "發行日期",
"title": "分類"
} }
}, },
"artists": { "artists": {
"sort": { "filter": {
"title": "分類", "hide-singles": "隱藏單曲",
"name": "名稱", "hide-singles-help": "如果啓用,將隱藏僅在播放列表出現的單曲和專輯",
"recently-added": "最近新增" "hide-spotify": "隱藏來自Spotify的藝人",
"hide-spotify-help": "如果啓用將隱藏僅在Spotify資料庫出現的專輯",
"title": "篩選"
},
"sort": {
"name": "名稱",
"recently-added": "最近新增",
"title": "分類"
}, },
"hide-singles-help": "如果啓用,將隱藏僅在播放列表出現的單曲和專輯",
"hide-singles": "隱藏單曲",
"hide-spotify-help": "如果啓用將隱藏僅在Spotify資料庫出現的專輯",
"hide-spotify": "隱藏來自Spotify的藝人",
"title": "藝人" "title": "藝人"
}, },
"audiobooks": { "audiobooks": {
@ -193,9 +201,9 @@
}, },
"composer": { "composer": {
"sort": { "sort": {
"title": "分類",
"name": "名稱", "name": "名稱",
"rating": "評級" "rating": "評級",
"title": "分類"
} }
}, },
"composers": { "composers": {
@ -206,9 +214,9 @@
}, },
"genre": { "genre": {
"sort": { "sort": {
"title": "分類",
"name": "名稱", "name": "名稱",
"rating": "評級" "rating": "評級",
"title": "分類"
} }
}, },
"genres": { "genres": {

View File

@ -8,14 +8,14 @@
<div class="column"> <div class="column">
<div <div
class="is-size-7 is-uppercase" class="is-size-7 is-uppercase"
v-text="$t('page.albums.filter')" v-text="$t('page.albums.filter.title')"
/> />
<control-switch v-model="uiStore.hide_singles"> <control-switch v-model="uiStore.hide_singles">
<template #label> <template #label>
<span v-text="$t('page.albums.hide-singles')" /> <span v-text="$t('page.albums.filter.hide-singles')" />
</template> </template>
<template #help> <template #help>
<span v-text="$t('page.albums.hide-singles-help')" /> <span v-text="$t('page.albums.filter.hide-singles-help')" />
</template> </template>
</control-switch> </control-switch>
<control-switch <control-switch
@ -23,10 +23,10 @@
v-model="uiStore.hide_spotify" v-model="uiStore.hide_spotify"
> >
<template #label> <template #label>
<span v-text="$t('page.albums.hide-spotify')" /> <span v-text="$t('page.albums.filter.hide-spotify')" />
</template> </template>
<template #help> <template #help>
<span v-text="$t('page.albums.hide-spotify-help')" /> <span v-text="$t('page.albums.filter.hide-spotify-help')" />
</template> </template>
</control-switch> </control-switch>
</div> </div>

View File

@ -6,17 +6,17 @@
<div class="column"> <div class="column">
<div <div
class="is-size-7 is-uppercase" class="is-size-7 is-uppercase"
v-text="$t('page.artist.filter')" v-text="$t('page.artist.filter.title')"
/> />
<control-switch <control-switch
v-if="spotify_enabled" v-if="spotify_enabled"
v-model="uiStore.hide_spotify" v-model="uiStore.hide_spotify"
> >
<template #label> <template #label>
<span v-text="$t('page.artist.hide-spotify')" /> <span v-text="$t('page.artist.filter.hide-spotify')" />
</template> </template>
<template #help> <template #help>
<span v-text="$t('page.artist.hide-spotify-help')" /> <span v-text="$t('page.artist.filter.hide-spotify-help')" />
</template> </template>
</control-switch> </control-switch>
</div> </div>

View File

@ -7,17 +7,17 @@
<div class="column"> <div class="column">
<p <p
class="is-size-7 is-uppercase" class="is-size-7 is-uppercase"
v-text="$t('page.artist.filter')" v-text="$t('page.artist.filter.title')"
/> />
<control-switch <control-switch
v-if="spotify_enabled" v-if="spotify_enabled"
v-model="uiStore.hide_spotify" v-model="uiStore.hide_spotify"
> >
<template #label> <template #label>
<span v-text="$t('page.artist.hide-spotify')" /> <span v-text="$t('page.artist.filter.hide-spotify')" />
</template> </template>
<template #help> <template #help>
<span v-text="$t('page.artist.hide-spotify-help')" /> <span v-text="$t('page.artist.filter.hide-spotify-help')" />
</template> </template>
</control-switch> </control-switch>
</div> </div>

View File

@ -8,23 +8,23 @@
<div class="column"> <div class="column">
<div <div
class="is-size-7 is-uppercase" class="is-size-7 is-uppercase"
v-text="$t('page.artists.filter')" v-text="$t('page.artists.filter.title')"
/> />
<control-switch v-model="uiStore.hide_singles"> <control-switch v-model="uiStore.hide_singles">
<template #label> <template #label>
<span v-text="$t('page.artists.hide-singles')" /> <span v-text="$t('page.artists.filter.hide-singles')" />
</template> </template>
<template #help> <template #help>
<span v-text="$t('page.artists.hide-singles-help')" /> <span v-text="$t('page.artists.filter.hide-singles-help')" />
</template> </template>
</control-switch> </control-switch>
<div v-if="spotify_enabled" class="field"> <div v-if="spotify_enabled" class="field">
<control-switch v-model="uiStore.hide_spotify"> <control-switch v-model="uiStore.hide_spotify">
<template #label> <template #label>
<span v-text="$t('page.artists.hide-spotify')" /> <span v-text="$t('page.artists.filter.hide-spotify')" />
</template> </template>
<template #help> <template #help>
<span v-text="$t('page.artists.hide-spotify-help')" /> <span v-text="$t('page.artists.filter.hide-spotify-help')" />
</template> </template>
</control-switch> </control-switch>
</div> </div>

View File

@ -9,11 +9,7 @@
:button="{ handler: showDetails, icon: 'dots-horizontal' }" :button="{ handler: showDetails, icon: 'dots-horizontal' }"
/> />
<control-button <control-button
:button="{ :button="{ handler: play, icon: 'shuffle', key: 'actions.shuffle' }"
handler: play,
icon: 'shuffle',
key: 'page.composer.shuffle'
}"
/> />
</template> </template>
<template #content> <template #content>
@ -76,17 +72,20 @@ export default {
return `composer is "${this.composer.name}" and media_kind is music` return `composer is "${this.composer.name}" and media_kind is music`
}, },
heading() { heading() {
return { if (this.composer.name) {
title: this.composer.name, return {
subtitle: [ title: this.composer.name,
{ key: 'count.albums', count: this.composer.album_count }, subtitle: [
{ { key: 'count.albums', count: this.composer.album_count },
handler: this.open_tracks, {
key: 'count.tracks', handler: this.open_tracks,
count: this.composer.track_count key: 'count.tracks',
} count: this.composer.track_count
] }
]
}
} }
return {}
} }
}, },
methods: { methods: {

View File

@ -24,11 +24,7 @@
:button="{ handler: showDetails, icon: 'dots-horizontal' }" :button="{ handler: showDetails, icon: 'dots-horizontal' }"
/> />
<control-button <control-button
:button="{ :button="{ handler: play, icon: 'shuffle', key: 'actions.shuffle' }"
handler: play,
icon: 'shuffle',
key: 'page.composer.shuffle'
}"
/> />
</template> </template>
<template #content> <template #content>
@ -115,17 +111,20 @@ export default {
return `composer is "${this.composer.name}" and media_kind is music` return `composer is "${this.composer.name}" and media_kind is music`
}, },
heading() { heading() {
return { if (this.composer.name) {
title: this.composer.name, return {
subtitle: [ title: this.composer.name,
{ subtitle: [
handler: this.open_albums, {
key: 'count.albums', handler: this.open_albums,
count: this.composer.album_count key: 'count.albums',
}, count: this.composer.album_count
{ key: 'count.tracks', count: composer.track_count } },
] { key: 'count.tracks', count: this.composer.track_count }
]
}
} }
return {}
}, },
tracks() { tracks() {
const { options } = this.groupings.find( const { options } = this.groupings.find(

View File

@ -78,17 +78,20 @@ export default {
}, },
computed: { computed: {
heading() { heading() {
return { if (this.genre.name) {
title: this.genre.name, return {
subtitle: [ title: this.genre.name,
{ key: 'count.albums', count: this.genre.album_count }, subtitle: [
{ { key: 'count.albums', count: this.genre.album_count },
handler: this.open_tracks, {
key: 'count.tracks', handler: this.open_tracks,
count: this.genre.track_count key: 'count.tracks',
} count: this.genre.track_count
] }
]
}
} }
return {}
} }
}, },
methods: { methods: {

View File

@ -112,17 +112,20 @@ export default {
return `genre is "${this.genre.name}" and media_kind is ${this.media_kind}` return `genre is "${this.genre.name}" and media_kind is ${this.media_kind}`
}, },
heading() { heading() {
return { if (this.genre.name) {
title: this.genre.name, return {
subtitle: [ title: this.genre.name,
{ subtitle: [
handler: this.openGenre, {
key: 'count.albums', handler: this.openGenre,
count: this.genre.album_count key: 'count.albums',
}, count: this.genre.album_count
{ key: 'count.tracks', count: this.genre.track_count } },
] { key: 'count.tracks', count: this.genre.track_count }
]
}
} }
return {}
}, },
tracks() { tracks() {
const { options } = this.groupings.find( const { options } = this.groupings.find(

View File

@ -15,7 +15,7 @@
:to="{ name: 'music-spotify-new-releases' }" :to="{ name: 'music-spotify-new-releases' }"
class="button is-small is-rounded" class="button is-small is-rounded"
> >
{{ $t('page.spotify.music.show-more') }} {{ $t('actions.show-more') }}
</router-link> </router-link>
</template> </template>
</content-with-heading> </content-with-heading>
@ -33,7 +33,7 @@
:to="{ name: 'music-spotify-featured-playlists' }" :to="{ name: 'music-spotify-featured-playlists' }"
class="button is-small is-rounded" class="button is-small is-rounded"
> >
{{ $t('page.spotify.music.show-more') }} {{ $t('actions.show-more') }}
</router-link> </router-link>
</template> </template>
</content-with-heading> </content-with-heading>

View File

@ -202,8 +202,6 @@ export default {
this.edit_mode = !this.edit_mode this.edit_mode = !this.edit_mode
}, },
update_show_next_items() { update_show_next_items() {
console.log(this.uiStore.show_only_next_items)
this.uiStore.show_only_next_items = !this.uiStore.show_only_next_items this.uiStore.show_only_next_items = !this.uiStore.show_only_next_items
} }
} }