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

Add title to buttons

This commit is contained in:
Dmitry Lyzo 2022-02-24 19:03:42 +03:00
parent 9118524a19
commit 161ce2404b
33 changed files with 62 additions and 45 deletions

View file

@ -80,6 +80,18 @@ import Headroom from 'headroom.js';
}
function retranslateUi() {
if (headerBackButton) {
headerBackButton.title = globalize.translate('ButtonBack');
}
if (headerHomeButton) {
headerHomeButton.title = globalize.translate('Home');
}
if (mainDrawerButton) {
mainDrawerButton.title = globalize.translate('Menu');
}
if (headerSyncButton) {
headerSyncButton.title = globalize.translate('ButtonSyncPlay');
}
@ -95,6 +107,10 @@ import Headroom from 'headroom.js';
if (headerSearchButton) {
headerSearchButton.title = globalize.translate('Search');
}
if (headerUserButton) {
headerUserButton.title = globalize.translate('Settings');
}
}
function updateUserInHeader(user) {