Skip to content

Commit

Permalink
chore: update i18n zh-hans (#4467)
Browse files Browse the repository at this point in the history
* Update MemoDisplaySettingMenu.tsx

Masonry View

* Update en.json

* Update zh-Hans.json
  • Loading branch information
taosin authored Mar 4, 2025
1 parent 36d458f commit 6ed6b86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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

0 comments on commit 6ed6b86

Please sign in to comment.