fix: use lang key for user avatar label

This commit is contained in:
Barış Soner Uşaklı
2024-02-14 10:53:03 -05:00
parent 92ef854872
commit 863f5d0a8a
2 changed files with 3 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ module.exports = function (utils, Benchpress, relative_path) {
['title', userObj.username],
['data-uid', userObj.uid],
['loading', 'lazy'],
['aria-label', `User avatar for ${userObj.username}`],
['aria-label', `[[aria:user-avatar-for, ${userObj.username}]]`],
]);
const styles = [`--avatar-size: ${size};`];
const attr2String = attributes => Array.from(attributes).reduce((output, [prop, value]) => {