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 = ({
...
@@ -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 = ({
...
@@ -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 = ({
...
@@ -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 = ({
...
@@ -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 = ({
...
@@ -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 = ({
...
@@ -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 = ({
...
@@ -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 = ({
...
@@ -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
>
...
...
projects/app/src/pages/chat/components/ChatHeader.tsx
View file @
884c2d95
...
@@ -52,7 +52,7 @@ const ChatHeader = ({
...
@@ -52,7 +52,7 @@ const ChatHeader = ({
{
isPc
?
(
{
isPc
?
(
<>
<>
<
PcHeader
<
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
}
chatModels=
{
chatData
.
app
.
chatModels
}
history=
{
history
}
history=
{
history
}
/>
/>
...
...
projects/app/src/pages/dataset/list/index.tsx
View file @
884c2d95
...
@@ -241,7 +241,7 @@ const Dataset = () => {
...
@@ -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'
]))
}
}
};
};
}
}
...
...
projects/app/src/pages/price/components/Standard.tsx
View file @
884c2d95
...
@@ -101,7 +101,7 @@ const Standard = ({
...
@@ -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
>
...
...
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