zlwu 1 rok temu
rodzic
commit
a60f7c3d2b

+ 2 - 2
api/libs/email_i18n.py

@@ -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",
             ),

+ 2 - 0
web/app/signin/invite-settings/page.tsx

@@ -154,6 +154,7 @@ export default function InviteSettingsPage() {
         </Button>
       </div>
     </form>
+    {/* zlwu12 20250918 注释 - 注释掉启动 Dify 社区版之前,请阅读 GitHub 上的开源协议相关内容
     {!systemFeatures.branding.enabled && <div className="system-xs-regular mt-2 block w-full text-text-tertiary">
       {t('login.license.tip')}
       &nbsp;
@@ -163,5 +164,6 @@ export default function InviteSettingsPage() {
         href={docLink('/policies/open-source')}
       >{t('login.license.link')}</Link>
     </div>}
+    */}
   </div>
 }