From fa7d234ee9e8079ebde32c5da3acab45ed64b150 Mon Sep 17 00:00:00 2001 From: Brandon Tulsi <18336973+brandontulsi@users.noreply.github.com> Date: Fri, 25 Sep 2026 11:46:21 -0700 Subject: [PATCH] fix(i18n): restore the inheriting-royalties anchor on CJK Bubblegum V2 mint pages #533 linked the ja/ko/zh FAQ answers to `#inheriting-royalties-from-the-collection`, but since #556 those headings take their anchor from the translated text, so the anchor did not exist and the Heading anchors check has failed on main since. Give the three headings an explicit id matching the English slug. This also fixes the 18 links from other ja/ko/zh Bubblegum V2 pages to that anchor. --- src/pages/ja/smart-contracts/bubblegum-v2/mint-cnfts.md | 2 +- src/pages/ko/smart-contracts/bubblegum-v2/mint-cnfts.md | 2 +- src/pages/zh/smart-contracts/bubblegum-v2/mint-cnfts.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/ja/smart-contracts/bubblegum-v2/mint-cnfts.md b/src/pages/ja/smart-contracts/bubblegum-v2/mint-cnfts.md index df192028..410f51a4 100644 --- a/src/pages/ja/smart-contracts/bubblegum-v2/mint-cnfts.md +++ b/src/pages/ja/smart-contracts/bubblegum-v2/mint-cnfts.md @@ -149,7 +149,7 @@ await createCollection(umi, { {% /dialect %} {% /dialect-switcher %} -## コレクションからロイヤリティを継承する +## コレクションからロイヤリティを継承する {% #inheriting-royalties-from-the-collection %} MPL-Coreコレクションにミントする場合、コレクションのロイヤリティ率をすべてのcNFTにコピーする代わりに、リーフに**センチネル**のセラーフィーベーシスポイント値(`65535`、`SELLER_FEE_BASIS_POINTS_INHERIT` / `0xffff` としてエクスポート)を保存できます。DASは表示用に `royalty.basis_points` / `creators` にコレクションから解決された料率を置き、`royalty.basis_points_raw` / `creators_raw` にリーフセンチネルを置き(`royalty.inherited: true`)、オンチェーンのリーフはハッシュ化のためにセンチネルを保持します。 diff --git a/src/pages/ko/smart-contracts/bubblegum-v2/mint-cnfts.md b/src/pages/ko/smart-contracts/bubblegum-v2/mint-cnfts.md index b8f322fb..a6ad2b32 100644 --- a/src/pages/ko/smart-contracts/bubblegum-v2/mint-cnfts.md +++ b/src/pages/ko/smart-contracts/bubblegum-v2/mint-cnfts.md @@ -145,7 +145,7 @@ await createCollection(umi, { {% /dialect %} {% /dialect-switcher %} -## 컬렉션에서 로열티 상속 +## 컬렉션에서 로열티 상속 {% #inheriting-royalties-from-the-collection %} MPL-Core 컬렉션에 민팅할 때 컬렉션의 로열티 비율을 모든 cNFT에 복사하는 대신 리프에 **센티널** seller fee basis points 값(`65535`, `SELLER_FEE_BASIS_POINTS_INHERIT` / `0xffff`로 내보냄)을 저장할 수 있습니다. DAS는 표시용으로 `royalty.basis_points` / `creators`에 컬렉션에서 해석된 비율을 두고, `royalty.basis_points_raw` / `creators_raw`에 리프 센티널을 두며(`royalty.inherited: true`), 온체인 리프는 해싱을 위해 센티널을 유지합니다. diff --git a/src/pages/zh/smart-contracts/bubblegum-v2/mint-cnfts.md b/src/pages/zh/smart-contracts/bubblegum-v2/mint-cnfts.md index e9be713d..76de3c72 100644 --- a/src/pages/zh/smart-contracts/bubblegum-v2/mint-cnfts.md +++ b/src/pages/zh/smart-contracts/bubblegum-v2/mint-cnfts.md @@ -145,7 +145,7 @@ await createCollection(umi, { {% /dialect %} {% /dialect-switcher %} -## 从集合继承版税 +## 从集合继承版税 {% #inheriting-royalties-from-the-collection %} 铸造到 MPL-Core 集合时,可以在叶子上存储**哨兵** seller fee basis points 值(`65535`,导出为 `SELLER_FEE_BASIS_POINTS_INHERIT` / `0xffff`),而不是将集合的版税百分比复制到每个 cNFT。DAS 将集合解析后的费率放在 `royalty.basis_points` / `creators` 上供展示,并将叶子哨兵放在 `royalty.basis_points_raw` / `creators_raw` 上(同时 `royalty.inherited: true`),而链上叶子为哈希保留哨兵值。