chore: list fiter i18n

This commit is contained in:
Joel 2024-09-29 14:57:25 +08:00
parent dc3e86b82a
commit 00f91b5dc4
4 changed files with 4 additions and 2 deletions

View File

@ -64,7 +64,7 @@ const Input = ({
destructive && 'bg-components-input-bg-destructive border-components-input-border-destructive text-components-input-text-filled hover:bg-components-input-bg-destructive hover:border-components-input-border-destructive focus:bg-components-input-bg-destructive focus:border-components-input-border-destructive', destructive && 'bg-components-input-bg-destructive border-components-input-border-destructive text-components-input-text-filled hover:bg-components-input-bg-destructive hover:border-components-input-border-destructive focus:bg-components-input-bg-destructive focus:border-components-input-border-destructive',
className, className,
)} )}
placeholder={placeholder ?? (showLeftIcon ? t('common.operation.search') ?? '' : 'please input')} placeholder={placeholder ?? (showLeftIcon ? t('common.operation.search') ?? '' : t('common.placeholder.input'))}
value={value} value={value}
onChange={onChange} onChange={onChange}
disabled={disabled} disabled={disabled}

View File

@ -65,7 +65,7 @@ const ConditionOperator = ({
{ {
selectedOption selectedOption
? selectedOption.label ? selectedOption.label
: 'select' : t(`${i18nPrefix}.select`)
} }
<RiArrowDownSLine className='ml-1 w-3.5 h-3.5' /> <RiArrowDownSLine className='ml-1 w-3.5 h-3.5' />
</Button> </Button>

View File

@ -457,6 +457,7 @@ const translation = {
conditionNotSetup: 'Condition NOT setup', conditionNotSetup: 'Condition NOT setup',
selectVariable: 'Select variable...', selectVariable: 'Select variable...',
addSubVariable: 'Sub Variable', addSubVariable: 'Sub Variable',
select: 'Select',
}, },
variableAssigner: { variableAssigner: {
title: 'Assign variables', title: 'Assign variables',

View File

@ -457,6 +457,7 @@ const translation = {
conditionNotSetup: '条件未设置', conditionNotSetup: '条件未设置',
selectVariable: '选择变量', selectVariable: '选择变量',
addSubVariable: '添加子变量', addSubVariable: '添加子变量',
select: '选择',
}, },
variableAssigner: { variableAssigner: {
title: '变量赋值', title: '变量赋值',