summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamilla Ett <camilla.ett@gmail.com>2023-10-04 20:17:05 +0900
committerGitHub <noreply@github.com>2023-10-04 20:17:05 +0900
commite4ade46a2d3bd1d4b54965f9e59543fa5281c285 (patch)
tree8c9aabd49890dcf83827c8e212b8a42e41bee3d1
parentenhance(frontend): tweak ui (diff)
downloadsharkey-e4ade46a2d3bd1d4b54965f9e59543fa5281c285.tar.gz
sharkey-e4ade46a2d3bd1d4b54965f9e59543fa5281c285.tar.bz2
sharkey-e4ade46a2d3bd1d4b54965f9e59543fa5281c285.zip
fix(frontend): クライアント設定から13.7.0で削除されたチャット機能に関するサウンド設定を削除 (#11912)
* fix(frontend): クライアント設定から13.7.0で削除されたチャット機能に関するサウンド設定を削除 * fix(frontend): 各localesからsfx/chat sfx/chatbgを削除
-rw-r--r--locales/ar-SA.yml2
-rw-r--r--locales/bn-BD.yml2
-rw-r--r--locales/ca-ES.yml1
-rw-r--r--locales/cs-CZ.yml2
-rw-r--r--locales/de-DE.yml2
-rw-r--r--locales/el-GR.yml2
-rw-r--r--locales/en-US.yml2
-rw-r--r--locales/es-ES.yml2
-rw-r--r--locales/fr-FR.yml2
-rw-r--r--locales/id-ID.yml2
-rw-r--r--locales/index.d.ts2
-rw-r--r--locales/it-IT.yml2
-rw-r--r--locales/ja-JP.yml2
-rw-r--r--locales/ja-KS.yml2
-rw-r--r--locales/ko-KR.yml2
-rw-r--r--locales/lo-LA.yml1
-rw-r--r--locales/nl-NL.yml1
-rw-r--r--locales/pl-PL.yml2
-rw-r--r--locales/pt-PT.yml1
-rw-r--r--locales/ro-RO.yml1
-rw-r--r--locales/ru-RU.yml2
-rw-r--r--locales/sk-SK.yml2
-rw-r--r--locales/sv-SE.yml1
-rw-r--r--locales/th-TH.yml2
-rw-r--r--locales/tr-TR.yml1
-rw-r--r--locales/uk-UA.yml2
-rw-r--r--locales/uz-UZ.yml1
-rw-r--r--locales/vi-VN.yml2
-rw-r--r--locales/zh-CN.yml2
-rw-r--r--locales/zh-TW.yml2
-rw-r--r--packages/frontend/src/pages/settings/sounds.vue4
-rw-r--r--packages/frontend/src/scripts/sound.ts8
32 files changed, 1 insertions, 63 deletions
diff --git a/locales/ar-SA.yml b/locales/ar-SA.yml
index 55b7cbb88c..9bc30c2c2b 100644
--- a/locales/ar-SA.yml
+++ b/locales/ar-SA.yml
@@ -1248,8 +1248,6 @@ _sfx:
note: "الملاحظات"
noteMy: "ملاحظتي"
notification: "الإشعارات"
- chat: "المحادثة"
- chatBg: "المحادثة (الخلفية)"
antenna: "الهوائيات"
channel: "إشعارات القنات"
_ago:
diff --git a/locales/bn-BD.yml b/locales/bn-BD.yml
index 64b32d176b..38f1f3fc7f 100644
--- a/locales/bn-BD.yml
+++ b/locales/bn-BD.yml
@@ -1020,8 +1020,6 @@ _sfx:
note: "নোটগুলি"
noteMy: "নোট (আপনার)"
notification: "বিজ্ঞপ্তি"
- chat: "চ্যাট"
- chatBg: "চ্যাট (ব্যাকগ্রাউন্ড)"
antenna: "অ্যান্টেনাগুলি"
channel: "চ্যানেলের বিজ্ঞপ্তি"
_ago:
diff --git a/locales/ca-ES.yml b/locales/ca-ES.yml
index d1fd73b666..915388006f 100644
--- a/locales/ca-ES.yml
+++ b/locales/ca-ES.yml
@@ -398,7 +398,6 @@ _theme:
_sfx:
note: "Notes"
notification: "Notificacions"
- chat: "Xat"
antenna: "Antenes"
_2fa:
renewTOTPCancel: "No, gràcies"
diff --git a/locales/cs-CZ.yml b/locales/cs-CZ.yml
index 762f033b13..0f3ffb7690 100644
--- a/locales/cs-CZ.yml
+++ b/locales/cs-CZ.yml
@@ -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:
diff --git a/locales/de-DE.yml b/locales/de-DE.yml
index e7d435a2e6..27fb04bcbd 100644
--- a/locales/de-DE.yml
+++ b/locales/de-DE.yml
@@ -1697,8 +1697,6 @@ _sfx:
note: "Notizen"
noteMy: "Meine Notizen"
notification: "Benachrichtigungen"
- chat: "Chat"
- chatBg: "Chat (Hintergrund)"
antenna: "Antennen"
channel: "Kanalbenachrichtigung"
_ago:
diff --git a/locales/el-GR.yml b/locales/el-GR.yml
index e46efcec1f..9392fd12fe 100644
--- a/locales/el-GR.yml
+++ b/locales/el-GR.yml
@@ -303,8 +303,6 @@ _theme:
_sfx:
note: "Σημειώματα"
notification: "Ειδοποιήσεις"
- chat: "Συνομιλία"
- chatBg: "Συνομιλία (Παρασκήνιο)"
antenna: "Αντένες"
channel: "Ειδοποιήσεις καναλιών"
_ago:
diff --git a/locales/en-US.yml b/locales/en-US.yml
index 9ed8ad9f23..2004006749 100644
--- a/locales/en-US.yml
+++ b/locales/en-US.yml
@@ -1697,8 +1697,6 @@ _sfx:
note: "New note"
noteMy: "Own note"
notification: "Notifications"
- chat: "Chat"
- chatBg: "Chat (Background)"
antenna: "Antennas"
channel: "Channel notifications"
_ago:
diff --git a/locales/es-ES.yml b/locales/es-ES.yml
index d663bd829c..547836fa2f 100644
--- a/locales/es-ES.yml
+++ b/locales/es-ES.yml
@@ -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:
diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml
index db19b66880..254a1e2745 100644
--- a/locales/fr-FR.yml
+++ b/locales/fr-FR.yml
@@ -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:
diff --git a/locales/id-ID.yml b/locales/id-ID.yml
index 0e067c5383..f4c54be151 100644
--- a/locales/id-ID.yml
+++ b/locales/id-ID.yml
@@ -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:
diff --git a/locales/index.d.ts b/locales/index.d.ts
index 51d23436c0..12ac0197f0 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -1808,8 +1808,6 @@ export interface Locale {
"note": string;
"noteMy": string;
"notification": string;
- "chat": string;
- "chatBg": string;
"antenna": string;
"channel": string;
};
diff --git a/locales/it-IT.yml b/locales/it-IT.yml
index 83b63e15d2..e7e5a9ecdc 100644
--- a/locales/it-IT.yml
+++ b/locales/it-IT.yml
@@ -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:
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 2c586c7532..f2190022ce 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -1725,8 +1725,6 @@ _sfx:
note: "ノート"
noteMy: "ノート(自分)"
notification: "通知"
- chat: "チャット"
- chatBg: "チャット(バックグラウンド)"
antenna: "アンテナ受信"
channel: "チャンネル通知"
diff --git a/locales/ja-KS.yml b/locales/ja-KS.yml
index bf945088f0..672d98a197 100644
--- a/locales/ja-KS.yml
+++ b/locales/ja-KS.yml
@@ -1674,8 +1674,6 @@ _sfx:
note: "ノート"
noteMy: "ノート(自分)"
notification: "通知"
- chat: "チャット"
- chatBg: "チャット(バックグラウンド)"
antenna: "アンテナ受信"
channel: "チャンネル通知"
_ago:
diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml
index af7afb2c3e..7a191a5a5f 100644
--- a/locales/ko-KR.yml
+++ b/locales/ko-KR.yml
@@ -1688,8 +1688,6 @@ _sfx:
note: "새 노트"
noteMy: "내 노트"
notification: "알림"
- chat: "대화"
- chatBg: "대화 (백그라운드)"
antenna: "안테나 수신"
channel: "채널 알림"
_ago:
diff --git a/locales/lo-LA.yml b/locales/lo-LA.yml
index 22cb5857f9..b22e047cfa 100644
--- a/locales/lo-LA.yml
+++ b/locales/lo-LA.yml
@@ -407,7 +407,6 @@ _theme:
_sfx:
note: "ບັນທຶກ"
notification: "ການແຈ້ງເຕືອນ"
- chat: "ແຊ໋ດ"
_2fa:
renewTOTPCancel: "ບໍ່​ແມ່ນ​ຕອນ​ນີ້"
_widgets:
diff --git a/locales/nl-NL.yml b/locales/nl-NL.yml
index fd9ffa33f2..6f789dff10 100644
--- a/locales/nl-NL.yml
+++ b/locales/nl-NL.yml
@@ -438,7 +438,6 @@ _theme:
_sfx:
note: "Notities"
notification: "Meldingen"
- chat: "Chat"
_2fa:
renewTOTPCancel: "Nee, bedankt"
_widgets:
diff --git a/locales/pl-PL.yml b/locales/pl-PL.yml
index 1c7ebe8108..21e40d5c79 100644
--- a/locales/pl-PL.yml
+++ b/locales/pl-PL.yml
@@ -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:
diff --git a/locales/pt-PT.yml b/locales/pt-PT.yml
index f9e777bc75..23864df1b8 100644
--- a/locales/pt-PT.yml
+++ b/locales/pt-PT.yml
@@ -1320,7 +1320,6 @@ _theme:
_sfx:
note: "Posts"
notification: "Notificações"
- chat: "Chat"
_ago:
invalid: "Não há nada aqui"
_timelineTutorial:
diff --git a/locales/ro-RO.yml b/locales/ro-RO.yml
index 51c33085af..77bccb7e6b 100644
--- a/locales/ro-RO.yml
+++ b/locales/ro-RO.yml
@@ -647,7 +647,6 @@ _theme:
_sfx:
note: "Note"
notification: "Notificări"
- chat: "Chat"
_ago:
invalid: "Nu e nimic de văzut aici"
_widgets:
diff --git a/locales/ru-RU.yml b/locales/ru-RU.yml
index 937158978d..4f4184e01f 100644
--- a/locales/ru-RU.yml
+++ b/locales/ru-RU.yml
@@ -1576,8 +1576,6 @@ _sfx:
note: "Заметки"
noteMy: "Собственные заметки"
notification: "Уведомления"
- chat: "Сообщения"
- chatBg: "Сообщения (фон)"
antenna: "Антенна"
channel: "Канал"
_ago:
diff --git a/locales/sk-SK.yml b/locales/sk-SK.yml
index e44aaafc0a..9f3ddab4b4 100644
--- a/locales/sk-SK.yml
+++ b/locales/sk-SK.yml
@@ -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:
diff --git a/locales/sv-SE.yml b/locales/sv-SE.yml
index 62e7d412ab..92678afef8 100644
--- a/locales/sv-SE.yml
+++ b/locales/sv-SE.yml
@@ -507,7 +507,6 @@ _theme:
_sfx:
note: "Noter"
notification: "Notifikationer"
- chat: "Chatt"
antenna: "Antenner"
_2fa:
renewTOTPCancel: "Nej tack"
diff --git a/locales/th-TH.yml b/locales/th-TH.yml
index c2adcf8ec5..f1c940a572 100644
--- a/locales/th-TH.yml
+++ b/locales/th-TH.yml
@@ -1686,8 +1686,6 @@ _sfx:
note: "หมายเหตุ"
noteMy: "โน้ตของตัวเอง"
notification: "การเเจ้งเตือน"
- chat: "แชท"
- chatBg: "แชท (พื้นหลัง)"
antenna: "เสาอากาศ"
channel: "การแจ้งเตือนช่อง"
_ago:
diff --git a/locales/tr-TR.yml b/locales/tr-TR.yml
index 1111c23091..90bee48a1f 100644
--- a/locales/tr-TR.yml
+++ b/locales/tr-TR.yml
@@ -386,7 +386,6 @@ _theme:
_sfx:
note: "notlar"
notification: "Bildirim"
- chat: "Mesajlar"
_2fa:
renewTOTPCancel: "Hayır, teşekkürler"
_permissions:
diff --git a/locales/uk-UA.yml b/locales/uk-UA.yml
index 09b3eba745..71c1595176 100644
--- a/locales/uk-UA.yml
+++ b/locales/uk-UA.yml
@@ -1315,8 +1315,6 @@ _sfx:
note: "Нотатки"
noteMy: "Мої нотатки"
notification: "Сповіщення"
- chat: "Чати"
- chatBg: "Чати (фон)"
antenna: "Прийом антени"
channel: "Повідомлення каналу"
_ago:
diff --git a/locales/uz-UZ.yml b/locales/uz-UZ.yml
index 726333958b..3a9e6ec5e7 100644
--- a/locales/uz-UZ.yml
+++ b/locales/uz-UZ.yml
@@ -910,7 +910,6 @@ _theme:
_sfx:
note: "Qaydlar"
notification: "Xabarnomalar"
- chat: "Suhbat"
_ago:
minutesAgo: "{n} daqiqa oldin"
hoursAgo: "{n} soat oldin"
diff --git a/locales/vi-VN.yml b/locales/vi-VN.yml
index 3b34e4711c..c75254e6b1 100644
--- a/locales/vi-VN.yml
+++ b/locales/vi-VN.yml
@@ -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:
diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml
index a04697e480..0dd21540f0 100644
--- a/locales/zh-CN.yml
+++ b/locales/zh-CN.yml
@@ -1697,8 +1697,6 @@ _sfx:
note: "帖子"
noteMy: "我的帖子"
notification: "通知"
- chat: "聊天"
- chatBg: "聊天背景"
antenna: "天线接收"
channel: "频道通知"
_ago:
diff --git a/locales/zh-TW.yml b/locales/zh-TW.yml
index c0bf1f7d1b..c8ae63df4f 100644
--- a/locales/zh-TW.yml
+++ b/locales/zh-TW.yml
@@ -1695,8 +1695,6 @@ _sfx:
note: "貼文"
noteMy: "我的貼文"
notification: "通知"
- chat: "聊天"
- chatBg: "聊天背景"
antenna: "天線接收"
channel: "頻道通知"
_ago:
diff --git a/packages/frontend/src/pages/settings/sounds.vue b/packages/frontend/src/pages/settings/sounds.vue
index b6ac17ed4f..819e7ffe53 100644
--- a/packages/frontend/src/pages/settings/sounds.vue
+++ b/packages/frontend/src/pages/settings/sounds.vue
@@ -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,
});
diff --git a/packages/frontend/src/scripts/sound.ts b/packages/frontend/src/scripts/sound.ts
index 1ef41b47d3..c7b5328618 100644
--- a/packages/frontend/src/scripts/sound.ts
+++ b/packages/frontend/src/scripts/sound.ts
@@ -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 },