Make alertmail as well multilingual, implement a new more modern mailtemplate. Preserve the old as classig, as option over env

This commit is contained in:
2025-11-22 13:09:54 +01:00
parent 74dd84a5d6
commit fd76427cc5
8 changed files with 734 additions and 114 deletions

View File

@@ -29,7 +29,7 @@
"dashboard.table.new_last_hour": "New Last Hour",
"dashboard.table.banned_ips": "Banned IPs (Unban)",
"dashboard.no_jails": "No jails found.",
"dashboard.overview_detail": "Collapse or expand long lists to quickly focus on impacted services.",
"dashboard.overview_detail": "The lists must not expanded to search for an IP.",
"dashboard.table.time": "Time",
"dashboard.table.jail": "Jail",
"dashboard.table.ip": "IP",
@@ -76,6 +76,11 @@
"logs.modal.insights_description": "Country distribution and recurring offenders.",
"logs.modal.insights_countries": "Bans by country",
"logs.modal.insights_countries_empty": "No bans recorded for this period.",
"logs.modal.insights_countries_hint": "Top origins for the selected time range.",
"logs.modal.insights_recurring_hint": "IP addresses repeatedly triggering Fail2ban.",
"logs.modal.total_overall_note": "Lifetime bans recorded",
"logs.modal.total_today_note": "Last 24 hours",
"logs.modal.total_week_note": "Weekly activity",
"logs.modal.insights_recurring": "Recurring IPs",
"logs.modal.insights_recurring_empty": "No recurring IPs detected.",
"filter_debug.title": "Filter Debug",
@@ -221,6 +226,29 @@
"servers.form.select_key_placeholder": "Manual entry",
"servers.form.no_keys": "No SSH keys found; enter path manually",
"filter_debug.not_available": "Filter debug is only available for local connectors.",
"filter_debug.local_missing": "The local Fail2ban filter directory was not found on this host."
"filter_debug.local_missing": "The local Fail2ban filter directory was not found on this host.",
"email.ban.title": "Security alert: Fail2Ban blocked a new IP-address",
"email.ban.intro": "Fail2Ban-UI detected a bad request or repeated authentication failures and automatically blocked the source-IP. Review the metadata and log excerpts below.",
"email.ban.subject.banned": "Banned",
"email.ban.subject.from": "from",
"email.ban.details.banned_ip": "Banned IP",
"email.ban.details.jail": "Jail",
"email.ban.details.hostname": "Hostname",
"email.ban.details.failed_attempts": "Failed attempts",
"email.ban.details.country": "Country",
"email.ban.details.timestamp": "Timestamp",
"email.ban.whois_title": "WHOIS footprint",
"email.ban.logs_title": "Relevant log excerpts",
"email.test.title": "Email delivery test",
"email.test.intro": "This message confirms that your SMTP configuration is working correctly and can deliver HTML formatted emails.",
"email.test.subject": "Test Email from Fail2Ban UI",
"email.test.details.recipient": "Recipient",
"email.test.details.smtp_host": "SMTP host",
"email.test.details.triggered_at": "Triggered at",
"email.test.whois_no_data": "No WHOIS lookup is executed for test emails.",
"email.test.sample_logs": "2025-01-01T12:00:00Z Sample log entry of Fail2ban-UI.",
"email.whois.no_data": "WHOIS data was not captured for this event.",
"email.logs.no_data": "No log entries were captured for this block.",
"email.footer.text": "This message was generated automatically by Fail2Ban-UI"
}