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
d02105ca
Commit
d02105ca
authored
Oct 28, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update i18n
parent
44e50797
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
MemoCommentMessage.tsx
web/src/components/Inbox/MemoCommentMessage.tsx
+6
-4
zh-Hans.json
web/src/locales/zh-Hans.json
+2
-1
zh-Hant.json
web/src/locales/zh-Hant.json
+2
-2
No files found.
web/src/components/Inbox/MemoCommentMessage.tsx
View file @
d02105ca
...
@@ -68,19 +68,21 @@ const MemoCommentMessage = ({ inbox }: Props) => {
...
@@ -68,19 +68,21 @@ const MemoCommentMessage = ({ inbox }: Props) => {
: "border-gray-400 text-gray-400 bg-gray-50 dark:bg-zinc-800"
: "border-gray-400 text-gray-400 bg-gray-50 dark:bg-zinc-800"
)}
)}
>
>
<Icon.MessageCircle className="w-4 sm:w-5 h-auto" />
<Tooltip title={"Comment"} placement="bottom">
<Icon.MessageCircle className="w-4 sm:w-5 h-auto" />
</Tooltip>
</div>
</div>
<div
<div
className={classNames(
className={classNames(
"border w-full p-3
sm:p
-4 rounded-lg flex flex-col justify-start items-start gap-2 dark:border-zinc-800 hover:bg-gray-100 dark:hover:bg-zinc-800",
"border w-full p-3
px
-4 rounded-lg flex flex-col justify-start items-start gap-2 dark:border-zinc-800 hover:bg-gray-100 dark:hover:bg-zinc-800",
inbox.status !== Inbox_Status.UNREAD && "opacity-60"
inbox.status !== Inbox_Status.UNREAD && "opacity-60"
)}
)}
>
>
<div className="w-full flex flex-row justify-between items-center">
<div className="w-full flex flex-row justify-between items-center">
<span className="text-
sm
text-gray-500">{inbox.createTime?.toLocaleString()}</span>
<span className="text-
xs
text-gray-500">{inbox.createTime?.toLocaleString()}</span>
<div>
<div>
{inbox.status === Inbox_Status.UNREAD && (
{inbox.status === Inbox_Status.UNREAD && (
<Tooltip title=
"Archive"
placement="top">
<Tooltip title=
{t("common.archive")}
placement="top">
<Icon.Inbox
<Icon.Inbox
className="w-4 h-auto cursor-pointer text-gray-400 hover:text-blue-600"
className="w-4 h-auto cursor-pointer text-gray-400 hover:text-blue-600"
onClick={() => handleArchiveMessage()}
onClick={() => handleArchiveMessage()}
...
...
web/src/locales/zh-Hans.json
View file @
d02105ca
...
@@ -79,7 +79,8 @@
...
@@ -79,7 +79,8 @@
"vacuum"
:
"清理未使用资源"
,
"vacuum"
:
"清理未使用资源"
,
"version"
:
"版本"
,
"version"
:
"版本"
,
"visibility"
:
"可见性"
,
"visibility"
:
"可见性"
,
"yourself"
:
"您自己"
"yourself"
:
"您自己"
,
"inbox"
:
"通知"
},
},
"daily-review"
:
{
"daily-review"
:
{
"no-memos"
:
"哎呀,空无一物。"
,
"no-memos"
:
"哎呀,空无一物。"
,
...
...
web/src/locales/zh-Hant.json
View file @
d02105ca
...
@@ -71,10 +71,10 @@
...
@@ -71,10 +71,10 @@
"vacuum"
:
"清理"
,
"vacuum"
:
"清理"
,
"version"
:
"版本"
,
"version"
:
"版本"
,
"visibility"
:
"可見度"
,
"visibility"
:
"可見度"
,
"yourself"
:
"你自己"
"yourself"
:
"你自己"
,
"inbox"
:
"通知"
},
},
"daily-review"
:
{
"daily-review"
:
{
"no-memos"
:
"啊咧,這裡啥都沒有。"
,
"title"
:
"每日回顧"
"title"
:
"每日回顧"
},
},
"days"
:
{
"days"
:
{
...
...
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