From 67a13e12595b9c8d6497085c80a9c2605dd2a379 Mon Sep 17 00:00:00 2001 From: Joris Le Blansch Date: Sun, 11 Feb 2024 20:03:17 +0100 Subject: [PATCH 1/4] #2793 --- src/components/notifications/.SMTP.vue.swp | Bin 0 -> 1024 bytes src/components/notifications/SMTP.vue | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 src/components/notifications/.SMTP.vue.swp diff --git a/src/components/notifications/.SMTP.vue.swp b/src/components/notifications/.SMTP.vue.swp new file mode 100644 index 0000000000000000000000000000000000000000..8a14f48379ec365c4569c450900f3e8d35980f9a GIT binary patch literal 1024 zcmYc?$V<%2S1{KzVn6{8I~W*>^7Bhj1aWW@3kviS3o`TdiYtptQge%OC}Rlr4GGXI WD^0~EKPo;N0;3^7(+~(nHyr?+OAnX; literal 0 HcmV?d00001 diff --git a/src/components/notifications/SMTP.vue b/src/components/notifications/SMTP.vue index 1c48313cc..d39c2db80 100644 --- a/src/components/notifications/SMTP.vue +++ b/src/components/notifications/SMTP.vue @@ -5,6 +5,8 @@ +
{{ $t("HostnameDesc") }}
+
From 0fc372f558f003ce4f9bc81018e70a71976fe38f Mon Sep 17 00:00:00 2001 From: apio-sys Date: Sun, 11 Feb 2024 20:20:52 +0100 Subject: [PATCH 2/4] #2793 --- src/components/notifications/.SMTP.vue.swp | Bin 1024 -> 0 bytes src/lang/en.json | 1 + 2 files changed, 1 insertion(+) delete mode 100644 src/components/notifications/.SMTP.vue.swp diff --git a/src/components/notifications/.SMTP.vue.swp b/src/components/notifications/.SMTP.vue.swp deleted file mode 100644 index 8a14f48379ec365c4569c450900f3e8d35980f9a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmYc?$V<%2S1{KzVn6{8I~W*>^7Bhj1aWW@3kviS3o`TdiYtptQge%OC}Rlr4GGXI WD^0~EKPo;N0;3^7(+~(nHyr?+OAnX; diff --git a/src/lang/en.json b/src/lang/en.json index 134000e7d..73e0da103 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -57,6 +57,7 @@ "Friendly Name": "Friendly Name", "URL": "URL", "Hostname": "Hostname", + "HostnameDesc": "Either enter the hostname of the SMTP server you want to use or localhost if you intend to use a locally configured MTA.", "Port": "Port", "Heartbeat Interval": "Heartbeat Interval", "Request Timeout": "Request Timeout", From 87d7a780e357baa2365e3d548112b734e20b6bbd Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 11 Feb 2024 22:40:47 +0100 Subject: [PATCH 3/4] changed the helptext a bit to make it more usefull for novice users --- src/components/notifications/SMTP.vue | 10 ++++++++-- src/lang/en.json | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/notifications/SMTP.vue b/src/components/notifications/SMTP.vue index d39c2db80..7c338fbf5 100644 --- a/src/components/notifications/SMTP.vue +++ b/src/components/notifications/SMTP.vue @@ -5,8 +5,14 @@
-
{{ $t("HostnameDesc") }}
- + + + +
diff --git a/src/lang/en.json b/src/lang/en.json index 73e0da103..6e040fbe4 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -57,7 +57,8 @@ "Friendly Name": "Friendly Name", "URL": "URL", "Hostname": "Hostname", - "HostnameDesc": "Either enter the hostname of the SMTP server you want to use or localhost if you intend to use a locally configured MTA.", + "locally configured mail transfer agent": "locally configured mail transfer agent", + "Either enter the hostname of the server you want to connect to or localhost if you intend to use a locally configured mail transfer agent": "Either enter the hostname of the server you want to connect to or {localhost} if you intend to use a {local_mta}", "Port": "Port", "Heartbeat Interval": "Heartbeat Interval", "Request Timeout": "Request Timeout", From f37f55e06c9246676f082fc3b277e05f21067f85 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 11 Feb 2024 22:44:57 +0100 Subject: [PATCH 4/4] Fixed lining issues introduced by code reivew --- src/components/notifications/SMTP.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/notifications/SMTP.vue b/src/components/notifications/SMTP.vue index 7c338fbf5..8dcc84cad 100644 --- a/src/components/notifications/SMTP.vue +++ b/src/components/notifications/SMTP.vue @@ -7,10 +7,10 @@