resource_term_add
Add a terminology entry to enforce consistent translations in game localization. Specify source, target, and writing variants to merge or create term records.
Instructions
人拍的板:整行按给进来的那份写(五栏都可以只填一栏;找不到同一行就新开一行)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | 谁拍的板:human / user / agent | human |
| key | No | 一组写法,各带自己的译名:[{"writing": "Eve", "target": "伊芙"}]。任一写法在原文里命中即触发这一行 | |
| why | No | 为什么这么改(记进变更日志) | |
| exact | No | 整行按给进来的那份写(面板的编辑表单用;缺省是逐栏合并) | |
| order | No | 注入顺序:数值大的更靠后(更靠近提示词末尾) | |
| source | No | 原文写法(简写:等价于只有一个写法的 key) | |
| target | No | 这个词的译名(简写用) | |
| profile | No | 事实列表,**一行一条**(注入时用「;」连成一行) | |
| project | No | 游戏项目根目录(默认当前目录) | |
| workdir | No | 工作区目录,默认 <项目>/.gametrans | |
| constant | No | 蓝灯:没有写法命中也每次都注入(世界观 / 风格类) | |
| position | No | 进哪一段:terms(【术语书】)/ tail(该段最后) | terms |