feat(albums): "Artist → Year" album sort option (#1120)

* feat(albums): "Artist → Year" sort option

Adds a third album browse sort that groups albums by artist and orders each
artist's albums chronologically (oldest first, title as a same-year tiebreak)
— the double-sort requested in #1113. The local index sorts globally via
[{artist},{year},{name}]; the server fallback fetches by artist and applies the
year ordering per page (Subsonic has no compound sort).

* i18n(albums): Artist → Year sort label (9 locales)

* docs(changelog): add Artist → Year to the album sorting entry (#1120)
This commit is contained in:
Psychotoxical
2026-06-17 22:50:25 +02:00
committed by GitHub
parent ad74578ef6
commit ed52a9991f
14 changed files with 90 additions and 27 deletions
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'Alle Alben',
sortByName: 'AZ (Album)',
sortByArtist: 'AZ (Künstler)',
sortByArtistYear: 'Künstler → Jahr',
sortNewest: 'Neueste zuerst',
sortRandom: 'Zufällig',
yearFrom: 'Von',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'All Albums',
sortByName: 'AZ (Album)',
sortByArtist: 'AZ (Artist)',
sortByArtistYear: 'Artist → Year',
sortNewest: 'Newest first',
sortRandom: 'Random',
yearFrom: 'From',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'Todos los Álbumes',
sortByName: 'AZ (Álbum)',
sortByArtist: 'AZ (Artista)',
sortByArtistYear: 'Artista → Año',
sortNewest: 'Más recientes primero',
sortRandom: 'Aleatorio',
yearFrom: 'Desde',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'Tous les albums',
sortByName: 'AZ (Album)',
sortByArtist: 'AZ (Artiste)',
sortByArtistYear: 'Artiste → Année',
sortNewest: 'Plus récents',
sortRandom: 'Aléatoire',
yearFrom: 'De',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'Alle album',
sortByName: 'A–Å (Album)',
sortByArtist: 'A–Å (Artist)',
sortByArtistYear: 'Artist → År',
sortNewest: 'Vis nyeste først',
sortRandom: 'Tilfeldig',
yearFrom: 'Fra',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'Alle albums',
sortByName: 'AZ (Album)',
sortByArtist: 'AZ (Artiest)',
sortByArtistYear: 'Artiest → Jaar',
sortNewest: 'Nieuwste eerst',
sortRandom: 'Willekeurig',
yearFrom: 'Van',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'Toate albumele',
sortByName: 'AZ (Album)',
sortByArtist: 'AZ (Artist)',
sortByArtistYear: 'Artist → An',
sortNewest: 'Cele mai noi primele',
sortRandom: 'Aleatoriu',
yearFrom: 'De la',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: 'Все альбомы',
sortByName: 'А–Я (альбом)',
sortByArtist: 'А–Я (исполнитель)',
sortByArtistYear: 'Исполнитель → Год',
sortNewest: 'Сначала новые',
sortRandom: 'Случайно',
yearFrom: 'С',
+1
View File
@@ -2,6 +2,7 @@ export const albums = {
title: '全部专辑',
sortByName: '按名称排序 (A-Z)',
sortByArtist: '按艺术家排序 (A-Z)',
sortByArtistYear: '艺术家 → 年份',
sortNewest: '最新优先',
sortRandom: '随机排序',
yearFrom: '从',