feat(queue): show playback source in tech strip with preload tracking

Add source badges for offline, cache, and stream playback in the queue tech line, including localized tooltips across shipped locales.

Track Rust preload-ready events by stream track id and latch the selected source per track, with dev logs to debug preload/source mismatches during next-track handoff.
This commit is contained in:
Maxim Isaev
2026-04-17 16:34:11 +03:00
parent 7e64ef8f2a
commit c165669db5
13 changed files with 204 additions and 16 deletions
+3
View File
@@ -853,6 +853,9 @@ export const deTranslation = {
rgTrack: 'T {{db}} dB',
rgAlbum: 'A {{db}} dB',
rgPeak: 'Peak {{pk}}',
sourceOffline: 'Wiedergabe aus der Offline-Bibliothek',
sourceHot: 'Wiedergabe aus dem Cache',
sourceStream: 'Wiedergabe aus dem Netzwerkstream',
},
statistics: {
title: 'Statistiken',
+3
View File
@@ -855,6 +855,9 @@ export const enTranslation = {
rgTrack: 'T {{db}} dB',
rgAlbum: 'A {{db}} dB',
rgPeak: 'Peak {{pk}}',
sourceOffline: 'Playing from offline library',
sourceHot: 'Playing from cache',
sourceStream: 'Playing from network stream',
},
statistics: {
title: 'Statistics',
+3
View File
@@ -856,6 +856,9 @@ export const esTranslation = {
rgTrack: 'T {{db}} dB',
rgAlbum: 'A {{db}} dB',
rgPeak: 'Pico {{pk}}',
sourceOffline: 'Reproducción desde la biblioteca sin conexión',
sourceHot: 'Reproducción desde la caché',
sourceStream: 'Reproducción desde la transmisión en red',
},
statistics: {
title: 'Estadísticas',
+3
View File
@@ -851,6 +851,9 @@ export const frTranslation = {
rgTrack: 'T {{db}} dB',
rgAlbum: 'A {{db}} dB',
rgPeak: 'Pic {{pk}}',
sourceOffline: 'Lecture depuis la bibliothèque hors ligne',
sourceHot: 'Lecture depuis le cache',
sourceStream: 'Lecture depuis le flux réseau',
},
statistics: {
title: 'Statistiques',
+3
View File
@@ -850,6 +850,9 @@ export const nbTranslation = {
rgTrack: 'T {{db}} dB',
rgAlbum: 'A {{db}} dB',
rgPeak: 'Topp {{pk}}',
sourceOffline: 'Spiller fra offlinebibliotek',
sourceHot: 'Spiller fra cache',
sourceStream: 'Spiller fra nettverksstrøm',
},
statistics: {
title: 'Statistikk',
+3
View File
@@ -850,6 +850,9 @@ export const nlTranslation = {
rgTrack: 'T {{db}} dB',
rgAlbum: 'A {{db}} dB',
rgPeak: 'Piek {{pk}}',
sourceOffline: 'Afspelen vanuit offlinebibliotheek',
sourceHot: 'Afspelen vanuit cache',
sourceStream: 'Afspelen vanuit netwerkstream',
},
statistics: {
title: 'Statistieken',
+3
View File
@@ -901,6 +901,9 @@ export const ruTranslation = {
rgTrack: 'Т {{db}} дБ',
rgAlbum: 'А {{db}} дБ',
rgPeak: 'Пик {{pk}}',
sourceOffline: 'Играет из офлайн-библиотеки',
sourceHot: 'Играет из кэша',
sourceStream: 'Играет из сетевого потока',
},
statistics: {
title: 'Статистика',
+3
View File
@@ -846,6 +846,9 @@ export const zhTranslation = {
rgTrack: '曲目 {{db}} dB',
rgAlbum: '专辑 {{db}} dB',
rgPeak: '峰值 {{pk}}',
sourceOffline: '正在从离线库播放',
sourceHot: '正在从缓存播放',
sourceStream: '正在从网络流播放',
},
statistics: {
title: '统计',