From 0fcdc9245d84ec727c387d716e6c12a214972cd3 Mon Sep 17 00:00:00 2001 From: ch8matt Date: Fri, 14 Nov 2025 10:49:02 +0000 Subject: [PATCH 1/2] feat(ui): add toggle for email subject show level configuration Signed-off-by: ch8matt --- src/i18n/locales/en.json | 1 + .../administration/configuration/Email.vue | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index ca9a1ed5c..3e3d64209 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -104,6 +104,7 @@ "email_smtp_port": "SMTP server port", "email_smtp_server": "SMTP server", "email_smtp_username": "SMTP username", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Trust the certificate provided by the SMTP server", "enable_acl": "Enable portfolio access control (beta)", "enable_bom_cyclonedx": "Enable CycloneDX", diff --git a/src/views/administration/configuration/Email.vue b/src/views/administration/configuration/Email.vue index 58d06fd1a..eb1b74de8 100644 --- a/src/views/administration/configuration/Email.vue +++ b/src/views/administration/configuration/Email.vue @@ -25,6 +25,15 @@ v-model="emailPrefix" lazy="true" /> + + {{ $t('admin.email_subject_show_level') }} +
Date: Fri, 14 Nov 2025 11:30:40 +0000 Subject: [PATCH 2/2] fix(i18n): add admin.email_subject_show_level key to all locale files Signed-off-by: ch8matt --- src/i18n/locales/de.json | 1 + src/i18n/locales/es.json | 1 + src/i18n/locales/fr.json | 1 + src/i18n/locales/hi.json | 1 + src/i18n/locales/it.json | 1 + src/i18n/locales/ja.json | 1 + src/i18n/locales/pl.json | 1 + src/i18n/locales/pt-BR.json | 1 + src/i18n/locales/pt.json | 1 + src/i18n/locales/ru.json | 1 + src/i18n/locales/uk-UA.json | 1 + src/i18n/locales/zh.json | 1 + 12 files changed, 12 insertions(+) diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index f60597738..e78ce3a1f 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -104,6 +104,7 @@ "email_smtp_port": "SMTP-Server-Port", "email_smtp_server": "SMTP-Server", "email_smtp_username": "SMTP-Benutzername", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Dem vom SMTP-Server bereitgestellten Zertifikat vertrauen", "enable_acl": "Portfolio-Zugriffskontrolle aktivieren (Beta)", "enable_bom_cyclonedx": "CycloneDX aktivieren", diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index 09ea429a8..1282bbb26 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -104,6 +104,7 @@ "email_smtp_port": "Puerto del servidor SMTP", "email_smtp_server": "servidor SMTP", "email_smtp_username": "nombre de usuario SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Confíe en el certificado proporcionado por el servidor SMTP", "enable_acl": "Habilitar el control de acceso a la cartera (beta)", "enable_bom_cyclonedx": "Habilitar ciclónDX", diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index 9c9f8ea2a..a18c3af15 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -104,6 +104,7 @@ "email_smtp_port": "Port du serveur SMTP", "email_smtp_server": "Serveur SMTP", "email_smtp_username": "Nom d'utilisateur SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Faire confiance au certificat fourni par le serveur SMTP", "enable_acl": "Activer le contrôle d'accès au portfolio (bêta)", "enable_bom_cyclonedx": "Activer CycloneDX", diff --git a/src/i18n/locales/hi.json b/src/i18n/locales/hi.json index cdbf41e21..862b1e187 100644 --- a/src/i18n/locales/hi.json +++ b/src/i18n/locales/hi.json @@ -104,6 +104,7 @@ "email_smtp_port": "SMTP सर्वर पोर्ट", "email_smtp_server": "एसएमटीपी सर्वर", "email_smtp_username": "SMTP उपयोगकर्ता नाम", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "SMTP सर्वर द्वारा प्रदान किए गए प्रमाणपत्र पर विश्वास करें", "enable_acl": "पोर्टफ़ोलियो एक्सेस नियंत्रण सक्षम करें (बीटा)", "enable_bom_cyclonedx": "साइक्लोनडीएक्स सक्षम करें", diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index 7578e88af..667758fb9 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -104,6 +104,7 @@ "email_smtp_port": "Porta del server SMTP", "email_smtp_server": "server SMTP", "email_smtp_username": "Nome utente SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Considera attendibile il certificato fornito dal server SMTP", "enable_acl": "Abilita il controllo dell'accesso al portafoglio (beta)", "enable_bom_cyclonedx": "Abilita CycloneDX", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 130d57e88..bfe53b0d5 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -104,6 +104,7 @@ "email_smtp_port": "SMTPサーバー ポート", "email_smtp_server": "SMTPサーバー", "email_smtp_username": "SMTPユーザー名", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "SMTPサーバーから提供された証明書を信頼する", "enable_acl": "ポートフォリオのアクセス制御を有効にする(ベータ版)", "enable_bom_cyclonedx": "CycloneDXを有効にする", diff --git a/src/i18n/locales/pl.json b/src/i18n/locales/pl.json index 42e6c37ee..a1f050153 100644 --- a/src/i18n/locales/pl.json +++ b/src/i18n/locales/pl.json @@ -104,6 +104,7 @@ "email_smtp_port": "Port serwera SMTP", "email_smtp_server": "Serwer SMTP", "email_smtp_username": "Nazwa użytkownika SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Zaufaj certyfikatowi dostarczonemu przez serwer SMTP", "enable_acl": "Włącz kontrolę dostępu do portfolio (beta)", "enable_bom_cyclonedx": "Włącz CycloneDX", diff --git a/src/i18n/locales/pt-BR.json b/src/i18n/locales/pt-BR.json index 94617ee14..2cb3b9010 100644 --- a/src/i18n/locales/pt-BR.json +++ b/src/i18n/locales/pt-BR.json @@ -104,6 +104,7 @@ "email_smtp_port": "Porta do servidor SMTP", "email_smtp_server": "Servidor SMTP", "email_smtp_username": "Nome de usuário SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Confie no certificado fornecido pelo servidor SMTP", "enable_acl": "Habilitar controle de acesso ao portfólio (beta)", "enable_bom_cyclonedx": "Habilitar CycloneDX", diff --git a/src/i18n/locales/pt.json b/src/i18n/locales/pt.json index 592c66244..70ee29f7c 100644 --- a/src/i18n/locales/pt.json +++ b/src/i18n/locales/pt.json @@ -104,6 +104,7 @@ "email_smtp_port": "Porta do servidor SMTP", "email_smtp_server": "Servidor SMTP", "email_smtp_username": "Nome de utilizador SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Confie no certificado fornecido pelo servidor SMTP", "enable_acl": "Habilitar controle de acesso ao portfólio (beta)", "enable_bom_cyclonedx": "Habilitar CycloneDX", diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index bb86d4080..8f7af0d22 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -104,6 +104,7 @@ "email_smtp_port": "Порт сервера SMTP", "email_smtp_server": "Сервер SMTP", "email_smtp_username": "Имя пользователя SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Доверять сертификату SMTP сервера", "enable_acl": "Включить контроль доступа к портфолио (бета)", "enable_bom_cyclonedx": "Включить CycloneDX", diff --git a/src/i18n/locales/uk-UA.json b/src/i18n/locales/uk-UA.json index d5c158f6a..871fbbe0e 100644 --- a/src/i18n/locales/uk-UA.json +++ b/src/i18n/locales/uk-UA.json @@ -104,6 +104,7 @@ "email_smtp_port": "Порт SMTP-сервера", "email_smtp_server": "SMTP-сервер", "email_smtp_username": "Ім'я користувача SMTP", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "Довіряти сертифікату, наданому SMTP-сервером", "enable_acl": "Увімкнути контроль доступу до портфоліо (бета)", "enable_bom_cyclonedx": "Увімкнути CycloneDX", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index f612fc73b..cb934f8a1 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -104,6 +104,7 @@ "email_smtp_port": "SMTP 服务器端口", "email_smtp_server": "SMTP 服务器", "email_smtp_username": "SMTP 用户名", + "email_subject_show_level": "Show notification level in subject", "email_trust_cert": "信任 SMTP 服务器提供的证书", "enable_acl": "启用访问控制(测试版)", "enable_bom_cyclonedx": "启用 CycloneDX",