This commit is contained in:
Manav Rathi
2025-05-27 16:49:08 +05:30
parent 2d8310460b
commit f16846b82e
2 changed files with 12 additions and 1 deletions

View File

@@ -681,5 +681,6 @@
"processing_videos_status": "Processing videos...",
"share_favorites": "Share favorites",
"person_favorites": "{{name}}'s favorites",
"shared_favorites": "Shared favorites"
"shared_favorites": "Shared favorites",
"added_by_name": "Added by {{name}}"
}

View File

@@ -256,6 +256,8 @@ export const FileInfo: React.FC<FileInfoProps> = ({
onSelectPerson?.(personID);
};
const uploaderName = filePublicMagicMetadata(file)?.uploaderName;
return (
<FileInfoSidebar {...{ open, onClose }}>
<Titlebar onClose={onClose} title={t("info")} backIsClose />
@@ -365,6 +367,14 @@ export const FileInfo: React.FC<FileInfoProps> = ({
}}
/>
)}
{uploaderName && (
<Typography
variant="small"
sx={{ m: 2, textAlign: "right", color: "text.muted" }}
>
{t("added_by_name", { name: uploaderName })}
</Typography>
)}
</Stack>
<RawExif
{...rawExifVisibilityProps}