Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions locales/ar-SA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1248,8 +1248,6 @@ _sfx:
note: "الملاحظات"
noteMy: "ملاحظتي"
notification: "الإشعارات"
chat: "المحادثة"
chatBg: "المحادثة (الخلفية)"
antenna: "الهوائيات"
channel: "إشعارات القنات"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/bn-BD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,6 @@ _sfx:
note: "নোটগুলি"
noteMy: "নোট (আপনার)"
notification: "বিজ্ঞপ্তি"
chat: "চ্যাট"
chatBg: "চ্যাট (ব্যাকগ্রাউন্ড)"
antenna: "অ্যান্টেনাগুলি"
channel: "চ্যানেলের বিজ্ঞপ্তি"
_ago:
Expand Down
1 change: 0 additions & 1 deletion locales/ca-ES.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ _theme:
_sfx:
note: "Notes"
notification: "Notificacions"
chat: "Xat"
antenna: "Antenes"
_2fa:
renewTOTPCancel: "No, gràcies"
Expand Down
2 changes: 0 additions & 2 deletions locales/cs-CZ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1647,8 +1647,6 @@ _sfx:
note: "Poznámky"
noteMy: "Moje poznámka"
notification: "Oznámení"
chat: "Zprávy"
chatBg: "Chat (Pozadí)"
antenna: "Antény"
channel: "Oznámení kanálu"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/de-DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1694,8 +1694,6 @@ _sfx:
note: "Notizen"
noteMy: "Meine Notizen"
notification: "Benachrichtigungen"
chat: "Chat"
chatBg: "Chat (Hintergrund)"
antenna: "Antennen"
channel: "Kanalbenachrichtigung"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/el-GR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,6 @@ _theme:
_sfx:
note: "Σημειώματα"
notification: "Ειδοποιήσεις"
chat: "Συνομιλία"
chatBg: "Συνομιλία (Παρασκήνιο)"
antenna: "Αντένες"
channel: "Ειδοποιήσεις καναλιών"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1694,8 +1694,6 @@ _sfx:
note: "New note"
noteMy: "Own note"
notification: "Notifications"
chat: "Chat"
chatBg: "Chat (Background)"
antenna: "Antennas"
channel: "Channel notifications"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/es-ES.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1691,8 +1691,6 @@ _sfx:
note: "Notas"
noteMy: "Nota (a mí mismo)"
notification: "Notificaciones"
chat: "Chat"
chatBg: "Chat (Fondo)"
antenna: "Antena receptora"
channel: "Notificaciones del canal"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/fr-FR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1355,8 +1355,6 @@ _sfx:
note: "Nouvelle note"
noteMy: "Ma note"
notification: "Notifications"
chat: "Discuter"
chatBg: "Discussion (arrière-plan)"
antenna: "Réception de l’antenne"
channel: "Notifications de canal"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/id-ID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1652,8 +1652,6 @@ _sfx:
note: "Catatan"
noteMy: "Catatan (Saya)"
notification: "Notifikasi"
chat: "Pesan"
chatBg: "Obrolan (Latar Belakang)"
antenna: "Penerimaan Antenna"
channel: "Notifikasi Kanal"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1810,8 +1810,6 @@ export interface Locale {
"note": string;
"noteMy": string;
"notification": string;
"chat": string;
"chatBg": string;
"antenna": string;
"channel": string;
};
Expand Down
2 changes: 0 additions & 2 deletions locales/it-IT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1692,8 +1692,6 @@ _sfx:
note: "Nota"
noteMy: "Mia nota"
notification: "Notifiche"
chat: "Messaggi"
chatBg: "Chat (sfondo)"
antenna: "Ricezione dell'antenna"
channel: "Notifiche di canale"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1727,8 +1727,6 @@ _sfx:
note: "ノート"
noteMy: "ノート(自分)"
notification: "通知"
chat: "チャット"
chatBg: "チャット(バックグラウンド)"
antenna: "アンテナ受信"
channel: "チャンネル通知"

Expand Down
2 changes: 0 additions & 2 deletions locales/ja-KS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1674,8 +1674,6 @@ _sfx:
note: "ノート"
noteMy: "ノート(自分)"
notification: "通知"
chat: "チャット"
chatBg: "チャット(バックグラウンド)"
antenna: "アンテナ受信"
channel: "チャンネル通知"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/ko-KR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1667,8 +1667,6 @@ _sfx:
note: "새 노트"
noteMy: "내 노트"
notification: "알림"
chat: "대화"
chatBg: "대화 (백그라운드)"
antenna: "안테나 수신"
channel: "채널 알림"
_ago:
Expand Down
1 change: 0 additions & 1 deletion locales/lo-LA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ _theme:
_sfx:
note: "ບັນທຶກ"
notification: "ການແຈ້ງເຕືອນ"
chat: "ແຊ໋ດ"
_2fa:
renewTOTPCancel: "ບໍ່​ແມ່ນ​ຕອນ​ນີ້"
_widgets:
Expand Down
1 change: 0 additions & 1 deletion locales/nl-NL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ _theme:
_sfx:
note: "Notities"
notification: "Meldingen"
chat: "Chat"
_2fa:
renewTOTPCancel: "Nee, bedankt"
_widgets:
Expand Down
2 changes: 0 additions & 2 deletions locales/pl-PL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,6 @@ _sfx:
note: "Wpisy"
noteMy: "Mój wpis"
notification: "Powiadomienia"
chat: "Wiadomości"
chatBg: "Rozmowy (tło)"
antenna: "Anteny"
channel: "Powiadomienia kanału"
_ago:
Expand Down
1 change: 0 additions & 1 deletion locales/pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,6 @@ _theme:
_sfx:
note: "Posts"
notification: "Notificações"
chat: "Chat"
_ago:
invalid: "Não há nada aqui"
_timelineTutorial:
Expand Down
1 change: 0 additions & 1 deletion locales/ro-RO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,6 @@ _theme:
_sfx:
note: "Note"
notification: "Notificări"
chat: "Chat"
_ago:
invalid: "Nu e nimic de văzut aici"
_widgets:
Expand Down
2 changes: 0 additions & 2 deletions locales/ru-RU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1576,8 +1576,6 @@ _sfx:
note: "Заметки"
noteMy: "Собственные заметки"
notification: "Уведомления"
chat: "Сообщения"
chatBg: "Сообщения (фон)"
antenna: "Антенна"
channel: "Канал"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/sk-SK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,6 @@ _sfx:
note: "Poznámky"
noteMy: "Vlastná poznámka"
notification: "Oznámenia"
chat: "Chat"
chatBg: "Chat (pozadie)"
antenna: "Antény"
channel: "Upozornenia kanála"
_ago:
Expand Down
1 change: 0 additions & 1 deletion locales/sv-SE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@ _theme:
_sfx:
note: "Noter"
notification: "Notifikationer"
chat: "Chatt"
antenna: "Antenner"
_2fa:
renewTOTPCancel: "Nej tack"
Expand Down
2 changes: 0 additions & 2 deletions locales/th-TH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1683,8 +1683,6 @@ _sfx:
note: "หมายเหตุ"
noteMy: "โน้ตของตัวเอง"
notification: "การเเจ้งเตือน"
chat: "แชท"
chatBg: "แชท (พื้นหลัง)"
antenna: "เสาอากาศ"
channel: "การแจ้งเตือนช่อง"
_ago:
Expand Down
1 change: 0 additions & 1 deletion locales/tr-TR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ _theme:
_sfx:
note: "notlar"
notification: "Bildirim"
chat: "Mesajlar"
_2fa:
renewTOTPCancel: "Hayır, teşekkürler"
_permissions:
Expand Down
2 changes: 0 additions & 2 deletions locales/uk-UA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,6 @@ _sfx:
note: "Нотатки"
noteMy: "Мої нотатки"
notification: "Сповіщення"
chat: "Чати"
chatBg: "Чати (фон)"
antenna: "Прийом антени"
channel: "Повідомлення каналу"
_ago:
Expand Down
1 change: 0 additions & 1 deletion locales/uz-UZ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,6 @@ _theme:
_sfx:
note: "Qaydlar"
notification: "Xabarnomalar"
chat: "Suhbat"
_ago:
minutesAgo: "{n} daqiqa oldin"
hoursAgo: "{n} soat oldin"
Expand Down
2 changes: 0 additions & 2 deletions locales/vi-VN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1492,8 +1492,6 @@ _sfx:
note: "Tút"
noteMy: "Tút của tôi"
notification: "Thông báo"
chat: "Trò chuyện"
chatBg: "Chat (Nền)"
antenna: "Trạm phát sóng"
channel: "Kênh"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1694,8 +1694,6 @@ _sfx:
note: "帖子"
noteMy: "我的帖子"
notification: "通知"
chat: "聊天"
chatBg: "聊天背景"
antenna: "天线接收"
channel: "频道通知"
_ago:
Expand Down
2 changes: 0 additions & 2 deletions locales/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1693,8 +1693,6 @@ _sfx:
note: "貼文"
noteMy: "我的貼文"
notification: "通知"
chat: "聊天"
chatBg: "聊天背景"
antenna: "天線接收"
channel: "頻道通知"
_ago:
Expand Down
4 changes: 1 addition & 3 deletions packages/frontend/src/pages/settings/sounds.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@ import { definePageMetadata } from '@/scripts/page-metadata.js';

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>>>({
note: soundConfigStore.reactiveState.sound_note,
noteMy: soundConfigStore.reactiveState.sound_noteMy,
notification: soundConfigStore.reactiveState.sound_notification,
chat: soundConfigStore.reactiveState.sound_chat,
chatBg: soundConfigStore.reactiveState.sound_chatBg,
antenna: soundConfigStore.reactiveState.sound_antenna,
channel: soundConfigStore.reactiveState.sound_channel,
});
Expand Down
8 changes: 0 additions & 8 deletions packages/frontend/src/scripts/sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ export const soundConfigStore = markRaw(new Storage('sound', {
where: 'account',
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: {
where: 'account',
default: { type: 'syuilo/triple', volume: 1 },
Expand Down
Loading