Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update zh-hans i18n #4531

Merged
merged 2 commits into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions web/src/components/MemoDisplaySettingMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const MemoDisplaySettingMenu = observer(({ className }: Props) => {
</Select>
</div>
<div className="w-full flex flex-row justify-between items-center">
<span className="text-sm shrink-0 mr-3">Layout</span>
<span className="text-sm shrink-0 mr-3">{t("memo.layout")}</span>
<Select
value={viewStore.state.layout}
onChange={(_, value) =>
Expand All @@ -47,8 +47,8 @@ const MemoDisplaySettingMenu = observer(({ className }: Props) => {
})
}
>
<Option value={"LIST"}>{"List"}</Option>
<Option value={"MASONRY"}>{"Masonry"}</Option>
<Option value={"LIST"}>{t("memo.list")}</Option>
<Option value={"MASONRY"}>{t("memo.masonry")}</Option>
</Select>
</div>
</div>
Expand Down
5 changes: 4 additions & 1 deletion web/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@
"private": "Private",
"protected": "Workspace",
"public": "Public"
}
},
"layout": "Layout",
"list": "List",
"masonry": "Masonry"
},
"message": {
"archived-successfully": "Archived successfully",
Expand Down
5 changes: 4 additions & 1 deletion web/src/locales/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@
"private": "私有",
"protected": "工作区",
"public": "公开"
}
},
"layout": "布局",
"list": "列表模式",
"masonry": "瀑布流模式"
},
"message": {
"archived-successfully": "归档成功",
Expand Down