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

update i18n zh-hans #4467

Merged
merged 3 commits into from
Mar 4, 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
2 changes: 1 addition & 1 deletion 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">Masonry View</span>
<span className="text-sm shrink-0 mr-3">{t("memo.masonry-view")}</span>
<Switch checked={memoFilterStore.masonry} onChange={(event) => memoFilterStore.setMasonry(event.target.checked)} />
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion web/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
"direction-asc": "Ascending",
"no-memos": "No memos.",
"click-to-show-nsfw-content": "Click to show NSFW contnet",
"click-to-hide-nsfw-content": "Click to hide NSFW content"
"click-to-hide-nsfw-content": "Click to hide NSFW content",
"masonry-view": "Masonry View"
},
"message": {
"archived-successfully": "Archived successfully",
Expand Down
3 changes: 2 additions & 1 deletion web/src/locales/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@
"direction-asc": "正序",
"no-memos": "无备忘",
"click-to-show-nsfw-content": "点击显示 NSFW 内容",
"click-to-hide-nsfw-content": "点击隐藏 NSFW 内容"
"click-to-hide-nsfw-content": "点击隐藏 NSFW 内容",
"masonry-view": "砖块视图"
},
"message": {
"archived-successfully": "归档成功",
Expand Down