mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
i18n perf (#3770)
* model config * feat: normalization embedding * perf: mark ui * perf: i18n * fix: rerank error tip
This commit is contained in:
@@ -76,7 +76,7 @@ const FolderSlideCard = ({
|
||||
<MyDivider my={6} />
|
||||
|
||||
<Box>
|
||||
<FormLabel>{t('common:common.Operation')}</FormLabel>
|
||||
<FormLabel>{t('common:Operation')}</FormLabel>
|
||||
|
||||
<Button
|
||||
variant={'transparentBase'}
|
||||
|
@@ -204,8 +204,8 @@ const VariableEdit = ({
|
||||
<Thead>
|
||||
<Tr>
|
||||
<Th>{t('workflow:Variable_name')}</Th>
|
||||
<Th>{t('common:common.Require Input')}</Th>
|
||||
<Th>{t('common:common.Operation')}</Th>
|
||||
<Th>{t('common:Required_input')}</Th>
|
||||
<Th>{t('common:Operation')}</Th>
|
||||
</Tr>
|
||||
</Thead>
|
||||
<DndDrag<VariableItemType>
|
||||
|
@@ -76,10 +76,8 @@ const SelectMarkCollection = ({
|
||||
}}
|
||||
>
|
||||
<Flex alignItems={'center'} h={'38px'}>
|
||||
<Avatar src={item.avatar} w={['24px', '28px', '32px']}></Avatar>
|
||||
<Box ml={3} fontWeight={'bold'} fontSize={['md', 'lg']}>
|
||||
{item.name}
|
||||
</Box>
|
||||
<Avatar src={item.avatar} w={'2rem'} borderRadius={'sm'}></Avatar>
|
||||
<Box ml={3}>{item.name}</Box>
|
||||
</Flex>
|
||||
<Flex justifyContent={'flex-end'} alignItems={'center'} fontSize={'sm'}>
|
||||
<MyIcon mr={1} name="kbTest" w={'12px'} />
|
||||
|
@@ -161,7 +161,7 @@ const NodeFormInput = ({ data, selected }: NodeProps<FlowNodeItemType>) => {
|
||||
<Tr>
|
||||
<Th>{t('workflow:user_form_input_name')}</Th>
|
||||
<Th>{t('workflow:user_form_input_description')}</Th>
|
||||
<Th>{t('common:common.Require Input')}</Th>
|
||||
<Th>{t('common:Required_input')}</Th>
|
||||
<Th>{t('user:operations')}</Th>
|
||||
</Tr>
|
||||
</Thead>
|
||||
|
@@ -70,7 +70,7 @@ const NodeToolParams = ({ data, selected }: NodeProps<FlowNodeItemType>) => {
|
||||
{t('workflow:tool_params.params_description')}
|
||||
</Th>
|
||||
<Th p={0} px={4} bg={'myGray.50'} borderBottomRightRadius={'none !important'}>
|
||||
{t('common:common.Operation')}
|
||||
{t('common:Operation')}
|
||||
</Th>
|
||||
</Tr>
|
||||
</Thead>
|
||||
|
@@ -88,7 +88,7 @@ const EditFieldModal = ({
|
||||
<MyModal isOpen iconSrc="modal/edit" title={t('workflow:tool_field')} onClose={onClose}>
|
||||
<ModalBody>
|
||||
<Flex alignItems={'center'} mb={5}>
|
||||
<Box flex={'0 0 80px'}>{t('common:common.Require Input')}</Box>
|
||||
<Box flex={'0 0 80px'}>{t('common:Required_input')}</Box>
|
||||
<Switch {...register('required')} />
|
||||
</Flex>
|
||||
<Flex alignItems={'center'} mb={5}>
|
||||
|
Reference in New Issue
Block a user