diff --git a/src/components/post-form/post-form.tsx b/src/components/post-form/post-form.tsx index ccc0e3e4..ce19159b 100644 --- a/src/components/post-form/post-form.tsx +++ b/src/components/post-form/post-form.tsx @@ -113,7 +113,7 @@ export const LinkTypePreviewer = ({ link }: { link: string }) => { if (type === 'gif' && gifFrameUrl !== null) { type = t('animated_gif'); } else if (type === 'gif' && gifFrameUrl === null) { - type = t('static_gif'); + type = t('gif'); } return isValidURL(link) ? type : t('invalid_url'); diff --git a/src/lib/utils/media-utils.ts b/src/lib/utils/media-utils.ts index 9658cbbc..dd676416 100644 --- a/src/lib/utils/media-utils.ts +++ b/src/lib/utils/media-utils.ts @@ -18,7 +18,7 @@ export const getDisplayMediaInfoType = (type: string, t: any) => { case 'animated gif': return t('animated_gif'); case 'static gif': - return t('static_gif'); + return t('gif'); case 'iframe': return t('iframe'); case 'video':