diff --git a/locales/index.d.ts b/locales/index.d.ts index e77fd8a615..5a2272f4d8 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -84,6 +84,10 @@ export interface Locale extends ILocale { * ルビ */ "ruby": string; + /** + * ピン留めされたチャンネル + */ + "pinnedChannel": string; /** * わかった */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 77dba50625..4b5d12fe36 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -17,6 +17,7 @@ notificationIndicator: "通知のインジケーターの数字を表示する" hanntenn: "アイコンとバナーを反転させる" hanntennInfo: "ダークだったらライトのアイコンに、ライトだったらダークのアイコンに。" ruby: "ルビ" +pinnedChannel: "ピン留めされたチャンネル" gotIt: "わかった" cancel: "キャンセル" myLists: "自分の作成したリスト" diff --git a/packages/frontend/src/cache.ts b/packages/frontend/src/cache.ts index 17d813a3f2..ab19837571 100644 --- a/packages/frontend/src/cache.ts +++ b/packages/frontend/src/cache.ts @@ -12,3 +12,5 @@ export const rolesCache = new Cache(1000 * 60 * 30, () => misskeyApi('admin/role export const userListsCache = new Cache(1000 * 60 * 30, () => misskeyApi('users/lists/list')); export const antennasCache = new Cache(1000 * 60 * 30, () => misskeyApi('antennas/list')); export const userFavoriteListsCache = new Cache(1000 * 60 * 30, () => misskeyApi('users/lists/list-favorite')); +export const userChannelsCache = new Cache(1000 * 60 * 30, () => misskeyApi('channels/owned')); +export const userChannelFollowingsCache = new Cache(1000 * 60 * 30, () => misskeyApi('channels/followed')); diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 3effffe494..58f11a8b5d 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -4,103 +4,103 @@ SPDX-License-Identifier: AGPL-3.0-only -->