diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 6bf36215fa..48263f8d27 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -5554,15 +5554,13 @@ module.exports = (_ => { return BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.Flex, { className: BDFDB.disCN.colorpickerrow, wrap: InternalComponents.LibraryComponents.Flex.Wrap.WRAP, - children: colors.map(color => { - return BDFDB.ReactUtils.createElement(this.ColorSwatch, { - swatches: this, - color: color, - isCustom: false, - isSelected: !this.props.customSelected && color == this.props.color, - isDisabled: this.props.disabled - }) - }) + children: colors.map(color => BDFDB.ReactUtils.createElement(this.ColorSwatch, { + swatches: this, + color: color, + isCustom: false, + isSelected: !this.props.customSelected && color == this.props.color, + isDisabled: this.props.disabled + })) }); } render() { diff --git a/Library/_res/BDFDB.data.json b/Library/_res/BDFDB.data.json index 19d3f57ac0..dbbfe2bdee 100644 --- a/Library/_res/BDFDB.data.json +++ b/Library/_res/BDFDB.data.json @@ -3112,6 +3112,7 @@ "settings_toastPosition_note": "Променя само позицията на тостове, създадени от моите приставки", "settings_useChromium_description": "Отворете връзки в Discord вместо вашия браузър", "sort_by": "Сортиране по", + "time": "Време", "to": "Да се", "toast_plugin_force_updated": "{{var0}} се актуализира автоматично, тъй като версията ви беше много остаряла", "toast_plugin_loaded": "{{var0}} е зареден", @@ -3168,6 +3169,7 @@ "settings_toastPosition_note": "Ændrer kun placeringen af ​​skåle oprettet af mine plugins", "settings_useChromium_description": "Åbn Links i Discord i stedet for din browser", "sort_by": "Sorter efter", + "time": "Tid", "to": "Til", "toast_plugin_force_updated": "{{var0}} blev automatisk opdateret, fordi din version var meget forældet", "toast_plugin_loaded": "{{var0}} er indlæst", @@ -3224,6 +3226,7 @@ "settings_toastPosition_note": "Ändert nur die Position von Toasts, die von meinen Plugins erstellt wurden", "settings_useChromium_description": "Öffne Links in Discord anstelle deines Browsers", "sort_by": "Sortieren nach", + "time": "Zeit", "to": "Zu", "toast_plugin_force_updated": "{{var0}} wurde automatisch aktualisiert, da deine Version stark veraltet war", "toast_plugin_loaded": "{{var0}} wurde geladen", @@ -3280,6 +3283,7 @@ "settings_toastPosition_note": "Αλλάζει μόνο τη θέση των Τοστ που δημιουργήθηκαν από τις προσθήκες μου", "settings_useChromium_description": "Ανοίξτε τους συνδέσμους στο Discord αντί για το πρόγραμμα περιήγησής σας", "sort_by": "Ταξινόμηση κατά", + "time": "Χρόνος", "to": "Προς το", "toast_plugin_force_updated": "Το {{var0}} ενημερώθηκε αυτόματα επειδή η έκδοσή σας ήταν πολύ παλιά", "toast_plugin_loaded": "Το {{var0}} έχει φορτωθεί", @@ -3336,6 +3340,7 @@ "settings_toastPosition_note": "Solo cambia la posición de los brindis creados por mis complementos", "settings_useChromium_description": "Abra enlaces en Discord en lugar de su navegador", "sort_by": "Ordenar por", + "time": "Hora", "to": "A", "toast_plugin_force_updated": "{{var0}} se actualizó automáticamente porque su versión estaba muy desactualizada", "toast_plugin_loaded": "Se cargó {{var0}}", @@ -3392,6 +3397,7 @@ "settings_toastPosition_note": "Muuttaa vain laajennukset luomien paahtoleivien sijaintia", "settings_useChromium_description": "Avaa Linkit ristiriidassa selaimen sijaan", "sort_by": "Järjestä", + "time": "Aika", "to": "Vastaanottaja", "toast_plugin_force_updated": "{{var0}} päivitettiin automaattisesti, koska versiosi oli vanhentunut", "toast_plugin_loaded": "{{var0}} on ladattu", @@ -3448,6 +3454,7 @@ "settings_toastPosition_note": "Modifie uniquement la position des toasts créés par mes plugins", "settings_useChromium_description": "Ouvrez les liens dans Discord au lieu de votre navigateur", "sort_by": "Trier par", + "time": "Temps", "to": "À", "toast_plugin_force_updated": "{{var0}} a été automatiquement mis à jour car votre version était très obsolète", "toast_plugin_loaded": "{{var0}} a été chargé", @@ -3504,6 +3511,7 @@ "settings_toastPosition_note": "Mijenja samo položaj zdravica koje su stvorili moji dodatke", "settings_useChromium_description": "Otvorite veze u Discordu umjesto u pregledniku", "sort_by": "Poredati po", + "time": "Vrijeme", "to": "Do", "toast_plugin_force_updated": "{{var0}} je automatski ažuriran jer je vaša verzija bila vrlo zastarjela", "toast_plugin_loaded": "Učitana je {{var0}}", @@ -3560,6 +3568,7 @@ "settings_toastPosition_note": "Csak a bővítményeket által létrehozott pirítósok pozícióját változtatja meg", "settings_useChromium_description": "Nyissa meg a Linkeket a diszkordban a böngészője helyett", "sort_by": "Sorrend", + "time": "Idő", "to": "Nak nek", "toast_plugin_force_updated": "A {{var0}} automatikusan frissült, mert a verziója nagyon elavult", "toast_plugin_loaded": "{{var0}} betöltve", @@ -3616,6 +3625,7 @@ "settings_toastPosition_note": "Cambia solo la posizione dei toast creati dai miei plugins", "settings_useChromium_description": "Apri link in Discord invece che nel tuo browser", "sort_by": "Ordina per", + "time": "Tempo", "to": "Per", "toast_plugin_force_updated": "{{var0}} è stato aggiornato automaticamente perché la tua versione era molto obsoleta", "toast_plugin_loaded": "{{var0}} è stato caricato", @@ -3672,6 +3682,7 @@ "settings_toastPosition_note": "プラグインによって作成されたトーストの位置のみを変更します", "settings_useChromium_description": "ブラウザの代わりに Discord でリンクを開く", "sort_by": "並び替え", + "time": "時間", "to": "に", "toast_plugin_force_updated": "バージョンが非常に古くなったため、 {{var0}} は自動的に更新されました", "toast_plugin_loaded": "{{var0}} が読み込まれました", @@ -3728,6 +3739,7 @@ "settings_toastPosition_note": "내 플러그인에 의해 생성 된 토스트의 위치 만 변경", "settings_useChromium_description": "브라우저 대신 Discord 에서 링크 열기", "sort_by": "정렬 기준", + "time": "시각", "to": "에", "toast_plugin_force_updated": "버전이 매우 오래되어 {{var0}} 이 자동으로 업데이트되었습니다.", "toast_plugin_loaded": "{{var0}} 이로드되었습니다.", @@ -3784,6 +3796,7 @@ "settings_toastPosition_note": "Keičia tik mano įskiepiai sukurtų tostų poziciją", "settings_useChromium_description": "Vietoj savo naršyklės atidarykite nuorodas nesantaikoje", "sort_by": "Rūšiuoti pagal", + "time": "Laikas", "to": "Į", "toast_plugin_force_updated": "'{{var0}}' buvo automatiškai atnaujinta, nes jūsų versija buvo labai pasenusi", "toast_plugin_loaded": "{{var0}} buvo įkelta", @@ -3840,6 +3853,7 @@ "settings_toastPosition_note": "Verandert alleen de positie van toast gemaakt door mijn plugins", "settings_useChromium_description": "Open links in Discord in plaats van uw browser", "sort_by": "Sorteer op", + "time": "Tijd", "to": "Naar", "toast_plugin_force_updated": "{{var0}} is automatisch bijgewerkt omdat uw versie erg verouderd was", "toast_plugin_loaded": "{{var0}} is geladen", @@ -3896,6 +3910,7 @@ "settings_toastPosition_note": "Endrer bare posisjonen for ristet brød opprettet av plugins mine", "settings_useChromium_description": "Åpne koblinger i Discord i stedet for nettleseren din", "sort_by": "Sorter etter", + "time": "Tid", "to": "Til", "toast_plugin_force_updated": "{{var0}} ble automatisk oppdatert fordi versjonen din var veldig utdatert", "toast_plugin_loaded": "{{var0}} er lastet inn", @@ -3952,6 +3967,7 @@ "settings_toastPosition_note": "Zmienia tylko pozycję toastów utworzonych przez moje wtyczki", "settings_useChromium_description": "Otwieraj linki w Discordzie zamiast w przeglądarce", "sort_by": "Sortuj według", + "time": "Czas", "to": "Do", "toast_plugin_force_updated": "{{var0}} został automatycznie zaktualizowany, ponieważ Twoja wersja była bardzo nieaktualna", "toast_plugin_loaded": "Załadowano {{var0}}", @@ -4008,6 +4024,7 @@ "settings_toastPosition_note": "Apenas altera a posição dos brindes criados pelos meus plugins", "settings_useChromium_description": "Abra links no Discord em vez do seu navegador", "sort_by": "Ordenar por", + "time": "Tempo", "to": "Para", "toast_plugin_force_updated": "{{var0}} foi atualizado automaticamente porque sua versão estava muito desatualizada", "toast_plugin_loaded": "{{var0}} foi carregado", @@ -4064,6 +4081,7 @@ "settings_toastPosition_note": "Modifică doar poziția toastelor create de pluginuri mele", "settings_useChromium_description": "Deschideți linkuri în discordie în loc de browser", "sort_by": "Filtrează după", + "time": "Timp", "to": "La", "toast_plugin_force_updated": "{{var0}} a fost actualizat automat deoarece versiunea dvs. a fost foarte depășită", "toast_plugin_loaded": "{{var0}} a fost încărcat", @@ -4120,6 +4138,7 @@ "settings_toastPosition_note": "Изменяет только положение тостов, созданных моими плагины", "settings_useChromium_description": "Открывайте ссылки в Discord, а не в браузере", "sort_by": "Сортировать по", + "time": "Время", "to": "Чтобы", "toast_plugin_force_updated": "{{var0}} был обновлен автоматически, поскольку ваша версия очень устарела", "toast_plugin_loaded": "{{var0}} загружено", @@ -4176,6 +4195,7 @@ "settings_toastPosition_note": "Ändrar bara positionen för rostat bröd som skapats av mina plugins", "settings_useChromium_description": "Öppna Länkar i Discord istället för din webbläsare", "sort_by": "Sortera efter", + "time": "Tid", "to": "Till", "toast_plugin_force_updated": "{{var0}} uppdaterades automatiskt eftersom din version var mycket föråldrad", "toast_plugin_loaded": "{{var0}} har laddats", @@ -4232,6 +4252,7 @@ "settings_toastPosition_note": "เปลี่ยนเฉพาะตำแหน่งของขนมปังที่สร้างโดยปลั๊กอินของฉัน", "settings_useChromium_description": "เปิดลิงค์ใน Discord แทนเบราว์เซอร์ของคุณ", "sort_by": "จัดเรียงตาม", + "time": "เวลา", "to": "ถึง", "toast_plugin_force_updated": "{{var0}} ได้รับการอัปเดตโดยอัตโนมัติเนื่องจากเวอร์ชันของคุณล้าสมัยมาก", "toast_plugin_loaded": "โหลด {{var0}} แล้ว", @@ -4288,6 +4309,7 @@ "settings_toastPosition_note": "Yalnızca Eklentileri tarafından oluşturulan Toastların Konumunu değiştirir", "settings_useChromium_description": "Tarayıcınız yerine Discord'da Bağlantıları Açın", "sort_by": "Göre sırala", + "time": "Zaman", "to": "İçin", "toast_plugin_force_updated": "Sürümünüz çok eski olduğu için {{var0}} otomatik olarak güncellendi", "toast_plugin_loaded": "{{var0}} yüklendi", @@ -4344,6 +4366,7 @@ "settings_toastPosition_note": "Змінює лише позицію тостів, створених моїми плагіни", "settings_useChromium_description": "Відкрийте посилання в Discord замість браузера", "sort_by": "Сортувати за", + "time": "Час", "to": "До", "toast_plugin_force_updated": "{{var0}} було автоматично оновлено, оскільки ваша версія була дуже застарілою", "toast_plugin_loaded": "{{var0}} завантажено", @@ -4400,6 +4423,7 @@ "settings_toastPosition_note": "Chỉ thay đổi Vị trí của Bánh nướng được tạo bởi plugins của tôi", "settings_useChromium_description": "Mở Liên kết trong Discord thay vì Trình duyệt của bạn", "sort_by": "Sắp xếp theo", + "time": "Thời gian", "to": "Đến", "toast_plugin_force_updated": "{{var0}} đã được cập nhật tự động vì phiên bản của bạn đã rất lỗi thời", "toast_plugin_loaded": "{{var0}} đã được tải", @@ -4456,6 +4480,7 @@ "settings_toastPosition_note": "仅更改由我的插件创建的吐司位置", "settings_useChromium_description": "在 Discord (而不是浏览器)中打开链接", "sort_by": "排序方式", + "time": "时间", "to": "至", "toast_plugin_force_updated": "{{var0}} 已自动更新,因为您的版本已过时", "toast_plugin_loaded": "{{var0}} 已加载", @@ -4512,6 +4537,7 @@ "settings_toastPosition_note": "僅更改由我的插件創建的吐司位置", "settings_useChromium_description": "在 Discord (而不是瀏覽器)中打開鏈接", "sort_by": "排序方式", + "time": "時間", "to": "至", "toast_plugin_force_updated": "{{var0}} 已自動更新,因為您的版本已過時", "toast_plugin_loaded": "{{var0}} 已加載", @@ -4568,6 +4594,7 @@ "settings_toastPosition_note": "Only changes Position of Toasts created by my Plugins", "settings_useChromium_description": "Open Links in Discord instead of your Browser", "sort_by": "Sort by", + "time": "Time", "to": "To", "toast_plugin_force_updated": "{{var0}} was automatically updated because your Version is heavily outdated", "toast_plugin_loaded": "{{var0}} has been loaded", diff --git a/Plugins/CustomQuoter/CustomQuoter.plugin.js b/Plugins/CustomQuoter/CustomQuoter.plugin.js index a3412f6d8d..458f946d8f 100644 --- a/Plugins/CustomQuoter/CustomQuoter.plugin.js +++ b/Plugins/CustomQuoter/CustomQuoter.plugin.js @@ -138,7 +138,7 @@ module.exports = (_ => { settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { title: "Settings", collapseStates: collapseStates, - children: Object.keys(this.settings.general).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + children: Object.keys(this.defaults.general).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { type: "Switch", plugin: this, keys: ["general", key], diff --git a/Plugins/OwnerTag/OwnerTag.plugin.js b/Plugins/OwnerTag/OwnerTag.plugin.js index 51dab85281..0516a500ee 100644 --- a/Plugins/OwnerTag/OwnerTag.plugin.js +++ b/Plugins/OwnerTag/OwnerTag.plugin.js @@ -156,7 +156,7 @@ module.exports = (_ => { settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { title: "Settings", collapseStates: collapseStates, - children: Object.keys(this.settings.general).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + children: Object.keys(this.defaults.general).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { type: "Switch", plugin: this, key: key, @@ -172,7 +172,7 @@ module.exports = (_ => { BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsPanelList, { title: "Add Tags for:", dividerBottom: true, - children: Object.keys(this.settings.tagTypes).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + children: Object.keys(this.defaults.tagTypes).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { type: "Switch", plugin: this, keys: ["tagTypes", key], @@ -182,7 +182,7 @@ module.exports = (_ => { }), BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsPanelList, { title: "Add Tags in:", - children: Object.keys(this.settings.tagPlaces).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + children: Object.keys(this.defaults.tagPlaces).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { type: "Switch", plugin: this, keys: ["tagPlaces", key], @@ -195,7 +195,7 @@ module.exports = (_ => { settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { title: "Tag Text Settings", collapseStates: collapseStates, - children: Object.keys(this.settings.inputs).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + children: Object.keys(this.defaults.inputs).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { type: "TextInput", plugin: this, keys: ["inputs", key],