mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 12:40:40 +08:00
UX: header avatar > change to aria-label (#25038)
This commit is contained in:
parent
67d736a045
commit
3a20718526
|
@ -176,7 +176,9 @@ createWidget(
|
|||
"aria-haspopup": true,
|
||||
"aria-expanded": attrs.active,
|
||||
href: attrs.user.path,
|
||||
title: attrs.user.name || attrs.user.username,
|
||||
"aria-label":
|
||||
(attrs.user.name || attrs.user.username) +
|
||||
I18n.t("user.account_possessive"),
|
||||
"data-auto-route": true,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -1089,6 +1089,7 @@ en:
|
|||
said: "%{username}:"
|
||||
profile: "Profile"
|
||||
profile_possessive: "%{username}'s profile"
|
||||
account_possessive: "'s account"
|
||||
mute: "Mute"
|
||||
edit: "Edit Preferences"
|
||||
download_archive:
|
||||
|
|
Loading…
Reference in New Issue
Block a user