From 974acf408671e06d87f4106ff6ca80ec082e33ab Mon Sep 17 00:00:00 2001
From: samunohito <46447427+samunohito@users.noreply.github.com>
Date: Mon, 18 Dec 2023 10:17:38 +0900
Subject: [PATCH 1/3] fix MkVisibilityPicker.vue
---
locales/index.d.ts | 3 +
locales/ja-JP.yml | 3 +
.../src/components/MkVisibilityPicker.vue | 56 ++++++++++++++-----
3 files changed, 49 insertions(+), 13 deletions(-)
diff --git a/locales/index.d.ts b/locales/index.d.ts
index cd15bd968f..58555089dd 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -2164,6 +2164,9 @@ export interface Locale {
"followersDescription": string;
"specified": string;
"specifiedDescription": string;
+ "channel": string;
+ "channelDescription": string;
+ "channelSelected": string;
"disableFederation": string;
"disableFederationDescription": string;
};
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 5537db9d56..ec725d1ee3 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -2068,6 +2068,9 @@ _visibility:
followersDescription: "自分のフォロワーのみに公開"
specified: "ダイレクト"
specifiedDescription: "指定したユーザーのみに公開"
+ channel: "チャンネル"
+ channelDescription: "選択したチャンネルに公開"
+ channelSelected: "選択中:{name}"
disableFederation: "連合なし"
disableFederationDescription: "他サーバーへの配信を行いません"
diff --git a/packages/frontend/src/components/MkVisibilityPicker.vue b/packages/frontend/src/components/MkVisibilityPicker.vue
index d37f76942a..4e877222cb 100644
--- a/packages/frontend/src/components/MkVisibilityPicker.vue
+++ b/packages/frontend/src/components/MkVisibilityPicker.vue
@@ -9,37 +9,46 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.visibility }}
-