From 62d26a5d0a8bdd6149232afd9c69fd998dad1cfa Mon Sep 17 00:00:00 2001 From: CyberRex Date: Mon, 16 Oct 2023 17:29:46 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=E6=8A=95=E7=A8=BF=E3=83=95=E3=82=A9?= =?UTF-8?q?=E3=83=BC=E3=83=A0=E3=81=ABNSFW=E3=82=AC=E3=82=A4=E3=83=89?= =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=83=B3=E3=81=B8=E3=81=AE=E5=B0=8E=E7=B7=9A?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0=20(MisskeyIO#182)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/index.d.ts | 1 + locales/ja-JP.yml | 1 + packages/frontend/src/components/MkInfo.vue | 14 ++++++++++---- packages/frontend/src/components/MkPostForm.vue | 7 +++++++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 3fc1473be..85d959697 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1981,6 +1981,7 @@ export interface Locale { "e": string; "f": string; }; + "guidelineInfo": string; }; "_profile": { "name": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 96b56e28e..5a194d5c8 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1897,6 +1897,7 @@ _postForm: d: "言いたいことは?" e: "ここに書いてください" f: "あなたが書くのを待っています..." + guidelineInfo: "[NSFWガイドライン]({nsfwGuideUrl})を必ずお読みになってからご利用ください。" _profile: name: "名前" diff --git a/packages/frontend/src/components/MkInfo.vue b/packages/frontend/src/components/MkInfo.vue index 37490887e..302b86e8f 100644 --- a/packages/frontend/src/components/MkInfo.vue +++ b/packages/frontend/src/components/MkInfo.vue @@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only -->