|
|
@@ -260,7 +260,7 @@ class EmailI18nService:
|
|
|
full_context = {
|
|
|
**template_context,
|
|
|
"branding_enabled": branding.enabled,
|
|
|
- "application_title": branding.application_title if branding.enabled else "Dify",
|
|
|
+ "application_title": branding.application_title if branding.enabled else "AI智能体平台",
|
|
|
}
|
|
|
|
|
|
# Render template
|
|
|
@@ -304,7 +304,7 @@ def create_default_email_config() -> EmailI18nConfig:
|
|
|
branded_template_path="without-brand/invite_member_mail_template_en-US.html",
|
|
|
),
|
|
|
EmailLanguage.ZH_HANS: EmailTemplate(
|
|
|
- subject="立即加入 {application_title} 工作空间",
|
|
|
+ subject="立即加入 AI智能体 工作空间",
|
|
|
template_path="invite_member_mail_template_zh-CN.html",
|
|
|
branded_template_path="without-brand/invite_member_mail_template_zh-CN.html",
|
|
|
),
|