UnlockProOverlay 硬编码字符串翻译:off/减免、查看链上交易
discountSuffix "off" 改为 isEn 切换,链上交易链接跟随语言。 Standard Pro 为品牌名保留原文。 Tested: npm run build 通过
This commit is contained in:
@@ -219,7 +219,7 @@ export function UnlockProOverlay({
|
|||||||
>
|
>
|
||||||
-${billing.discountAmount.toFixed(2)}
|
-${billing.discountAmount.toFixed(2)}
|
||||||
</span>
|
</span>
|
||||||
<span className={s.discountSuffix}>off</span>
|
<span className={s.discountSuffix}>{isEn ? "off" : "减免"}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className={s.pointsNote}>
|
<p className={s.pointsNote}>
|
||||||
@@ -438,7 +438,7 @@ export function UnlockProOverlay({
|
|||||||
<div>{infoText}</div>
|
<div>{infoText}</div>
|
||||||
{txHref && (
|
{txHref && (
|
||||||
<Link href={txHref} target="_blank" className={s.txLink}>
|
<Link href={txHref} target="_blank" className={s.txLink}>
|
||||||
查看链上交易
|
{isEn ? "View on-chain transaction" : "查看链上交易"}
|
||||||
<ExternalLink size={11} />
|
<ExternalLink size={11} />
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user