mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 06:05:53 +08:00
fix: some copywriting to i18n
This commit is contained in:
parent
e42f84f723
commit
f2a8af0680
@ -185,7 +185,7 @@ const ReasoningConfigForm: React.FC<Props> = ({
|
||||
<div key={variable} className='space-y-1'>
|
||||
<div className='system-sm-semibold flex items-center justify-between py-2 text-text-secondary'>
|
||||
<div className='flex items-center'>
|
||||
<span className={cn('code-sm-semibold text-text-secondary')}>{label[language] || label.en_US}</span>
|
||||
<span className={cn('code-sm-semibold max-w-[140px] truncate text-text-secondary')} title={label[language] || label.en_US}>{label[language] || label.en_US}</span>
|
||||
{required && (
|
||||
<span className='ml-1 text-red-500'>*</span>
|
||||
)}
|
||||
@ -194,8 +194,8 @@ const ReasoningConfigForm: React.FC<Props> = ({
|
||||
<span className='system-xs-regular text-text-tertiary'>{valueType}</span>
|
||||
{!isShowSchemaTooltip && (
|
||||
<Tooltip
|
||||
popupContent={<div className='system-xs-medium w-[200px] text-text-secondary'>
|
||||
Click to view parameter schema
|
||||
popupContent={<div className='system-xs-medium text-text-secondary'>
|
||||
{t('workflow.nodes.agent.clickToViewParameterSchema')}
|
||||
</div>}
|
||||
asChild={false}>
|
||||
<div
|
||||
|
@ -101,7 +101,7 @@ const SchemaModal: FC<Props> = ({
|
||||
{/* Header */}
|
||||
<div className='relative flex p-6 pb-3 pr-14'>
|
||||
<div className='title-2xl-semi-bold grow truncate text-text-primary'>
|
||||
{t('workflow.nodes.llm.jsonSchema.title')}
|
||||
{t('workflow.nodes.agent.parameterSchema')}
|
||||
</div>
|
||||
<div className='absolute right-5 top-5 flex h-8 w-8 items-center justify-center p-1.5' onClick={onClose}>
|
||||
<RiCloseLine className='h-[18px] w-[18px] text-text-tertiary' />
|
||||
|
@ -874,6 +874,8 @@ const translation = {
|
||||
install: 'Install',
|
||||
cancel: 'Cancel',
|
||||
},
|
||||
clickToViewParameterSchema: 'Click to view parameter schema',
|
||||
parameterSchema: 'Parameter Schema',
|
||||
},
|
||||
},
|
||||
tracing: {
|
||||
|
@ -875,6 +875,8 @@ const translation = {
|
||||
install: '安装',
|
||||
cancel: '取消',
|
||||
},
|
||||
clickToViewParameterSchema: '点击查看参数 schema',
|
||||
parameterSchema: '参数 Schema',
|
||||
},
|
||||
},
|
||||
tracing: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user