mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(i18n): update translation (#4923)
This commit is contained in:
@@ -167,7 +167,9 @@ export const CloudWorkspaceMembersPanel = ({
|
||||
})}
|
||||
,
|
||||
<div className={style.goUpgradeWrapper} onClick={handleUpgrade}>
|
||||
<span className={style.goUpgrade}>go upgrade</span>
|
||||
<span className={style.goUpgrade}>
|
||||
{t['com.affine.payment.member.description.go-upgrade']()}
|
||||
</span>
|
||||
<ArrowRightBigIcon className={style.arrowRight} />
|
||||
</div>
|
||||
</span>
|
||||
|
||||
@@ -128,6 +128,7 @@ export function getPlanDetail(t: ReturnType<typeof useAFFiNEI18N>) {
|
||||
}
|
||||
|
||||
export const PlanCard = (props: PlanCardProps) => {
|
||||
const t = useAFFiNEI18N();
|
||||
const { detail, subscription, recurring } = props;
|
||||
const loggedIn = useCurrentLoginStatus() === 'authenticated';
|
||||
const currentPlan = subscription?.plan ?? SubscriptionPlan.Free;
|
||||
@@ -162,7 +163,9 @@ export const PlanCard = (props: PlanCardProps) => {
|
||||
? detail.price
|
||||
: detail.yearlyPrice}
|
||||
</span>
|
||||
<span className={styles.planPriceDesc}>per month</span>
|
||||
<span className={styles.planPriceDesc}>
|
||||
{t['com.affine.payment.price-description.per-month']()}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
</p>
|
||||
|
||||
@@ -135,9 +135,12 @@ export function useIsSharedPage(
|
||||
]({
|
||||
preMode:
|
||||
publishMode === PublicPageMode.Edgeless
|
||||
? PublicPageMode.Page
|
||||
: PublicPageMode.Edgeless,
|
||||
currentMode: publishMode,
|
||||
? t['Page']()
|
||||
: t['Edgeless'](),
|
||||
currentMode:
|
||||
publishMode === PublicPageMode.Edgeless
|
||||
? t['Edgeless']()
|
||||
: t['Page'](),
|
||||
}),
|
||||
type: 'success',
|
||||
theme: 'default',
|
||||
|
||||
Reference in New Issue
Block a user