mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 14:35:41 +00:00
fix(playerbar): add Mute / Unmute tooltip on the speaker icon (#752)
The speaker button in the player bar toggled volume to 0 (or back to the pre-mute level) but exposed no `data-tooltip`, so hovering it showed nothing — users couldn't tell what the icon did. Add a tooltip that switches between "Mute" and "Unmute" with the current state, and mirror the same string on `aria-label` for screen readers. New `player.mute` / `player.unmute` keys land across all 9 locales.
This commit is contained in:
committed by
GitHub
parent
04149c048e
commit
48c7b8b780
@@ -39,6 +39,8 @@ export const player = {
|
||||
repeatOne: 'Één',
|
||||
progress: 'Nummervoortgang',
|
||||
volume: 'Volume',
|
||||
mute: 'Dempen',
|
||||
unmute: 'Dempen opheffen',
|
||||
toggleQueue: 'Wachtrij in-/uitschakelen',
|
||||
collapseQueueResize: 'Wachtrij inklappen, breedte wijzigen',
|
||||
moreOptions: 'Meer opties',
|
||||
|
||||
Reference in New Issue
Block a user