Skip to content

Let's use AI to Earn!

duoyuyan

bulaienaofutuojiesenzhang812503f9d78b
diff --git a/src/app/i18n/locales/en/publish.json b/src/app/i18n/locales/en/publish.json
index 68dd5480..eec87cc6 100644
--- a/src/app/i18n/locales/en/publish.json
+++ b/src/app/i18n/locales/en/publish.json
@@ -107,6 +107,7 @@
"contentModeration": "Content Moderation",
"checkingContent": "Checking...",
"contentSafe": "Content Safe",
+ "riskLevel": "Level:",
"contentUnsafe": "Content Unsafe"
},
"tiktok": {
diff --git a/src/app/i18n/locales/zh-CN/publish.json b/src/app/i18n/locales/zh-CN/publish.json
index fb08eb5a..64b81d84 100644
--- a/src/app/i18n/locales/zh-CN/publish.json
+++ b/src/app/i18n/locales/zh-CN/publish.json
@@ -107,6 +107,7 @@
"contentModeration": "内容安全检测",
"checkingContent": "检测中...",
"contentSafe": "内容安全",
+ "riskLevel": "等级:",
"contentUnsafe": "内容不安全"
},
"tiktok": {
diff --git a/src/components/PublishDialog/index.tsx b/src/components/PublishDialog/index.tsx
index 060db6cc..a945a3c9 100644
--- a/src/components/PublishDialog/index.tsx
+++ b/src/components/PublishDialog/index.tsx
@@ -763,7 +763,7 @@ const PublishDialog = memo(
color: moderationResult ? '#52c41a' : '#ff4d4f',
fontWeight: 500,
}}>
- {moderationResult ? "内容安全" : "等级:" + moderationLevel.riskLevel}
+ {moderationResult ? t('actions.contentSafe' as any) : (moderationLevel?.riskLevel ? `${t('actions.riskLevel' as any)} ${moderationLevel.riskLevel}` : t('actions.contentUnsafe' as any))}
</span>
{!moderationResult && !!moderationDesc && (
<span style={{ fontSize: 12, color: '#ff4d4f', maxWidth: 360, whiteSpace: 'pre-wrap', display: 'inline-flex', alignItems: 'center', gap: 6 }}>
@@ -788,7 +788,7 @@ const PublishDialog = memo(
color: moderationResult === true || moderationResult === false ? '#fff' : undefined
}}
>
- {moderationLoading ? "检测中..." : "内容安全检测"}
+ {moderationLoading ? t('actions.checkingContent' as any) : t('actions.contentModeration' as any)}
</Button>
)}