Skip to content

Commit 46d1cb1

Browse files
authored
i18n:Inappropriate localization (microsoft#46924)
The previous version of the file incorrectly translated the keywords of some document comments into Chinese, which would be misleading
1 parent 8d47ea0 commit 46d1cb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/zh-cn/diagnosticMessages.generated.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"Add_await_to_initializer_for_0_95084": "\"await\" 添加到 \"{0}\" 的初始值设定项",
131131
"Add_await_to_initializers_95089": "\"await\" 添加到初始值设定项",
132132
"Add_braces_to_arrow_function_95059": "向箭头函数添加大括号",
133-
"Add_class_tag_95102": "添加“@”标记",
133+
"Add_class_tag_95102": "添加“@class”标记",
134134
"Add_const_to_all_unresolved_variables_95082": "\"const\" 添加到所有未解析变量",
135135
"Add_const_to_unresolved_variable_95081": "\"const\" 添加到未解析的变量",
136136
"Add_default_import_0_to_existing_import_declaration_from_1_90033": "将默认导入 \"{0}\"\"{1}\" 添加到现有导入声明。",
@@ -154,7 +154,7 @@
154154
"Add_parameter_name_90034": "添加参数名称",
155155
"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "将限定符添加到匹配成员名称的所有未解析变量",
156156
"Add_this_parameter_95104": "添加“此”参数。",
157-
"Add_this_tag_95103": "添加“@”标记",
157+
"Add_this_tag_95103": "添加“@this”标记",
158158
"Add_to_all_uncalled_decorators_95044": "\"()\" 添加到所有未调用的修饰器",
159159
"Add_ts_ignore_to_all_error_messages_95042": "\"@ts-ignore\" 添加到所有错误消息",
160160
"Add_undefined_to_a_type_when_accessed_using_an_index_6674": "使用索引访问时,将 “undefined” 添加到类型。",
@@ -1784,4 +1784,4 @@
17841784
"with_statements_are_not_allowed_in_strict_mode_1101": "严格模式下不允许使用 \"with\" 语句。",
17851785
"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "\"yield\" 表达式隐式导致 \"any\" 类型,因为它的包含生成器缺少返回类型批注。",
17861786
"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523": "不能在参数初始化表达式中使用 \"yield\" 表达式。"
1787-
}
1787+
}

0 commit comments

Comments
 (0)