perf: i18n (#4740)
* feat: login limit time config * doc * perf: code * i18n update * update lock * fix: ts * update package
This commit is contained in:
@@ -254,7 +254,7 @@ const ChatHistorySlider = ({ confirmClearText }: { confirmClearText: string }) =
|
||||
},
|
||||
|
||||
{
|
||||
label: t('common:common.Custom Title'),
|
||||
label: t('common:custom_title'),
|
||||
icon: 'common/customTitleLight',
|
||||
onClick: () => {
|
||||
onOpenModal({
|
||||
@@ -268,7 +268,7 @@ const ChatHistorySlider = ({ confirmClearText }: { confirmClearText: string }) =
|
||||
}
|
||||
},
|
||||
{
|
||||
label: t('common:common.Delete'),
|
||||
label: t('common:Delete'),
|
||||
icon: 'delete',
|
||||
onClick: () => {
|
||||
onDelHistory(item.id);
|
||||
|
||||
@@ -147,7 +147,7 @@ const CollectionQuoteItem = ({
|
||||
</Flex>
|
||||
</MyTooltip>
|
||||
)}
|
||||
<MyTooltip label={t('common:common.Copy')}>
|
||||
<MyTooltip label={t('common:Copy')}>
|
||||
<Flex
|
||||
alignItems={'center'}
|
||||
fontSize={'10px'}
|
||||
|
||||
@@ -165,7 +165,7 @@ const CollectionReader = ({
|
||||
}
|
||||
})}
|
||||
>
|
||||
{sourceName || t('common:common.UnKnow Source')}
|
||||
{sourceName || t('common:unknow_source')}
|
||||
</Box>
|
||||
<Box ml={3}>
|
||||
<DownloadButton
|
||||
|
||||
@@ -136,7 +136,7 @@ const QuoteItem = ({
|
||||
{q.length + (a?.length || 0)}
|
||||
</Flex>
|
||||
</MyTooltip>
|
||||
<MyTooltip label={t('common:common.Copy')}>
|
||||
<MyTooltip label={t('common:Copy')}>
|
||||
<Flex
|
||||
alignItems={'center'}
|
||||
fontSize={'10px'}
|
||||
|
||||
@@ -97,7 +97,7 @@ const QuoteReader = ({
|
||||
color={'myGray.900'}
|
||||
fontWeight={'medium'}
|
||||
>
|
||||
{metadata.sourceName || t('common:common.UnKnow Source')}
|
||||
{metadata.sourceName || t('common:unknow_source')}
|
||||
</Box>
|
||||
</>
|
||||
) : (
|
||||
|
||||
@@ -26,7 +26,7 @@ const CustomPluginRunBox = (props: PluginRunBoxProps) => {
|
||||
<Grid gridTemplateColumns={'450px 1fr'} h={'100%'}>
|
||||
<Box px={3} py={4} borderRight={'base'} h={'100%'} overflowY={'auto'} w={'100%'}>
|
||||
<Box color={'myGray.900'} mb={5}>
|
||||
{t('common:common.Input')}
|
||||
{t('common:Input')}
|
||||
</Box>
|
||||
<PluginRunBox {...props} showTab={PluginRunBoxTabEnum.input} />
|
||||
</Box>
|
||||
@@ -34,8 +34,8 @@ const CustomPluginRunBox = (props: PluginRunBoxProps) => {
|
||||
<Box display={'inline-block'}>
|
||||
<LightRowTabs<PluginRunBoxTabEnum>
|
||||
list={[
|
||||
{ label: t('common:common.Output'), value: PluginRunBoxTabEnum.output },
|
||||
{ label: t('common:common.all_result'), value: PluginRunBoxTabEnum.detail }
|
||||
{ label: t('common:Output'), value: PluginRunBoxTabEnum.output },
|
||||
{ label: t('common:all_result'), value: PluginRunBoxTabEnum.detail }
|
||||
]}
|
||||
value={tab}
|
||||
onChange={setTab}
|
||||
@@ -54,9 +54,9 @@ const CustomPluginRunBox = (props: PluginRunBoxProps) => {
|
||||
<Stack py={2} px={4} h={'100%'}>
|
||||
<LightRowTabs<PluginRunBoxTabEnum>
|
||||
list={[
|
||||
{ label: t('common:common.Input'), value: PluginRunBoxTabEnum.input },
|
||||
{ label: t('common:common.Output'), value: PluginRunBoxTabEnum.output },
|
||||
{ label: t('common:common.all_result'), value: PluginRunBoxTabEnum.detail }
|
||||
{ label: t('common:Input'), value: PluginRunBoxTabEnum.input },
|
||||
{ label: t('common:Output'), value: PluginRunBoxTabEnum.output },
|
||||
{ label: t('common:all_result'), value: PluginRunBoxTabEnum.detail }
|
||||
]}
|
||||
value={tab}
|
||||
onChange={setTab}
|
||||
|
||||
@@ -110,7 +110,7 @@ const SliderApps = ({ apps, activeAppId }: { apps: AppListItemType[]; activeAppI
|
||||
bg: 'myGray.200'
|
||||
}}
|
||||
>
|
||||
<Box>{t('common:common.More')}</Box>
|
||||
<Box>{t('common:More')}</Box>
|
||||
<MyIcon name={'common/select'} w={'1rem'} />
|
||||
</HStack>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user