Skip to content

Commit

Permalink
chore: translation
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti committed Nov 8, 2024
1 parent 4053d01 commit 7278082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function SideBarItemTemplateWithData({
{...({ style: { display: 'inline-flex', flexShrink: 0 } } as any)}
variant={variant}
title={badgeTitle}
aria-label={`${badgeTitle} from ${title}`}
aria-label={`${badgeTitle} ${t('from')} ${title}`}
>
<span aria-hidden>{unread + tunread?.length}</span>
</Badge>
Expand All @@ -187,7 +187,7 @@ function SideBarItemTemplateWithData({
onClick={(): void => {
!selected && sidebar.toggle();
}}
aria-label={showBadge && isUnread ? `${badgeTitle} from ${title}` : title}
aria-label={showBadge && isUnread ? `${badgeTitle} ${t('from')} ${title}` : title}
title={title}
time={lastMessage?.ts}
subtitle={subtitle}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const SidebarItemTemplateWithData = ({
const badges = (
<>
{showUnread && (
<SidebarV2ItemBadge variant={unreadVariant} title={unreadTitle} role='status' aria-label={`${unreadTitle} from ${title}`}>
<SidebarV2ItemBadge variant={unreadVariant} title={unreadTitle} role='status' aria-label={`${unreadTitle} ${t('from')} ${title}`}>
<span aria-hidden>{unreadCount.total}</span>
</SidebarV2ItemBadge>
)}
Expand All @@ -143,7 +143,7 @@ const SidebarItemTemplateWithData = ({
onClick={(): void => {
!selected && sidebar.toggle();
}}
aria-label={showUnread ? `${unreadTitle} from ${title}` : title}
aria-label={showUnread ? `${unreadTitle} ${t('from')} ${title}` : title}
title={title}
time={lastMessage?.ts}
subtitle={subtitle}
Expand Down

0 comments on commit 7278082

Please sign in to comment.