--- const { entry, locale, isFallback } = Astro.locals.starlightRoute; const { banner } = entry.data; const issuesUrl = 'https://github.com/ogulcancelik/herdr/issues/new?template=translation.yml'; const translationNotices = { ja: `このページの翻訳は LLM によって生成されています。誤りに気づいた場合は GitHub で issue を開いてお知らせください。`, 'zh-cn': `本页面的翻译由 LLM 生成。如果你发现翻译有误,请在 GitHub 上提交 issue 告诉我们。`, }; const translationNotice = locale && !isFallback ? translationNotices[locale] : undefined; --- {banner &&
} {translationNotice && ( )}