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
719c22fe
Commit
719c22fe
authored
May 28, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update i18n
parent
60101392
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
12 deletions
+18
-12
UserStatisticsView.tsx
web/src/components/UserStatisticsView.tsx
+8
-8
en.json
web/src/locales/en.json
+3
-1
zh-Hans.json
web/src/locales/zh-Hans.json
+3
-1
zh-Hant.json
web/src/locales/zh-Hant.json
+3
-1
Archived.tsx
web/src/pages/Archived.tsx
+1
-1
No files found.
web/src/components/UserStatisticsView.tsx
View file @
719c22fe
...
...
@@ -61,46 +61,46 @@ const UserStatisticsView = (props: Props) => {
<
div
className=
"w-full flex justify-between items-center"
>
<
div
className=
"w-auto flex justify-start items-center"
>
<
Icon
.
CalendarDays
className=
"w-4 h-auto mr-1"
/>
<
span
className=
"block text-base sm:text-sm"
>
{
t
(
"common.days"
)
}
</
span
>
<
span
className=
"block text-base sm:text-sm"
>
Days
</
span
>
</
div
>
<
span
>
{
days
}
</
span
>
</
div
>
<
div
className=
"w-full flex justify-between items-center"
>
<
div
className=
"w-auto flex justify-start items-center"
>
<
Icon
.
Library
className=
"w-4 h-auto mr-1"
/>
<
span
className=
"block text-base sm:text-sm"
>
{
t
(
"common.memos"
)
}
</
span
>
<
span
className=
"block text-base sm:text-sm"
>
Memos
</
span
>
</
div
>
{
isRequesting
?
<
Icon
.
Loader
className=
"animate-spin w-4 h-auto text-gray-400"
/>
:
<
span
className=
""
>
{
memoAmount
}
</
span
>
}
</
div
>
<
Divider
className=
"!my-1 opacity-50"
/>
<
div
className=
"w-full mt-1 flex flex-row justify-start items-center gap-x-2 gap-y-1 flex-wrap"
>
<
div
className=
"w-auto border dark:border-zinc-800 p
x-1
rounded-md flex justify-between items-center cursor-pointer hover:opacity-80"
className=
"w-auto border dark:border-zinc-800 p
l-1 pr-1.5
rounded-md flex justify-between items-center cursor-pointer hover:opacity-80"
onClick=
{
()
=>
filterStore
.
setMemoPropertyFilter
({
hasLink
:
true
})
}
>
<
div
className=
"w-auto flex justify-start items-center mr-1"
>
<
Icon
.
Link
className=
"w-4 h-auto mr-1"
/>
<
span
className=
"block text-sm"
>
Links
</
span
>
<
span
className=
"block text-sm"
>
{
t
(
"memo.links"
)
}
</
span
>
</
div
>
<
span
className=
"text-sm truncate"
>
{
memoStats
.
links
}
</
span
>
</
div
>
<
div
className=
"w-auto border dark:border-zinc-800 p
x-1
rounded-md flex justify-between items-center cursor-pointer hover:opacity-80"
className=
"w-auto border dark:border-zinc-800 p
l-1 pr-1.5
rounded-md flex justify-between items-center cursor-pointer hover:opacity-80"
onClick=
{
()
=>
filterStore
.
setMemoPropertyFilter
({
hasTaskList
:
true
})
}
>
<
div
className=
"w-auto flex justify-start items-center mr-1"
>
<
Icon
.
CheckCircle
className=
"w-4 h-auto mr-1"
/>
<
span
className=
"block text-sm"
>
Todos
</
span
>
<
span
className=
"block text-sm"
>
{
t
(
"memo.to-do"
)
}
</
span
>
</
div
>
<
span
className=
"text-sm truncate"
>
{
memoStats
.
todos
}
</
span
>
</
div
>
<
div
className=
"w-auto border dark:border-zinc-800 p
x-1
rounded-md flex justify-between items-center cursor-pointer hover:opacity-80"
className=
"w-auto border dark:border-zinc-800 p
l-1 pr-1.5
rounded-md flex justify-between items-center cursor-pointer hover:opacity-80"
onClick=
{
()
=>
filterStore
.
setMemoPropertyFilter
({
hasCode
:
true
})
}
>
<
div
className=
"w-auto flex justify-start items-center mr-1"
>
<
Icon
.
Code2
className=
"w-4 h-auto mr-1"
/>
<
span
className=
"block text-sm"
>
Code
</
span
>
<
span
className=
"block text-sm"
>
{
t
(
"memo.code"
)
}
</
span
>
</
div
>
<
span
className=
"text-sm truncate"
>
{
memoStats
.
code
}
</
span
>
</
div
>
...
...
web/src/locales/en.json
View file @
719c22fe
...
...
@@ -116,7 +116,9 @@
"protected"
:
"Workspace"
,
"public"
:
"Public"
},
"wrapping"
:
"Wrapping"
"links"
:
"Links"
,
"to-do"
:
"To-do"
,
"code"
:
"Code"
},
"message"
:
{
"archived-successfully"
:
"Archived successfully"
,
...
...
web/src/locales/zh-Hans.json
View file @
719c22fe
...
...
@@ -116,7 +116,9 @@
"protected"
:
"工作区"
,
"public"
:
"公开"
},
"wrapping"
:
"包装"
"links"
:
"链接"
,
"to-do"
:
"待办"
,
"code"
:
"代码"
},
"message"
:
{
"archived-successfully"
:
"归档成功"
,
...
...
web/src/locales/zh-Hant.json
View file @
719c22fe
...
...
@@ -116,7 +116,9 @@
"protected"
:
"成員可見"
,
"public"
:
"公開給所有人"
},
"wrapping"
:
"包裝"
"links"
:
"連結"
,
"to-do"
:
"待辦"
,
"code"
:
"代碼"
},
"message"
:
{
"archived-successfully"
:
"封存成功"
,
...
...
web/src/pages/Archived.tsx
View file @
719c22fe
...
...
@@ -93,7 +93,7 @@ const Archived = () => {
<
div
className=
"w-full flex flex-row justify-between items-center mb-2"
>
<
div
className=
"flex flex-row justify-start items-center gap-1"
>
<
Icon
.
Archive
className=
"w-5 h-auto opacity-70 shrink-0"
/>
<
span
className=
"font-medium"
>
{
t
(
"common.archived"
)
}
</
span
>
<
span
>
{
t
(
"common.archived"
)
}
</
span
>
</
div
>
<
div
className=
"w-44"
>
<
SearchBar
/>
...
...
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