Update PluginRepo.plugin.js

This commit is contained in:
Mirco Wittrien 2024-11-18 19:56:29 +01:00
parent 5ece7e0795
commit 66b9fe1335
1 changed files with 66 additions and 61 deletions

View File

@ -2,7 +2,7 @@
* @name PluginRepo * @name PluginRepo
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 2.5.8 * @version 2.5.9
* @description Allows you to download all Plugins from BD's Website within Discord * @description Allows you to download all Plugins from BD's Website within Discord
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -368,13 +368,18 @@ module.exports = (_ => {
size: BDFDB.LibraryComponents.ModalComponents.ModalSize.DYNAMIC, size: BDFDB.LibraryComponents.ModalComponents.ModalSize.DYNAMIC,
"aria-label": BDFDB.LanguageUtils.LanguageStrings.IMAGE, "aria-label": BDFDB.LanguageUtils.LanguageStrings.IMAGE,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ImageModal, { children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ImageModal, {
animated: false, items: [{
src: url, animated: false,
original: url, height: this.height,
width: this.width, original: url,
height: this.height, srcIsAnimated: false,
trigger: "CLICK",
type: "IMAGE",
url: url,
width: this.width,
zoomThumbnailPlaceholder: url
}],
className: BDFDB.disCN.imagemodalimage, className: BDFDB.disCN.imagemodalimage,
shouldAnimate: true,
renderForwardComponent: _ => {}, renderForwardComponent: _ => {},
renderLinkComponent: props => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Anchor, props) renderLinkComponent: props => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Anchor, props)
}) })
@ -886,191 +891,191 @@ module.exports = (_ => {
switch (BDFDB.LanguageUtils.getLanguage().id) { switch (BDFDB.LanguageUtils.getLanguage().id) {
case "bg": // Bulgarian case "bg": // Bulgarian
return { return {
list: "Списък", list: "Списък",
notice_failed_plugins: "Някои Plugins [{{var0}}] не можаха да бъдат заредени", notice_failed_plugins: "Някои Plugins [{{var0}}] не можаха да бъдат заредени",
notice_new_plugins: "Новите Plugins [{{var0}}] бяха добавени към Plugin Repo", notice_new_plugins: "Новите Plugins [{{var0}}] бяха добавени към Plugin Repo",
notice_outdated_plugins: "Някои Plugins [{{var0}}] са остарели" notice_outdated_plugins: "Някои Plugins [{{var0}}] са остарели"
}; };
case "da": // Danish case "da": // Danish
return { return {
list: "Liste", list: "Liste",
notice_failed_plugins: "Nogle Plugins [{{var0}}] kunne ikke indlæses", notice_failed_plugins: "Nogle Plugins [{{var0}}] kunne ikke indlæses",
notice_new_plugins: "Nye Plugins [{{var0}}] er blevet føjet til Plugin Repo", notice_new_plugins: "Nye Plugins [{{var0}}] er blevet føjet til Plugin Repo",
notice_outdated_plugins: "Nogle Plugins [{{var0}}] er forældede" notice_outdated_plugins: "Nogle Plugins [{{var0}}] er forældede"
}; };
case "de": // German case "de": // German
return { return {
list: "Liste", list: "Liste",
notice_failed_plugins: "Einige Plugins [{{var0}}] konnten nicht geladen werden", notice_failed_plugins: "Einige Plugins [{{var0}}] konnten nicht geladen werden",
notice_new_plugins: "Neue Plugins [{{var0}}] wurden zur Plugin Repo hinzugefügt", notice_new_plugins: "Neue Plugins [{{var0}}] wurden zur Plugin Repo hinzugefügt",
notice_outdated_plugins: "Einige Plugins [{{var0}}] sind veraltet" notice_outdated_plugins: "Einige Plugins [{{var0}}] sind veraltet"
}; };
case "el": // Greek case "el": // Greek
return { return {
list: "Λίστα", list: "Λίστα",
notice_failed_plugins: "Δεν ήταν δυνατή η φόρτωση ορισμένων Πρόσθετων [{{var0}}] ", notice_failed_plugins: "Δεν ήταν δυνατή η φόρτωση ορισμένων Πρόσθετων [{{var0}}] ",
notice_new_plugins: "Προστέθηκαν νέα Πρόσθετα [{{var0}}] στο Αποθετήριο Προσθέτων", notice_new_plugins: "Προστέθηκαν νέα Πρόσθετα [{{var0}}] στο Αποθετήριο Προσθέτων",
notice_outdated_plugins: "Ορισμένα Πρόσθετα [{{var0}}] είναι παλαιά" notice_outdated_plugins: "Ορισμένα Πρόσθετα [{{var0}}] είναι παλαιά"
}; };
case "es": // Spanish case "es": // Spanish
return { return {
list: "Lista", list: "Lista",
notice_failed_plugins: "Algunos Plugins [{{var0}}] no se pudieron cargar", notice_failed_plugins: "Algunos Plugins [{{var0}}] no se pudieron cargar",
notice_new_plugins: "Se han agregado nuevos Plugins [{{var0}}] a Plugin Repo", notice_new_plugins: "Se han agregado nuevos Plugins [{{var0}}] a Plugin Repo",
notice_outdated_plugins: "Algunas Plugins [{{var0}}] están desactualizadas" notice_outdated_plugins: "Algunas Plugins [{{var0}}] están desactualizadas"
}; };
case "fi": // Finnish case "fi": // Finnish
return { return {
list: "Lista", list: "Lista",
notice_failed_plugins: "Joitain kohdetta Plugins [{{var0}}] ei voitu ladata", notice_failed_plugins: "Joitain kohdetta Plugins [{{var0}}] ei voitu ladata",
notice_new_plugins: "Uusi Plugins [{{var0}}] on lisätty Plugin Repo", notice_new_plugins: "Uusi Plugins [{{var0}}] on lisätty Plugin Repo",
notice_outdated_plugins: "Jotkut Plugins [{{var0}}] ovat vanhentuneita" notice_outdated_plugins: "Jotkut Plugins [{{var0}}] ovat vanhentuneita"
}; };
case "fr": // French case "fr": // French
return { return {
list: "Liste", list: "Liste",
notice_failed_plugins: "Certains Plugins [{{var0}}] n'ont pas pu être chargés", notice_failed_plugins: "Certains Plugins [{{var0}}] n'ont pas pu être chargés",
notice_new_plugins: "De nouveaux Plugins [{{var0}}] ont été ajoutés à Plugin Repo", notice_new_plugins: "De nouveaux Plugins [{{var0}}] ont été ajoutés à Plugin Repo",
notice_outdated_plugins: "Certains Plugins [{{var0}}] sont obsolètes" notice_outdated_plugins: "Certains Plugins [{{var0}}] sont obsolètes"
}; };
case "hr": // Croatian case "hr": // Croatian
return { return {
list: "Popis", list: "Popis",
notice_failed_plugins: "Neke datoteke Plugins [{{var0}}] nije moguće učitati", notice_failed_plugins: "Neke datoteke Plugins [{{var0}}] nije moguće učitati",
notice_new_plugins: "Novi Plugins [{{var0}}] dodani su u Plugin Repo", notice_new_plugins: "Novi Plugins [{{var0}}] dodani su u Plugin Repo",
notice_outdated_plugins: "Neki su Plugins [{{var0}}] zastarjeli" notice_outdated_plugins: "Neki su Plugins [{{var0}}] zastarjeli"
}; };
case "hu": // Hungarian case "hu": // Hungarian
return { return {
list: "Lista", list: "Lista",
notice_failed_plugins: "Néhány Plugins [{{var0}}] nem sikerült betölteni", notice_failed_plugins: "Néhány Plugins [{{var0}}] nem sikerült betölteni",
notice_new_plugins: "Új Plugins [{{var0}}] hozzáadva a következőhöz: Plugin Repo", notice_new_plugins: "Új Plugins [{{var0}}] hozzáadva a következőhöz: Plugin Repo",
notice_outdated_plugins: "Néhány Plugins [{{var0}}] elavult" notice_outdated_plugins: "Néhány Plugins [{{var0}}] elavult"
}; };
case "it": // Italian case "it": // Italian
return { return {
list: "Elenco", list: "Elenco",
notice_failed_plugins: "Impossibile caricare alcuni Plugins [{{var0}}] ", notice_failed_plugins: "Impossibile caricare alcuni Plugins [{{var0}}] ",
notice_new_plugins: "Il nuovo Plugins [{{var0}}] è stato aggiunto a Plugin Repo", notice_new_plugins: "Il nuovo Plugins [{{var0}}] è stato aggiunto a Plugin Repo",
notice_outdated_plugins: "Alcuni Plugins [{{var0}}] non sono aggiornati" notice_outdated_plugins: "Alcuni Plugins [{{var0}}] non sono aggiornati"
}; };
case "ja": // Japanese case "ja": // Japanese
return { return {
list: "リスト", list: "リスト",
notice_failed_plugins: "一部の Plugins [{{var0}}] を読み込めませんでした", notice_failed_plugins: "一部の Plugins [{{var0}}] を読み込めませんでした",
notice_new_plugins: "新しい Plugins [{{var0}}] が Plugin Repo に追加されました", notice_new_plugins: "新しい Plugins [{{var0}}] が Plugin Repo に追加されました",
notice_outdated_plugins: "一部の Plugins [{{var0}}] は古くなっています" notice_outdated_plugins: "一部の Plugins [{{var0}}] は古くなっています"
}; };
case "ko": // Korean case "ko": // Korean
return { return {
list: "명부", list: "명부",
notice_failed_plugins: "일부 Plugins [{{var0}}] 을 (를)로드 할 수 없습니다.", notice_failed_plugins: "일부 Plugins [{{var0}}] 을 (를)로드 할 수 없습니다.",
notice_new_plugins: "새 Plugins [{{var0}}] 이 Plugin Repo 에 추가되었습니다.", notice_new_plugins: "새 Plugins [{{var0}}] 이 Plugin Repo 에 추가되었습니다.",
notice_outdated_plugins: "일부 Plugins [{{var0}}] 이 오래되었습니다." notice_outdated_plugins: "일부 Plugins [{{var0}}] 이 오래되었습니다."
}; };
case "lt": // Lithuanian case "lt": // Lithuanian
return { return {
list: "Sąrašas", list: "Sąrašas",
notice_failed_plugins: "Kai kurių Plugins [{{var0}}] nepavyko įkelti", notice_failed_plugins: "Kai kurių Plugins [{{var0}}] nepavyko įkelti",
notice_new_plugins: "Naujas Plugins [{{var0}}] pridėtas prie Plugin Repo", notice_new_plugins: "Naujas Plugins [{{var0}}] pridėtas prie Plugin Repo",
notice_outdated_plugins: "Kai kurie Plugins [{{var0}}] yra pasenę" notice_outdated_plugins: "Kai kurie Plugins [{{var0}}] yra pasenę"
}; };
case "nl": // Dutch case "nl": // Dutch
return { return {
list: "Lijst", list: "Lijst",
notice_failed_plugins: "Sommige Plugins [{{var0}}] konden niet worden geladen", notice_failed_plugins: "Sommige Plugins [{{var0}}] konden niet worden geladen",
notice_new_plugins: "Nieuwe Plugins [{{var0}}] zijn toegevoegd aan de Plugin Repo", notice_new_plugins: "Nieuwe Plugins [{{var0}}] zijn toegevoegd aan de Plugin Repo",
notice_outdated_plugins: "Sommige Plugins [{{var0}}] zijn verouderd" notice_outdated_plugins: "Sommige Plugins [{{var0}}] zijn verouderd"
}; };
case "no": // Norwegian case "no": // Norwegian
return { return {
list: "Liste", list: "Liste",
notice_failed_plugins: "Noen Plugins [{{var0}}] kunne ikke lastes inn", notice_failed_plugins: "Noen Plugins [{{var0}}] kunne ikke lastes inn",
notice_new_plugins: "Nye Plugins [{{var0}}] er lagt til i Plugin Repo", notice_new_plugins: "Nye Plugins [{{var0}}] er lagt til i Plugin Repo",
notice_outdated_plugins: "Noen Plugins [{{var0}}] er utdaterte" notice_outdated_plugins: "Noen Plugins [{{var0}}] er utdaterte"
}; };
case "pl": // Polish case "pl": // Polish
return { return {
list: "Lista", list: "Lista",
notice_failed_plugins: "Nie można załadować niektórych Plugins [{{var0}}] ", notice_failed_plugins: "Nie można załadować niektórych Plugins [{{var0}}] ",
notice_new_plugins: "Nowe Plugins [{{var0}}] zostały dodane do Plugin Repo", notice_new_plugins: "Nowe Plugins [{{var0}}] zostały dodane do Plugin Repo",
notice_outdated_plugins: "Niektóre Plugins [{{var0}}] są nieaktualne" notice_outdated_plugins: "Niektóre Plugins [{{var0}}] są nieaktualne"
}; };
case "pt-BR": // Portuguese (Brazil) case "pt-BR": // Portuguese (Brazil)
return { return {
list: "Lista", list: "Lista",
notice_failed_plugins: "Algum Plugins [{{var0}}] não pôde ser carregado", notice_failed_plugins: "Algum Plugins [{{var0}}] não pôde ser carregado",
notice_new_plugins: "Novo Plugins [{{var0}}] foi adicionado ao Plugin Repo", notice_new_plugins: "Novo Plugins [{{var0}}] foi adicionado ao Plugin Repo",
notice_outdated_plugins: "Alguns Plugins [{{var0}}] estão desatualizados" notice_outdated_plugins: "Alguns Plugins [{{var0}}] estão desatualizados"
}; };
case "ro": // Romanian case "ro": // Romanian
return { return {
list: "Listă", list: "Listă",
notice_failed_plugins: "Unele Plugins [{{var0}}] nu au putut fi încărcate", notice_failed_plugins: "Unele Plugins [{{var0}}] nu au putut fi încărcate",
notice_new_plugins: "Plugins [{{var0}}] nou au fost adăugate la Plugin Repo", notice_new_plugins: "Plugins [{{var0}}] nou au fost adăugate la Plugin Repo",
notice_outdated_plugins: "Unele Plugins [{{var0}}] sunt învechite" notice_outdated_plugins: "Unele Plugins [{{var0}}] sunt învechite"
}; };
case "ru": // Russian case "ru": // Russian
return { return {
list: "Список", list: "Список",
notice_failed_plugins: "Не удалось загрузить некоторые Plugins [{{var0}}] ", notice_failed_plugins: "Не удалось загрузить некоторые Plugins [{{var0}}] ",
notice_new_plugins: "Новые Plugins [{{var0}}] добавлены в Plugin Repo", notice_new_plugins: "Новые Plugins [{{var0}}] добавлены в Plugin Repo",
notice_outdated_plugins: "Некоторые Plugins [{{var0}}] устарели" notice_outdated_plugins: "Некоторые Plugins [{{var0}}] устарели"
}; };
case "sv": // Swedish case "sv": // Swedish
return { return {
list: "Lista", list: "Lista",
notice_failed_plugins: "Vissa Plugins [{{var0}}] kunde inte laddas", notice_failed_plugins: "Vissa Plugins [{{var0}}] kunde inte laddas",
notice_new_plugins: "Nya Plugins [{{var0}}] har lagts till i Plugin Repo", notice_new_plugins: "Nya Plugins [{{var0}}] har lagts till i Plugin Repo",
notice_outdated_plugins: "Vissa Plugins [{{var0}}] är föråldrade" notice_outdated_plugins: "Vissa Plugins [{{var0}}] är föråldrade"
}; };
case "th": // Thai case "th": // Thai
return { return {
list: "รายการ", list: "รายการ",
notice_failed_plugins: "ไม่สามารถโหลด Plugins [{{var0}}] บางรายการได้", notice_failed_plugins: "ไม่สามารถโหลด Plugins [{{var0}}] บางรายการได้",
notice_new_plugins: "เพิ่ม Plugins [{{var0}}] ใหม่ใน Plugin Repo แล้ว", notice_new_plugins: "เพิ่ม Plugins [{{var0}}] ใหม่ใน Plugin Repo แล้ว",
notice_outdated_plugins: "Plugins [{{var0}}] บางรายการล้าสมัย" notice_outdated_plugins: "Plugins [{{var0}}] บางรายการล้าสมัย"
}; };
case "tr": // Turkish case "tr": // Turkish
return { return {
list: "Liste", list: "Liste",
notice_failed_plugins: "Bazı Plugins [{{var0}}] yüklenemedi", notice_failed_plugins: "Bazı Plugins [{{var0}}] yüklenemedi",
notice_new_plugins: "Yeni Plugins [{{var0}}], Plugin Repo 'ye eklendi", notice_new_plugins: "Yeni Plugins [{{var0}}], Plugin Repo 'ye eklendi",
notice_outdated_plugins: "Bazı Plugins [{{var0}}] güncel değil" notice_outdated_plugins: "Bazı Plugins [{{var0}}] güncel değil"
}; };
case "uk": // Ukrainian case "uk": // Ukrainian
return { return {
list: "Список", list: "Список",
notice_failed_plugins: "Деякі Plugins [{{var0}}] не вдалося завантажити", notice_failed_plugins: "Деякі Plugins [{{var0}}] не вдалося завантажити",
notice_new_plugins: "Нові Plugins [{{var0}}] були додані до Plugin Repo", notice_new_plugins: "Нові Plugins [{{var0}}] були додані до Plugin Repo",
notice_outdated_plugins: "Деякі Plugins [{{var0}}] застарілі" notice_outdated_plugins: "Деякі Plugins [{{var0}}] застарілі"
}; };
case "vi": // Vietnamese case "vi": // Vietnamese
return { return {
list: "Danh sách", list: "Danh sách",
notice_failed_plugins: "Không thể tải một số Plugins [{{var0}}] ", notice_failed_plugins: "Không thể tải một số Plugins [{{var0}}] ",
notice_new_plugins: "Plugins [{{var0}}] mới đã được thêm vào Plugin Repo", notice_new_plugins: "Plugins [{{var0}}] mới đã được thêm vào Plugin Repo",
notice_outdated_plugins: "Một số Plugins [{{var0}}] đã lỗi thời" notice_outdated_plugins: "Một số Plugins [{{var0}}] đã lỗi thời"
}; };
case "zh-CN": // Chinese (China) case "zh-CN": // Chinese (China)
return { return {
list: "清单", list: "清单",
notice_failed_plugins: "某些 Plugins [{{var0}}] 无法加载", notice_failed_plugins: "某些 Plugins [{{var0}}] 无法加载",
notice_new_plugins: "新的 Plugins [{{var0}}] 已添加到 Plugin Repo", notice_new_plugins: "新的 Plugins [{{var0}}] 已添加到 Plugin Repo",
notice_outdated_plugins: "一些 Plugins [{{var0}}] 已过时" notice_outdated_plugins: "一些 Plugins [{{var0}}] 已过时"
}; };
case "zh-TW": // Chinese (Taiwan) case "zh-TW": // Chinese (Taiwan)
return { return {
list: "清單", list: "清單",
notice_failed_plugins: "某些 Plugins [{{var0}}] 無法加載", notice_failed_plugins: "某些 Plugins [{{var0}}] 無法加載",
notice_new_plugins: "新的 Plugins [{{var0}}] 已添加到 Plugin Repo", notice_new_plugins: "新的 Plugins [{{var0}}] 已添加到 Plugin Repo",
notice_outdated_plugins: "一些 Plugins [{{var0}}] 已過時" notice_outdated_plugins: "一些 Plugins [{{var0}}] 已過時"
}; };
default: // English default: // English
return { return {
list: "List", list: "List",
notice_failed_plugins: "Some Plugins [{{var0}}] could not be loaded", notice_failed_plugins: "Some Plugins [{{var0}}] could not be loaded",
notice_new_plugins: "New Plugins [{{var0}}] have been added to the Plugin Repo", notice_new_plugins: "New Plugins [{{var0}}] have been added to the Plugin Repo",
notice_outdated_plugins: "Some Plugins [{{var0}}] are outdated" notice_outdated_plugins: "Some Plugins [{{var0}}] are outdated"
}; };
} }