diff --git a/locales/index.d.ts b/locales/index.d.ts index 50b0cf6911..1b38ba1980 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -6384,6 +6384,28 @@ export interface Locale extends ILocale { * 非ログイン訪問者に対するユーザー作成コンテンツの公開範囲 */ "visibleUserGeneratedContentsForNonLoggedInVisitors": string; + /** + * モデレーションが行き届きにくい不適切なリモートコンテンツなどが、自サーバー経由で図らずもインターネットに公開されてしまうことによるトラブル防止などに役立ちます。 + */ + "visibleUserGeneratedContentsForNonLoggedInVisitors_description": string; + /** + * サーバーで受信したリモートのコンテンツを含め、サーバー内の全てのコンテンツを無条件でインターネットに公開することはリスクが伴います。特に、分散型の特性を知らない閲覧者にとっては、リモートのコンテンツであってもサーバー内で作成されたコンテンツであると誤って認識してしまう可能性があるため、注意が必要です。 + */ + "visibleUserGeneratedContentsForNonLoggedInVisitors_description2": string; + "_visibleUserGeneratedContentsForNonLoggedInVisitors": { + /** + * 全て公開 + */ + "all": string; + /** + * ローカルコンテンツのみ公開し、リモートコンテンツは非公開 + */ + "localOnly": string; + /** + * 全て非公開 + */ + "none": string; + }; }; "_accountMigration": { /** diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index d914b61333..ec41a93789 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1622,6 +1622,13 @@ _serverSettings: deliverSuspendedSoftware: "配信停止中のソフトウェア" deliverSuspendedSoftwareDescription: "脆弱性などの理由で、サーバーのソフトウェアの名前及びバージョンの範囲を指定して配信を停止できます。このバージョン情報はサーバーが提供したものであり、信頼性は保証されません。バージョン指定には semver の範囲指定が使用できますが、>= 2024.3.1 と指定すると 2024.3.1-custom.0 のようなカスタムバージョンが含まれないため、>= 2024.3.1-0 のように prerelease の指定を行うことを推奨します。" visibleUserGeneratedContentsForNonLoggedInVisitors: "非ログイン訪問者に対するユーザー作成コンテンツの公開範囲" + visibleUserGeneratedContentsForNonLoggedInVisitors_description: "モデレーションが行き届きにくい不適切なリモートコンテンツなどが、自サーバー経由で図らずもインターネットに公開されてしまうことによるトラブル防止などに役立ちます。" + visibleUserGeneratedContentsForNonLoggedInVisitors_description2: "サーバーで受信したリモートのコンテンツを含め、サーバー内の全てのコンテンツを無条件でインターネットに公開することはリスクが伴います。特に、分散型の特性を知らない閲覧者にとっては、リモートのコンテンツであってもサーバー内で作成されたコンテンツであると誤って認識してしまう可能性があるため、注意が必要です。" + + _visibleUserGeneratedContentsForNonLoggedInVisitors: + all: "全て公開" + localOnly: "ローカルコンテンツのみ公開し、リモートコンテンツは非公開" + none: "全て非公開" _accountMigration: moveFrom: "別のアカウントからこのアカウントに移行" diff --git a/packages/frontend/src/pages/admin/moderation.vue b/packages/frontend/src/pages/admin/moderation.vue index f032a2ef9f..96d471f713 100644 --- a/packages/frontend/src/pages/admin/moderation.vue +++ b/packages/frontend/src/pages/admin/moderation.vue @@ -17,14 +17,18 @@ SPDX-License-Identifier: AGPL-3.0-only </MkSwitch> <MkSwitch v-model="emailRequiredForSignup" @change="onChange_emailRequiredForSignup"> - <template #label>{{ i18n.ts.emailRequiredForSignup }}</template> + <template #label>{{ i18n.ts.emailRequiredForSignup }} ({{ i18n.ts.recommended }})</template> </MkSwitch> <MkSelect v-model="visibleUserGeneratedContentsForNonLoggedInVisitors" @update:modelValue="onChange_visibleUserGeneratedContentsForNonLoggedInVisitors"> <template #label>{{ i18n.ts._serverSettings.visibleUserGeneratedContentsForNonLoggedInVisitors }}</template> - <option value="all">{{ i18n.ts.all }}</option> - <option value="local">{{ i18n.ts.localOnly }}</option> - <option value="none">{{ i18n.ts.none }}</option> + <option value="all">{{ i18n.ts._serverSettings._visibleUserGeneratedContentsForNonLoggedInVisitors.all }}</option> + <option value="local">{{ i18n.ts._serverSettings._visibleUserGeneratedContentsForNonLoggedInVisitors.localOnly }} ({{ i18n.ts.recommended }})</option> + <option value="none">{{ i18n.ts._serverSettings._visibleUserGeneratedContentsForNonLoggedInVisitors.none }}</option> + <template #caption> + <div>{{ i18n.ts._serverSettings.visibleUserGeneratedContentsForNonLoggedInVisitors_description }}</div> + <div><i class="ti ti-alert-triangle" style="color: var(--MI_THEME-warn);"></i> {{ i18n.ts._serverSettings.visibleUserGeneratedContentsForNonLoggedInVisitors_description2 }}</div> + </template> </MkSelect> <FormLink to="/admin/server-rules">{{ i18n.ts.serverRules }}</FormLink>