Skip to content

Commit

Permalink
fix(frontend): VRTL VSTLの名前が表示されないところがある問題 (#97)
Browse files Browse the repository at this point in the history
* fix(frontend): VRTL VSTLの名前が表示されないところがある問題

* docs(changelog): fix(frontend): VRTL VSTLの名前が表示されないところがある問題
  • Loading branch information
anatawa12 authored Aug 7, 2024
1 parent 19eb8d4 commit 1203f24
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-VRTL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
VRTLのブランチで行われた変更点をまとめています

<!-- VV Please add changelog here VV -->
- fix(frontend): VRTL VSTLの名前が表示されないところがある問題 (anatawa12#97) - 2024/08/07
- fic(frontend): VRTL VSTLでリプライのトグルが表示されない問題 (anatawa12#92) - 2024/08/04
- chore(backend): VRTL参加サーバーの取得に失敗したときのリトライの間隔を短く
- feat: VRTL/VSTLに連合なし投稿を含めるかを選択可能に
Expand Down
4 changes: 2 additions & 2 deletions locales/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8808,11 +8808,11 @@ export interface Locale extends ILocale {
/**
* ぶいみみリレー
*/
"vmimiRelay": string;
"vmimi-relay": string;
/**
* ぶいみみソーシャル
*/
"vmimiRelaySocial": string;
"vmimi-relay-social": string;
};
"_play": {
/**
Expand Down
4 changes: 2 additions & 2 deletions locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2323,8 +2323,8 @@ _timelines:
local: "ローカル"
social: "ソーシャル"
global: "グローバル"
vmimiRelay: "ぶいみみリレー"
vmimiRelaySocial: "ぶいみみソーシャル"
vmimi-relay: "ぶいみみリレー"
vmimi-relay-social: "ぶいみみソーシャル"

_play:
new: "Playの作成"
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/ui/deck/tl-column.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/widgets/WidgetTimeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</template>
<template #header>
<button class="_button" @click="choose">
<span>{{ widgetProps.src === 'list' ? widgetProps.list.name : widgetProps.src === 'antenna' ? widgetProps.antenna.name : widgetProps.src == 'vmimi-relay' ? i18n.ts._timelines.vmimiRelay : widgetProps.src == 'vmimi-relay-social' ? i18n.ts._timelines.vmimiRelaySocial : i18n.ts._timelines[widgetProps.src] }}</span>
<span>{{ widgetProps.src === 'list' ? widgetProps.list.name : widgetProps.src === 'antenna' ? widgetProps.antenna.name : widgetProps.src == 'vmimi-relay' ? i18n.ts._timelines['vmimi-relay'] : widgetProps.src == 'vmimi-relay-social' ? i18n.ts._timelines['vmimi-relay-social'] : i18n.ts._timelines[widgetProps.src] }}</span>
<i :class="menuOpened ? 'ti ti-chevron-up' : 'ti ti-chevron-down'" style="margin-left: 8px;"></i>
</button>
</template>
Expand Down

0 comments on commit 1203f24

Please sign in to comment.