From 243adaaa0df68a027e209b9fe363d60dad5e804b Mon Sep 17 00:00:00 2001 From: Lhcfl Date: Wed, 24 Apr 2024 11:36:28 +0800 Subject: [PATCH 1/3] feat: disable visibilityPicker for edit --- locales/en-US.yml | 1 + locales/zh-CN.yml | 1 + packages/client/src/components/MkPostForm.vue | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index a70eb2406f..9cef2380d6 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -645,6 +645,7 @@ deletedNote: "Deleted post" invisibleNote: "Invisible post" enableInfiniteScroll: "Automatically load more" visibility: "Visiblility" +cannotEditVisibility: "You can't edit post's visibility" poll: "Poll" useCw: "Hide content" enablePlayer: "Open video player" diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index 1be460f7f0..1b03c7c199 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -564,6 +564,7 @@ deletedNote: "已删除的帖子" invisibleNote: "隐藏的帖子" enableInfiniteScroll: "滚动页面以载入更多内容" visibility: "可见性" +cannotEditVisibility: "不能编辑帖子的可见性" poll: "调查问卷" useCw: "隐藏内容" enablePlayer: "打开播放器" diff --git a/packages/client/src/components/MkPostForm.vue b/packages/client/src/components/MkPostForm.vue index 5850fdf498..434d10afb9 100644 --- a/packages/client/src/components/MkPostForm.vue +++ b/packages/client/src/components/MkPostForm.vue @@ -33,9 +33,9 @@ >