mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:27:19 +08:00
Label unlabeled avatar button in event panel.
Signed-off-by: Nolan Darilek <nolan@thewordnerd.info>
This commit is contained in:
parent
fe71106b1b
commit
e5d5e1cce2
@ -26,6 +26,7 @@ import MatrixClientContext from "../../../contexts/MatrixClientContext";
|
||||
import {useEventEmitter} from "../../../hooks/useEventEmitter";
|
||||
import {toPx} from "../../../utils/units";
|
||||
import {ResizeMethod} from "../../../Avatar";
|
||||
import { _t } from '../../../languageHandler';
|
||||
|
||||
interface IProps {
|
||||
name: string; // The name (first initial used as default)
|
||||
@ -140,6 +141,7 @@ const BaseAvatar = (props: IProps) => {
|
||||
if (onClick) {
|
||||
return (
|
||||
<AccessibleButton
|
||||
aria-label={_t("Avatar")}
|
||||
{...otherProps}
|
||||
element="span"
|
||||
className={classNames("mx_BaseAvatar", className)}
|
||||
|
@ -2430,6 +2430,7 @@
|
||||
"Revoke permissions": "Revoke permissions",
|
||||
"Move left": "Move left",
|
||||
"Move right": "Move right",
|
||||
"Avatar": "Avatar",
|
||||
"This room is public": "This room is public",
|
||||
"Away": "Away",
|
||||
"User Status": "User Status",
|
||||
|
Loading…
Reference in New Issue
Block a user