Improve account display of account info

This commit is contained in:
Paulo Gustavo Veiga 2022-01-07 17:42:26 -08:00
parent ab67b32af8
commit 29ea56aab0
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@ const EN = {
BACK_TO_MAP_LIST: 'Back to Maps List',
KEYBOARD_SHOTCUTS: 'Keyboard Shorcuts',
ACCOUNT: 'Account',
};
export default EN;

View File

@ -422,7 +422,7 @@ class Menu extends IMenu {
event.preventDefault();
});
this._toolbarElems.push(new AccountSettingsPanel('account'));
Menu._registerTooltip('account', $msg('ACCOUNT_SETTINGS'));
Menu._registerTooltip('account', `${$msg('ACCOUNT')}: ${global.accountEmail}`);
}
this._registerEvents(designer);