From ac4b62ac41811024e750013e2e3ab0cdc5f6f694 Mon Sep 17 00:00:00 2001 From: creazyfrog Date: Sun, 26 Apr 2026 01:09:07 -0700 Subject: [PATCH] fix(loc): correct reversed subject/object in zh-CN translation of TS2561 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Simplified Chinese translation of error TS2561 had the subject and object swapped: it read "type '{1}' does not exist in '{0}'" instead of "'{0}' does not exist in type '{1}'", inverting the logical relationship and misleading Chinese-speaking developers. Three corrections applied: - Restructure "但"{0}"中不存在类型"{1}"" → "但"{0}"在类型"{1}"中不存在" (property does not exist in type, not type does not exist in property) - Remove redundant 的: "已知的属性" → "已知属性" - Improve closing phrase: "是否要写入 {2}?" → "您是否想写"{2}"?" (add quotes around the suggestion, use natural phrasing) Fixes #63274 Signed-off-by: creazyfrog --- .../diagnosticMessages/diagnosticMessages.generated.json.lcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index f6aadffe9d836..4b33655c3a60d 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -10315,7 +10315,7 @@ - +