diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-29 15:28:32 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-29 15:28:32 -0700 |
| commit | b255d5d33567d7b1fa0052ef81fee269ea0fe0f0 (patch) | |
| tree | 56ac87b8f8de94f4a2288423035b400af9935a8c /site | |
| parent | c0d7d730143824f86474172ea4c226372b00e464 (diff) | |
frontend: add disclaimer for machine TL
Diffstat (limited to 'site')
| -rw-r--r-- | site/src/components/NewsFeed.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/site/src/components/NewsFeed.tsx b/site/src/components/NewsFeed.tsx index 93392eb..8d46b3c 100644 --- a/site/src/components/NewsFeed.tsx +++ b/site/src/components/NewsFeed.tsx @@ -105,11 +105,18 @@ export const NewsFeed: React.FC<NewsFeedProps> = ({ newsItems }) => { </div> {/* AI Disclaimer */} {news.is_ai_summary && ( - <div className={`${isMoe ? "bg-pink-200 text-pink-800" : "bg-gray-800 text-white"} px-3 py-1 text-xs text-center`}> + <div className={`${isMoe ? "bg-pink-200 text-pink-800" : "bg-gray-800 text-white"} px-3 py-2 text-xs text-center`}> The information above is written by AI / 上記の情報はAIによって生成されました。 </div> )} + {/* Machine TL Disclaimer */} + {hasTranslation && isEnglish && ( + <div className={`${isMoe ? "bg-pink-200 text-pink-800" : "bg-gray-800 text-white"} px-3 py-2 text-xs text-center`}> + This text above is machine translated and may contain accuracies + </div> + )} + {/* Images */} {news.images.length > 0 && ( <div className="w-full"> |
