From 78d0deed944e696be9d480681cf2ef026f5802b5 Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 5 Feb 2019 10:37:28 +0100 Subject: [PATCH] [Web] Lang updates [Web] Minor fixes --- data/web/admin.php | 13 +++++++------ data/web/js/site/admin.js | 2 +- data/web/lang/lang.de.php | 5 +++++ data/web/lang/lang.en.php | 5 +++++ 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/data/web/admin.php b/data/web/admin.php index b1de85a7..eefe2082 100644 --- a/data/web/admin.php +++ b/data/web/admin.php @@ -283,8 +283,8 @@ $tfa_data = get_tfa(); - Quota notifications - Rspamd settings map + + @@ -690,9 +690,9 @@ $tfa_data = get_tfa();
-
Quota notifications
+
-

Quota notications are sent to users once when crossing 80% and once when crossing 95% usage.

+

@@ -715,6 +715,7 @@ $tfa_data = get_tfa();
+
@@ -737,10 +738,10 @@ $tfa_data = get_tfa();
-
Rspamd settings map
+
- Active settings map +
diff --git a/data/web/js/site/admin.js b/data/web/js/site/admin.js index 6559b156..cb124dd3 100644 --- a/data/web/js/site/admin.js +++ b/data/web/js/site/admin.js @@ -25,7 +25,7 @@ jQuery(function($){ }); $('#dkim_add_domains').val(domains); }); - $(".arrow-toggle").on('click', function(e) { e.preventDefault(); $('.arrow').toggleClass("animation"); }); + $(".arrow-toggle").on('click', function(e) { e.preventDefault(); $(this).find('.arrow').toggleClass("animation"); }); $("#mass_exclude").change(function(){ $("#mass_include").selectpicker('deselectAll'); }); $("#mass_include").change(function(){ $("#mass_exclude").selectpicker('deselectAll'); }); $("#mass_disarm").click(function() { $("#mass_send").attr("disabled", !this.checked); }); diff --git a/data/web/lang/lang.de.php b/data/web/lang/lang.de.php index 494cecc4..4b9b6268 100644 --- a/data/web/lang/lang.de.php +++ b/data/web/lang/lang.de.php @@ -637,7 +637,12 @@ $lang['admin']['unban_pending'] = "ausstehend"; $lang['admin']['queue_unban'] = "Unban einreihen"; $lang['admin']['no_active_bans'] = "Keine aktiven Bans"; +$lang['admin']['quota_notifications'] = "Quota Benachrichtigungen"; +$lang['admin']['quota_notifications_vars'] = "{{percent}} entspricht der aktuellen Quota in Prozent
{{username}} entspricht dem Mailbox-Namen"; +$lang['admin']['rspamd_settings_map'] = "Rspamd Settings Map"; $lang['admin']['quarantine'] = "Quarantäne"; +$lang['admin']['active_rspamd_settings_map'] = "Derzeit aktive Settings Map"; +$lang['admin']['quota_notifications_info'] = "Quota Benachrichtigungen werden an Mailboxen versendet, die 80 respektive 95 Prozent der zur Verfügung stehenden Quota überschreiten."; $lang['admin']['quarantine_retention_size'] = "Rückhaltungen pro Mailbox:
0 bedeutet inaktiv."; $lang['admin']['quarantine_max_size'] = "Maximale Größe in MiB (größere Elemente werden verworfen):
0 bedeutet nicht unlimitert."; $lang['admin']['quarantine_exclude_domains'] = "Domains und Alias-Domains ausschließen"; diff --git a/data/web/lang/lang.en.php b/data/web/lang/lang.en.php index c31ac515..263715a1 100644 --- a/data/web/lang/lang.en.php +++ b/data/web/lang/lang.en.php @@ -673,6 +673,11 @@ $lang['admin']['queue_unban'] = "queue unban"; $lang['admin']['no_active_bans'] = "No active bans"; $lang['admin']['quarantine'] = "Quarantine"; +$lang['admin']['rspamd_settings_map'] = "Rspamd settings map"; +$lang['admin']['quota_notifications'] = "Quota notifications"; +$lang['admin']['quota_notifications_vars'] = "{{percent}} equals the current quota of the user
{{username}} is the mailbox name"; +$lang['admin']['active_rspamd_settings_map'] = "Active settings map"; +$lang['admin']['quota_notifications_info'] = "Quota notications are sent to users once when crossing 80% and once when crossing 95% usage."; $lang['admin']['quarantine_retention_size'] = "Retentions per mailbox:
0 indicates inactive."; $lang['admin']['quarantine_max_size'] = "Maximum size in MiB (larger elements are discarded):
0 does not indicate unlimited."; $lang['admin']['quarantine_exclude_domains'] = "Exclude domains and alias-domains";