Manage and maintain the translation glossary. Check for issues, search terms, view stats, or add new entries.
Maintain the split glossary system: common_glossary.csv (universal terms) + translated/<novel>/glossary.md (per-novel terms).
/glossary checkAudit the glossary for issues:
common_glossary.csv, broken markdown tables in glossary.md files, empty English translationstranslated/ that lack a glossary.md filecommon_glossary.csv that look novel-specific (e.g., character names), or novel glossary.md entries that look universalOutput a report with issues grouped by severity (errors, warnings, suggestions).
/glossary search [query]Search the glossary:
common_glossary.csv + all translated/*/glossary.md filesquery looks like a novel name, show that novel's full glossary.md contentsExamples:
/glossary search 林渊 — find by Chinese across all glossary files/glossary search "Lin Yuan" — find by English/glossary search cultivation_realm — list all cultivation realms (common + all novels)/glossary search "Killing Spree" — all terms from that novel's glossary.md/glossary statsShow glossary statistics:
common_glossary.csv count with breakdown by categoryglossary.md counts (table with novel name and term count)/glossary add [chinese] [english] [category] [novel]Add a new term interactively:
common_glossary.csv or any glossary.md (warn if duplicate)novel is provided: append to translated/<novel>/glossary.md under the matching ## Category sectionnovel: append to common_glossary.csvIf arguments are incomplete, prompt for missing fields.
common_glossary.csv:
Chinese,English,Category,Notes
新术语,New Term,technique,Optional description
translated/<novel>/glossary.md (entries grouped under ## Category headings):
## Techniques
| Chinese | English | Notes |
|---------|---------|-------|
| 新术语 | New Term | Optional description |