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}-Einstellungen",
|
||||
"message": "Modul-Einstellungen kommen in Phase 7.",
|
||||
"message": "Modul-Einstellungen kommen in einer späteren Phase.",
|
||||
"backToModules": "Zurück zu den Modulen"
|
||||
},
|
||||
"modulePages": {
|
||||
"moderation": {
|
||||
"title": "Moderation",
|
||||
"description": "Aktiviere das Moderations-Modul und konfiguriere automatische Eskalationsregeln.",
|
||||
"enabledLabel": "Moderations-Modul aktiviert",
|
||||
"enabledHint": "Aktiviert Ban, Kick, Warn, Purge und das Fall-System auf diesem Server.",
|
||||
"escalationsTitle": "Eskalationsregeln",
|
||||
"escalationsDescription": "Automatische Strafen ab einer bestimmten Anzahl an Verwarnungen.",
|
||||
"noEscalations": "Keine Eskalationsregeln konfiguriert.",
|
||||
"addEscalation": "Regel hinzufügen",
|
||||
"warnCount": "Anzahl Verwarnungen",
|
||||
"action": "Aktion",
|
||||
"actions": { "TIMEOUT": "Timeout", "KICK": "Kick", "BAN": "Ban" },
|
||||
"durationMs": "Dauer (ms)",
|
||||
"reason": "Grund",
|
||||
"reasonPlaceholder": "Optionaler Standardgrund",
|
||||
"casesTitle": "Fälle",
|
||||
"casesDescription": "Liste der zuletzt erstellten Moderations-Fälle (nur Lesezugriff).",
|
||||
"searchPlaceholder": "Suche nach User- oder Moderator-ID / Grund",
|
||||
"actionPlaceholder": "Aktion filtern, z. B. BAN",
|
||||
"casesEmpty": "Keine Fälle gefunden.",
|
||||
"target": "Ziel",
|
||||
"moderator": "Moderator",
|
||||
"createdAt": "Erstellt am",
|
||||
"noReason": "Kein Grund angegeben"
|
||||
},
|
||||
"automod": {
|
||||
"title": "Auto-Moderation",
|
||||
"description": "Grundeinstellungen sowie Anti-Raid- und Anti-Nuke-Schutz.",
|
||||
"enabledLabel": "Auto-Moderation aktiviert",
|
||||
"enabledHint": "Aktiviert alle Auto-Moderations-Regeln (Spam, Wortfilter, Links, …) auf diesem Server.",
|
||||
"antiRaidTitle": "Anti-Raid",
|
||||
"antiRaidDescription": "Erkennt ungewöhnlich schnelle Join-Wellen und aktiviert automatisch einen Lockdown.",
|
||||
"antiRaidEnabled": "Anti-Raid aktiviert",
|
||||
"antiRaidJoinThreshold": "Schwellenwert (Joins)",
|
||||
"antiRaidWindowSeconds": "Zeitfenster (Sekunden)",
|
||||
"antiRaidActionHint": "Aktuell implementierte Reaktion: Server-Lockdown.",
|
||||
"antiNukeTitle": "Anti-Nuke",
|
||||
"antiNukeDescription": "Schützt vor Massen-Bans oder Massen-Kanal-Löschungen durch kompromittierte Accounts.",
|
||||
"antiNukeEnabled": "Anti-Nuke aktiviert",
|
||||
"antiNukeBanThreshold": "Schwellenwert (Bans)",
|
||||
"antiNukeChannelThreshold": "Schwellenwert (Kanal-Löschungen)",
|
||||
"antiNukeWindowSeconds": "Zeitfenster (Sekunden)",
|
||||
"lockdownActive": "Lockdown aktiv",
|
||||
"lockdownActiveHint": "Wird automatisch bei einem erkannten Raid gesetzt. Manuell zurücksetzen, um den Lockdown zu beenden."
|
||||
},
|
||||
"logging": {
|
||||
"title": "Logging",
|
||||
"description": "Log-Kanäle, Ignore-Listen und die Event-zu-Kanal-Zuordnung.",
|
||||
"enabledLabel": "Logging aktiviert",
|
||||
"ignoreBotsLabel": "Bot-Nachrichten/-Aktionen ignorieren",
|
||||
"ignoredChannelsLabel": "Ignorierte Kanäle",
|
||||
"ignoredRolesLabel": "Ignorierte Rollen",
|
||||
"idsPlaceholder": "Kommagetrennte IDs, z. B. 123456789012345678, 234567890123456789",
|
||||
"idsHint": "Discord-IDs kommagetrennt eintragen. Entwicklermodus aktivieren, um IDs zu kopieren.",
|
||||
"channelsTitle": "Event-Kanal-Zuordnung",
|
||||
"channelsDescription": "Lege für jeden Event-Typ einen eigenen Log-Kanal fest.",
|
||||
"channelsEmpty": "Keine Event-Kanal-Zuordnungen konfiguriert.",
|
||||
"eventType": "Event-Typ",
|
||||
"channelId": "Kanal-ID",
|
||||
"addMapping": "Zuordnung hinzufügen"
|
||||
},
|
||||
"welcome": {
|
||||
"welcomeTitle": "Willkommen",
|
||||
"welcomeDescription": "Nachricht, Kanal und Autoroles für neue Mitglieder.",
|
||||
"welcomeEnabledLabel": "Willkommensnachricht aktiviert",
|
||||
"welcomeChannelId": "Willkommens-Kanal-ID",
|
||||
"welcomeType": "Nachrichtentyp",
|
||||
"type": { "TEXT": "Text", "EMBED": "Embed", "IMAGE": "Bild-Karte" },
|
||||
"welcomeContent": "Nachrichtentext",
|
||||
"contentPlaceholder": "Willkommen {user} auf {server}!",
|
||||
"placeholdersHint": "Verfügbare Platzhalter: {user}, {user.name}, {user.tag}, {user.id}, {server}, {memberCount}",
|
||||
"welcomeEmbed": "Embed (JSON, optional)",
|
||||
"welcomeDmEnabled": "Willkommens-DM aktiviert",
|
||||
"dmContentPlaceholder": "Optionale private Nachricht an neue Mitglieder",
|
||||
"userAutoroles": "Autoroles für Nutzer",
|
||||
"botAutoroles": "Autoroles für Bots",
|
||||
"imageTitle": "Bild-Karte: Titel",
|
||||
"imageSubtitle": "Bild-Karte: Untertitel",
|
||||
"leaveTitle": "Abschied",
|
||||
"leaveDescription": "Nachricht und Kanal, wenn ein Mitglied den Server verlässt.",
|
||||
"leaveEnabledLabel": "Abschiedsnachricht aktiviert",
|
||||
"leaveChannelId": "Abschieds-Kanal-ID",
|
||||
"leaveContent": "Nachrichtentext",
|
||||
"leaveEmbed": "Embed (JSON, optional)"
|
||||
},
|
||||
"verification": {
|
||||
"title": "Verifizierung",
|
||||
"description": "Modus, Rollen und Anforderungen für die Mitglieder-Verifizierung.",
|
||||
"enabledLabel": "Verifizierung aktiviert",
|
||||
"mode": "Modus",
|
||||
"mode.BUTTON": "Button",
|
||||
"mode.CAPTCHA": "Captcha (WebUI)",
|
||||
"failAction": "Aktion bei Fehlschlag",
|
||||
"failAction.KICK": "Kick",
|
||||
"failAction.BAN": "Ban",
|
||||
"failAction.NONE": "Keine",
|
||||
"channelId": "Verifizierungs-Kanal-ID",
|
||||
"verifiedRoleId": "Rolle nach Verifizierung",
|
||||
"unverifiedRoleId": "Rolle vor Verifizierung",
|
||||
"minAccountAgeDays": "Mindest-Accountalter (Tage)"
|
||||
},
|
||||
"leveling": {
|
||||
"title": "Leveling & XP",
|
||||
"description": "Text- und Voice-XP-Raten, Cooldowns und No-XP-Listen.",
|
||||
"enabledLabel": "Leveling aktiviert",
|
||||
"textXpMin": "Text-XP (Minimum)",
|
||||
"textXpMax": "Text-XP (Maximum)",
|
||||
"textCooldownSeconds": "Text-XP-Cooldown (Sekunden)",
|
||||
"voiceXpPerMinute": "Voice-XP pro Minute",
|
||||
"noXpChannels": "No-XP-Kanäle",
|
||||
"noXpRoles": "No-XP-Rollen",
|
||||
"roleMultipliers": "Rollen-Multiplikatoren",
|
||||
"channelMultipliers": "Kanal-Multiplikatoren",
|
||||
"multiplierHint": "Ein Eintrag pro Zeile im Format ID:Multiplikator, z. B. 123456789012345678:1.5",
|
||||
"levelUpTitle": "Level-Up-Nachricht",
|
||||
"levelUpMode": "Modus",
|
||||
"mode.CHANNEL": "Kanal",
|
||||
"mode.DM": "Direktnachricht",
|
||||
"mode.OFF": "Aus",
|
||||
"levelUpChannelId": "Level-Up-Kanal-ID",
|
||||
"levelUpMessage": "Nachrichtentext",
|
||||
"stackRewards": "Rollen-Belohnungen stapeln",
|
||||
"rankCardTitle": "Rang-Karte",
|
||||
"cardAccentColor": "Akzentfarbe",
|
||||
"cardBackgroundColor": "Hintergrundfarbe"
|
||||
},
|
||||
"economy": {
|
||||
"title": "Economy",
|
||||
"description": "Währung und Beträge der Einkommens-Commands.",
|
||||
"enabledLabel": "Economy aktiviert",
|
||||
"currencyName": "Währungsname",
|
||||
"currencySymbol": "Währungssymbol",
|
||||
"amountsTitle": "Beträge",
|
||||
"dailyAmount": "Tägliche Belohnung",
|
||||
"weeklyAmount": "Wöchentliche Belohnung",
|
||||
"workMin": "Work: Minimum",
|
||||
"workMax": "Work: Maximum",
|
||||
"workCooldownSeconds": "Work-Cooldown (Sekunden)",
|
||||
"startingBalance": "Startguthaben"
|
||||
},
|
||||
"fun": {
|
||||
"title": "Fun & Spiele",
|
||||
"description": "Minispiele und Medien-Commands für diesen Server.",
|
||||
"enabledLabel": "Fun-Modul aktiviert",
|
||||
"enabledHint": "Aktiviert Minispiele wie Trivia, Tic-Tac-Toe und 8-Ball.",
|
||||
"mediaEnabledLabel": "Medien-Commands aktiviert",
|
||||
"mediaEnabledHint": "Aktiviert API-basierte Commands wie /cat und /dog."
|
||||
}
|
||||
},
|
||||
"userMenu": {
|
||||
"theme": "Design",
|
||||
"themeDark": "Dunkel",
|
||||
|
||||
Reference in New Issue
Block a user