chore: text

feat/enchance-prompt-and-code-fe
Joel 7 months ago
parent 07288bda8b
commit c78130990d

@ -30,14 +30,14 @@ const IdeaOutput: FC<Props> = ({
className='mb-1.5 flex cursor-pointer items-center text-sm font-medium leading-5 text-text-primary' className='mb-1.5 flex cursor-pointer items-center text-sm font-medium leading-5 text-text-primary'
onClick={toggleFoldIdeaOutput} onClick={toggleFoldIdeaOutput}
> >
<div className='system-sm-semibold-uppercase mr-1 text-text-secondary'>{t(`${i18nPrefix}.ideaOutput`)}</div> <div className='system-sm-semibold-uppercase mr-1 text-text-secondary'>{t(`${i18nPrefix}.idealOutput`)}</div>
<div className='system-xs-regular text-text-tertiary'>({t(`${i18nPrefix}.optional`)})</div> <div className='system-xs-regular text-text-tertiary'>({t(`${i18nPrefix}.optional`)})</div>
<ArrowDownRoundFill className={cn('size text-text-quaternary', isFoldIdeaOutput && 'relative top-[1px] rotate-[-90deg]')} /> <ArrowDownRoundFill className={cn('size text-text-quaternary', isFoldIdeaOutput && 'relative top-[1px] rotate-[-90deg]')} />
</div> </div>
{!isFoldIdeaOutput && ( {!isFoldIdeaOutput && (
<Textarea <Textarea
className="h-[80px]" className="h-[80px]"
placeholder={t(`${i18nPrefix}.ideaOutputPlaceholder`)} placeholder={t(`${i18nPrefix}.idealOutputPlaceholder`)}
value={value} value={value}
onChange={e => onChange(e.target.value)} onChange={e => onChange(e.target.value)}
/> />

@ -252,8 +252,8 @@ const translation = {
instructionPlaceHolderLine1: 'Make the output more concise, retaining the core points.', instructionPlaceHolderLine1: 'Make the output more concise, retaining the core points.',
instructionPlaceHolderLine2: 'The output format is incorrect, please strictly follow the JSON format.', instructionPlaceHolderLine2: 'The output format is incorrect, please strictly follow the JSON format.',
instructionPlaceHolderLine3: 'The tone is too harsh, please make it more friendly.', instructionPlaceHolderLine3: 'The tone is too harsh, please make it more friendly.',
ideaOutput: 'Idea Output', idealOutput: 'Ideal Output',
ideaOutputPlaceholder: 'Describe your ideal response format, length, tone, and content requirements...', idealOutputPlaceholder: 'Describe your ideal response format, length, tone, and content requirements...',
optional: 'Optional', optional: 'Optional',
dismiss: 'Dismiss', dismiss: 'Dismiss',
generate: 'Generate', generate: 'Generate',

@ -250,8 +250,8 @@ const translation = {
instructionPlaceHolderLine1: '使输出更简洁,保留核心要点。', instructionPlaceHolderLine1: '使输出更简洁,保留核心要点。',
instructionPlaceHolderLine2: '输出格式不正确,请严格遵循 JSON 格式。', instructionPlaceHolderLine2: '输出格式不正确,请严格遵循 JSON 格式。',
instructionPlaceHolderLine3: '语气过于生硬,请使其更友好。', instructionPlaceHolderLine3: '语气过于生硬,请使其更友好。',
ideaOutput: '输出', idealOutput: '想输出',
ideaOutputPlaceholder: '描述您的回复格式、长度、语气和内容要求……', idealOutputPlaceholder: '描述您想的回复格式、长度、语气和内容要求……',
optional: '可选', optional: '可选',
dismiss: '取消', dismiss: '取消',
generate: '生成', generate: '生成',

Loading…
Cancel
Save