Add "made by" to art grid

This commit is contained in:
Kalle 2023-07-09 20:47:06 +03:00
parent 711890b53a
commit 62448c83cb
2 changed files with 3 additions and 2 deletions

View File

@ -121,7 +121,7 @@ function ImagePreview({
canEdit?: boolean;
}) {
const [imageLoaded, setImageLoaded] = React.useState(false);
const { t } = useTranslation(["common"]);
const { t } = useTranslation(["common", "art"]);
const img = (
<img
@ -174,7 +174,7 @@ function ImagePreview({
})}
>
<Avatar user={art.author} size="xxs" />
{discordFullName(art.author)}
{t("art:madeBy")} {discordFullName(art.author)}
</Link>
</div>
);

View File

@ -1,6 +1,7 @@
{
"pendingApproval_one": "You have {{count}} image pending moderator approval",
"pendingApproval_other": "You have {{count}} images pending moderator approval",
"madeBy": "Made by",
"radios.all": "All",
"radios.madeBy": "Art made by",
"radios.madeFor": "Art made for",