Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update i18n

Stevend02105ca3083
diff --git a/web/src/components/Inbox/MemoCommentMessage.tsx b/web/src/components/Inbox/MemoCommentMessage.tsx
index 2d5c96331..a43009b69 100644
--- a/web/src/components/Inbox/MemoCommentMessage.tsx
+++ b/web/src/components/Inbox/MemoCommentMessage.tsx
@@ -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()}
diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.json
index 6a27f7053..8e8ccea87 100644
--- a/web/src/locales/zh-Hans.json
+++ b/web/src/locales/zh-Hans.json
@@ -79,7 +79,8 @@
"vacuum": "清理未使用资源",
"version": "版本",
"visibility": "可见性",
- "yourself": "您自己"
+ "yourself": "您自己",
+ "inbox": "通知"
},
"daily-review": {
"no-memos": "哎呀,空无一物。",
diff --git a/web/src/locales/zh-Hant.json b/web/src/locales/zh-Hant.json
index 26ed4c797..41f9073df 100644
--- a/web/src/locales/zh-Hant.json
+++ b/web/src/locales/zh-Hant.json
@@ -71,10 +71,10 @@
"vacuum": "清理",
"version": "版本",
"visibility": "可見度",
- "yourself": "你自己"
+ "yourself": "你自己",
+ "inbox": "通知"
},
"daily-review": {
- "no-memos": "啊咧,這裡啥都沒有。",
"title": "每日回顧"
},
"days": {