chore(core): add pricing link in license panel (#11598)
This commit is contained in:
@@ -263,16 +263,29 @@ const ActionModal = ({
|
|||||||
placeholder="AAAA-AAAA-AAAA-AAAA-AAAA"
|
placeholder="AAAA-AAAA-AAAA-AAAA-AAAA"
|
||||||
/>
|
/>
|
||||||
<span>
|
<span>
|
||||||
<Trans i18nKey="com.affine.settings.workspace.license.activate-modal.tips">
|
<Trans
|
||||||
If you encounter any issues, please contact our
|
i18nKey="com.affine.settings.workspace.license.activate-modal.tips"
|
||||||
<a
|
components={{
|
||||||
href="mailto:support@toeverything.info"
|
1: (
|
||||||
style={{ color: 'var(--affine-link-color)' }}
|
<a
|
||||||
>
|
href="mailto:support@toeverything.info"
|
||||||
customer support
|
style={{ color: 'var(--affine-link-color)' }}
|
||||||
</a>
|
>
|
||||||
.
|
customer support
|
||||||
</Trans>
|
</a>
|
||||||
|
),
|
||||||
|
2: (
|
||||||
|
<a
|
||||||
|
href="https://affine.pro/pricing"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
style={{ color: 'var(--affine-link-color)' }}
|
||||||
|
>
|
||||||
|
click to purchase
|
||||||
|
</a>
|
||||||
|
),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -8569,10 +8569,11 @@ export const TypedTrans: {
|
|||||||
["1"]: JSX.Element;
|
["1"]: JSX.Element;
|
||||||
}>>;
|
}>>;
|
||||||
/**
|
/**
|
||||||
* `If you encounter any issues, please contact our <1>customer support</1>.`
|
* `If you encounter any issues, please contact our <1>customer support</1>. No license yet? <2>Click to purchase</2>.`
|
||||||
*/
|
*/
|
||||||
["com.affine.settings.workspace.license.activate-modal.tips"]: ComponentType<TypedTransProps<Readonly<{}>, {
|
["com.affine.settings.workspace.license.activate-modal.tips"]: ComponentType<TypedTransProps<Readonly<{}>, {
|
||||||
["1"]: JSX.Element;
|
["1"]: JSX.Element;
|
||||||
|
["2"]: JSX.Element;
|
||||||
}>>;
|
}>>;
|
||||||
/**
|
/**
|
||||||
* `The "<1>{{ name }}</1>" property will be removed. This action cannot be undone.`
|
* `The "<1>{{ name }}</1>" property will be removed. This action cannot be undone.`
|
||||||
|
|||||||
@@ -1462,7 +1462,7 @@
|
|||||||
"com.affine.settings.workspace.license.buy-more-seat": "Buy more seat",
|
"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.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.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</1>.",
|
"com.affine.settings.workspace.license.activate-modal.tips": "If you encounter any issues, please contact our <1>customer support</1>. No license yet? <2>Click to purchase</2>.",
|
||||||
"com.affine.settings.workspace.license.activate-success": "License activated successfully.",
|
"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.title": "Deactivate License",
|
||||||
"com.affine.settings.workspace.license.deactivate-modal.description": "Are you sure you want to deactivate this license?",
|
"com.affine.settings.workspace.license.deactivate-modal.description": "Are you sure you want to deactivate this license?",
|
||||||
|
|||||||
@@ -1452,7 +1452,7 @@
|
|||||||
"com.affine.settings.workspace.license.buy-more-seat": "购买更多席位",
|
"com.affine.settings.workspace.license.buy-more-seat": "购买更多席位",
|
||||||
"com.affine.settings.workspace.license.activate-modal.title": "激活许可证",
|
"com.affine.settings.workspace.license.activate-modal.title": "激活许可证",
|
||||||
"com.affine.settings.workspace.license.activate-modal.description": "输入许可证密钥以激活此自托管工作区。",
|
"com.affine.settings.workspace.license.activate-modal.description": "输入许可证密钥以激活此自托管工作区。",
|
||||||
"com.affine.settings.workspace.license.activate-modal.tips": "如果您遇到任何问题,请联系我们的<1>客户支持</1>。",
|
"com.affine.settings.workspace.license.activate-modal.tips": "如果您遇到任何问题,请联系我们的<1>客户支持</1>。还没有许可证?<2>点击购买</2>。",
|
||||||
"com.affine.settings.workspace.license.activate-success": "许可证激活成功。",
|
"com.affine.settings.workspace.license.activate-success": "许可证激活成功。",
|
||||||
"com.affine.settings.workspace.license.deactivate-modal.title": "停用许可证",
|
"com.affine.settings.workspace.license.deactivate-modal.title": "停用许可证",
|
||||||
"com.affine.settings.workspace.license.deactivate-modal.description": "您确定要停用此许可证吗?",
|
"com.affine.settings.workspace.license.deactivate-modal.description": "您确定要停用此许可证吗?",
|
||||||
|
|||||||
Reference in New Issue
Block a user