Skip to content

Commit 243745d

Browse files
committed
feat: update email templates and translations for improved clarity and consistency
1 parent 9cce06b commit 243745d

File tree

5 files changed

+60
-59
lines changed

5 files changed

+60
-59
lines changed
Lines changed: 56 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<!DOCTYPE html>
22
<html xmlns:th="http://www.thymeleaf.org">
3-
<head>
4-
<meta charset="utf-8" />
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6-
<meta name="description" content="email code" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1" />
8-
</head>
9-
<!--邮箱验证码模板-->
10-
<body>
11-
<div style="background-color: #ececec; padding: 35px">
12-
<table
13-
cellpadding="0"
14-
style="
3+
<head>
4+
<meta charset="utf-8"/>
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
6+
<meta name="description" content="email code"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
8+
</head>
9+
<!--邮箱验证码模板-->
10+
<body>
11+
<div style="background-color: #ececec; padding: 35px">
12+
<table
13+
cellpadding="0"
14+
style="
1515
width: 800px;
1616
height: 100%;
1717
margin: 0px auto;
@@ -29,12 +29,12 @@
2929
background-repeat: initial initial;
3030
background: #fff;
3131
"
32-
>
32+
>
3333
<tbody>
34-
<tr>
34+
<tr>
3535
<th
36-
valign="middle"
37-
style="
36+
valign="middle"
37+
style="
3838
background: linear-gradient(
3939
90deg,
4040
#ebf1ff 24.34%,
@@ -52,8 +52,8 @@
5252
border-bottom-left-radius: 0px;
5353
"
5454
>
55-
<div
56-
style="
55+
<div
56+
style="
5757
width: 500px;
5858
background: linear-gradient(180deg, #3370FF 0%, #7f3bf5 100%);
5959
-webkit-background-clip: text;
@@ -63,38 +63,39 @@
6363
font-weight: 900;
6464
color: #1f2329;
6565
"
66-
>
67-
Intelligent Knowledge Q&A System
68-
</div>
66+
>
67+
Powerful and easy-to-use enterprise level intelligent agent platform
68+
</div>
6969
</th>
70-
</tr>
71-
<tr>
70+
</tr>
71+
<tr>
7272
<td style="word-break: break-all">
73-
<div
74-
style="
73+
<div
74+
style="
7575
padding: 25px 35px 40px;
7676
background-color: #fff;
7777
opacity: 0.8;
7878
"
79-
>
80-
<h2 style="margin: 5px 0px">
81-
<font color="#333333" style="line-height: 20px">
82-
<font style="line-height: 22px" size="4">
79+
>
80+
<h2 style="margin: 5px 0px">
81+
<font color="#333333" style="line-height: 20px">
82+
<font style="line-height: 22px" size="4">
8383

84-
Dear user:</font
85-
>
86-
</font>
87-
</h2>
88-
<!-- 中文 -->
89-
<p>
90-
<font color="#ff8c00" style="font-weight: 900">${code}</font
91-
>&nbsp;&nbsp;This is your dynamic verification code. Please fill it in within 30 minutes. To protect the security of your account, please do not provide this verification code to anyone.
92-
</p>
93-
<br />
84+
Dear user:</font
85+
>
86+
</font>
87+
</h2>
88+
<!-- 中文 -->
89+
<p>
90+
<font color="#ff8c00" style="font-weight: 900">${code}</font
91+
>&nbsp;&nbsp;This is your dynamic verification code. Please fill it in within 30 minutes. To
92+
protect the security of your account, please do not provide this verification code to anyone.
93+
</p>
94+
<br/>
9495

95-
<div style="width: 100%; margin: 0 auto">
96-
<div
97-
style="
96+
<div style="width: 100%; margin: 0 auto">
97+
<div
98+
style="
9899
padding: 10px 10px 0;
99100
border-top: 1px solid #ccc;
100101
color: #747474;
@@ -103,20 +104,20 @@ <h2 style="margin: 5px 0px">
103104
font-size: 12px;
104105
text-align: right;
105106
"
106-
>
107-
<p>Intelligent knowledge base project team</p>
108-
<br />
109-
<p>
110-
Please do not reply to this system email<br />
111-
</p>
112-
<!--<p>©***</p>-->
113-
</div>
107+
>
108+
<p>Intelligent knowledge base project team</p>
109+
<br/>
110+
<p>
111+
Please do not reply to this system email<br/>
112+
</p>
113+
<!--<p>©***</p>-->
114+
</div>
115+
</div>
114116
</div>
115-
</div>
116117
</td>
117-
</tr>
118+
</tr>
118119
</tbody>
119-
</table>
120-
</div>
121-
</body>
120+
</table>
121+
</div>
122+
</body>
122123
</html>

apps/common/template/email_template_zh.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
color: #1f2329;
6565
"
6666
>
67-
智能知识库问答系统
67+
强大易用的企业级智能体平台
6868
</div>
6969
</th>
7070
</tr>

apps/common/template/email_template_zh_Hant.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"
6666
>
6767

68-
智慧知識庫問答系統
68+
强大易用的企業級智慧體平臺
6969
</div>
7070
</th>
7171
</tr>

apps/locales/zh_CN/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3219,7 +3219,7 @@ msgstr "分页获取问题列表"
32193219

32203220
#: apps/maxkb/settings/base.py:101
32213221
msgid "Intelligent customer service platform"
3222-
msgstr "智能客服平台"
3222+
msgstr "强大易用的企业级智能体平台"
32233223

32243224
#: apps/models_provider/api/model.py:37 apps/models_provider/api/provide.py:17
32253225
#: apps/models_provider/api/provide.py:23

apps/locales/zh_Hant/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3219,7 +3219,7 @@ msgstr "分頁獲取問題列表"
32193219

32203220
#: apps/maxkb/settings/base.py:101
32213221
msgid "Intelligent customer service platform"
3222-
msgstr "智能客服平臺"
3222+
msgstr "强大易用的企業級智慧體平臺"
32233223

32243224
#: apps/models_provider/api/model.py:37 apps/models_provider/api/provide.py:17
32253225
#: apps/models_provider/api/provide.py:23

0 commit comments

Comments
 (0)