diff --git a/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx b/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx index d678c66763..7f2d0668b8 100644 --- a/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx +++ b/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx @@ -263,16 +263,29 @@ const ActionModal = ({ placeholder="AAAA-AAAA-AAAA-AAAA-AAAA" /> - - If you encounter any issues, please contact our - - customer support - - . - + + customer support + + ), + 2: ( + + click to purchase + + ), + }} + /> )} diff --git a/packages/frontend/i18n/src/i18n.gen.ts b/packages/frontend/i18n/src/i18n.gen.ts index 1057b4ba9b..353ab114a3 100644 --- a/packages/frontend/i18n/src/i18n.gen.ts +++ b/packages/frontend/i18n/src/i18n.gen.ts @@ -8569,10 +8569,11 @@ export const TypedTrans: { ["1"]: JSX.Element; }>>; /** - * `If you encounter any issues, please contact our <1>customer support.` + * `If you encounter any issues, please contact our <1>customer support. No license yet? <2>Click to purchase.` */ ["com.affine.settings.workspace.license.activate-modal.tips"]: ComponentType, { ["1"]: JSX.Element; + ["2"]: JSX.Element; }>>; /** * `The "<1>{{ name }}" property will be removed. This action cannot be undone.` diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json index 2c4a1a7692..168c9382ec 100644 --- a/packages/frontend/i18n/src/resources/en.json +++ b/packages/frontend/i18n/src/resources/en.json @@ -1462,7 +1462,7 @@ "com.affine.settings.workspace.license.buy-more-seat": "Buy more seat", "com.affine.settings.workspace.license.activate-modal.title": "Activate License", "com.affine.settings.workspace.license.activate-modal.description": "Enter license key to activate this self host workspace.", - "com.affine.settings.workspace.license.activate-modal.tips": "If you encounter any issues, please contact our <1>customer support.", + "com.affine.settings.workspace.license.activate-modal.tips": "If you encounter any issues, please contact our <1>customer support. No license yet? <2>Click to purchase.", "com.affine.settings.workspace.license.activate-success": "License activated successfully.", "com.affine.settings.workspace.license.deactivate-modal.title": "Deactivate License", "com.affine.settings.workspace.license.deactivate-modal.description": "Are you sure you want to deactivate this license?", diff --git a/packages/frontend/i18n/src/resources/zh-Hans.json b/packages/frontend/i18n/src/resources/zh-Hans.json index 0680b9469f..02851e655e 100644 --- a/packages/frontend/i18n/src/resources/zh-Hans.json +++ b/packages/frontend/i18n/src/resources/zh-Hans.json @@ -1452,7 +1452,7 @@ "com.affine.settings.workspace.license.buy-more-seat": "购买更多席位", "com.affine.settings.workspace.license.activate-modal.title": "激活许可证", "com.affine.settings.workspace.license.activate-modal.description": "输入许可证密钥以激活此自托管工作区。", - "com.affine.settings.workspace.license.activate-modal.tips": "如果您遇到任何问题,请联系我们的<1>客户支持。", + "com.affine.settings.workspace.license.activate-modal.tips": "如果您遇到任何问题,请联系我们的<1>客户支持。还没有许可证?<2>点击购买。", "com.affine.settings.workspace.license.activate-success": "许可证激活成功。", "com.affine.settings.workspace.license.deactivate-modal.title": "停用许可证", "com.affine.settings.workspace.license.deactivate-modal.description": "您确定要停用此许可证吗?",