This commit is contained in:
Mirco Wittrien 2021-03-31 11:31:50 +02:00
commit 74cf43f7e1
4 changed files with 10 additions and 6 deletions

View File

@ -7809,7 +7809,7 @@ module.exports = (_ => {
if (window.Lightcord || window.LightCord) BDFDB.ModalUtils.open(BDFDB, {
header: "Attention!",
subHeader: "Modified Client detected",
text: "We detected that you are using LightCord. Unlike other Client Modificaton (BD, PowerCord), LightCord is a completely modified Client, which is no longer maintained by Discord but instead by a 3rd Party. This will put your Account to risk, not only because the 3rd Party might due with your Account Credentials as they like, you are also breaking a higher Instance of Discord's ToS by using a 3rd Party Client instead of using a simple Client Mod. Many Plugins won't flawlessly run on LightCord. We do not support LightCord and as such, we do not provide Help or Support. You should switch to another Modification.",
text: "We detected that you are using LightCord. Unlike other Client Modificaton (BetterDiscord, PowerCord), LightCord is a completely modified Client, which is no longer maintained by Discord but instead by a 3rd Party. This will put your Account to risk, not only because the 3rd Party might do with your Account Credentials what they want, you are also breaking a higher Instance of Discord's ToS by using a 3rd Party Client instead of using a simple Client Mod. Many Plugins won't flawlessly run on LightCord. We do not support LightCord and as such, we do not provide Help or Support. You should switch to another Modification.",
buttons: [{color: "RED", contents: BDFDB.LanguageUtils.LanguageStrings.OKAY}]
});

View File

@ -779,6 +779,7 @@
},
"FriendNotifications": {
"friendsOnline": "friendsOnline-2JkivW",
"friendsOnlineWrap": "friendsOnlineWrap-0gZ63m",
"logAvatar": "avatar-GgGssS",
"logContent": "content-_3_FFs",
"logTime": "time-00Fs44",
@ -850,7 +851,8 @@
"innerFrame": "innerFrame-8Hg64E"
},
"ServerCounter": {
"serverCount": "serverCount-FsTTs1"
"serverCount": "serverCount-FsTTs1",
"serverCountWrap": "serverCountWrap-k8F5De"
},
"ServerDetails": {
"details": "details-08FrsT",
@ -1276,6 +1278,7 @@
"_friendnotificationslogcontent": ["FriendNotifications", "logContent"],
"_friendnotificationslogtime": ["FriendNotifications", "logTime"],
"_friendnotificationsfriendsonline": ["FriendNotifications", "friendsOnline"],
"_friendnotificationsfriendsonlinewrap": ["FriendNotifications", "friendsOnlineWrap"],
"_friendnotificationstimelogmodal": ["FriendNotifications", "timeLogModal"],
"_friendnotificationstypelabel": ["FriendNotifications", "typeLabel"],
"_imageutilitiesdetails": ["ImageUtilities", "details"],
@ -1325,6 +1328,7 @@
"_readallnotificationsbuttonframe": ["ReadAllNotificationsButton", "frame"],
"_readallnotificationsbuttoninner": ["ReadAllNotificationsButton", "innerFrame"],
"_servercounterservercount": ["ServerCounter", "serverCount"],
"_servercounterservercountwrap": ["ServerCounter", "serverCountWrap"],
"_serverdetailsdetails": ["ServerDetails", "details"],
"_serverdetailsicon": ["ServerDetails", "icon"],
"_serverdetailstooltip": ["ServerDetails", "tooltip"],

View File

@ -141,7 +141,7 @@ module.exports = (_ => {
}
render() {
return BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.guildouter,
className: BDFDB.disCNS.guildouter + BDFDB.disCN._friendnotificationsfriendsonlinewrap,
children: BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCNS.guildslabel + BDFDB.disCN._friendnotificationsfriendsonline,
children: BDFDB.LanguageUtils.LanguageStringsFormat("FRIENDS_ONLINE_HEADER", this.props.amount),
@ -993,4 +993,4 @@ module.exports = (_ => {
}
};
})(window.BDFDB_Global.PluginUtils.buildPlugin(config));
})();
})();

View File

@ -110,7 +110,7 @@ module.exports = (_ => {
injectCounter (returnvalue) {
let [children, index] = BDFDB.ReactUtils.findParent(returnvalue, {name: "ConnectedUnreadDMs"});
if (index > -1) children.splice(index + 1, 0, BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.guildouter,
className: BDFDB.disCNS.guildouter + BDFDB.disCN._servercounterservercountwrap,
children: BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCNS.guildslabel + BDFDB.disCN._servercounterservercount,
children: `${BDFDB.LanguageUtils.LanguageStrings.SERVERS}  ${BDFDB.LibraryModules.FolderStore.getFlattenedGuildIds().length}`
@ -119,4 +119,4 @@ module.exports = (_ => {
}
};
})(window.BDFDB_Global.PluginUtils.buildPlugin(config));
})();
})();