Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
fb7f509e
Unverified
Commit
fb7f509e
authored
May 25, 2023
by
Joel
Committed by
GitHub
May 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: show explore entrance (#211)
parent
1a5acf43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.tsx
web/app/components/header/index.tsx
+2
-2
dataset.zh.ts
web/i18n/lang/dataset.zh.ts
+1
-1
No files found.
web/app/components/header/index.tsx
View file @
fb7f509e
...
@@ -71,14 +71,14 @@ const Header: FC<IHeaderProps> = ({ appItems, curApp, userProfile, onLogout, lan
...
@@ -71,14 +71,14 @@ const Header: FC<IHeaderProps> = ({ appItems, curApp, userProfile, onLogout, lan
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
'flex items-center'
>
<
div
className=
'flex items-center'
>
{
/*
<Link href="/explore/apps" className={classNames(
<
Link
href=
"/explore/apps"
className=
{
classNames
(
navClassName
,
'group'
,
navClassName
,
'group'
,
isExplore
&&
'bg-white shadow-[0_2px_5px_-1px_rgba(0,0,0,0.05),0_2px_4px_-2px_rgba(0,0,0,0.05)]'
,
isExplore
&&
'bg-white shadow-[0_2px_5px_-1px_rgba(0,0,0,0.05),0_2px_4px_-2px_rgba(0,0,0,0.05)]'
,
isExplore
?
'text-primary-600'
:
'text-gray-500 hover:bg-gray-200 hover:text-gray-700'
isExplore
?
'text-primary-600'
:
'text-gray-500 hover:bg-gray-200 hover:text-gray-700'
)
}
>
)
}
>
<
Squares2X2Icon
className=
'mr-1 w-[18px] h-[18px]'
/>
<
Squares2X2Icon
className=
'mr-1 w-[18px] h-[18px]'
/>
{
t
(
'common.menus.explore'
)
}
{
t
(
'common.menus.explore'
)
}
</Link>
*/
}
</
Link
>
<
Nav
<
Nav
icon=
{
<
BuildAppsIcon
isSelected=
{
[
'apps'
,
'app'
].
includes
(
selectedSegment
||
''
)
}
/>
}
icon=
{
<
BuildAppsIcon
isSelected=
{
[
'apps'
,
'app'
].
includes
(
selectedSegment
||
''
)
}
/>
}
text=
{
t
(
'common.menus.apps'
)
}
text=
{
t
(
'common.menus.apps'
)
}
...
...
web/i18n/lang/dataset.zh.ts
View file @
fb7f509e
...
@@ -9,7 +9,7 @@ const translation = {
...
@@ -9,7 +9,7 @@ const translation = {
'删除数据集是不可逆的。用户将无法再访问您的数据集,所有的提示配置和日志将被永久删除。'
,
'删除数据集是不可逆的。用户将无法再访问您的数据集,所有的提示配置和日志将被永久删除。'
,
datasetDeleted
:
'数据集已删除'
,
datasetDeleted
:
'数据集已删除'
,
datasetDeleteFailed
:
'删除数据集失败'
,
datasetDeleteFailed
:
'删除数据集失败'
,
didYouKnow
:
'你知道吗?
?
'
,
didYouKnow
:
'你知道吗?'
,
intro1
:
'数据集可以被集成到 Dify 应用中'
,
intro1
:
'数据集可以被集成到 Dify 应用中'
,
intro2
:
'作为上下文'
,
intro2
:
'作为上下文'
,
intro3
:
','
,
intro3
:
','
,
...
...
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