mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
fix: i18n display (#2429)
This commit is contained in:
@@ -47,7 +47,7 @@ const StandardPlanContentList = ({
|
|||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box color={'myGray.600'}>
|
<Box color={'myGray.600'}>
|
||||||
{t('support.wallet.subscription.function.Max members', {
|
{t('common:support.wallet.subscription.function.Max members', {
|
||||||
amount: planContent.maxTeamMember
|
amount: planContent.maxTeamMember
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -55,7 +55,7 @@ const StandardPlanContentList = ({
|
|||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box color={'myGray.600'}>
|
<Box color={'myGray.600'}>
|
||||||
{t('support.wallet.subscription.function.Max app', {
|
{t('common:support.wallet.subscription.function.Max app', {
|
||||||
amount: planContent.maxAppAmount
|
amount: planContent.maxAppAmount
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -63,7 +63,7 @@ const StandardPlanContentList = ({
|
|||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box color={'myGray.600'}>
|
<Box color={'myGray.600'}>
|
||||||
{t('support.wallet.subscription.function.Max dataset', {
|
{t('common:support.wallet.subscription.function.Max dataset', {
|
||||||
amount: planContent.maxDatasetAmount
|
amount: planContent.maxDatasetAmount
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -71,7 +71,7 @@ const StandardPlanContentList = ({
|
|||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box color={'myGray.600'}>
|
<Box color={'myGray.600'}>
|
||||||
{t('support.wallet.subscription.function.History store', {
|
{t('common:support.wallet.subscription.function.History store', {
|
||||||
amount: planContent.chatHistoryStoreDuration
|
amount: planContent.chatHistoryStoreDuration
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -79,7 +79,7 @@ const StandardPlanContentList = ({
|
|||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box fontWeight={'bold'}>
|
<Box fontWeight={'bold'}>
|
||||||
{t('support.wallet.subscription.function.Max dataset size', {
|
{t('common:support.wallet.subscription.function.Max dataset size', {
|
||||||
amount: planContent.maxDatasetSize
|
amount: planContent.maxDatasetSize
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -88,7 +88,7 @@ const StandardPlanContentList = ({
|
|||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<Box fontWeight={'bold'}>
|
<Box fontWeight={'bold'}>
|
||||||
{t('support.wallet.subscription.function.Points', {
|
{t('common:support.wallet.subscription.function.Points', {
|
||||||
amount: planContent.totalPoints
|
amount: planContent.totalPoints
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -104,7 +104,7 @@ const StandardPlanContentList = ({
|
|||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box color={'myGray.600'}>
|
<Box color={'myGray.600'}>
|
||||||
{t('support.wallet.subscription.Training weight', {
|
{t('common:support.wallet.subscription.Training weight', {
|
||||||
weight: planContent.trainingWeight
|
weight: planContent.trainingWeight
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -112,13 +112,13 @@ const StandardPlanContentList = ({
|
|||||||
{!!planContent.permissionReRank && (
|
{!!planContent.permissionReRank && (
|
||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box color={'myGray.600'}>{t('support.wallet.subscription.rerank')}</Box>
|
<Box color={'myGray.600'}>{t('common:support.wallet.subscription.rerank')}</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
{!!planContent.permissionWebsiteSync && (
|
{!!planContent.permissionWebsiteSync && (
|
||||||
<Flex alignItems={'center'}>
|
<Flex alignItems={'center'}>
|
||||||
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
<MyIcon name={'price/right'} w={'16px'} mr={3} />
|
||||||
<Box color={'myGray.600'}>{t('support.wallet.subscription.web_site_sync')}</Box>
|
<Box color={'myGray.600'}>{t('common:support.wallet.subscription.web_site_sync')}</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@@ -52,7 +52,7 @@ const ChatHeader = ({
|
|||||||
{isPc ? (
|
{isPc ? (
|
||||||
<>
|
<>
|
||||||
<PcHeader
|
<PcHeader
|
||||||
title={chatData.title || t('chat:new_chat')}
|
title={chatData.title || t('common:core.chat.New Chat')}
|
||||||
chatModels={chatData.app.chatModels}
|
chatModels={chatData.app.chatModels}
|
||||||
history={history}
|
history={history}
|
||||||
/>
|
/>
|
||||||
|
@@ -241,7 +241,7 @@ const Dataset = () => {
|
|||||||
export async function getServerSideProps(content: any) {
|
export async function getServerSideProps(content: any) {
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
...(await serviceSideProps(content, ['dataset']))
|
...(await serviceSideProps(content, ['dataset', 'user']))
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -101,7 +101,7 @@ const Standard = ({
|
|||||||
{t('common:support.wallet.subscription.Sub plan')}
|
{t('common:support.wallet.subscription.Sub plan')}
|
||||||
</Box>
|
</Box>
|
||||||
<Box mt={8} mb={10} color={'myGray.500'} fontSize={'md'}>
|
<Box mt={8} mb={10} color={'myGray.500'} fontSize={'md'}>
|
||||||
{t('support.wallet.subscription.Sub plan tip', {
|
{t('common:support.wallet.subscription.Sub plan tip', {
|
||||||
title: feConfigs?.systemTitle
|
title: feConfigs?.systemTitle
|
||||||
})}
|
})}
|
||||||
</Box>
|
</Box>
|
||||||
|
Reference in New Issue
Block a user