Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
884c2d95
authored
Aug 19, 2024
by
papapatrick
Committed by
GitHub
Aug 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: i18n display (#2429)
parent
918d7fb2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
projects/app/src/components/support/wallet/StandardPlanContentList.tsx
+9
-9
projects/app/src/pages/chat/components/ChatHeader.tsx
+1
-1
projects/app/src/pages/dataset/list/index.tsx
+1
-1
projects/app/src/pages/price/components/Standard.tsx
+1
-1
No files found.
projects/app/src/components/support/wallet/StandardPlanContentList.tsx
View file @
884c2d95
...
...
@@ -47,7 +47,7 @@ const StandardPlanContentList = ({
<
Flex
alignItems=
{
'center'
}
>
<
MyIcon
name=
{
'price/right'
}
w=
{
'16px'
}
mr=
{
3
}
/>
<
Box
color=
{
'myGray.600'
}
>
{
t
(
'support.wallet.subscription.function.Max members'
,
{
{
t
(
'
common:
support.wallet.subscription.function.Max members'
,
{
amount
:
planContent
.
maxTeamMember
})
}
</
Box
>
...
...
@@ -55,7 +55,7 @@ const StandardPlanContentList = ({
<
Flex
alignItems=
{
'center'
}
>
<
MyIcon
name=
{
'price/right'
}
w=
{
'16px'
}
mr=
{
3
}
/>
<
Box
color=
{
'myGray.600'
}
>
{
t
(
'support.wallet.subscription.function.Max app'
,
{
{
t
(
'
common:
support.wallet.subscription.function.Max app'
,
{
amount
:
planContent
.
maxAppAmount
})
}
</
Box
>
...
...
@@ -63,7 +63,7 @@ const StandardPlanContentList = ({
<
Flex
alignItems=
{
'center'
}
>
<
MyIcon
name=
{
'price/right'
}
w=
{
'16px'
}
mr=
{
3
}
/>
<
Box
color=
{
'myGray.600'
}
>
{
t
(
'support.wallet.subscription.function.Max dataset'
,
{
{
t
(
'
common:
support.wallet.subscription.function.Max dataset'
,
{
amount
:
planContent
.
maxDatasetAmount
})
}
</
Box
>
...
...
@@ -71,7 +71,7 @@ const StandardPlanContentList = ({
<
Flex
alignItems=
{
'center'
}
>
<
MyIcon
name=
{
'price/right'
}
w=
{
'16px'
}
mr=
{
3
}
/>
<
Box
color=
{
'myGray.600'
}
>
{
t
(
'support.wallet.subscription.function.History store'
,
{
{
t
(
'
common:
support.wallet.subscription.function.History store'
,
{
amount
:
planContent
.
chatHistoryStoreDuration
})
}
</
Box
>
...
...
@@ -79,7 +79,7 @@ const StandardPlanContentList = ({
<
Flex
alignItems=
{
'center'
}
>
<
MyIcon
name=
{
'price/right'
}
w=
{
'16px'
}
mr=
{
3
}
/>
<
Box
fontWeight=
{
'bold'
}
>
{
t
(
'support.wallet.subscription.function.Max dataset size'
,
{
{
t
(
'
common:
support.wallet.subscription.function.Max dataset size'
,
{
amount
:
planContent
.
maxDatasetSize
})
}
</
Box
>
...
...
@@ -88,7 +88,7 @@ const StandardPlanContentList = ({
<
MyIcon
name=
{
'price/right'
}
w=
{
'16px'
}
mr=
{
3
}
/>
<
Flex
alignItems=
{
'center'
}
>
<
Box
fontWeight=
{
'bold'
}
>
{
t
(
'support.wallet.subscription.function.Points'
,
{
{
t
(
'
common:
support.wallet.subscription.function.Points'
,
{
amount
:
planContent
.
totalPoints
})
}
</
Box
>
...
...
@@ -104,7 +104,7 @@ const StandardPlanContentList = ({
<
Flex
alignItems=
{
'center'
}
>
<
MyIcon
name=
{
'price/right'
}
w=
{
'16px'
}
mr=
{
3
}
/>
<
Box
color=
{
'myGray.600'
}
>
{
t
(
'support.wallet.subscription.Training weight'
,
{
{
t
(
'
common:
support.wallet.subscription.Training weight'
,
{
weight
:
planContent
.
trainingWeight
})
}
</
Box
>
...
...
@@ -112,13 +112,13 @@ const StandardPlanContentList = ({
{
!!
planContent
.
permissionReRank
&&
(
<
Flex
alignItems=
{
'center'
}
>
<
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
>
)
}
{
!!
planContent
.
permissionWebsiteSync
&&
(
<
Flex
alignItems=
{
'center'
}
>
<
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
>
)
}
</
Grid
>
...
...
projects/app/src/pages/chat/components/ChatHeader.tsx
View file @
884c2d95
...
...
@@ -52,7 +52,7 @@ const ChatHeader = ({
{
isPc
?
(
<>
<
PcHeader
title=
{
chatData
.
title
||
t
(
'c
hat:new_c
hat'
)
}
title=
{
chatData
.
title
||
t
(
'c
ommon:core.chat.New C
hat'
)
}
chatModels=
{
chatData
.
app
.
chatModels
}
history=
{
history
}
/>
...
...
projects/app/src/pages/dataset/list/index.tsx
View file @
884c2d95
...
...
@@ -241,7 +241,7 @@ const Dataset = () => {
export
async
function
getServerSideProps
(
content
:
any
)
{
return
{
props
:
{
...(
await
serviceSideProps
(
content
,
[
'dataset'
]))
...(
await
serviceSideProps
(
content
,
[
'dataset'
,
'user'
]))
}
};
}
...
...
projects/app/src/pages/price/components/Standard.tsx
View file @
884c2d95
...
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment