Skip to content

Commit ab7bebf

Browse files
authored
Fix space around binary operator translation. (#13057)
* Fix space around binary operator translation.
1 parent cd5aaaa commit ab7bebf

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Extension/i18n/chs/package.i18n.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"c_cpp.configuration.vcFormat.space.removeBeforeSemicolon.description": "将移除每个分号前的空格。",
161161
"c_cpp.configuration.vcFormat.space.insertAfterSemicolon.description": "在每个分号后面插入一个空格。",
162162
"c_cpp.configuration.vcFormat.space.removeAroundUnaryOperator.description": "移除一元运算符和操作数之间的空格。",
163-
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": "二进制运算符周围的空格",
163+
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": "二元运算符周围的空格",
164164
"c_cpp.configuration.vcFormat.space.aroundAssignmentOperator.description": "赋值运算符周围的空格。",
165165
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.description": "指针和引用运算符周围的空格。",
166166
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.left.description": "指针和引用运算符左对齐。",
@@ -449,4 +449,4 @@
449449
"c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。",
450450
"c_cpp.languageModelTools.configuration.displayName": "C/C++ 配置",
451451
"c_cpp.languageModelTools.configuration.userDescription": "活动 C 或 C++ 文件的配置,例如语言标准版本和目标平台。"
452-
}
452+
}

Extension/package.nls.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,12 @@
410410
"c_cpp.configuration.vcFormat.space.removeBeforeSemicolon.description": "Spaces are removed before every semicolon.",
411411
"c_cpp.configuration.vcFormat.space.insertAfterSemicolon.description": "A space is inserted after every semicolon.",
412412
"c_cpp.configuration.vcFormat.space.removeAroundUnaryOperator.description": "Spaces between unary operators and operands are removed.",
413-
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": "Spaces around binary operators.",
413+
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": {
414+
"message": "Spaces around binary operators.",
415+
"comment": [
416+
"The term \"binary operators\" refers to operators that takes two operands and not operators on binary numbers."
417+
]
418+
},
414419
"c_cpp.configuration.vcFormat.space.aroundAssignmentOperator.description": "Spaces around assignment operators.",
415420
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.description": "Spaces around pointer and reference operators.",
416421
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.left.description": "Pointer and reference operators are aligned to the left.",

0 commit comments

Comments
 (0)