From c0a29020195e23c7d43826d9f7e99fbbbe0a1ecc Mon Sep 17 00:00:00 2001 From: Gwendal Beaumont Date: Fri, 27 Mar 2026 23:01:08 +0100 Subject: [PATCH] feat(i18n): add strings to FavoritesView --- src/lib/components/views/FavoritesView.svelte | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/lib/components/views/FavoritesView.svelte b/src/lib/components/views/FavoritesView.svelte index af32f0046..f59152b1f 100644 --- a/src/lib/components/views/FavoritesView.svelte +++ b/src/lib/components/views/FavoritesView.svelte @@ -315,10 +315,10 @@ let showAlbumSortMenu = $state(false); const albumSortOptions: { value: AlbumSortBy; label: string }[] = [ - { value: 'default', label: 'Default' }, - { value: 'date', label: 'Recently Added' }, - { value: 'title', label: 'Title' }, - { value: 'artist', label: 'Artist' } + { value: 'default', label: $t('sort.default') }, + { value: 'date', label: $t('sort.addedRecently') }, + { value: 'title', label: $t('sort.title') }, + { value: 'artist', label: $t('sort.artist') } ]; function selectAlbumSort(value: AlbumSortBy) { @@ -1397,13 +1397,13 @@ {/if} {/if} @@ -1545,7 +1545,7 @@ selectedFavoriteArtist = null; } }} - title={artistViewMode === 'grid' ? 'Browse view' : 'Grid view'} + title={artistViewMode === 'grid' ? $t('purchases.view.list') : $t('purchases.view.grid')} > {#if artistViewMode === 'grid'} @@ -1556,7 +1556,7 @@ {#if artistViewMode === 'grid'} {/if} @@ -2008,9 +2008,9 @@