Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
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
Vũ Hoàng Anh
canifa_note
Commits
a0fabaf0
Unverified
Commit
a0fabaf0
authored
Feb 24, 2025
by
XIN_____
Committed by
GitHub
Feb 24, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update cn-zh i18n (#4435)
parent
9f01b451
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
MemoDetailSidebar.tsx
web/src/components/MemoDetailSidebar/MemoDetailSidebar.tsx
+1
-1
MemoRelationListView.tsx
web/src/components/MemoRelationListView.tsx
+1
-1
en.json
web/src/locales/en.json
+3
-1
zh-Hans.json
web/src/locales/zh-Hans.json
+3
-1
No files found.
web/src/components/MemoDetailSidebar/MemoDetailSidebar.tsx
View file @
a0fabaf0
...
@@ -27,7 +27,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
...
@@ -27,7 +27,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
<
div
className=
"relative w-full h-36 border rounded-lg bg-zinc-50 dark:bg-zinc-900 dark:border-zinc-800"
>
<
div
className=
"relative w-full h-36 border rounded-lg bg-zinc-50 dark:bg-zinc-900 dark:border-zinc-800"
>
<
MemoRelationForceGraph
className=
"w-full h-full"
memo=
{
memo
}
parentPage=
{
parentPage
}
/>
<
MemoRelationForceGraph
className=
"w-full h-full"
memo=
{
memo
}
parentPage=
{
parentPage
}
/>
<
div
className=
"absolute top-1 left-2 text-xs opacity-60 font-mono gap-1 flex flex-row items-center"
>
<
div
className=
"absolute top-1 left-2 text-xs opacity-60 font-mono gap-1 flex flex-row items-center"
>
<
span
>
Relations
</
span
>
<
span
>
{
t
(
"common.relations"
)
}
</
span
>
<
span
className=
"text-xs opacity-60"
>
(Beta)
</
span
>
<
span
className=
"text-xs opacity-60"
>
(Beta)
</
span
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
web/src/components/MemoRelationListView.tsx
View file @
a0fabaf0
...
@@ -54,7 +54,7 @@ const MemoRelationListView = (props: Props) => {
...
@@ -54,7 +54,7 @@ const MemoRelationListView = (props: Props) => {
onClick=
{
()
=>
setSelectedTab
(
"referenced"
)
}
onClick=
{
()
=>
setSelectedTab
(
"referenced"
)
}
>
>
<
MilestoneIcon
className=
"w-3 h-auto shrink-0 opacity-70"
/>
<
MilestoneIcon
className=
"w-3 h-auto shrink-0 opacity-70"
/>
<
span
>
Referenced by
</
span
>
<
span
>
{
t
(
"common.referenced-by"
)
}
</
span
>
<
span
className=
"opacity-80"
>
(
{
referencedMemoList
.
length
}
)
</
span
>
<
span
className=
"opacity-80"
>
(
{
referencedMemoList
.
length
}
)
</
span
>
</
button
>
</
button
>
)
}
)
}
...
...
web/src/locales/en.json
View file @
a0fabaf0
...
@@ -87,7 +87,9 @@
...
@@ -87,7 +87,9 @@
"input"
:
"Input"
,
"input"
:
"Input"
,
"tree-mode"
:
"Tree mode"
,
"tree-mode"
:
"Tree mode"
,
"last-updated-at"
:
"Last updated at"
,
"last-updated-at"
:
"Last updated at"
,
"referencing"
:
"Referencing"
"referencing"
:
"Referencing"
,
"referenced-by"
:
"Referenced by"
,
"relations"
:
"Relations"
},
},
"days"
:
{
"days"
:
{
"fri"
:
"Fri"
,
"fri"
:
"Fri"
,
...
...
web/src/locales/zh-Hans.json
View file @
a0fabaf0
...
@@ -84,7 +84,9 @@
...
@@ -84,7 +84,9 @@
"input"
:
"输入"
,
"input"
:
"输入"
,
"tree-mode"
:
"树模式"
,
"tree-mode"
:
"树模式"
,
"last-updated-at"
:
"最后更新时间"
,
"last-updated-at"
:
"最后更新时间"
,
"referencing"
:
"相关笔记"
"referencing"
:
"引用"
,
"referenced-by"
:
"被引用"
,
"relations"
:
"关系图"
},
},
"days"
:
{
"days"
:
{
"fri"
:
"五"
,
"fri"
:
"五"
,
...
...
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