feat: update email templates and translations for improved clarity and consistency

This commit is contained in:
wxg0103 2025-07-15 11:42:36 +08:00
parent 9cce06b9f1
commit 243745dc07
5 changed files with 60 additions and 59 deletions

View File

@ -1,17 +1,17 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"> <html xmlns:th="http://www.thymeleaf.org">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="description" content="email code" /> <meta name="description" content="email code"/>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1"/>
</head> </head>
<!--邮箱验证码模板--> <!--邮箱验证码模板-->
<body> <body>
<div style="background-color: #ececec; padding: 35px"> <div style="background-color: #ececec; padding: 35px">
<table <table
cellpadding="0" cellpadding="0"
style=" style="
width: 800px; width: 800px;
height: 100%; height: 100%;
margin: 0px auto; margin: 0px auto;
@ -29,12 +29,12 @@
background-repeat: initial initial; background-repeat: initial initial;
background: #fff; background: #fff;
" "
> >
<tbody> <tbody>
<tr> <tr>
<th <th
valign="middle" valign="middle"
style=" style="
background: linear-gradient( background: linear-gradient(
90deg, 90deg,
#ebf1ff 24.34%, #ebf1ff 24.34%,
@ -52,8 +52,8 @@
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
" "
> >
<div <div
style=" style="
width: 500px; width: 500px;
background: linear-gradient(180deg, #3370FF 0%, #7f3bf5 100%); background: linear-gradient(180deg, #3370FF 0%, #7f3bf5 100%);
-webkit-background-clip: text; -webkit-background-clip: text;
@ -63,38 +63,39 @@
font-weight: 900; font-weight: 900;
color: #1f2329; color: #1f2329;
" "
> >
Intelligent Knowledge Q&A System Powerful and easy-to-use enterprise level intelligent agent platform
</div> </div>
</th> </th>
</tr> </tr>
<tr> <tr>
<td style="word-break: break-all"> <td style="word-break: break-all">
<div <div
style=" style="
padding: 25px 35px 40px; padding: 25px 35px 40px;
background-color: #fff; background-color: #fff;
opacity: 0.8; opacity: 0.8;
" "
> >
<h2 style="margin: 5px 0px"> <h2 style="margin: 5px 0px">
<font color="#333333" style="line-height: 20px"> <font color="#333333" style="line-height: 20px">
<font style="line-height: 22px" size="4"> <font style="line-height: 22px" size="4">
Dear user:</font Dear user:</font
> >
</font> </font>
</h2> </h2>
<!-- 中文 --> <!-- 中文 -->
<p> <p>
<font color="#ff8c00" style="font-weight: 900">${code}</font <font color="#ff8c00" style="font-weight: 900">${code}</font
>&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. >&nbsp;&nbsp;This is your dynamic verification code. Please fill it in within 30 minutes. To
</p> protect the security of your account, please do not provide this verification code to anyone.
<br /> </p>
<br/>
<div style="width: 100%; margin: 0 auto"> <div style="width: 100%; margin: 0 auto">
<div <div
style=" style="
padding: 10px 10px 0; padding: 10px 10px 0;
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
color: #747474; color: #747474;
@ -103,20 +104,20 @@
font-size: 12px; font-size: 12px;
text-align: right; text-align: right;
" "
> >
<p>Intelligent knowledge base project team</p> <p>Intelligent knowledge base project team</p>
<br /> <br/>
<p> <p>
Please do not reply to this system email<br /> Please do not reply to this system email<br/>
</p> </p>
<!--<p>©***</p>--> <!--<p>©***</p>-->
</div> </div>
</div>
</div> </div>
</div>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</body> </body>
</html> </html>

View File

@ -64,7 +64,7 @@
color: #1f2329; color: #1f2329;
" "
> >
智能知识库问答系统 强大易用的企业级智能体平台
</div> </div>
</th> </th>
</tr> </tr>

View File

@ -65,7 +65,7 @@
" "
> >
智慧知識庫問答系統 强大易用的企業級智慧體平臺
</div> </div>
</th> </th>
</tr> </tr>

View File

@ -3219,7 +3219,7 @@ msgstr "分页获取问题列表"
#: apps/maxkb/settings/base.py:101 #: apps/maxkb/settings/base.py:101
msgid "Intelligent customer service platform" msgid "Intelligent customer service platform"
msgstr "智能客服平台" msgstr "强大易用的企业级智能体平台"
#: apps/models_provider/api/model.py:37 apps/models_provider/api/provide.py:17 #: apps/models_provider/api/model.py:37 apps/models_provider/api/provide.py:17
#: apps/models_provider/api/provide.py:23 #: apps/models_provider/api/provide.py:23

View File

@ -3219,7 +3219,7 @@ msgstr "分頁獲取問題列表"
#: apps/maxkb/settings/base.py:101 #: apps/maxkb/settings/base.py:101
msgid "Intelligent customer service platform" msgid "Intelligent customer service platform"
msgstr "智能客服平臺" msgstr "强大易用的企業級智慧體平臺"
#: apps/models_provider/api/model.py:37 apps/models_provider/api/provide.py:17 #: apps/models_provider/api/model.py:37 apps/models_provider/api/provide.py:17
#: apps/models_provider/api/provide.py:23 #: apps/models_provider/api/provide.py:23