feat: sync canvas toolbar locale with DSH zh/en

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-12 09:37:31 +08:00
parent 288ebf4c90
commit d95f033d1f
6 changed files with 322 additions and 46 deletions

View file

@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
from pathlib import Path
js = next((Path(__file__).resolve().parents[1] / "dist" / "assets").glob("index-*.js")).read_text(
encoding="utf-8"
)
print({k: (k in js) for k in ["选择", "Select", "平移", "Pan", "连线", "Link", "dsh-mind-map:locale"]})