feat(nav): merge Random Mix & Albums into Build a Mix hub

Replaces two sidebar entries (Random Mix, Random Albums) with a single 'Build a Mix' item (Wand2 icon) at /random. Landing page shows two cards — Mix by Tracks and Mix by Albums — with glow-on-hover. Old routes updated throughout. All 7 locales updated.
This commit is contained in:
kilyabin
2026-04-12 13:26:27 +04:00
committed by GitHub
parent 8f18f73b33
commit bf38a286cd
13 changed files with 216 additions and 10 deletions
+8
View File
@@ -5,6 +5,7 @@ export const deTranslation = {
newReleases: 'Neueste',
allAlbums: 'Alle Alben',
randomAlbums: 'Zufallsalben',
randomPicker: 'Mix erstellen',
artists: 'Künstler',
randomMix: 'Zufallsmix',
favorites: 'Favoriten',
@@ -203,6 +204,13 @@ export const deTranslation = {
removeSong: 'Aus Favoriten entfernen',
stations: 'Radiosender',
},
randomLanding: {
title: 'Mix erstellen',
mixByTracks: 'Mix nach Titeln',
mixByTracksDesc: 'Zufällige Auswahl aus deiner gesamten Mediathek',
mixByAlbums: 'Mix nach Alben',
mixByAlbumsDesc: 'Zufällige Alben für neue Entdeckungen',
},
randomAlbums: {
title: 'Zufallsalben',
refresh: 'Neu laden',
+8
View File
@@ -5,6 +5,7 @@ export const enTranslation = {
newReleases: 'New Releases',
allAlbums: 'All Albums',
randomAlbums: 'Random Albums',
randomPicker: 'Build a Mix',
artists: 'Artists',
randomMix: 'Random Mix',
favorites: 'Favorites',
@@ -204,6 +205,13 @@ export const enTranslation = {
removeSong: 'Remove from favorites',
stations: 'Radio Stations',
},
randomLanding: {
title: 'Build a Mix',
mixByTracks: 'Mix by Tracks',
mixByTracksDesc: 'Random selection of tracks from your entire library',
mixByAlbums: 'Mix by Albums',
mixByAlbumsDesc: 'Random album picks for your next discovery',
},
randomAlbums: {
title: 'Random Albums',
refresh: 'Refresh',
+8
View File
@@ -5,6 +5,7 @@ export const frTranslation = {
newReleases: 'Nouveautés',
allAlbums: 'Tous les albums',
randomAlbums: 'Albums aléatoires',
randomPicker: 'Créer un mix',
artists: 'Artistes',
randomMix: 'Mix aléatoire',
favorites: 'Favoris',
@@ -203,6 +204,13 @@ export const frTranslation = {
removeSong: 'Retirer des favoris',
stations: 'Stations de radio',
},
randomLanding: {
title: 'Créer un mix',
mixByTracks: 'Mix par pistes',
mixByTracksDesc: 'Sélection aléatoire de titres depuis toute votre médiathèque',
mixByAlbums: 'Mix par albums',
mixByAlbumsDesc: 'Albums aléatoires pour vos prochaines découvertes',
},
randomAlbums: {
title: 'Albums aléatoires',
refresh: 'Actualiser',
+8
View File
@@ -5,6 +5,7 @@ export const nbTranslation = {
newReleases: 'Nye utgivelser',
allAlbums: 'Alle album',
randomAlbums: 'Tilfeldige album',
randomPicker: 'Lag en miks',
artists: 'Artister',
randomMix: 'Tilfeldig miks',
favorites: 'Favoritter',
@@ -203,6 +204,13 @@ export const nbTranslation = {
removeSong: 'Fjern fra favoritter',
stations: 'Radiostasjoner',
},
randomLanding: {
title: 'Lag en miks',
mixByTracks: 'Miks etter spor',
mixByTracksDesc: 'Tilfeldig utvalg av spor fra hele biblioteket ditt',
mixByAlbums: 'Miks etter album',
mixByAlbumsDesc: 'Tilfeldige album for nye oppdagelser',
},
randomAlbums: {
title: 'Tilfeldige album',
refresh: 'Oppdater',
+8
View File
@@ -5,6 +5,7 @@ export const nlTranslation = {
newReleases: 'Nieuw',
allAlbums: 'Alle albums',
randomAlbums: 'Willekeurige albums',
randomPicker: 'Mix samenstellen',
artists: 'Artiesten',
randomMix: 'Willekeurige mix',
favorites: 'Favorieten',
@@ -203,6 +204,13 @@ export const nlTranslation = {
removeSong: 'Verwijderen uit favorieten',
stations: 'Radiostations',
},
randomLanding: {
title: 'Mix samenstellen',
mixByTracks: 'Mix op nummers',
mixByTracksDesc: 'Willekeurige selectie uit je volledige mediatheek',
mixByAlbums: 'Mix op albums',
mixByAlbumsDesc: 'Willekeurige albums voor nieuwe ontdekkingen',
},
randomAlbums: {
title: 'Willekeurige albums',
refresh: 'Vernieuwen',
+8
View File
@@ -6,6 +6,7 @@ export const ruTranslation = {
newReleases: 'Новинки',
allAlbums: 'Все альбомы',
randomAlbums: 'Случайные альбомы',
randomPicker: 'Собрать микс',
artists: 'Исполнители',
randomMix: 'Случайный микс',
favorites: 'Избранное',
@@ -207,6 +208,13 @@ export const ruTranslation = {
removeSong: 'Убрать из избранного',
stations: 'Радиостанции',
},
randomLanding: {
title: 'Собрать микс',
mixByTracks: 'Микс по трекам',
mixByTracksDesc: 'Случайная подборка треков со всей медиатеки',
mixByAlbums: 'Микс по альбомам',
mixByAlbumsDesc: 'Случайная подборка альбомов для открытий',
},
randomAlbums: {
title: 'Случайные альбомы',
refresh: 'Обновить',
+8
View File
@@ -5,6 +5,7 @@ export const zhTranslation = {
newReleases: '新发布',
allAlbums: '全部专辑',
randomAlbums: '随机专辑',
randomPicker: '创建混音',
artists: '艺术家',
randomMix: '随机混音',
favorites: '收藏夹',
@@ -203,6 +204,13 @@ export const zhTranslation = {
removeSong: '从收藏中移除',
stations: '广播电台',
},
randomLanding: {
title: '创建混音',
mixByTracks: '按曲目混音',
mixByTracksDesc: '从整个媒体库随机选取曲目',
mixByAlbums: '按专辑混音',
mixByAlbumsDesc: '随机选取专辑,探索新音乐',
},
randomAlbums: {
title: '随机专辑',
refresh: '刷新',