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.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
feat: add zh hans text (#4384)
CyberSlinger01a9bb2d4941
diff --git a/web/src/components/MemoDetailSidebar/MemoDetailSidebar.tsx b/web/src/components/MemoDetailSidebar/MemoDetailSidebar.tsxindex 096002ac8..5e17c6803 100644--- a/web/src/components/MemoDetailSidebar/MemoDetailSidebar.tsx+++ b/web/src/components/MemoDetailSidebar/MemoDetailSidebar.tsx@@ -34,7 +34,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {)}<div className="w-full flex flex-col"><p className="flex flex-row justify-start items-center w-full gap-1 mb-1 text-sm leading-6 text-gray-400 dark:text-gray-500 select-none">- <span>Created at</span>+ <span>{t("common.created-at")}</span></p><p className="text-sm text-gray-500 dark:text-gray-400">{memo.createTime?.toLocaleString()}</p></div>@@ -49,7 +49,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {{hasSpecialProperty && (<div className="w-full flex flex-col"><p className="flex flex-row justify-start items-center w-full gap-1 mb-1 text-sm leading-6 text-gray-400 dark:text-gray-500 select-none">- <span>Properties</span>+ <span>{t("common.properties")}</span></p><div className="w-full flex flex-row justify-start items-center gap-x-2 gap-y-1 flex-wrap text-gray-500 dark:text-gray-400">{property.hasLink && (diff --git a/web/src/locales/en.json b/web/src/locales/en.jsonindex a3814f67f..b83e8a6f8 100644--- a/web/src/locales/en.json+++ b/web/src/locales/en.json@@ -80,7 +80,9 @@"version": "Version","visibility": "Visibility","yourself": "Yourself",- "shortcuts": "Shortcuts"+ "shortcuts": "Shortcuts",+ "created-at": "Created At",+ "properties": "Properties"},"days": {"fri": "Fri",diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.jsonindex 97fedc895..79f7b00f6 100644--- a/web/src/locales/zh-Hans.json+++ b/web/src/locales/zh-Hans.json@@ -76,7 +76,9 @@"username": "用户名","version": "版本","visibility": "可见性",- "yourself": "您自己"+ "yourself": "您自己",+ "created-at": "创建时间",+ "properties": "属性"},"days": {"fri": "五",@@ -304,7 +306,16 @@"server-name": "服务器名称","removed-completed-task-list-items": "启用移除已办"},- "memo-related": "备忘录"+ "memo-related": "备忘录",+ "access-token-section": {+ "create-dialog": {+ "created-at": "创建时间",+ "expires-at": "过期时间",+ "duration-never": "从不",+ "duration-8h": "8 小时",+ "duration-1m": "1 个月"+ }+ }},"tag": {"all-tags": "全部标签",