mirror of
https://github.com/usememos/memos.git
synced 2025-01-28 08:05:03 +08:00
chore: update i18n
This commit is contained in:
parent
44e50797ca
commit
d02105ca30
3 changed files with 10 additions and 7 deletions
|
@ -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()}
|
||||||
|
|
|
@ -79,7 +79,8 @@
|
||||||
"vacuum": "清理未使用资源",
|
"vacuum": "清理未使用资源",
|
||||||
"version": "版本",
|
"version": "版本",
|
||||||
"visibility": "可见性",
|
"visibility": "可见性",
|
||||||
"yourself": "您自己"
|
"yourself": "您自己",
|
||||||
|
"inbox": "通知"
|
||||||
},
|
},
|
||||||
"daily-review": {
|
"daily-review": {
|
||||||
"no-memos": "哎呀,空无一物。",
|
"no-memos": "哎呀,空无一物。",
|
||||||
|
|
|
@ -71,10 +71,10 @@
|
||||||
"vacuum": "清理",
|
"vacuum": "清理",
|
||||||
"version": "版本",
|
"version": "版本",
|
||||||
"visibility": "可見度",
|
"visibility": "可見度",
|
||||||
"yourself": "你自己"
|
"yourself": "你自己",
|
||||||
|
"inbox": "通知"
|
||||||
},
|
},
|
||||||
"daily-review": {
|
"daily-review": {
|
||||||
"no-memos": "啊咧,這裡啥都沒有。",
|
|
||||||
"title": "每日回顧"
|
"title": "每日回顧"
|
||||||
},
|
},
|
||||||
"days": {
|
"days": {
|
||||||
|
|
Loading…
Reference in a new issue