mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-18 18:16:38 +03:00
fix(webui): complete i18n audit
This commit is contained in:
@@ -31,7 +31,9 @@ export function AttachmentTile({ attachment, className, inline = false, variant
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
className="block bg-muted/20"
|
||||
aria-label={attachment.name ? `Open ${attachment.name}` : t("lightbox.open", { defaultValue: "Open image" })}
|
||||
aria-label={attachment.name
|
||||
? t("message.openAttachment", { name: attachment.name })
|
||||
: t("lightbox.open", { defaultValue: "Open image" })}
|
||||
>
|
||||
<img
|
||||
src={attachment.url}
|
||||
|
||||
Reference in New Issue
Block a user