From 1203f24478b9653ef4a3092266f48c296903bcde Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Wed, 7 Aug 2024 16:53:06 +0900 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20VRTL=20VSTL=E3=81=AE=E5=90=8D?= =?UTF-8?q?=E5=89=8D=E3=81=8C=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=81=A8=E3=81=93=E3=82=8D=E3=81=8C=E3=81=82=E3=82=8B?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=20(#97)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(frontend): VRTL VSTLの名前が表示されないところがある問題 * docs(changelog): fix(frontend): VRTL VSTLの名前が表示されないところがある問題 --- CHANGELOG-VRTL.md | 1 + locales/index.d.ts | 4 ++-- locales/ja-JP.yml | 4 ++-- packages/frontend/src/ui/deck/tl-column.vue | 4 ++-- packages/frontend/src/widgets/WidgetTimeline.vue | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG-VRTL.md b/CHANGELOG-VRTL.md index a05e7a56d6db..1d06e5a24651 100644 --- a/CHANGELOG-VRTL.md +++ b/CHANGELOG-VRTL.md @@ -3,6 +3,7 @@ VRTLのブランチで行われた変更点をまとめています +- fix(frontend): VRTL VSTLの名前が表示されないところがある問題 (anatawa12#97) - 2024/08/07 - fic(frontend): VRTL VSTLでリプライのトグルが表示されない問題 (anatawa12#92) - 2024/08/04 - chore(backend): VRTL参加サーバーの取得に失敗したときのリトライの間隔を短く - feat: VRTL/VSTLに連合なし投稿を含めるかを選択可能に diff --git a/locales/index.d.ts b/locales/index.d.ts index a24e68b1f786..dd99e5e1f03b 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -8808,11 +8808,11 @@ export interface Locale extends ILocale { /** * ぶいみみリレー */ - "vmimiRelay": string; + "vmimi-relay": string; /** * ぶいみみソーシャル */ - "vmimiRelaySocial": string; + "vmimi-relay-social": string; }; "_play": { /** diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 17b5843155b9..915aa22ede58 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2323,8 +2323,8 @@ _timelines: local: "ローカル" social: "ソーシャル" global: "グローバル" - vmimiRelay: "ぶいみみリレー" - vmimiRelaySocial: "ぶいみみソーシャル" + vmimi-relay: "ぶいみみリレー" + vmimi-relay-social: "ぶいみみソーシャル" _play: new: "Playの作成" diff --git a/packages/frontend/src/ui/deck/tl-column.vue b/packages/frontend/src/ui/deck/tl-column.vue index 4dcf8c91ef4e..f0b22a88a5c0 100644 --- a/packages/frontend/src/ui/deck/tl-column.vue +++ b/packages/frontend/src/ui/deck/tl-column.vue @@ -104,9 +104,9 @@ async function setType() { }, { value: 'global' as const, text: i18n.ts._timelines.global, }, { - value: 'vmimi-relay' as const, text: i18n.ts._timelines.vmimiRelay, + value: 'vmimi-relay' as const, text: i18n.ts._timelines['vmimi-relay'], }, { - value: 'vmimi-relay-social' as const, text: i18n.ts._timelines.vmimiRelaySocial, + value: 'vmimi-relay-social' as const, text: i18n.ts._timelines['vmimi-relay-social'], }], }); if (canceled) { diff --git a/packages/frontend/src/widgets/WidgetTimeline.vue b/packages/frontend/src/widgets/WidgetTimeline.vue index c94ec9751cff..b235160ff640 100644 --- a/packages/frontend/src/widgets/WidgetTimeline.vue +++ b/packages/frontend/src/widgets/WidgetTimeline.vue @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only