From 201976c348e30ac97027f48816e256f52fe8bc6d Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:44:25 +0900 Subject: [PATCH] feat: stop showing peer-review status badges on publications The only publication carried a lone "non-peer-reviewed" badge, and the venue already tells academic readers its review status. The peerReviewed field stays in the data. Closes #81 Co-Authored-By: Claude Opus 5.5 --- src/components/publication_entry.astro | 12 ------------ src/i18n/ui.ts | 2 -- tests/e2e/site.spec.ts | 10 +++++++--- 3 files changed, 7 insertions(+), 17 deletions(-) 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")}}