changed: allow deck refs to external words

This commit is contained in:
gitea-actions[bot]
2026-05-10 11:56:14 +09:00
parent 3b9e3a2d36
commit 8869ebdca1
2 changed files with 3 additions and 3 deletions
-2
View File
@@ -205,8 +205,6 @@ def validate_source(
if stable_word_key in ref_keys:
errors.append(f"{context}/refs.json duplicates {stable_word_key}")
ref_keys.add(stable_word_key)
if stable_word_key not in word_keys:
errors.append(f"{context}/refs.json[{index}] references missing package word {stable_word_key}")
display_order = ref.get("displayOrder")
if not isinstance(display_order, int):
errors.append(f"{context}/refs.json[{index}] displayOrder must be an integer")