diff --git a/locales/en-US.yml b/locales/en-US.yml index 3b88ee1279..06a14318f3 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1222,6 +1222,7 @@ signupIsNotAvailable: "For now, you can't sign up on this instance." thisInstanceIsPrivate: "This instance is in private mode." makeInstancePrivate: "Make instance private" makeInstancePrivateDescription: "By turning on, all visitors can't sign up (even if they invited) on this instance and can't view timeline, trends, highlights, etc." +instanceIsPrivate: "Instance is private now. By keep enabling this, no visitors can view this instance." emailToReceiveAbuseReport: "Email address to receive notification of the report" emailToReceiveAbuseReportCaption: "Specify the email address to receive notification of the report. If this field is left blank, the mail server's email address will be used." dialog: "Dialog" diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 028b8d6102..515e9a236c 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1228,6 +1228,7 @@ signupIsNotAvailable: "現在、このインスタンスに新規加入するこ thisInstanceIsPrivate: "現在、このインスタンスは非公開に設定されています。" makeInstancePrivate: "インスタンスを非公開で表示" makeInstancePrivateDescription: "有効にすると、招待による新規加入を含むすべての加入が制限され、非ログインユーザーはインスタンス内のページを一切見ることができなくなります。 また、認証されていないすべてのAPIリクエストを拒否します。" +instanceIsPrivate: "インスタンスが現在非公開に設定されています。解除しないと、非ログインユーザーはアクセスできなくなります。" emailToReceiveAbuseReport: "通報通知を受け取るためのメールアドレス" emailToReceiveAbuseReportCaption: "通報通知を受け取るためのメールアドレスを指定します。ここの入力欄を空にするとメールサーバーのメールアドレスが使用されます。" dialog: "ダイアログ" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 98f43e5dae..3d9b57abb1 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -1225,6 +1225,7 @@ signupIsNotAvailable: "현재 이 인스턴스는 신규 사용자를 받고 있 thisInstanceIsPrivate: "이 인스턴스는 관리자에 의해 비공개로 설정되었습니다." makeInstancePrivate: "인스턴스를 비공개로 만들기" makeInstancePrivateDescription: "활성화하면 초대를 통한 신규 가입을 포함해 모든 가입이 제한되며, 비로그인 사용자는 인스턴스 내 페이지들을 일체 볼 수 없게 됩니다. 또한, 인증되지 않은 모든 API 요청을 거부하게 됩니다." +instanceIsPrivate: "인스턴스가 현재 비공개로 설정되어 있습니다. 해제하지 않으면 비로그인 사용자는 접근할 수 없게 됩니다." emailToReceiveAbuseReport: "신고 알림을 받을 수 있는 이메일 주소" emailToReceiveAbuseReportCaption: "신고 알림을 받을 이메일 주소를 지정해 주세요. 이곳의 입력란을 비워두면 메일 서버의 이메일 주소가 사용돼요." dialog: "다이얼로그" diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 29ed524c7d..b49f3f4806 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -721,7 +721,7 @@ function saveDraft() { localOnly: localOnly.value, files: files.value, poll: poll.value, - event: event, + event: event.value, }, }; diff --git a/packages/frontend/src/components/MkPostFormSimple.vue b/packages/frontend/src/components/MkPostFormSimple.vue index dd60ec18a5..841afd8c47 100644 --- a/packages/frontend/src/components/MkPostFormSimple.vue +++ b/packages/frontend/src/components/MkPostFormSimple.vue @@ -742,7 +742,7 @@ function saveDraft() { localOnly: localOnly.value, files: files.value, poll: poll.value, - event: event, + event: event.value, }, }; diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index aac126eca9..bf1d9da148 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -17,6 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.noBotProtectionWarning }} {{ i18n.ts.configure }} {{ i18n.ts.noEmailServerWarning }} {{ i18n.ts.configure }} {{ i18n.ts.newVersionOfClientAvailable }} {{ i18n.ts.configure }} + {{ i18n.ts.instanceIsPrivate }} {{ i18n.ts.check }} @@ -61,6 +62,7 @@ const pageProps = ref({}); let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail); let noBotProtection = !instance.disableRegistration && !instance.enableHcaptcha && !instance.enableRecaptcha && !instance.enableTurnstile; let noEmailServer = !instance.enableEmail; +let instanceIsPrivate = instance.privateInstance; const thereIsUnresolvedAbuseReport = ref(false); const currentPage = computed(() => router.currentRef.value.child); const updateAvailable = ref(false); @@ -162,7 +164,7 @@ const menuDef = computed(() => [{ }, { icon: 'ti ti-exclamation-circle', text: i18n.ts.abuseReports, - indicated: thereIsUnresolvedAbuseReport, + indicated: thereIsUnresolvedAbuseReport.value, to: '/admin/abuses', active: currentPage.value?.route.name === 'abuses', }, {