fix: code-based extension (#1477)

This commit is contained in:
zxhlyh
2023-11-07 17:56:07 +08:00
committed by GitHub
parent 6bcafdbc87
commit 7b26c9e2ef
6 changed files with 37 additions and 18 deletions

View File

@@ -133,13 +133,13 @@ const translation = {
title: '工具箱',
},
moderation: {
title: '内容审',
description: '内容审核',
allEnabled: '审输入/审输出 内容已启用',
inputEnabled: '审输入内容已启用',
outputEnabled: '审输出内容已启用',
title: '内容审',
description: '您可以调用审查 API 或者维护敏感词库来使模型更安全地输出。',
allEnabled: '审输入/审输出 内容已启用',
inputEnabled: '审输入内容已启用',
outputEnabled: '审输出内容已启用',
modal: {
title: '内容审设置',
title: '内容审设置',
provider: {
title: '类别',
openai: 'OpenAI Moderation',
@@ -155,17 +155,17 @@ const translation = {
line: '行',
},
content: {
input: '审输入内容',
output: '审输出内容',
input: '审输入内容',
output: '审输出内容',
preset: '预设回复',
placeholder: '这里预设回复内容',
condition: '审输入内容和审输出内容至少启用一项',
condition: '审输入内容和审输出内容至少启用一项',
fromApi: '预设回复通过 API 返回',
errorMessage: '预设回复不能为空',
supportMarkdown: '支持 Markdown',
},
openaiNotConfig: {
before: 'OpenAI 内容审需要在',
before: 'OpenAI 内容审需要在',
after: '中配置 OpenAI API 密钥。',
},
},