ui(scrobble): label the totals tile 'Plays' instead of 'Wiedergaben' (web + android)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Opus 4.8 committed 2026-08-07 19:29:55 +02:00
1 parent fff6f9e4da
commit 906b3b48cb
3 files changed
+3 -3

No files matched your search

@@ -98,7 +98,7 @@ private fun StatsContent(d: ScrobbleStats, coverUrl: (String?) -> String?) {
) {
// Tiles
Row(horizontalArrangement = Arrangement.spacedBy(10.dp), modifier = Modifier.padding(bottom = 18.dp)) {
Tile(d.totalPlays.toString(), "Wiedergaben", Modifier.weight(1f))
Tile(d.totalPlays.toString(), "Plays", Modifier.weight(1f))
Tile(fmtTime(d.totalSeconds), "Hörzeit", Modifier.weight(1f))
Tile(if (d.topArtists.size >= 10) "10+" else d.topArtists.size.toString(), "Künstler", Modifier.weight(1f))
}
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'ns-v67';
const CACHE = 'ns-v68';
const PRECACHE = ['/', 'index.html', 'manifest.json', 'icon.svg'];
const SKIP_PATHS = ['/rest/stream', '/rest/download', '/config.js'];
// Auth token params stripped from cache keys so artwork survives across sessions/token refreshes.
+1 -1
View File
@@ -136,7 +136,7 @@ function _tiles(d) {
<div style="font-size:12px;color:var(--text2);margin-top:2px">${label}</div>
</div>`;
return `<div style="display:flex;gap:10px;margin-bottom:18px">
${tile(d.totalPlays.toLocaleString('de-DE'), 'Wiedergaben')}
${tile(d.totalPlays.toLocaleString('de-DE'), 'Plays')}
${tile(_fmtTime(d.totalSeconds), 'Hörzeit')}
${tile((d.topArtists?.length || 0) >= 10 ? '10+' : (d.topArtists?.length || 0), 'Künstler')}
</div>`;