-
Notifications
You must be signed in to change notification settings - Fork 293
Expand file tree
/
Copy pathCodeFixResources.zh-Hans.xlf
More file actions
177 lines (177 loc) · 8.26 KB
/
CodeFixResources.zh-Hans.xlf
File metadata and controls
177 lines (177 loc) · 8.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../CodeFixResources.resx">
<body>
<trans-unit id="AddCallerInfoParametersFix">
<source>Add '[CallerFilePath]' and '[CallerLineNumber]' parameters</source>
<target state="translated">添加参数‘[CallerFilePath]’和‘[CallerLineNumber]’</target>
<note />
</trans-unit>
<trans-unit id="AddTestClassFix">
<source>Add '[TestClass]'</source>
<target state="translated">添加 “[TestClass]”</target>
<note />
</trans-unit>
<trans-unit id="AddTestMethodAttributeFix">
<source>Add '[TestMethod]'</source>
<target state="translated">添加“[TestMethod]”</target>
<note />
</trans-unit>
<trans-unit id="AssertionArgsShouldAvoidConditionalAccessFix">
<source>Move conditional access in assertion to separate 'Assert.IsNotNull' check</source>
<target state="translated">将断言中的条件访问移动到分隔 “Assert.IsNotNull” 检查</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertAreSameWithValueTypesFix">
<source>Use '{0}'</source>
<target state="translated">使用“{0}”</target>
<note />
</trans-unit>
<trans-unit id="AvoidOutParameterOnAssertIsInstanceOfTypeFix">
<source>Use assignment instead of 'out' parameter</source>
<target state="translated">使用赋值替代参数‘out’</target>
<note />
</trans-unit>
<trans-unit id="AvoidOutRefTestMethodParametersFix">
<source>Remove 'out' and 'ref' modifiers</source>
<target state="translated">移除 "out" 或 "ref" 修饰符</target>
<note />
</trans-unit>
<trans-unit id="AvoidUsingAssertsInAsyncVoidContextFix">
<source>Change return type to 'Task'</source>
<target state="new">Change return type to 'Task'</target>
<note />
</trans-unit>
<trans-unit id="ChangeMethodAccessibilityToPrivateFix">
<source>Change method accessibility to 'private'</source>
<target state="translated">将方法可访问性更改为“private”</target>
<note />
</trans-unit>
<trans-unit id="ChangeStructToClassAndAddTestClassFix">
<source>Change to 'class' and add '[TestClass]'</source>
<target state="translated">更改为 "class" 并添加 "[TestClass]"</target>
<note />
</trans-unit>
<trans-unit id="FixAssertionArgsOrder">
<source>Fix actual/expected arguments order</source>
<target state="translated">修复实际/预期参数顺序</target>
<note />
</trans-unit>
<trans-unit id="FixSignatureCodeFix">
<source>Fix signature</source>
<target state="translated">修复签名</target>
<note />
</trans-unit>
<trans-unit id="PassCancellationTokenFix">
<source>Pass 'TestContext.CancellationToken' argument to method call</source>
<target state="translated">将 'TestContext.CancellationToken' 参数传递给方法调用</target>
<note />
</trans-unit>
<trans-unit id="RemoveClassCleanupBehaviorArgumentFix">
<source>Remove 'ClassCleanupBehavior' argument</source>
<target state="translated">删除参数‘ClassCleanupBehavior’</target>
<note />
</trans-unit>
<trans-unit id="RemoveDuplicateDataRowFix">
<source>Remove duplicate 'DataRow'</source>
<target state="new">Remove duplicate 'DataRow'</target>
<note />
</trans-unit>
<trans-unit id="RemoveDynamicDataSourceTypeFix">
<source>Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'</source>
<target state="translated">移除 ‘DynamicDataSourceType’ 参数以使用默认的 ‘AutoDetect’</target>
<note />
</trans-unit>
<trans-unit id="ReplaceDataTestMethodWithTestMethodTitle">
<source>Replace 'DataTestMethod' with 'TestMethod'</source>
<target state="translated">将 'DataTestMethod' 替换为 'TestMethod'</target>
<note />
</trans-unit>
<trans-unit id="ReplaceWithConstructorFix">
<source>Replace TestInitialize method with constructor</source>
<target state="translated">将 TestInitialize 方法替换为构造函数</target>
<note />
</trans-unit>
<trans-unit id="ReplaceWithDisposeFix">
<source>Replace TestCleanup with Dispose method</source>
<target state="translated">将 TestCleanup 替换为 Dispose 方法</target>
<note />
</trans-unit>
<trans-unit id="ReplaceWithFailAssertionFix">
<source>Replace the assertion with 'Assert.Fail()'</source>
<target state="translated">将断言替换为 "Assert.Fail()"</target>
<note />
</trans-unit>
<trans-unit id="ReplaceWithTestCleanuFix">
<source>Replace 'Dispose' with a TestCleanup method</source>
<target state="translated">将“Dispose”替换为 TestCleanup 方法</target>
<note />
</trans-unit>
<trans-unit id="ReplaceWithTestInitializeFix">
<source>Replace constructor with TestInitialize method</source>
<target state="translated">将构造函数替换为 TestInitialize 方法</target>
<note />
</trans-unit>
<trans-unit id="StringAssertToAssertTitle">
<source>Use 'Assert.{0}' instead of 'StringAssert'</source>
<target state="translated">使用 'Assert.{0}' 而不是 'StringAssert'</target>
<note />
</trans-unit>
<trans-unit id="TestClassShouldBeValidFix">
<source>Fix test class signature</source>
<target state="translated">修复测试类签名</target>
<note />
</trans-unit>
<trans-unit id="TestContextShouldBeValidFix">
<source>Fix test context</source>
<target state="translated">修复测试上下文</target>
<note />
</trans-unit>
<trans-unit id="TestMethodShouldBeValidFix">
<source>Fix test method signature</source>
<target state="translated">修复测试方法签名</target>
<note />
</trans-unit>
<trans-unit id="TransformExecuteToExecuteAsyncFix">
<source>Transform 'Execute' override to 'ExecuteAsync'</source>
<target state="translated">将‘Execute’重写为‘ExecuteAsync’</target>
<note />
</trans-unit>
<trans-unit id="UseAttributeOnTestMethodFix">
<source>Add '[TestMethod]'</source>
<target state="translated">添加“[TestMethod]”</target>
<note />
</trans-unit>
<trans-unit id="UseContainsKeyInsteadOfContainsFix">
<source>Use 'ContainsKey' instead of 'Contains'</source>
<target state="translated">使用‘ContainsKey’而不是‘Contains’</target>
<note />
</trans-unit>
<trans-unit id="UseCancellationTokenPropertyFix">
<source>Use 'TestContext.CancellationToken' instead</source>
<target state="translated">请改用 'TestContext.CancellationToken'</target>
<note />
</trans-unit>
<trans-unit id="UseCooperativeCancellationForTimeoutFix">
<source>Use 'CooperativeCancellation = true'</source>
<target state="translated">使用 'CooperativeCancellation = true'</target>
<note />
</trans-unit>
<trans-unit id="UseDisplayNamePropertyInsteadOfStringArgumentFix">
<source>Use 'DisplayName' property instead of string argument</source>
<target state="translated">使用属性‘DisplayName’替代字符串参数</target>
<note />
</trans-unit>
<trans-unit id="UseProperAssertMethodsFix">
<source>Use '{0}'</source>
<target state="translated">使用“{0}”</target>
<note />
</trans-unit>
<trans-unit id="UseOSConditionAttributeInsteadOfRuntimeCheckFix">
<source>Use '[OSCondition]' attribute</source>
<target state="translated">使用 “[OSCondition]” 属性</target>
<note />
</trans-unit>
</body>
</file>
</xliff>