1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #5829 from polyzen/capital-mute

Display mute keyboard shortcut in uppercase
This commit is contained in:
Bill Thornton 2024-07-25 22:59:06 -04:00 committed by GitHub
commit 7991d15177
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -870,10 +870,10 @@ export default function (view) {
buttonMuteIcon.classList.remove('volume_off', 'volume_up');
if (isMuted) {
buttonMute.setAttribute('title', globalize.translate('Unmute') + ' (m)');
buttonMute.setAttribute('title', globalize.translate('Unmute') + ' (M)');
buttonMuteIcon.classList.add('volume_off');
} else {
buttonMute.setAttribute('title', globalize.translate('Mute') + ' (m)');
buttonMute.setAttribute('title', globalize.translate('Mute') + ' (M)');
buttonMuteIcon.classList.add('volume_up');
}