diff --git a/src/components/publication_entry.astro b/src/components/publication_entry.astro index 8248645..1bbe24a 100644 --- a/src/components/publication_entry.astro +++ b/src/components/publication_entry.astro @@ -1,7 +1,6 @@ --- import type { Publication } from "@data/publications"; import type { Lang } from "@i18n/ui"; -import { useTranslations } from "@i18n/utils"; import OptionalLink from "./optional_link.astro"; interface Props { @@ -10,7 +9,6 @@ interface Props { } const { pub, lang } = Astro.props; -const t = useTranslations(lang); const citationSuffix = lang === "ja" ? `,${pub.year}年` : `, ${pub.year}`; --- @@ -22,7 +20,6 @@ const citationSuffix = lang === "ja" ? `,${pub.year}年` : `, ${pub.year}`;

{pub.venueShort ?? pub.venue}{citationSuffix}

- {!pub.peerReviewed && {t("publications.nonPeerReviewed")}}