This commit is contained in:
Mirco Wittrien 2020-04-19 12:40:14 +02:00
parent 562093d3ae
commit 9f017b3ea9
4 changed files with 586 additions and 586 deletions

View File

@ -5383,6 +5383,8 @@
messagespopouttitle: ["MessagesPopout", "title"],
messagespopoutvisible: ["MessagesPopout", "visible"],
messagespopoutwrap: ["MessagesPopout", "messagesPopoutWrap"],
messagesscroller: ["MessagesWrap", "scroller"],
messagesscrollerinner: ["MessagesWrap", "scrollerInner"],
messagesscrollerwrapper: ["MessagesWrap", "scrollerWrap"],
messageswelcomemessage: ["MessagesWelcome", "welcomeMessage"],
messageswelcomemessageheader: ["MessagesWelcome", "h1"],

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,6 @@
//META{"name":"CopyRawMessage","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/CopyRawMessage","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/CopyRawMessage/CopyRawMessage.plugin.js"}*//
var CopyRawMessage = (_ => {
const copyRawIcon = `<svg width="512" height="512" viewBox="0 0 64 64"><path fill="currentColor" d="m54 8h-44c-1.104 0-2 .896-2 2s.896 2 2 2h44c1.104 0 2-.896 2-2s-.896-2-2-2z"/><path fill="currentColor" d="m54 52h-44c-1.104 0-2 .896-2 2s.896 2 2 2h44c1.104 0 2-.896 2-2s-.896-2-2-2z"/><path fill="currentColor" d="m54 19h-28c-1.104 0-2 .896-2 2s.896 2 2 2h28c1.104 0 2-.896 2-2s-.896-2-2-2z"/><path fill="currentColor" d="m54 30h-44c-1.104 0-2 .896-2 2s.896 2 2 2h44c1.104 0 2-.896 2-2s-.896-2-2-2z"/><path fill="currentColor" d="m54 41h-28c-1.104 0-2 .896-2 2s.896 2 2 2h28c1.104 0 2-.896 2-2s-.896-2-2-2z"/></svg>`;
var CopyRawMessage = (_ => {
return class CopyRawMessage {
getName () {return "CopyRawMessage";}
@ -90,8 +88,7 @@ var CopyRawMessage = (_ => {
onClick: _ => {BDFDB.LibraryRequires.electron.clipboard.write({text:e.instance.props.message.content});},
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
className: BDFDB.disCNS.messagetoolbaricon,
nativeClass: true,
iconSVG: copyRawIcon
name: BDFDB.LibraryComponents.SvgIcon.Names.RAW_TEXT
})
})
}));
@ -105,8 +102,7 @@ var CopyRawMessage = (_ => {
label: BDFDB.LanguageUtils.LanguageStrings.COPY_TEXT + " (Raw)",
hint: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
className: BDFDB.disCNS.messagetoolbaricon,
nativeClass: true,
iconSVG: copyRawIcon
name: BDFDB.LibraryComponents.SvgIcon.Names.RAW_TEXT
}),
action: _ => {
e.instance.props.onClose();

File diff suppressed because it is too large Load Diff