From 368bb18aa8ecdb10e07c1a545b19126452655b3e Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Sat, 8 Mar 2025 12:02:15 +0100 Subject: [PATCH] [web] Fix translation key --- web-src/src/i18n/de.json | 58 ++++++++++++++---------- web-src/src/i18n/en.json | 58 ++++++++++++++---------- web-src/src/i18n/fr.json | 58 ++++++++++++++---------- web-src/src/i18n/zh-CN.json | 58 ++++++++++++++---------- web-src/src/i18n/zh-TW.json | 58 ++++++++++++++---------- web-src/src/pages/PageAlbums.vue | 10 ++-- web-src/src/pages/PageArtist.vue | 6 +-- web-src/src/pages/PageArtistTracks.vue | 6 +-- web-src/src/pages/PageArtists.vue | 10 ++-- web-src/src/pages/PageComposerAlbums.vue | 29 ++++++------ web-src/src/pages/PageComposerTracks.vue | 29 ++++++------ web-src/src/pages/PageGenreAlbums.vue | 23 ++++++---- web-src/src/pages/PageGenreTracks.vue | 23 ++++++---- web-src/src/pages/PageMusicSpotify.vue | 4 +- web-src/src/pages/PageQueue.vue | 2 - 15 files changed, 237 insertions(+), 195 deletions(-) diff --git a/web-src/src/i18n/de.json b/web-src/src/i18n/de.json index cd673173..734e33a7 100644 --- a/web-src/src/i18n/de.json +++ b/web-src/src/i18n/de.json @@ -6,7 +6,6 @@ "cancel": "Abbrechen", "clear": "Alle entfernen", "edit": "Bearbeiten", - "filter": "Filter", "login": "Einloggen", "logout": "Ausloggen", "hide-previous": "Vorherige verbergen", @@ -142,40 +141,49 @@ "version": "Version {version}" }, "albums": { - "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 Spotify-Alben", - "title": "Alben", + "filter": { + "hide-singles": "Nach Aktivierung werden keine Singles angezeigt", + "hide-singles-help": "Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind.", + "hide-spotify": "Verbirgt Spotify-Alben", + "hide-spotify-help": "Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind.", + "title": "Filtern" + }, "sort": { "artist-name": "Künstler › Name", "artist-date": "Künstler › Erscheinungsdatum", - "title": "Sortieren", "name": "Name", "recently-added": "Kürzlich hinzugefügt", - "recently-released": "Kürzlich erschienen" - } + "recently-released": "Kürzlich erschienen", + "title": "Sortieren" + }, + "title": "Alben" }, "artist": { - "hide-spotify-help": "Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist.", - "hide-spotify": "Verbirgt Spotify-Inhalt", + "filter": { + "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": { - "title": "Sortieren", "name": "Name", "rating": "Bewertung", - "release-date": "Erscheinungsdatum" + "release-date": "Erscheinungsdatum", + "title": "Sortieren" } }, "artists": { - "sort": { - "title": "Sortieren", - "name": "Namen", - "recently-added": "Kürzlich hinzugefügt" + "filter": { + "hide-singles": "Nach Aktivierung werden keine Singles angezeigt", + "hide-singles-help": "Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind.", + "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" }, "audiobooks": { @@ -193,9 +201,9 @@ }, "composer": { "sort": { - "title": "Sortieren", "name": "Name", - "rating": "Bewertung" + "rating": "Bewertung", + "title": "Sortieren" } }, "composers": { @@ -206,9 +214,9 @@ }, "genre": { "sort": { - "title": "Sortieren", "name": "Name", - "rating": "Bewertung" + "rating": "Bewertung", + "title": "Sortieren" } }, "genres": { diff --git a/web-src/src/i18n/en.json b/web-src/src/i18n/en.json index d8f7e1fc..e2d1c80a 100644 --- a/web-src/src/i18n/en.json +++ b/web-src/src/i18n/en.json @@ -6,7 +6,6 @@ "cancel": "Cancel", "clear": "Clear", "edit": "Edit", - "filter": "Filter", "login": "Login", "logout": "Logout", "hide-previous": "Hide previous", @@ -142,40 +141,49 @@ "version": "Version {version}" }, "albums": { - "hide-singles-help": "If active, hides singles and albums with tracks that only appear in playlists.", - "hide-singles": "Hide singles", - "hide-spotify-help": "If active, hides albums that only appear in your Spotify library.", - "hide-spotify": "Hide albums from Spotify", - "title": "Albums", + "filter": { + "hide-singles": "Hide singles", + "hide-singles-help": "If active, hides singles and albums with tracks that only appear in playlists.", + "hide-spotify": "Hide albums from Spotify", + "hide-spotify-help": "If active, hides albums that only appear in your Spotify library.", + "title": "Filter" + }, "sort": { "artist-name": "Artist › Name", "artist-date": "Artist › Release date", - "title": "Sort", "name": "Name", "recently-added": "Recently added", - "recently-released": "Recently released" - } + "recently-released": "Recently released", + "title": "Sort" + }, + "title": "Albums" }, "artist": { - "hide-spotify-help": "If active, hides the content only appearing in your Spotify library.", - "hide-spotify": "Hide the content from Spotify", + "filter": { + "hide-spotify": "Hide the content from Spotify", + "hide-spotify-help": "If active, hides the content only appearing in your Spotify library.", + "title": "Filter" + }, "sort": { - "title": "Sort", "name": "Name", "rating": "Rating", - "release-date": "Release date" + "release-date": "Release date", + "title": "Sort" } }, "artists": { - "sort": { - "title": "Sort", - "name": "Name", - "recently-added": "Recently added" + "filter": { + "hide-singles": "Hide singles", + "hide-singles-help": "If active, hides artists that only appear on singles or playlists.", + "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" }, "audiobooks": { @@ -193,9 +201,9 @@ }, "composer": { "sort": { - "title": "Sort", "name": "Name", - "rating": "Rating" + "rating": "Rating", + "title": "Sort" } }, "composers": { @@ -206,9 +214,9 @@ }, "genre": { "sort": { - "title": "Sort", "name": "Name", - "rating": "Rating" + "rating": "Rating", + "title": "Sort" } }, "genres": { diff --git a/web-src/src/i18n/fr.json b/web-src/src/i18n/fr.json index 234513d9..9393bce5 100644 --- a/web-src/src/i18n/fr.json +++ b/web-src/src/i18n/fr.json @@ -6,7 +6,6 @@ "cancel": "Annuler", "clear": "Effacer", "edit": "Éditer", - "filter": "Filtrer", "login": "Se connecter", "logout": "Se déconnecter", "hide-previous": "Masquer l’historique", @@ -142,40 +141,49 @@ "version": "Version {version}" }, "albums": { - "hide-singles-help": "Si actif, masque les singles et les albums dont les pistes n’apparaissent que dans les listes de lecture.", - "hide-singles": "Masquer les singles", - "hide-spotify-help": "Si actif, masque les albums qui n’apparaissent que dans votre bibliothèque Spotify.", - "hide-spotify": "Masquer les albums de Spotify", - "title": "Albums", + "filter": { + "hide-singles": "Masquer les singles", + "hide-singles-help": "Si actif, masque les singles et les albums dont les pistes n’apparaissent que dans les listes de lecture.", + "hide-spotify": "Masquer les albums de Spotify", + "hide-spotify-help": "Si actif, masque les albums qui n’apparaissent que dans votre bibliothèque Spotify.", + "title": "Filtrer" + }, "sort": { "artist-name": "Artiste › Nom", "artist-date": "Artiste › Date de sortie", - "title": "Trier", "name": "Nom", "recently-added": "Ajouts récents", - "recently-released": "Sorties récentes" - } + "recently-released": "Sorties récentes", + "title": "Trier" + }, + "title": "Albums" }, "artist": { - "hide-spotify-help": "Si actif, masque le contenu qui n’apparaît que dans votre bibliothèque Spotify.", - "hide-spotify": "Masquer le contenu de Spotify", + "filter": { + "hide-spotify": "Masquer le contenu de Spotify", + "hide-spotify-help": "Si actif, masque le contenu qui n’apparaît que dans votre bibliothèque Spotify.", + "title": "Filtrer" + }, "sort": { - "title": "Trier", "name": "Nom", "rating": "Classement", - "release-date": "Date de sortie" + "release-date": "Date de sortie", + "title": "Trier" } }, "artists": { - "sort": { - "title": "Trier", - "name": "Nom", - "recently-added": "Ajouts récents" + "filter": { + "hide-singles": "Masquer les singles", + "hide-singles-help": "Si actif, masque les artistes qui n’apparaissent que dans des singles ou des listes de lecture.", + "hide-spotify": "Masquer les artistes de Spotify", + "hide-spotify-help": "Si actif, masque les artistes qui n’apparaissent 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 n’apparaissent que dans des singles ou des listes de lecture.", - "hide-singles": "Masquer les singles", - "hide-spotify-help": "Si actif, masque les artistes qui n’apparaissent que dans votre bibliothèque Spotify.", - "hide-spotify": "Masquer les artistes de Spotify", "title": "Artistes" }, "audiobooks": { @@ -193,9 +201,9 @@ }, "composer": { "sort": { - "title": "Trier", "name": "Nom", - "rating": "Classement" + "rating": "Classement", + "title": "Trier" } }, "composers": { @@ -206,9 +214,9 @@ }, "genre": { "sort": { - "title": "Trier", "name": "Nom", - "rating": "Classement" + "rating": "Classement", + "title": "Trier" } }, "genres": { diff --git a/web-src/src/i18n/zh-CN.json b/web-src/src/i18n/zh-CN.json index f8552749..7a102bf0 100644 --- a/web-src/src/i18n/zh-CN.json +++ b/web-src/src/i18n/zh-CN.json @@ -6,7 +6,6 @@ "cancel": "取消", "clear": "清除", "edit": "编辑", - "filter": "筛选", "login": "登入", "logout": "退出", "hide-previous": "隐藏历史", @@ -142,40 +141,49 @@ "version": "版本 {version}" }, "albums": { - "hide-singles-help": "如果激活,将隐藏仅在播放列表出现的单曲和专辑", - "hide-singles": "隐藏单曲", - "hide-spotify-help": "如果激活,将隐藏仅在Spotify资料库出现的专辑", - "hide-spotify": "隐藏来自Spotify的专辑", - "title": "专辑", + "filter": { + "hide-singles": "隐藏单曲", + "hide-singles-help": "如果激活,将隐藏仅在播放列表出现的单曲和专辑", + "hide-spotify": "隐藏来自Spotify的专辑", + "hide-spotify-help": "如果激活,将隐藏仅在Spotify资料库出现的专辑", + "title": "专辑" + }, "sort": { "artist-name": "艺人 › 名称", "artist-date": "艺人 › 发行日期", - "title": "分类", "name": "名称", "recently-added": "最近添加", - "recently-released": "最近发行" - } + "recently-released": "最近发行", + "title": "分类" + }, + "title": "张专辑" }, "artist": { - "hide-spotify-help": "如果激活,将隐藏只出现在Spotify库中的内容", - "hide-spotify": "隐藏来自Spotify的内容", + "filter": { + "hide-spotify": "隐藏来自Spotify的内容", + "hide-spotify-help": "如果激活,将隐藏只出现在Spotify库中的内容", + "title": "专辑" + }, "sort": { - "title": "分类", "name": "名称", "rating": "评级", - "release-date": "发行日期" + "release-date": "发行日期", + "title": "分类" } }, "artists": { - "sort": { - "title": "分类", - "name": "名称", - "recently-added": "最近添加" + "filter": { + "hide-singles": "隐藏单曲", + "hide-singles-help": "如果激活,将隐藏仅在播放列表出现的单曲和专辑", + "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": "艺人" }, "audiobooks": { @@ -193,9 +201,9 @@ }, "composer": { "sort": { - "title": "分类", "name": "名称", - "rating": "评级" + "rating": "评级", + "title": "分类" } }, "composers": { @@ -206,9 +214,9 @@ }, "genre": { "sort": { - "title": "分类", "name": "名称", - "rating": "评级" + "rating": "评级", + "title": "分类" } }, "genres": { diff --git a/web-src/src/i18n/zh-TW.json b/web-src/src/i18n/zh-TW.json index 491951b8..a366ab99 100644 --- a/web-src/src/i18n/zh-TW.json +++ b/web-src/src/i18n/zh-TW.json @@ -6,7 +6,6 @@ "cancel": "取消", "clear": "清除", "edit": "編輯", - "filter": "篩選", "login": "登入", "logout": "退出", "hide-previous": "隱藏歷史", @@ -142,40 +141,49 @@ "version": "版本 {version}" }, "albums": { - "hide-singles-help": "如果啓用,將隱藏僅在播放列表出現的單曲和專輯", - "hide-singles": "隱藏單曲", - "hide-spotify-help": "如果啓用,將隱藏僅在Spotify資料庫出現的專輯", - "hide-spotify": "隱藏來自Spotify的專輯", - "title": "專輯", + "filter": { + "hide-singles": "隱藏單曲", + "hide-singles-help": "如果啓用,將隱藏僅在播放列表出現的單曲和專輯", + "hide-spotify": "隱藏來自Spotify的專輯", + "hide-spotify-help": "如果啓用,將隱藏僅在Spotify資料庫出現的專輯", + "title": "篩選" + }, "sort": { "artist-name": "藝人 › 名稱", "artist-date": "藝人 › 發行日期", - "title": "分類", "name": "名稱", "recently-added": "最近新增", - "recently-released": "最近發行" - } + "recently-released": "最近發行", + "title": "分類" + }, + "title": "專輯" }, "artist": { - "hide-spotify-help": "如果啓用,將隱藏只出現在Spotify庫中的內容", - "hide-spotify": "隱藏來自Spotify的內容", + "filter": { + "hide-spotify": "隱藏來自Spotify的內容", + "hide-spotify-help": "如果啓用,將隱藏只出現在Spotify庫中的內容", + "title": "篩選" + }, "sort": { - "title": "分類", "name": "名稱", "rating": "評級", - "release-date": "發行日期" + "release-date": "發行日期", + "title": "分類" } }, "artists": { - "sort": { - "title": "分類", - "name": "名稱", - "recently-added": "最近新增" + "filter": { + "hide-singles": "隱藏單曲", + "hide-singles-help": "如果啓用,將隱藏僅在播放列表出現的單曲和專輯", + "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": "藝人" }, "audiobooks": { @@ -193,9 +201,9 @@ }, "composer": { "sort": { - "title": "分類", "name": "名稱", - "rating": "評級" + "rating": "評級", + "title": "分類" } }, "composers": { @@ -206,9 +214,9 @@ }, "genre": { "sort": { - "title": "分類", "name": "名稱", - "rating": "評級" + "rating": "評級", + "title": "分類" } }, "genres": { diff --git a/web-src/src/pages/PageAlbums.vue b/web-src/src/pages/PageAlbums.vue index f6137f43..c64b3ff4 100644 --- a/web-src/src/pages/PageAlbums.vue +++ b/web-src/src/pages/PageAlbums.vue @@ -8,14 +8,14 @@
diff --git a/web-src/src/pages/PageArtist.vue b/web-src/src/pages/PageArtist.vue index 97f4e19a..33c3cddf 100644 --- a/web-src/src/pages/PageArtist.vue +++ b/web-src/src/pages/PageArtist.vue @@ -6,17 +6,17 @@
diff --git a/web-src/src/pages/PageArtistTracks.vue b/web-src/src/pages/PageArtistTracks.vue index 8e32f9b9..7afcb749 100644 --- a/web-src/src/pages/PageArtistTracks.vue +++ b/web-src/src/pages/PageArtistTracks.vue @@ -7,17 +7,17 @@

diff --git a/web-src/src/pages/PageArtists.vue b/web-src/src/pages/PageArtists.vue index 5c04a92b..803898b7 100644 --- a/web-src/src/pages/PageArtists.vue +++ b/web-src/src/pages/PageArtists.vue @@ -8,23 +8,23 @@
diff --git a/web-src/src/pages/PageComposerAlbums.vue b/web-src/src/pages/PageComposerAlbums.vue index c20b87ab..0d6549ab 100644 --- a/web-src/src/pages/PageComposerAlbums.vue +++ b/web-src/src/pages/PageComposerAlbums.vue @@ -9,11 +9,7 @@ :button="{ handler: showDetails, icon: 'dots-horizontal' }" /> @@ -33,7 +33,7 @@ :to="{ name: 'music-spotify-featured-playlists' }" class="button is-small is-rounded" > - {{ $t('page.spotify.music.show-more') }} + {{ $t('actions.show-more') }} diff --git a/web-src/src/pages/PageQueue.vue b/web-src/src/pages/PageQueue.vue index 64c50deb..f4ad267f 100644 --- a/web-src/src/pages/PageQueue.vue +++ b/web-src/src/pages/PageQueue.vue @@ -202,8 +202,6 @@ export default { this.edit_mode = !this.edit_mode }, update_show_next_items() { - console.log(this.uiStore.show_only_next_items) - this.uiStore.show_only_next_items = !this.uiStore.show_only_next_items } }