From b255d5d33567d7b1fa0052ef81fee269ea0fe0f0 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Tue, 29 Apr 2025 15:28:32 -0700
Subject: frontend: add disclaimer for machine TL

---
 site/src/components/NewsFeed.tsx | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'site/src/components/NewsFeed.tsx')

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">
-- 
cgit v1.2.3

