From f3c2bed0bbdadc29aa167dd1fb144288c35a0db6 Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Mon, 13 May 2024 19:55:14 +0200 Subject: [PATCH] Update retention days input field in Settings.vue component --- ui/public/i18n/language.json | 6 +++++- ui/src/views/Settings.vue | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/ui/public/i18n/language.json b/ui/public/i18n/language.json index 58bd020..98e467d 100644 --- a/ui/public/i18n/language.json +++ b/ui/public/i18n/language.json @@ -52,7 +52,11 @@ "import_old_emails_to_piler_description": "Import old emails to Piler, this process may take a long time", "always_bcc_is_already_set": "Always BCC is already set in the server, you need to manually remove it (POSTFIX_ALWAYS_BCC)", "always_bcc_not_set_warning": "Always BCC is not set", - "always_bcc_not_set_description": "Always BCC is not set in the mail server, you could try to configure again piler" + "always_bcc_not_set_description": "Always BCC is not set in the mail server, you could try to configure again piler", + "retention_days": "Retention days", + "retention_days_error": "Retention days must be a number superior to 0", + "placeholder_retention_days": "Type the number of days", + "retention_days_tooltip": "The number of days to keep the emails in the archive" }, "about": { "title": "About" diff --git a/ui/src/views/Settings.vue b/ui/src/views/Settings.vue index fb344f7..c88ff02 100644 --- a/ui/src/views/Settings.vue +++ b/ui/src/views/Settings.vue @@ -144,6 +144,29 @@ /> + + + + + + +