diff --git a/locales/index.d.ts b/locales/index.d.ts index eed29f408c..6ebb3d2abb 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -988,6 +988,7 @@ export interface Locale { "disableFederationConfirm": string; "disableFederationConfirmWarn": string; "disableFederationOk": string; + "contentWarningCheckRule": string; "invitationRequiredToRegister": string; "emailNotSupported": string; "postToTheChannel": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 8004e53575..1262805559 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -985,6 +985,7 @@ letsLookAtTimeline: "タイムラインを見てみる" disableFederationConfirm: "連合なしにしますか?" disableFederationConfirmWarn: "連合なしにしても投稿は非公開になりません。ほとんどの場合、連合なしにする必要はありません。" disableFederationOk: "連合なしにする" +contentWarningCheckRule: "R18に相当する内容を投稿する場合は、注釈に投稿の内容に関する簡単な説明を記述してください。\n詳しくはルールをご覧ください。https://service.misskey.art" invitationRequiredToRegister: "現在このサーバーは招待制です。招待コードをお持ちの方のみ登録できます。" emailNotSupported: "このサーバーではメール配信はサポートされていません" postToTheChannel: "チャンネルに投稿" diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 5c65569683..6b49ef82e1 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -59,6 +59,7 @@ + {{ i18n.ts.contentWarningCheckRule }} {{ i18n.ts.notSpecifiedMentionWarning }} -
@@ -1046,6 +1047,10 @@ defineExpose({ background: var(--X4); } +.contentWarningCheckRule { + margin: 0 20px 16px 20px; +} + .hasNotSpecifiedMentions { margin: 0 20px 16px 20px; }