mirror of
https://github.com/hansjone/mind-map.git
synced 2026-10-10 17:23:18 +08:00
feat: sync canvas toolbar locale with DSH zh/en
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
288ebf4c90
commit
d95f033d1f
6 changed files with 322 additions and 46 deletions
7
apps/web/scripts/verify-dist-i18n.py
Normal file
7
apps/web/scripts/verify-dist-i18n.py
Normal 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"]})
|
||||
Loading…
Add table
Add a link
Reference in a new issue