fix(frontend): クライアント設定から13.7.0で削除されたチャット機能に関するサウンド設定を削除 (#11912)

* fix(frontend): クライアント設定から13.7.0で削除されたチャット機能に関するサウンド設定を削除

* fix(frontend): 各localesからsfx/chat sfx/chatbgを削除
This commit is contained in:
Camilla Ett 2023-10-04 20:17:05 +09:00 committed by GitHub
parent 89e4f28d06
commit e4ade46a2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 1 additions and 63 deletions

View file

@ -1248,8 +1248,6 @@ _sfx:
note: "الملاحظات" note: "الملاحظات"
noteMy: "ملاحظتي" noteMy: "ملاحظتي"
notification: "الإشعارات" notification: "الإشعارات"
chat: "المحادثة"
chatBg: "المحادثة (الخلفية)"
antenna: "الهوائيات" antenna: "الهوائيات"
channel: "إشعارات القنات" channel: "إشعارات القنات"
_ago: _ago:

View file

@ -1020,8 +1020,6 @@ _sfx:
note: "নোটগুলি" note: "নোটগুলি"
noteMy: "নোট (আপনার)" noteMy: "নোট (আপনার)"
notification: "বিজ্ঞপ্তি" notification: "বিজ্ঞপ্তি"
chat: "চ্যাট"
chatBg: "চ্যাট (ব্যাকগ্রাউন্ড)"
antenna: "অ্যান্টেনাগুলি" antenna: "অ্যান্টেনাগুলি"
channel: "চ্যানেলের বিজ্ঞপ্তি" channel: "চ্যানেলের বিজ্ঞপ্তি"
_ago: _ago:

View file

@ -398,7 +398,6 @@ _theme:
_sfx: _sfx:
note: "Notes" note: "Notes"
notification: "Notificacions" notification: "Notificacions"
chat: "Xat"
antenna: "Antenes" antenna: "Antenes"
_2fa: _2fa:
renewTOTPCancel: "No, gràcies" renewTOTPCancel: "No, gràcies"

View file

@ -1647,8 +1647,6 @@ _sfx:
note: "Poznámky" note: "Poznámky"
noteMy: "Moje poznámka" noteMy: "Moje poznámka"
notification: "Oznámení" notification: "Oznámení"
chat: "Zprávy"
chatBg: "Chat (Pozadí)"
antenna: "Antény" antenna: "Antény"
channel: "Oznámení kanálu" channel: "Oznámení kanálu"
_ago: _ago:

View file

@ -1697,8 +1697,6 @@ _sfx:
note: "Notizen" note: "Notizen"
noteMy: "Meine Notizen" noteMy: "Meine Notizen"
notification: "Benachrichtigungen" notification: "Benachrichtigungen"
chat: "Chat"
chatBg: "Chat (Hintergrund)"
antenna: "Antennen" antenna: "Antennen"
channel: "Kanalbenachrichtigung" channel: "Kanalbenachrichtigung"
_ago: _ago:

View file

@ -303,8 +303,6 @@ _theme:
_sfx: _sfx:
note: "Σημειώματα" note: "Σημειώματα"
notification: "Ειδοποιήσεις" notification: "Ειδοποιήσεις"
chat: "Συνομιλία"
chatBg: "Συνομιλία (Παρασκήνιο)"
antenna: "Αντένες" antenna: "Αντένες"
channel: "Ειδοποιήσεις καναλιών" channel: "Ειδοποιήσεις καναλιών"
_ago: _ago:

View file

@ -1697,8 +1697,6 @@ _sfx:
note: "New note" note: "New note"
noteMy: "Own note" noteMy: "Own note"
notification: "Notifications" notification: "Notifications"
chat: "Chat"
chatBg: "Chat (Background)"
antenna: "Antennas" antenna: "Antennas"
channel: "Channel notifications" channel: "Channel notifications"
_ago: _ago:

View file

@ -1691,8 +1691,6 @@ _sfx:
note: "Notas" note: "Notas"
noteMy: "Nota (a mí mismo)" noteMy: "Nota (a mí mismo)"
notification: "Notificaciones" notification: "Notificaciones"
chat: "Chat"
chatBg: "Chat (Fondo)"
antenna: "Antena receptora" antenna: "Antena receptora"
channel: "Notificaciones del canal" channel: "Notificaciones del canal"
_ago: _ago:

View file

@ -1355,8 +1355,6 @@ _sfx:
note: "Nouvelle note" note: "Nouvelle note"
noteMy: "Ma note" noteMy: "Ma note"
notification: "Notifications" notification: "Notifications"
chat: "Discuter"
chatBg: "Discussion (arrière-plan)"
antenna: "Réception de lantenne" antenna: "Réception de lantenne"
channel: "Notifications de canal" channel: "Notifications de canal"
_ago: _ago:

View file

@ -1652,8 +1652,6 @@ _sfx:
note: "Catatan" note: "Catatan"
noteMy: "Catatan (Saya)" noteMy: "Catatan (Saya)"
notification: "Notifikasi" notification: "Notifikasi"
chat: "Pesan"
chatBg: "Obrolan (Latar Belakang)"
antenna: "Penerimaan Antenna" antenna: "Penerimaan Antenna"
channel: "Notifikasi Kanal" channel: "Notifikasi Kanal"
_ago: _ago:

2
locales/index.d.ts vendored
View file

@ -1808,8 +1808,6 @@ export interface Locale {
"note": string; "note": string;
"noteMy": string; "noteMy": string;
"notification": string; "notification": string;
"chat": string;
"chatBg": string;
"antenna": string; "antenna": string;
"channel": string; "channel": string;
}; };

View file

@ -1692,8 +1692,6 @@ _sfx:
note: "Nota" note: "Nota"
noteMy: "Mia nota" noteMy: "Mia nota"
notification: "Notifiche" notification: "Notifiche"
chat: "Messaggi"
chatBg: "Chat (sfondo)"
antenna: "Ricezione dell'antenna" antenna: "Ricezione dell'antenna"
channel: "Notifiche di canale" channel: "Notifiche di canale"
_ago: _ago:

View file

@ -1725,8 +1725,6 @@ _sfx:
note: "ノート" note: "ノート"
noteMy: "ノート(自分)" noteMy: "ノート(自分)"
notification: "通知" notification: "通知"
chat: "チャット"
chatBg: "チャット(バックグラウンド)"
antenna: "アンテナ受信" antenna: "アンテナ受信"
channel: "チャンネル通知" channel: "チャンネル通知"

View file

@ -1674,8 +1674,6 @@ _sfx:
note: "ノート" note: "ノート"
noteMy: "ノート(自分)" noteMy: "ノート(自分)"
notification: "通知" notification: "通知"
chat: "チャット"
chatBg: "チャット(バックグラウンド)"
antenna: "アンテナ受信" antenna: "アンテナ受信"
channel: "チャンネル通知" channel: "チャンネル通知"
_ago: _ago:

View file

@ -1688,8 +1688,6 @@ _sfx:
note: "새 노트" note: "새 노트"
noteMy: "내 노트" noteMy: "내 노트"
notification: "알림" notification: "알림"
chat: "대화"
chatBg: "대화 (백그라운드)"
antenna: "안테나 수신" antenna: "안테나 수신"
channel: "채널 알림" channel: "채널 알림"
_ago: _ago:

View file

@ -407,7 +407,6 @@ _theme:
_sfx: _sfx:
note: "ບັນທຶກ" note: "ບັນທຶກ"
notification: "ການແຈ້ງເຕືອນ" notification: "ການແຈ້ງເຕືອນ"
chat: "ແຊ໋ດ"
_2fa: _2fa:
renewTOTPCancel: "ບໍ່​ແມ່ນ​ຕອນ​ນີ້" renewTOTPCancel: "ບໍ່​ແມ່ນ​ຕອນ​ນີ້"
_widgets: _widgets:

View file

@ -438,7 +438,6 @@ _theme:
_sfx: _sfx:
note: "Notities" note: "Notities"
notification: "Meldingen" notification: "Meldingen"
chat: "Chat"
_2fa: _2fa:
renewTOTPCancel: "Nee, bedankt" renewTOTPCancel: "Nee, bedankt"
_widgets: _widgets:

View file

@ -1066,8 +1066,6 @@ _sfx:
note: "Wpisy" note: "Wpisy"
noteMy: "Mój wpis" noteMy: "Mój wpis"
notification: "Powiadomienia" notification: "Powiadomienia"
chat: "Wiadomości"
chatBg: "Rozmowy (tło)"
antenna: "Anteny" antenna: "Anteny"
channel: "Powiadomienia kanału" channel: "Powiadomienia kanału"
_ago: _ago:

View file

@ -1320,7 +1320,6 @@ _theme:
_sfx: _sfx:
note: "Posts" note: "Posts"
notification: "Notificações" notification: "Notificações"
chat: "Chat"
_ago: _ago:
invalid: "Não há nada aqui" invalid: "Não há nada aqui"
_timelineTutorial: _timelineTutorial:

View file

@ -647,7 +647,6 @@ _theme:
_sfx: _sfx:
note: "Note" note: "Note"
notification: "Notificări" notification: "Notificări"
chat: "Chat"
_ago: _ago:
invalid: "Nu e nimic de văzut aici" invalid: "Nu e nimic de văzut aici"
_widgets: _widgets:

View file

@ -1576,8 +1576,6 @@ _sfx:
note: "Заметки" note: "Заметки"
noteMy: "Собственные заметки" noteMy: "Собственные заметки"
notification: "Уведомления" notification: "Уведомления"
chat: "Сообщения"
chatBg: "Сообщения (фон)"
antenna: "Антенна" antenna: "Антенна"
channel: "Канал" channel: "Канал"
_ago: _ago:

View file

@ -1127,8 +1127,6 @@ _sfx:
note: "Poznámky" note: "Poznámky"
noteMy: "Vlastná poznámka" noteMy: "Vlastná poznámka"
notification: "Oznámenia" notification: "Oznámenia"
chat: "Chat"
chatBg: "Chat (pozadie)"
antenna: "Antény" antenna: "Antény"
channel: "Upozornenia kanála" channel: "Upozornenia kanála"
_ago: _ago:

View file

@ -507,7 +507,6 @@ _theme:
_sfx: _sfx:
note: "Noter" note: "Noter"
notification: "Notifikationer" notification: "Notifikationer"
chat: "Chatt"
antenna: "Antenner" antenna: "Antenner"
_2fa: _2fa:
renewTOTPCancel: "Nej tack" renewTOTPCancel: "Nej tack"

View file

@ -1686,8 +1686,6 @@ _sfx:
note: "หมายเหตุ" note: "หมายเหตุ"
noteMy: "โน้ตของตัวเอง" noteMy: "โน้ตของตัวเอง"
notification: "การเเจ้งเตือน" notification: "การเเจ้งเตือน"
chat: "แชท"
chatBg: "แชท (พื้นหลัง)"
antenna: "เสาอากาศ" antenna: "เสาอากาศ"
channel: "การแจ้งเตือนช่อง" channel: "การแจ้งเตือนช่อง"
_ago: _ago:

View file

@ -386,7 +386,6 @@ _theme:
_sfx: _sfx:
note: "notlar" note: "notlar"
notification: "Bildirim" notification: "Bildirim"
chat: "Mesajlar"
_2fa: _2fa:
renewTOTPCancel: "Hayır, teşekkürler" renewTOTPCancel: "Hayır, teşekkürler"
_permissions: _permissions:

View file

@ -1315,8 +1315,6 @@ _sfx:
note: "Нотатки" note: "Нотатки"
noteMy: "Мої нотатки" noteMy: "Мої нотатки"
notification: "Сповіщення" notification: "Сповіщення"
chat: "Чати"
chatBg: "Чати (фон)"
antenna: "Прийом антени" antenna: "Прийом антени"
channel: "Повідомлення каналу" channel: "Повідомлення каналу"
_ago: _ago:

View file

@ -910,7 +910,6 @@ _theme:
_sfx: _sfx:
note: "Qaydlar" note: "Qaydlar"
notification: "Xabarnomalar" notification: "Xabarnomalar"
chat: "Suhbat"
_ago: _ago:
minutesAgo: "{n} daqiqa oldin" minutesAgo: "{n} daqiqa oldin"
hoursAgo: "{n} soat oldin" hoursAgo: "{n} soat oldin"

View file

@ -1492,8 +1492,6 @@ _sfx:
note: "Tút" note: "Tút"
noteMy: "Tút của tôi" noteMy: "Tút của tôi"
notification: "Thông báo" notification: "Thông báo"
chat: "Trò chuyện"
chatBg: "Chat (Nền)"
antenna: "Trạm phát sóng" antenna: "Trạm phát sóng"
channel: "Kênh" channel: "Kênh"
_ago: _ago:

View file

@ -1697,8 +1697,6 @@ _sfx:
note: "帖子" note: "帖子"
noteMy: "我的帖子" noteMy: "我的帖子"
notification: "通知" notification: "通知"
chat: "聊天"
chatBg: "聊天背景"
antenna: "天线接收" antenna: "天线接收"
channel: "频道通知" channel: "频道通知"
_ago: _ago:

View file

@ -1695,8 +1695,6 @@ _sfx:
note: "貼文" note: "貼文"
noteMy: "我的貼文" noteMy: "我的貼文"
notification: "通知" notification: "通知"
chat: "聊天"
chatBg: "聊天背景"
antenna: "天線接收" antenna: "天線接收"
channel: "頻道通知" channel: "頻道通知"
_ago: _ago:

View file

@ -38,14 +38,12 @@ import { definePageMetadata } from '@/scripts/page-metadata.js';
const masterVolume = computed(soundConfigStore.makeGetterSetter('sound_masterVolume')); const masterVolume = computed(soundConfigStore.makeGetterSetter('sound_masterVolume'));
const soundsKeys = ['note', 'noteMy', 'notification', 'chat', 'chatBg', 'antenna', 'channel'] as const; const soundsKeys = ['note', 'noteMy', 'notification', 'antenna', 'channel'] as const;
const sounds = ref<Record<typeof soundsKeys[number], Ref<any>>>({ const sounds = ref<Record<typeof soundsKeys[number], Ref<any>>>({
note: soundConfigStore.reactiveState.sound_note, note: soundConfigStore.reactiveState.sound_note,
noteMy: soundConfigStore.reactiveState.sound_noteMy, noteMy: soundConfigStore.reactiveState.sound_noteMy,
notification: soundConfigStore.reactiveState.sound_notification, notification: soundConfigStore.reactiveState.sound_notification,
chat: soundConfigStore.reactiveState.sound_chat,
chatBg: soundConfigStore.reactiveState.sound_chatBg,
antenna: soundConfigStore.reactiveState.sound_antenna, antenna: soundConfigStore.reactiveState.sound_antenna,
channel: soundConfigStore.reactiveState.sound_channel, channel: soundConfigStore.reactiveState.sound_channel,
}); });

View file

@ -27,14 +27,6 @@ export const soundConfigStore = markRaw(new Storage('sound', {
where: 'account', where: 'account',
default: { type: 'syuilo/n-ea', volume: 1 }, default: { type: 'syuilo/n-ea', volume: 1 },
}, },
sound_chat: {
where: 'account',
default: { type: 'syuilo/pope1', volume: 1 },
},
sound_chatBg: {
where: 'account',
default: { type: 'syuilo/waon', volume: 1 },
},
sound_antenna: { sound_antenna: {
where: 'account', where: 'account',
default: { type: 'syuilo/triple', volume: 1 }, default: { type: 'syuilo/triple', volume: 1 },