diff --git a/web/app/components/app/configuration/config/automatic/get-automatic-res.tsx b/web/app/components/app/configuration/config/automatic/get-automatic-res.tsx index ef828b4ea7..e88d59ac39 100644 --- a/web/app/components/app/configuration/config/automatic/get-automatic-res.tsx +++ b/web/app/components/app/configuration/config/automatic/get-automatic-res.tsx @@ -43,6 +43,7 @@ import InstructionEditor from './instruction-editor' import type { Node, NodeOutPutVar } from '@/app/components/workflow/types' import type { GeneratorType } from './types' import { ArrowDownRoundFill } from '@/app/components/base/icons/src/vender/solid/general' +import Link from 'next/link' const i18nPrefix = 'appDebug.generate' export type IGetAutomaticResProps = { @@ -190,8 +191,8 @@ const GetAutomaticRes: FC = ({
-
{t('appDebug.generate.noDataLine1')}
-
{t('appDebug.generate.noDataLine2')}
+
{t('appDebug.generate.newNoDataLine1')}
+ {t('appDebug.generate.newNoDataLine2')}
) diff --git a/web/i18n/en-US/app-debug.ts b/web/i18n/en-US/app-debug.ts index 092eeba10b..e9be6d2caf 100644 --- a/web/i18n/en-US/app-debug.ts +++ b/web/i18n/en-US/app-debug.ts @@ -258,8 +258,8 @@ const translation = { dismiss: 'Dismiss', generate: 'Generate', resTitle: 'Generated Prompt', - noDataLine1: 'Describe your use case on the left,', - noDataLine2: 'the orchestration preview will show here.', + newNoDataLine1: 'Write a instruction in the left column, and click Generate to see response. ', + newNoDataLine2: 'Learn about prompt design', apply: 'Apply', loading: 'Orchestrating the application for you...', overwriteTitle: 'Override existing configuration?', diff --git a/web/i18n/zh-Hans/app-debug.ts b/web/i18n/zh-Hans/app-debug.ts index a7bccfe36c..a818caabeb 100644 --- a/web/i18n/zh-Hans/app-debug.ts +++ b/web/i18n/zh-Hans/app-debug.ts @@ -236,6 +236,8 @@ const translation = { apply: '应用', applyChanges: '应用更改', resTitle: '生成的代码', + newNoDataLine1: '在左侧描述您的用例,点击生成查看响应。', + newNoDataLine2: '了解提示词设计', overwriteConfirmTitle: '是否覆盖现有代码?', overwriteConfirmMessage: '此操作将覆盖现有代码。您确定要继续吗?', },