fix(webui): complete i18n audit

This commit is contained in:
chengyongru
2026-08-03 17:53:33 +08:00
committed by chengyongru
parent df11fd92a6
commit 2b63715282
22 changed files with 1535 additions and 994 deletions
+3 -1
View File
@@ -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}