Skip to content

Commit

Permalink
Fix space around binary operator translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcmanus committed Dec 13, 2024
1 parent cd5aaaa commit c4f264e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Extension/i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"c_cpp.configuration.vcFormat.space.removeBeforeSemicolon.description": "将移除每个分号前的空格。",
"c_cpp.configuration.vcFormat.space.insertAfterSemicolon.description": "在每个分号后面插入一个空格。",
"c_cpp.configuration.vcFormat.space.removeAroundUnaryOperator.description": "移除一元运算符和操作数之间的空格。",
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": "二进制运算符周围的空格",
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": "二元运算符周围的空格",
"c_cpp.configuration.vcFormat.space.aroundAssignmentOperator.description": "赋值运算符周围的空格。",
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.description": "指针和引用运算符周围的空格。",
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.left.description": "指针和引用运算符左对齐。",
Expand Down Expand Up @@ -449,4 +449,4 @@
"c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。",
"c_cpp.languageModelTools.configuration.displayName": "C/C++ 配置",
"c_cpp.languageModelTools.configuration.userDescription": "活动 C 或 C++ 文件的配置,例如语言标准版本和目标平台。"
}
}
7 changes: 6 additions & 1 deletion Extension/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,12 @@
"c_cpp.configuration.vcFormat.space.removeBeforeSemicolon.description": "Spaces are removed before every semicolon.",
"c_cpp.configuration.vcFormat.space.insertAfterSemicolon.description": "A space is inserted after every semicolon.",
"c_cpp.configuration.vcFormat.space.removeAroundUnaryOperator.description": "Spaces between unary operators and operands are removed.",
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": "Spaces around binary operators.",
"c_cpp.configuration.vcFormat.space.aroundBinaryOperator.description": {
"message": "Spaces around binary operators.",
"comment": [
"The term \"binary operator\" refers to an operator that takes two operands and not an operator that accepts a binary number."
]
},
"c_cpp.configuration.vcFormat.space.aroundAssignmentOperator.description": "Spaces around assignment operators.",
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.description": "Spaces around pointer and reference operators.",
"c_cpp.configuration.vcFormat.space.pointerReferenceAlignment.left.description": "Pointer and reference operators are aligned to the left.",
Expand Down

0 comments on commit c4f264e

Please sign in to comment.