Enhance ESLint configuration and update component destructuring for improved code quality
- Added a rule to allow unused variables prefixed with an underscore in ESLint configuration. - Updated destructuring in leveling-form, logging-form, moderation-form, and welcome-form components to prefix unused variables with an underscore, improving clarity and adherence to ESLint rules. - Expanded German and English localization files with new moderation, auto-moderation, logging, welcome, verification, leveling, economy, and fun module settings for better user experience.
This commit is contained in:
@@ -119,9 +119,159 @@
|
||||
},
|
||||
"modulePlaceholder": {
|
||||
"title": "{module} settings",
|
||||
"message": "Module settings arrive in Phase 7.",
|
||||
"message": "Module settings arrive in a later phase.",
|
||||
"backToModules": "Back to modules"
|
||||
},
|
||||
"modulePages": {
|
||||
"moderation": {
|
||||
"title": "Moderation",
|
||||
"description": "Enable the moderation module and configure automatic escalation rules.",
|
||||
"enabledLabel": "Moderation module enabled",
|
||||
"enabledHint": "Enables ban, kick, warn, purge and the case system on this server.",
|
||||
"escalationsTitle": "Escalation rules",
|
||||
"escalationsDescription": "Automatic penalties once a member reaches a certain number of warnings.",
|
||||
"noEscalations": "No escalation rules configured.",
|
||||
"addEscalation": "Add rule",
|
||||
"warnCount": "Warning count",
|
||||
"action": "Action",
|
||||
"actions": { "TIMEOUT": "Timeout", "KICK": "Kick", "BAN": "Ban" },
|
||||
"durationMs": "Duration (ms)",
|
||||
"reason": "Reason",
|
||||
"reasonPlaceholder": "Optional default reason",
|
||||
"casesTitle": "Cases",
|
||||
"casesDescription": "List of the most recent moderation cases (read-only).",
|
||||
"searchPlaceholder": "Search by user/moderator ID or reason",
|
||||
"actionPlaceholder": "Filter by action, e.g. BAN",
|
||||
"casesEmpty": "No cases found.",
|
||||
"target": "Target",
|
||||
"moderator": "Moderator",
|
||||
"createdAt": "Created at",
|
||||
"noReason": "No reason provided"
|
||||
},
|
||||
"automod": {
|
||||
"title": "Auto-Moderation",
|
||||
"description": "Base settings plus anti-raid and anti-nuke protection.",
|
||||
"enabledLabel": "Auto-moderation enabled",
|
||||
"enabledHint": "Enables all auto-moderation rules (spam, word filter, links, …) on this server.",
|
||||
"antiRaidTitle": "Anti-Raid",
|
||||
"antiRaidDescription": "Detects unusually fast join waves and automatically activates a lockdown.",
|
||||
"antiRaidEnabled": "Anti-raid enabled",
|
||||
"antiRaidJoinThreshold": "Join threshold",
|
||||
"antiRaidWindowSeconds": "Time window (seconds)",
|
||||
"antiRaidActionHint": "Currently implemented response: server lockdown.",
|
||||
"antiNukeTitle": "Anti-Nuke",
|
||||
"antiNukeDescription": "Protects against mass bans or mass channel deletions by compromised accounts.",
|
||||
"antiNukeEnabled": "Anti-nuke enabled",
|
||||
"antiNukeBanThreshold": "Ban threshold",
|
||||
"antiNukeChannelThreshold": "Channel deletion threshold",
|
||||
"antiNukeWindowSeconds": "Time window (seconds)",
|
||||
"lockdownActive": "Lockdown active",
|
||||
"lockdownActiveHint": "Automatically set when a raid is detected. Toggle off manually to end the lockdown."
|
||||
},
|
||||
"logging": {
|
||||
"title": "Logging",
|
||||
"description": "Log channels, ignore lists and the event-to-channel mapping.",
|
||||
"enabledLabel": "Logging enabled",
|
||||
"ignoreBotsLabel": "Ignore bot messages/actions",
|
||||
"ignoredChannelsLabel": "Ignored channels",
|
||||
"ignoredRolesLabel": "Ignored roles",
|
||||
"idsPlaceholder": "Comma-separated IDs, e.g. 123456789012345678, 234567890123456789",
|
||||
"idsHint": "Enter Discord IDs, comma-separated. Enable Developer Mode to copy IDs.",
|
||||
"channelsTitle": "Event-channel mapping",
|
||||
"channelsDescription": "Assign a dedicated log channel for each event type.",
|
||||
"channelsEmpty": "No event-channel mappings configured.",
|
||||
"eventType": "Event type",
|
||||
"channelId": "Channel ID",
|
||||
"addMapping": "Add mapping"
|
||||
},
|
||||
"welcome": {
|
||||
"welcomeTitle": "Welcome",
|
||||
"welcomeDescription": "Message, channel and autoroles for new members.",
|
||||
"welcomeEnabledLabel": "Welcome message enabled",
|
||||
"welcomeChannelId": "Welcome channel ID",
|
||||
"welcomeType": "Message type",
|
||||
"type": { "TEXT": "Text", "EMBED": "Embed", "IMAGE": "Image card" },
|
||||
"welcomeContent": "Message content",
|
||||
"contentPlaceholder": "Welcome {user} to {server}!",
|
||||
"placeholdersHint": "Available placeholders: {user}, {user.name}, {user.tag}, {user.id}, {server}, {memberCount}",
|
||||
"welcomeEmbed": "Embed (JSON, optional)",
|
||||
"welcomeDmEnabled": "Welcome DM enabled",
|
||||
"dmContentPlaceholder": "Optional private message to new members",
|
||||
"userAutoroles": "Autoroles for users",
|
||||
"botAutoroles": "Autoroles for bots",
|
||||
"imageTitle": "Image card: title",
|
||||
"imageSubtitle": "Image card: subtitle",
|
||||
"leaveTitle": "Leave",
|
||||
"leaveDescription": "Message and channel when a member leaves the server.",
|
||||
"leaveEnabledLabel": "Leave message enabled",
|
||||
"leaveChannelId": "Leave channel ID",
|
||||
"leaveContent": "Message content",
|
||||
"leaveEmbed": "Embed (JSON, optional)"
|
||||
},
|
||||
"verification": {
|
||||
"title": "Verification",
|
||||
"description": "Mode, roles and requirements for member verification.",
|
||||
"enabledLabel": "Verification enabled",
|
||||
"mode": "Mode",
|
||||
"mode.BUTTON": "Button",
|
||||
"mode.CAPTCHA": "Captcha (WebUI)",
|
||||
"failAction": "Action on failure",
|
||||
"failAction.KICK": "Kick",
|
||||
"failAction.BAN": "Ban",
|
||||
"failAction.NONE": "None",
|
||||
"channelId": "Verification channel ID",
|
||||
"verifiedRoleId": "Role after verification",
|
||||
"unverifiedRoleId": "Role before verification",
|
||||
"minAccountAgeDays": "Minimum account age (days)"
|
||||
},
|
||||
"leveling": {
|
||||
"title": "Leveling & XP",
|
||||
"description": "Text and voice XP rates, cooldowns and no-XP lists.",
|
||||
"enabledLabel": "Leveling enabled",
|
||||
"textXpMin": "Text XP (minimum)",
|
||||
"textXpMax": "Text XP (maximum)",
|
||||
"textCooldownSeconds": "Text XP cooldown (seconds)",
|
||||
"voiceXpPerMinute": "Voice XP per minute",
|
||||
"noXpChannels": "No-XP channels",
|
||||
"noXpRoles": "No-XP roles",
|
||||
"roleMultipliers": "Role multipliers",
|
||||
"channelMultipliers": "Channel multipliers",
|
||||
"multiplierHint": "One entry per line in the format id:multiplier, e.g. 123456789012345678:1.5",
|
||||
"levelUpTitle": "Level-up message",
|
||||
"levelUpMode": "Mode",
|
||||
"mode.CHANNEL": "Channel",
|
||||
"mode.DM": "Direct message",
|
||||
"mode.OFF": "Off",
|
||||
"levelUpChannelId": "Level-up channel ID",
|
||||
"levelUpMessage": "Message content",
|
||||
"stackRewards": "Stack role rewards",
|
||||
"rankCardTitle": "Rank card",
|
||||
"cardAccentColor": "Accent color",
|
||||
"cardBackgroundColor": "Background color"
|
||||
},
|
||||
"economy": {
|
||||
"title": "Economy",
|
||||
"description": "Currency and amounts for the income commands.",
|
||||
"enabledLabel": "Economy enabled",
|
||||
"currencyName": "Currency name",
|
||||
"currencySymbol": "Currency symbol",
|
||||
"amountsTitle": "Amounts",
|
||||
"dailyAmount": "Daily reward",
|
||||
"weeklyAmount": "Weekly reward",
|
||||
"workMin": "Work: minimum",
|
||||
"workMax": "Work: maximum",
|
||||
"workCooldownSeconds": "Work cooldown (seconds)",
|
||||
"startingBalance": "Starting balance"
|
||||
},
|
||||
"fun": {
|
||||
"title": "Fun & Games",
|
||||
"description": "Mini games and media commands for this server.",
|
||||
"enabledLabel": "Fun module enabled",
|
||||
"enabledHint": "Enables mini games like trivia, tic-tac-toe and 8-ball.",
|
||||
"mediaEnabledLabel": "Media commands enabled",
|
||||
"mediaEnabledHint": "Enables API-based commands like /cat and /dog."
|
||||
}
|
||||
},
|
||||
"userMenu": {
|
||||
"theme": "Theme",
|
||||
"themeDark": "Dark",
|
||||
|
||||
Reference in New Issue
Block a user