fix: i18n display (#2429)

This commit is contained in:
papapatrick
2024-08-19 15:15:33 +08:00
committed by GitHub
parent 918d7fb257
commit 884c2d9553
4 changed files with 12 additions and 12 deletions

View File

@@ -52,7 +52,7 @@ const ChatHeader = ({
{isPc ? (
<>
<PcHeader
title={chatData.title || t('chat:new_chat')}
title={chatData.title || t('common:core.chat.New Chat')}
chatModels={chatData.app.chatModels}
history={history}
/>

View File

@@ -241,7 +241,7 @@ const Dataset = () => {
export async function getServerSideProps(content: any) {
return {
props: {
...(await serviceSideProps(content, ['dataset']))
...(await serviceSideProps(content, ['dataset', 'user']))
}
};
}

View File

@@ -101,7 +101,7 @@ const Standard = ({
{t('common:support.wallet.subscription.Sub plan')}
</Box>
<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
})}
</Box>