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