mirror of https://github.com/usememos/memos.git
feat: add zh hans text (#4384)
* feat: test dev push * feat: add zh Hans text * feat: restore readme * feat: update zh hans text * feat: add tag for properties label * feat: updarte zh hans translation * feat: add tab
This commit is contained in:
parent
c9edac9d5a
commit
01a9bb2d49
|
|
@ -34,7 +34,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
|
||||||
)}
|
)}
|
||||||
<div className="w-full flex flex-col">
|
<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">
|
<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>
|
||||||
<p className="text-sm text-gray-500 dark:text-gray-400">{memo.createTime?.toLocaleString()}</p>
|
<p className="text-sm text-gray-500 dark:text-gray-400">{memo.createTime?.toLocaleString()}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -49,7 +49,7 @@ const MemoDetailSidebar = ({ memo, className, parentPage }: Props) => {
|
||||||
{hasSpecialProperty && (
|
{hasSpecialProperty && (
|
||||||
<div className="w-full flex flex-col">
|
<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">
|
<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>
|
</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">
|
<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 && (
|
{property.hasLink && (
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,9 @@
|
||||||
"version": "Version",
|
"version": "Version",
|
||||||
"visibility": "Visibility",
|
"visibility": "Visibility",
|
||||||
"yourself": "Yourself",
|
"yourself": "Yourself",
|
||||||
"shortcuts": "Shortcuts"
|
"shortcuts": "Shortcuts",
|
||||||
|
"created-at": "Created At",
|
||||||
|
"properties": "Properties"
|
||||||
},
|
},
|
||||||
"days": {
|
"days": {
|
||||||
"fri": "Fri",
|
"fri": "Fri",
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,9 @@
|
||||||
"username": "用户名",
|
"username": "用户名",
|
||||||
"version": "版本",
|
"version": "版本",
|
||||||
"visibility": "可见性",
|
"visibility": "可见性",
|
||||||
"yourself": "您自己"
|
"yourself": "您自己",
|
||||||
|
"created-at": "创建时间",
|
||||||
|
"properties": "属性"
|
||||||
},
|
},
|
||||||
"days": {
|
"days": {
|
||||||
"fri": "五",
|
"fri": "五",
|
||||||
|
|
@ -304,7 +306,16 @@
|
||||||
"server-name": "服务器名称",
|
"server-name": "服务器名称",
|
||||||
"removed-completed-task-list-items": "启用移除已办"
|
"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": {
|
"tag": {
|
||||||
"all-tags": "全部标签",
|
"all-tags": "全部标签",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue