chore: update i18n

This commit is contained in:
Steven 2023-10-28 15:10:20 +08:00
parent 44e50797ca
commit d02105ca30
3 changed files with 10 additions and 7 deletions

View file

@ -68,19 +68,21 @@ const MemoCommentMessage = ({ inbox }: Props) => {
: "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
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"
)}
>
<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>
{inbox.status === Inbox_Status.UNREAD && (
<Tooltip title="Archive" placement="top">
<Tooltip title={t("common.archive")} placement="top">
<Icon.Inbox
className="w-4 h-auto cursor-pointer text-gray-400 hover:text-blue-600"
onClick={() => handleArchiveMessage()}

View file

@ -79,7 +79,8 @@
"vacuum": "清理未使用资源",
"version": "版本",
"visibility": "可见性",
"yourself": "您自己"
"yourself": "您自己",
"inbox": "通知"
},
"daily-review": {
"no-memos": "哎呀,空无一物。",

View file

@ -71,10 +71,10 @@
"vacuum": "清理",
"version": "版本",
"visibility": "可見度",
"yourself": "你自己"
"yourself": "你自己",
"inbox": "通知"
},
"daily-review": {
"no-memos": "啊咧,這裡啥都沒有。",
"title": "每日回顧"
},
"days": {