Add title to buttons
This commit is contained in:
parent
9118524a19
commit
161ce2404b
33 changed files with 62 additions and 45 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue