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

Steven2935057ca72c
diff --git a/web/src/components/Memo.tsx b/web/src/components/Memo.tsx
index 54dd51e5d..8e1d6d99c 100644
--- a/web/src/components/Memo.tsx
+++ b/web/src/components/Memo.tsx
@@ -210,7 +210,7 @@ const Memo: React.FC<Props> = (props: Props) => {
{t("common.mark")}
</span>
<span className="btn" onClick={handleShowMemoStoryDialog}>
- View Story
+ {t("memo.view-story")}
</span>
<span className="btn archive-btn" onClick={handleArchiveMemoClick}>
{t("common.archive")}
diff --git a/web/src/less/tag-list.less b/web/src/less/tag-list.less
index 694aa95ec..58c9c7a78 100644
--- a/web/src/less/tag-list.less
+++ b/web/src/less/tag-list.less
@@ -62,7 +62,7 @@
}
> .tip-text {
- @apply w-full mt-2 pl-4 text-sm text-gray-400 font-mono;
+ @apply w-full bg-white mt-2 pl-4 leading-8 rounded text-sm text-gray-400 font-mono;
}
}
}
diff --git a/web/src/locales/en.json b/web/src/locales/en.json
index c82eb5ddd..7135ebf24 100644
--- a/web/src/locales/en.json
+++ b/web/src/locales/en.json
@@ -41,8 +41,11 @@
"cancel-edit": "Cancel edit",
"placeholder": "Any thoughts..."
},
+ "memo": {
+ "view-story": "View Story"
+ },
"tag-list": {
- "tip-text": "Enter `#tag ` to create a tag"
+ "tip-text": "Enter `#tag ` to create"
},
"setting": {
"my-account": "My Account",
diff --git a/web/src/locales/zh.json b/web/src/locales/zh.json
index 828d1dbd8..26c1bd7f8 100644
--- a/web/src/locales/zh.json
+++ b/web/src/locales/zh.json
@@ -17,7 +17,7 @@
"edit": "编辑",
"delete": "删除",
"share": "分享",
- "mark": "Mark",
+ "mark": "标注",
"archive": "归档",
"basic": "基础",
"admin": "管理员",
@@ -42,6 +42,9 @@
"cancel-edit": "退出编辑",
"placeholder": "现在的想法是..."
},
+ "memo": {
+ "view-story": "查看详情"
+ },
"tag-list": {
"tip-text": "输入`#tag `来创建标签"
},