mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06: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-haspopup": true,
|
||||||
"aria-expanded": attrs.active,
|
"aria-expanded": attrs.active,
|
||||||
href: attrs.user.path,
|
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,
|
"data-auto-route": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1089,6 +1089,7 @@ en:
|
|||||||
said: "%{username}:"
|
said: "%{username}:"
|
||||||
profile: "Profile"
|
profile: "Profile"
|
||||||
profile_possessive: "%{username}'s profile"
|
profile_possessive: "%{username}'s profile"
|
||||||
|
account_possessive: "'s account"
|
||||||
mute: "Mute"
|
mute: "Mute"
|
||||||
edit: "Edit Preferences"
|
edit: "Edit Preferences"
|
||||||
download_archive:
|
download_archive:
|
||||||
|
Loading…
Reference in New Issue
Block a user