MCPcopy Create free account
hub / github.com/bytebase/bytebase / check-react-i18n.mjs

File check-react-i18n.mjs

frontend/scripts/check-react-i18n.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// frontend/scripts/check-react-i18n.mjs
2//
3// Enforces strict 1:1 mapping between source code and canonical locale files:
4// 1. Missing keys — t("key") in code but key not in locale files

Callers

nothing calls this directly

Calls 8

resolveFunction · 0.85
collectSourceKeysFunction · 0.85
loadLocaleKeysFunction · 0.85
baseKeyFunction · 0.85
isDynamicFunction · 0.85
addMethod · 0.80
errorFunction · 0.70

Tested by

no test coverage detected