{
  "id": "G04",
  "slug": "tmp-rich-text-visible-text-only",
  "group": "games",
  "title": "DeepSeek V4.1 Flash 实测：TextMeshPro 翻译：只改可见文字，标签属性原样保留",
  "query": "Unity TMP 富文本 AI 翻译",
  "goal": "翻译带颜色、sprite和link的两段UI文字，用标签token序列对比保护资源引用。",
  "input": {
    "sample_notice": "虚构业务样本；实际调用 apizt API。不是商店、客户或游戏生产数据。",
    "records": [
      {
        "id": "M1",
        "text": "<color=#FFCC00>获得金币</color> <sprite name=\"coin\">"
      },
      {
        "id": "M2",
        "text": "<link=\"quest_07\"><u>查看任务</u></link>"
      }
    ],
    "knowledge": [],
    "rules": {
      "tag_sequence": true
    }
  },
  "instruction": "输出id、target（英文）、source_ids。只翻可见中文；所有<...>标签必须按原顺序原字节保留，不能换sprite name或link id。本例是TMP子集，不做HTML闭合校验。 source_ids只能选这些来源ID：M1,M2；不能用resource、字段名或虚构的编号。",
  "columns": [
    "id",
    "target",
    "source_ids"
  ],
  "expected": [],
  "steps": [
    "保留原始TMP字符串，不先用HTML清洗器修复标签。",
    "翻译后抽取每个<...>token，与原序列逐项对比，link quest_07与coin资源名不可译。",
    "导出tmp-review.csv，交给实际字体和sprite asset的Unity工程渲染验收。本页只展示字符串审校，不伪装游戏截图。"
  ],
  "trap": "TMP富文本不是严格HTML/XML；字符串token检查通过，不证明字体、图标或布局可用。",
  "sources": [
    {
      "label": "TextMeshPro 富文本",
      "href": "https://docs.unity3d.com/Packages/com.unity.textmeshpro@4.0/manual/RichText.html"
    },
    {
      "label": "DeepSeek V4.1 Flash 官方模型说明",
      "href": "https://api-docs.deepseek.com/news/news261017/"
    }
  ],
  "base_title": "TextMeshPro 翻译：只改可见文字，标签属性原样保留",
  "model": "deepseek-v4.1-flash",
  "model_label": "DeepSeek V4.1 Flash",
  "request_options": {
    "thinking": {
      "type": "disabled"
    }
  },
  "omit_temperature": false
}
