From 0b8d44104a0a35cc127d3a2ca0a76ff837c4253c Mon Sep 17 00:00:00 2001 From: lin-bot23 Date: Mon, 14 Sep 2026 00:27:43 +0800 Subject: [PATCH] cursorrules: align output-name policy with the ComfyUI frontend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old rule forced English output names in all localized Outputs tables, but the ComfyUI frontend itself localizes semantic output names per locale (zh: 正面条件/负面条件, es: positivo/negativo) while keeping technical identifiers English (task_id, GLB, part_names, mask). New policy: mirror the frontend exactly, per output, per language, using docs-generation/data/node_translations.json (outputs..name) as the source of truth. Outputs without a frontend entry keep the English name. Motivated by PR #145 review friction: the drift-repair retranslation had aligned docs to the frontend, and a reviewer applying the old rule reverted that alignment, de-syncing docs from what users see in the UI. --- .cursorrules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cursorrules b/.cursorrules index 826fff52a..b0eae7e33 100644 --- a/.cursorrules +++ b/.cursorrules @@ -68,7 +68,7 @@ Data types should be represented using plain text, not styled text. ### Translation Principles - Only translate when explicitly requested by the user - **Parameter names in Inputs table**: Use ComfyUI frontend translations when available (e.g. FR: `texte`, JA: `テキスト`) — this ensures docs match what users see in the UI -- **Output names in Outputs table**: Keep in English (programmatic identifiers, do not translate) +- **Output names in Outputs table**: Follow the ComfyUI frontend per language (`docs-generation/data/node_translations.json`, `outputs..name`). The frontend itself localizes semantic outputs (e.g. zh: `正面条件`, es: `positivo`) while keeping technical identifiers English (e.g. `task_id`, `GLB`, `part_names`, `mask`) — mirror exactly what users see in the UI. When the frontend has no entry for an output, keep the English name - Keep data types in English - Maintain document structure consistency - Ensure metaphors are appropriate for the target language