diff --git a/commafeed-client/src/components/content/FeedEntryFooter.tsx b/commafeed-client/src/components/content/FeedEntryFooter.tsx index 103daa57..b330f211 100644 --- a/commafeed-client/src/components/content/FeedEntryFooter.tsx +++ b/commafeed-client/src/components/content/FeedEntryFooter.tsx @@ -1,4 +1,5 @@ -import { msg, t } from "@lingui/macro" +import { msg } from "@lingui/macro" +import { useLingui } from "@lingui/react" import { Group, Indicator, Popover, TagsInput } from "@mantine/core" import { markEntriesUpToEntry, markEntry, starEntry, tagEntry } from "app/entries/thunks" import { useAppDispatch, useAppSelector } from "app/store" @@ -18,6 +19,7 @@ export function FeedEntryFooter(props: FeedEntryFooterProps) { const mobile = useMobile() const { spacing } = useActionButton() const dispatch = useAppDispatch() + const { _ } = useLingui() const readStatusButtonClicked = async () => await dispatch( @@ -75,7 +77,7 @@ export function FeedEntryFooter(props: FeedEntryFooterProps) { () @@ -33,7 +35,7 @@ export function AddCategory() {
- Category} placeholder={t`Category`} {...form.getInputProps("name")} required /> + Category} placeholder={_(msg`Category`)} {...form.getInputProps("name")} required /> Parent} {...form.getInputProps("parentId")} clearable />