Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit f8bfb63

Browse files
author
kahverengi
committed
Add english strings in none translated languages in MailUtil
1 parent 5ace630 commit f8bfb63

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

src/main/kotlin/com/parnote/util/MailUtil.kt

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ object MailUtil {
4040
.put("button-text", "Verify My E-Mail Address")
4141
),
4242
LangType.HU to mapOf<String, Any>(
43-
"subject" to "",
43+
"subject" to "E-Mail Verification",
4444
"template-params" to JsonObject()
45+
.put("page-title", "Account Verification")
46+
.put("title", "Verify E-mail Address")
47+
.put("description", "To login your account, you need to verify this e-mail address.")
48+
.put("button-text", "Verify My E-Mail Address")
4549
),
4650
LangType.RU to mapOf<String, Any>(
4751
"subject" to "Подтверждение E-Mail",
@@ -52,8 +56,12 @@ object MailUtil {
5256
.put("button-text", "Подтвердить мой аккаунт")
5357
),
5458
LangType.DE to mapOf<String, Any>(
55-
"subject" to "",
59+
"subject" to "E-Mail Verification",
5660
"template-params" to JsonObject()
61+
.put("page-title", "Account Verification")
62+
.put("title", "Verify E-mail Address")
63+
.put("description", "To login your account, you need to verify this e-mail address.")
64+
.put("button-text", "Verify My E-Mail Address")
5765
),
5866
)
5967
),
@@ -79,8 +87,12 @@ object MailUtil {
7987
.put("button-text", "Reset My Password")
8088
),
8189
LangType.HU to mapOf<String, Any>(
82-
"subject" to "",
90+
"subject" to "Reset Password",
8391
"template-params" to JsonObject()
92+
.put("page-title", "Reset Password")
93+
.put("title", "Reset Password")
94+
.put("description", "If you didn't do this request, please ignore this e-mail.")
95+
.put("button-text", "Reset My Password")
8496
),
8597
LangType.RU to mapOf<String, Any>(
8698
"subject" to "Сбросить Пароль",
@@ -91,8 +103,12 @@ object MailUtil {
91103
.put("button-text", "Сбросить Пароль")
92104
),
93105
LangType.DE to mapOf<String, Any>(
94-
"subject" to "",
106+
"subject" to "Reset Password",
95107
"template-params" to JsonObject()
108+
.put("page-title", "Reset Password")
109+
.put("title", "Reset Password")
110+
.put("description", "If you didn't do this request, please ignore this e-mail.")
111+
.put("button-text", "Reset My Password")
96112
)
97113
)
98114
)

0 commit comments

Comments
 (0)