mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
fix: some copywriting to i18n
This commit is contained in:
@ -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' />
|
||||
|
||||
Reference in New Issue
Block a user