Merge branch 'master' of https://github.com/mwittrien/BetterDiscordAddons
This commit is contained in:
commit
fdba4a3e28
|
@ -2,7 +2,7 @@
|
||||||
* @name SplitLargeMessages
|
* @name SplitLargeMessages
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.8.3
|
* @version 1.8.4
|
||||||
* @description Allows you to enter larger Messages, which will automatically split into several smaller Messages
|
* @description Allows you to enter larger Messages, which will automatically split into several smaller Messages
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -168,7 +168,7 @@ module.exports = (_ => {
|
||||||
|
|
||||||
onTextAreaContextMenu (e) {
|
onTextAreaContextMenu (e) {
|
||||||
let [children, index] = BDFDB.ContextMenuUtils.findItem(e.returnvalue, {id: "devmode-copy-id", group: true});
|
let [children, index] = BDFDB.ContextMenuUtils.findItem(e.returnvalue, {id: "devmode-copy-id", group: true});
|
||||||
children.splice(index > -1 ? index : children.length, 0, BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuGroup, {
|
children.unshift(BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuGroup, {
|
||||||
children: BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuCheckboxItem, {
|
children: BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuCheckboxItem, {
|
||||||
label: this.labels.context_enable,
|
label: this.labels.context_enable,
|
||||||
id: BDFDB.ContextMenuUtils.createItemId(this.name, "enabled"),
|
id: BDFDB.ContextMenuUtils.createItemId(this.name, "enabled"),
|
||||||
|
@ -278,42 +278,42 @@ module.exports = (_ => {
|
||||||
};
|
};
|
||||||
case "cs": // Czech
|
case "cs": // Czech
|
||||||
return {
|
return {
|
||||||
context_enable: "Rozdělte velké zprávy na menší zprávy",
|
context_enable: "Rozdělte velké zprávy",
|
||||||
toast_allsent: "Všechny zprávy odeslány"
|
toast_allsent: "Všechny zprávy odeslány"
|
||||||
};
|
};
|
||||||
case "da": // Danish
|
case "da": // Danish
|
||||||
return {
|
return {
|
||||||
context_enable: "Opdel store beskeder i mindre beskeder",
|
context_enable: "Opdel store beskeder",
|
||||||
toast_allsent: "Alle beskeder sendt"
|
toast_allsent: "Alle beskeder sendt"
|
||||||
};
|
};
|
||||||
case "de": // German
|
case "de": // German
|
||||||
return {
|
return {
|
||||||
context_enable: "Spalte große in kleinere Nachrichten auf",
|
context_enable: "Spalte große Nachrichten auf",
|
||||||
toast_allsent: "Alle Nachrichten gesendet"
|
toast_allsent: "Alle Nachrichten gesendet"
|
||||||
};
|
};
|
||||||
case "el": // Greek
|
case "el": // Greek
|
||||||
return {
|
return {
|
||||||
context_enable: "Διαχωρίστε τα μεγάλα μηνύματα σε μικρότερα μηνύματα",
|
context_enable: "Διαχωρίστε τα μεγάλα μηνύματα",
|
||||||
toast_allsent: "Όλα τα μηνύματα εστάλησαν"
|
toast_allsent: "Όλα τα μηνύματα εστάλησαν"
|
||||||
};
|
};
|
||||||
case "es": // Spanish
|
case "es": // Spanish
|
||||||
return {
|
return {
|
||||||
context_enable: "Dividir mensajes grandes en mensajes más pequeños",
|
context_enable: "Dividir mensajes grandes",
|
||||||
toast_allsent: "Todos los mensajes enviados"
|
toast_allsent: "Todos los mensajes enviados"
|
||||||
};
|
};
|
||||||
case "es-419": // Spanish (Latin America)
|
case "es-419": // Spanish (Latin America)
|
||||||
return {
|
return {
|
||||||
context_enable: "Dividir mensajes grandes en mensajes más pequeños",
|
context_enable: "Dividir mensajes grandes",
|
||||||
toast_allsent: "Todos los mensajes enviados"
|
toast_allsent: "Todos los mensajes enviados"
|
||||||
};
|
};
|
||||||
case "fi": // Finnish
|
case "fi": // Finnish
|
||||||
return {
|
return {
|
||||||
context_enable: "Jaa suuret viestit pienemmiksi viesteiksi",
|
context_enable: "Jaa suuret viestit",
|
||||||
toast_allsent: "Kaikki viestit lähetetty"
|
toast_allsent: "Kaikki viestit lähetetty"
|
||||||
};
|
};
|
||||||
case "fr": // French
|
case "fr": // French
|
||||||
return {
|
return {
|
||||||
context_enable: "Divisez les gros messages en messages plus petits",
|
context_enable: "Divisez les gros messages",
|
||||||
toast_allsent: "Tous les messages envoyés"
|
toast_allsent: "Tous les messages envoyés"
|
||||||
};
|
};
|
||||||
case "hi": // Hindi
|
case "hi": // Hindi
|
||||||
|
@ -323,7 +323,7 @@ module.exports = (_ => {
|
||||||
};
|
};
|
||||||
case "hr": // Croatian
|
case "hr": // Croatian
|
||||||
return {
|
return {
|
||||||
context_enable: "Podijelite velike poruke u manje poruke",
|
context_enable: "Podijelite velike poruke",
|
||||||
toast_allsent: "Sve poruke poslane"
|
toast_allsent: "Sve poruke poslane"
|
||||||
};
|
};
|
||||||
case "hu": // Hungarian
|
case "hu": // Hungarian
|
||||||
|
@ -333,7 +333,7 @@ module.exports = (_ => {
|
||||||
};
|
};
|
||||||
case "it": // Italian
|
case "it": // Italian
|
||||||
return {
|
return {
|
||||||
context_enable: "Suddividi messaggi di grandi dimensioni in messaggi più piccoli",
|
context_enable: "Suddividi messaggi di grandi",
|
||||||
toast_allsent: "Tutti i messaggi inviati"
|
toast_allsent: "Tutti i messaggi inviati"
|
||||||
};
|
};
|
||||||
case "ja": // Japanese
|
case "ja": // Japanese
|
||||||
|
@ -343,22 +343,22 @@ module.exports = (_ => {
|
||||||
};
|
};
|
||||||
case "ko": // Korean
|
case "ko": // Korean
|
||||||
return {
|
return {
|
||||||
context_enable: "큰 메시지를 작은 메시지로 분할",
|
context_enable: "큰 메시지를 작은",
|
||||||
toast_allsent: "보낸 모든 메시지"
|
toast_allsent: "보낸 모든 메시지"
|
||||||
};
|
};
|
||||||
case "lt": // Lithuanian
|
case "lt": // Lithuanian
|
||||||
return {
|
return {
|
||||||
context_enable: "Padalinkite didelius pranešimus į mažesnius pranešimus",
|
context_enable: "Padalinkite didelius pranešimus",
|
||||||
toast_allsent: "Visi pranešimai išsiųsti"
|
toast_allsent: "Visi pranešimai išsiųsti"
|
||||||
};
|
};
|
||||||
case "nl": // Dutch
|
case "nl": // Dutch
|
||||||
return {
|
return {
|
||||||
context_enable: "Splits grote berichten op in kleinere berichten",
|
context_enable: "Splits grote berichten op",
|
||||||
toast_allsent: "Alle berichten zijn verzonden"
|
toast_allsent: "Alle berichten zijn verzonden"
|
||||||
};
|
};
|
||||||
case "no": // Norwegian
|
case "no": // Norwegian
|
||||||
return {
|
return {
|
||||||
context_enable: "Del store meldinger i mindre meldinger",
|
context_enable: "Del store meldinger",
|
||||||
toast_allsent: "Alle meldinger sendt"
|
toast_allsent: "Alle meldinger sendt"
|
||||||
};
|
};
|
||||||
case "pl": // Polish
|
case "pl": // Polish
|
||||||
|
@ -368,22 +368,22 @@ module.exports = (_ => {
|
||||||
};
|
};
|
||||||
case "pt-BR": // Portuguese (Brazil)
|
case "pt-BR": // Portuguese (Brazil)
|
||||||
return {
|
return {
|
||||||
context_enable: "Divida mensagens grandes em mensagens menores",
|
context_enable: "Divida mensagens grandes",
|
||||||
toast_allsent: "Todas as mensagens enviadas"
|
toast_allsent: "Todas as mensagens enviadas"
|
||||||
};
|
};
|
||||||
case "ro": // Romanian
|
case "ro": // Romanian
|
||||||
return {
|
return {
|
||||||
context_enable: "Împărțiți mesajele mari în mesaje mai mici",
|
context_enable: "Împărțiți mesajele mari",
|
||||||
toast_allsent: "Toate mesajele trimise"
|
toast_allsent: "Toate mesajele trimise"
|
||||||
};
|
};
|
||||||
case "ru": // Russian
|
case "ru": // Russian
|
||||||
return {
|
return {
|
||||||
context_enable: "Разделите большие сообщения на более мелкие сообщения",
|
context_enable: "Разделите большие сообщения",
|
||||||
toast_allsent: "Все сообщения отправлены"
|
toast_allsent: "Все сообщения отправлены"
|
||||||
};
|
};
|
||||||
case "sv": // Swedish
|
case "sv": // Swedish
|
||||||
return {
|
return {
|
||||||
context_enable: "Dela upp stora meddelanden i mindre meddelanden",
|
context_enable: "Dela upp stora meddelanden",
|
||||||
toast_allsent: "Alla meddelanden skickade"
|
toast_allsent: "Alla meddelanden skickade"
|
||||||
};
|
};
|
||||||
case "th": // Thai
|
case "th": // Thai
|
||||||
|
@ -418,7 +418,7 @@ module.exports = (_ => {
|
||||||
};
|
};
|
||||||
default: // English
|
default: // English
|
||||||
return {
|
return {
|
||||||
context_enable: "Split large Messages into smaller Messages",
|
context_enable: "Split large Messages",
|
||||||
toast_allsent: "All Messages sent"
|
toast_allsent: "All Messages sent"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue