diff --git a/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hans.xlf b/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hans.xlf index cf1ea0b134..e44f789cd8 100644 --- a/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hans.xlf +++ b/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hans.xlf @@ -1,407 +1,407 @@ - - - - - - Test '{0}' exceeded execution timeout period. - 测试“{0}”的执行超时。 - - - - - Running tests in any of the provided sources is not supported for the selected platform - 选定的平台不支持在任何提供的源中运行测试 - - - - - TestCleanup method {0}.{1} threw exception. {2}: {3}. - TestCleanup 方法 {0}。{1} 引发异常。{2}: {3}。 - - - - - --- End of inner exception stack trace --- - ---内部异常堆栈跟踪结束--- - - - - - UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly. - UTA014: {0}: 在一个程序集内部,不能定义多个具有 AssemblyCleanup 特性的方法。 - - - - - UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly. - UTA013: {0}: 在一个程序集内部,不能定义多个具有 AssemblyInitialize 特性的方法。 - - - - - UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class. - UTA026: {0}: 在一个类内部,不能定义多个具有 ClassCleanup 特性的方法。 - - - - - UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class. - UTA025: {0}: 在一个类内部,不能定义多个具有 ClassInitialize 特性的方法。 - - - - - UTA024: {0}: Cannot define more than one method with the TestCleanup attribute. - UTA024: {0}: 不能定义多个具有 TestCleanup 特性的方法。 - - - - - UTA018: {0}: Cannot define more than one method with the TestInitialize attribute. - UTA018: {0}: 不能定义多个具有 TestInitialize 特性的方法。 - - - - - Initialization method {0}.{1} threw exception. {2}. - 初始化方法 {0}.{1} 引发异常。{2}。 - - - - - Unable to create instance of class {0}. Error: {1}. - 无法创建类 {0} 的实例。错误: {1}。 - - - - - Unable to set TestContext property for the class {0}. Error: {1}. - 无法设置类 {0} 的 TestContext 属性。错误: {1}。 - - - - - (Failed to get the message for an exception of type {0} due to an exception.) - (因异常而未能获取类型为 {0} 的异常的消息。) - - - - - UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, public and must not be read-only. For example: public TestContext TestContext. - UTA031: 类 {0} 没有有效的 TestContext 属性。TestContext 的类型必须为 TestContext,必须是非静态的、公共的而且不能为只读。例如: public TestContext TestContext。 - - - - - UTA001: TestClass attribute defined on non-public class {0} - UTA001: 在非公共类 {0} 上定义的 TestClass 特性 - - - - - MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}. - 由于 {2},MSTestAdapter 未能在程序集“{1}”的类“{0}”中发现测试。 - - - - - {0}: {1} - {0}: {1} - - - - - Unable to load types from the test source '{0}'. Some or all of the tests in this source may not be discovered. -Error: {1} - 无法从测试源“{0}”加载类型。可能无法发现此源中的部分或所有测试。 -错误: {1} - - - - - UTA015: A generic method cannot be a test method. {0}.{1} has invalid signature - UTA015: 泛型方法不可为测试方法。{0}.{1} 具有无效签名 - - - - - The parameter should not be null or empty. - 参数不应为 NULL 或为空。 - - - - - The parameter must be greater than zero. - 参数必须大于零。 - - - - - MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}'. Reason {2}. - MSTestAdapter 未能在程序集“{1}”的类“{0}”中发现测试。原因是 {2}。 - - - - - File does not exist: {0} - 文件不存在: {0} - - - - - UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be Task. Example: public async Task Test.Class1.Test2() - UTA007: 在类 {0} 中定义的方法 {1} 没有正确的签名。用 [TestMethod] 特性标记的测试方法必须是返回类型为 void 的非静态的公共方法,并且不应采用任何参数。示例: public void Test.Class1.Test()。此外,如果你在测试方法中使用异步等待,则返回类型必须为 Task。示例: public async Task Test.Class1.Test2() - - - - - TestContext cannot be Null. - TestContext 不能为 NULL。 - - - - - Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3} - 程序集清理方法 {0}.{1} 失败。错误消息: {2}。StackTrace: {3} - - - - - Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution. - 程序集初始化方法 {0}.{1} 引发异常。{2}: {3}。正在中止测试的执行。 - - - - - Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3} - 类清理方法 {0}.{1} 失败。错误消息: {2}。堆栈跟踪: {3} - - - - - Class Initialization method {0}.{1} threw exception. {2}: {3}. - 类初始化方法 {0}.{1} 引发异常。{2}: {3}。 - - - - - Exception thrown while executing test. If using extension of TestMethodAttribute then please contact vendor. Error message: {0} - 执行测试时引发了异常。如果使用的是扩展 TestMethodAttribute,请与供应商联系。错误消息: {0} - - - - - Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor. - 执行测试时出错。扩展未返回任何结果。如果使用的是扩展 TestMethodAttribute ,请与供应商联系。 - - - - - Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. - 方法 {0}.{1} 具有错误的签名。该方法必须是静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为 Task。 - - - - - Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be Task. - 方法 {0}.{1} 具有错误的签名。该方法必须是静态的公共方法、不返回值并且应采用一个 TestContext 类型的参数。此外,如果在方法中使用同步等待,则返回类型必须为 Task。 - - - - - UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be a valid integer value and cannot be less than 0. - UTA054: {0}.{1} 具有无效的 Timeout 特性。超时值必须是有效的整数值而且不能小于 0。 - - - - - UTA023: {0}: Cannot define predefined property {2} on method {1}. - UTA023: {0}: 不能在方法 {1} 上定义预定义属性 {2}。 - - - - - UTA022: {0}.{1}: The custom property "{2}" is already defined. Using "{3}" as value. - UTA022: {0}.{1}: 已经定义了自定义属性“{2}”。其值为“{3}”。 - - - - - UTA021: {0}: Null or empty custom property defined on method {1}. The custom property must have a valid name. - UTA021: {0}: 对方法 {1} 定义了为 NULL 或为空的自定义属性。自定义属性必须具有有效名称。 - - - - - Method {0}.{1} does not exist. - 方法 {0}.{1} 不存在。 - - - - - Unable to get default constructor for class {0}. - 无法获取类 {0} 的默认构造函数。 - - - - - Unable to find property {0}.TestContext. Error:{1}. - 无法找到属性 {0}.TestContext。错误: {1}。 - - - - - The {0}.TestContext has incorrect type. - {0}.TestContext 的类型不正确。 - - - - - Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. - 方法 {0}.{1} 具有错误的签名。该方法必须是非静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为 Task。 - - - - - Unable to get type {0}. Error: {1}. - 无法获取类型 {0}。错误: {1}。 - - - - - Test method {0} was not found. - 未找到测试方法 {0}。 - - - - - Debug Trace: - 调试跟踪: - - - - - Failed to obtain the exception thrown by test method {0}.{1}. - 未能获取测试方法 {0}.{1} 引发的异常。 - - - - - Test method {0}.{1} threw exception: -{2} - 测试方法 {0}.{1} 引发了异常: -{2} - - - - - {0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread. - {0} 对于 UWP 项目,如果在测试中使用 UI 对象,请考虑使用 [UITestMethod] 属性代替 [TestMethod] 属性在 UI 线程中执行测试。 - - - - - MSTestAdapterV2 - MSTestAdapterV2 - - - - - Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'. - 设置“{0}”无效。意外的 XmlAttribute:“{1}”。 - - - - - Invalid settings '{0}'. Unexpected XmlElement: '{1}'. - 设置“{0}”无效。意外的 XmlElement:“{1}”。 - - - - - {0} (Data Row {1}) - {0} (数据行 {1}) - - - - - The ExpectedException attribute defined on test method {0}.{1} threw an exception during construction. -{2} - 测试方法 {0}.{1} 上定义的 ExpectedException 属性在构造过程中引发了一个异常。 -{2} - - - - - The test method {0}.{1} has multiple attributes derived from ExpectedExceptionBaseAttribute defined on it. Only one such attribute is allowed. - 测试方法 {0}.{1} 具有多个在该方法上定义的 ExpectedExceptionBaseAttribute 的派生属性。仅允许一个此类属性。 - - - - - Warning : A testsettings file or a vsmdi file is not supported with the MSTest V2 Adapter. - 警告: MSTest V2 适配器不支持 testsettings 文件或 vsmdi 文件。 - - - - - TestContext Messages: - TestContext 消息: - - - - - Error calling Test Cleanup method for test class {0}: {1} - 为测试类 {0} 调用 Test Cleanup 方法时出错: {1} - - - - - TestCleanup Stack Trace - TestCleanup 堆栈跟踪 - - - - - [MSTest][Discovery][{0}] {1} - [MSTest][发现][{0}] {1} - - - - - MSTest Executor: Test Parallelization enabled for {0} (Workers: {1}, Scope: {2}). - MSTest 执行程序: 为 {0} 启用测试并行化(辅助角色: {1},范围: {2})。 - - - - - Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}. - 为“范围”指定的值“{0}”无效。受支持的范围为 {1}。 - 'Scope' is a setting name that shouldn't be localized. - - - Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer. - 为“辅助角色”指定的值“{0}”无效。该值应为非负整数。 - `Workers` is a setting name that shouldn't be localized. - - - Failed to discover tests from assembly {0}. Reason:{1} - 未能发现程序集 {0} 中的测试。原因: {1} - - - - - Only data driven test methods can have parameters. Did you intend to use [DataRow] or [DynamicData]? - 只有数据驱动的测试方法可具有参数。曾打算使用 [DataRow] 或 [DynamicData]? - - - - - Test '{0}' execution has been aborted. - 已中止测试“{0}”的执行。 - - - - - + + + + + + Test '{0}' exceeded execution timeout period. + 测试“{0}”的执行超时。 + + + + + Running tests in any of the provided sources is not supported for the selected platform + 选定的平台不支持在任何提供的源中运行测试 + + + + + TestCleanup method {0}.{1} threw exception. {2}: {3}. + TestCleanup 方法 {0}。{1} 引发异常。{2}: {3}。 + + + + + --- End of inner exception stack trace --- + ---内部异常堆栈跟踪结束--- + + + + + UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly. + UTA014: {0}: 在一个程序集内部,不能定义多个具有 AssemblyCleanup 特性的方法。 + + + + + UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly. + UTA013: {0}: 在一个程序集内部,不能定义多个具有 AssemblyInitialize 特性的方法。 + + + + + UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class. + UTA026: {0}: 在一个类内部,不能定义多个具有 ClassCleanup 特性的方法。 + + + + + UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class. + UTA025: {0}: 在一个类内部,不能定义多个具有 ClassInitialize 特性的方法。 + + + + + UTA024: {0}: Cannot define more than one method with the TestCleanup attribute. + UTA024: {0}: 不能定义多个具有 TestCleanup 特性的方法。 + + + + + UTA018: {0}: Cannot define more than one method with the TestInitialize attribute. + UTA018: {0}: 不能定义多个具有 TestInitialize 特性的方法。 + + + + + Initialization method {0}.{1} threw exception. {2}. + 初始化方法 {0}.{1} 引发异常。{2}。 + + + + + Unable to create instance of class {0}. Error: {1}. + 无法创建类 {0} 的实例。错误: {1}。 + + + + + Unable to set TestContext property for the class {0}. Error: {1}. + 无法设置类 {0} 的 TestContext 属性。错误: {1}。 + + + + + (Failed to get the message for an exception of type {0} due to an exception.) + (因异常而未能获取类型为 {0} 的异常的消息。) + + + + + UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, public and must not be read-only. For example: public TestContext TestContext. + UTA031: 类 {0} 没有有效的 TestContext 属性。TestContext 的类型必须为 TestContext,必须是非静态的、公共的而且不能为只读。例如: public TestContext TestContext。 + + + + + UTA001: TestClass attribute defined on non-public class {0} + UTA001: 在非公共类 {0} 上定义的 TestClass 特性 + + + + + MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}. + 由于 {2},MSTestAdapter 未能在程序集“{1}”的类“{0}”中发现测试。 + + + + + {0}: {1} + {0}: {1} + + + + + Unable to load types from the test source '{0}'. Some or all of the tests in this source may not be discovered. +Error: {1} + 无法从测试源“{0}”加载类型。可能无法发现此源中的部分或所有测试。 +错误: {1} + + + + + UTA015: A generic method cannot be a test method. {0}.{1} has invalid signature + UTA015: 泛型方法不可为测试方法。{0}.{1} 具有无效签名 + + + + + The parameter should not be null or empty. + 参数不应为 NULL 或为空。 + + + + + The parameter must be greater than zero. + 参数必须大于零。 + + + + + MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}'. Reason {2}. + MSTestAdapter 未能在程序集“{1}”的类“{0}”中发现测试。原因是 {2}。 + + + + + File does not exist: {0} + 文件不存在: {0} + + + + + UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be Task. Example: public async Task Test.Class1.Test2() + UTA007: 在类 {0} 中定义的方法 {1} 没有正确的签名。用 [TestMethod] 特性标记的测试方法必须是返回类型为 void 的非静态的公共方法,并且不应采用任何参数。示例: public void Test.Class1.Test()。此外,如果你在测试方法中使用异步等待,则返回类型必须为 Task。示例: public async Task Test.Class1.Test2() + + + + + TestContext cannot be Null. + TestContext 不能为 NULL。 + + + + + Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3} + 程序集清理方法 {0}.{1} 失败。错误消息: {2}。StackTrace: {3} + + + + + Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution. + 程序集初始化方法 {0}.{1} 引发异常。{2}: {3}。正在中止测试的执行。 + + + + + Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3} + 类清理方法 {0}.{1} 失败。错误消息: {2}。堆栈跟踪: {3} + + + + + Class Initialization method {0}.{1} threw exception. {2}: {3}. + 类初始化方法 {0}.{1} 引发异常。{2}: {3}。 + + + + + Exception thrown while executing test. If using extension of TestMethodAttribute then please contact vendor. Error message: {0} + 执行测试时引发了异常。如果使用的是扩展 TestMethodAttribute,请与供应商联系。错误消息: {0} + + + + + Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor. + 执行测试时出错。扩展未返回任何结果。如果使用的是扩展 TestMethodAttribute ,请与供应商联系。 + + + + + Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. + 方法 {0}.{1} 具有错误的签名。该方法必须是静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为 Task。 + + + + + Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be Task. + 方法 {0}.{1} 具有错误的签名。该方法必须是静态的公共方法、不返回值并且应采用一个 TestContext 类型的参数。此外,如果在方法中使用同步等待,则返回类型必须为 Task。 + + + + + UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be a valid integer value and cannot be less than 0. + UTA054: {0}.{1} 具有无效的 Timeout 特性。超时值必须是有效的整数值而且不能小于 0。 + + + + + UTA023: {0}: Cannot define predefined property {2} on method {1}. + UTA023: {0}: 不能在方法 {1} 上定义预定义属性 {2}。 + + + + + UTA022: {0}.{1}: The custom property "{2}" is already defined. Using "{3}" as value. + UTA022: {0}.{1}: 已经定义了自定义属性“{2}”。其值为“{3}”。 + + + + + UTA021: {0}: Null or empty custom property defined on method {1}. The custom property must have a valid name. + UTA021: {0}: 对方法 {1} 定义了为 NULL 或为空的自定义属性。自定义属性必须具有有效名称。 + + + + + Method {0}.{1} does not exist. + 方法 {0}.{1} 不存在。 + + + + + Unable to get default constructor for class {0}. + 无法获取类 {0} 的默认构造函数。 + + + + + Unable to find property {0}.TestContext. Error:{1}. + 无法找到属性 {0}.TestContext。错误: {1}。 + + + + + The {0}.TestContext has incorrect type. + {0}.TestContext 的类型不正确。 + + + + + Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. + 方法 {0}.{1} 具有错误的签名。该方法必须是非静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为 Task。 + + + + + Unable to get type {0}. Error: {1}. + 无法获取类型 {0}。错误: {1}。 + + + + + Test method {0} was not found. + 未找到测试方法 {0}。 + + + + + Debug Trace: + 调试跟踪: + + + + + Failed to obtain the exception thrown by test method {0}.{1}. + 未能获取测试方法 {0}.{1} 引发的异常。 + + + + + Test method {0}.{1} threw exception: +{2} + 测试方法 {0}.{1} 引发了异常: +{2} + + + + + {0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread. + {0} 对于 UWP 项目,如果在测试中使用 UI 对象,请考虑使用 [UITestMethod] 属性代替 [TestMethod] 属性在 UI 线程中执行测试。 + + + + + MSTestAdapterV2 + MSTestAdapterV2 + + + + + Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'. + 设置“{0}”无效。意外的 XmlAttribute:“{1}”。 + + + + + Invalid settings '{0}'. Unexpected XmlElement: '{1}'. + 设置“{0}”无效。意外的 XmlElement:“{1}”。 + + + + + {0} (Data Row {1}) + {0} (数据行 {1}) + + + + + The ExpectedException attribute defined on test method {0}.{1} threw an exception during construction. +{2} + 测试方法 {0}.{1} 上定义的 ExpectedException 属性在构造过程中引发了一个异常。 +{2} + + + + + The test method {0}.{1} has multiple attributes derived from ExpectedExceptionBaseAttribute defined on it. Only one such attribute is allowed. + 测试方法 {0}.{1} 具有多个在该方法上定义的 ExpectedExceptionBaseAttribute 的派生属性。仅允许一个此类属性。 + + + + + Warning : A testsettings file or a vsmdi file is not supported with the MSTest V2 Adapter. + 警告: MSTest V2 适配器不支持 testsettings 文件或 vsmdi 文件。 + + + + + TestContext Messages: + TestContext 消息: + + + + + Error calling Test Cleanup method for test class {0}: {1} + 为测试类 {0} 调用 Test Cleanup 方法时出错: {1} + + + + + TestCleanup Stack Trace + TestCleanup 堆栈跟踪 + + + + + [MSTest][Discovery][{0}] {1} + [MSTest][发现][{0}] {1} + + + + + MSTest Executor: Test Parallelization enabled for {0} (Workers: {1}, Scope: {2}). + MSTest 执行程序: 为 {0} 启用测试并行化(辅助角色: {1},范围: {2})。 + + + + + Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}. + 为“范围”指定的值“{0}”无效。受支持的范围为 {1}。 + 'Scope' is a setting name that shouldn't be localized. + + + Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer. + 为“辅助角色”指定的值“{0}”无效。该值应为非负整数。 + `Workers` is a setting name that shouldn't be localized. + + + Failed to discover tests from assembly {0}. Reason:{1} + 未能发现程序集 {0} 中的测试。原因: {1} + + + + + Only data driven test methods can have parameters. Did you intend to use [DataRow] or [DynamicData]? + 只有数据驱动的测试方法可具有参数。曾打算使用 [DataRow] 或 [DynamicData]? + + + + + Test '{0}' execution has been aborted. + 已中止测试“{0}”的执行。 + + + + + \ No newline at end of file diff --git a/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hant.xlf b/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hant.xlf index b9dae6ec1a..2049bc6425 100644 --- a/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hant.xlf +++ b/src/Adapter/MSTest.CoreAdapter/Resources/xlf/Resource.zh-Hant.xlf @@ -1,407 +1,407 @@ - - - - - - Test '{0}' exceeded execution timeout period. - 測試 '{0}' 超過執行逾時期限。 - - - - - Running tests in any of the provided sources is not supported for the selected platform - 所選取的平台不支援在任何提供的來源中執行測試 - - - - - TestCleanup method {0}.{1} threw exception. {2}: {3}. - TestCleanup 方法 {0}.{1} 擲回例外狀況。{2}: {3}。 - - - - - --- End of inner exception stack trace --- - --- 已到達內部例外狀況堆疊追蹤的結尾 --- - - - - - UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly. - UTA014: {0}: 組件內不可定義一個以上具有 AssemblyCleanup 屬性的方法。 - - - - - UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly. - UTA013: {0}: 組件內不可定義一個以上具有 AssemblyInitialize 屬性的方法。 - - - - - UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class. - UTA026: {0}: 類別內不可定義一個以上具有 ClassCleanup 屬性的方法。 - - - - - UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class. - UTA025: {0}: 類別內不可定義一個以上具有 ClassInitialize 屬性的方法。 - - - - - UTA024: {0}: Cannot define more than one method with the TestCleanup attribute. - UTA024: {0}: 不可定義一個以上具有 TestCleanup 屬性的方法。 - - - - - UTA018: {0}: Cannot define more than one method with the TestInitialize attribute. - UTA018: {0}: 不可定義一個以上具有 TestInitialize 屬性的方法。 - - - - - Initialization method {0}.{1} threw exception. {2}. - 初始設定方法 {0}.{1} 擲回例外狀況。{2}。 - - - - - Unable to create instance of class {0}. Error: {1}. - 無法建立類別 {0} 的執行個體。錯誤: {1}。 - - - - - Unable to set TestContext property for the class {0}. Error: {1}. - 無法設定類別 {0} 的 TestContext 屬性。錯誤: {1}。 - - - - - (Failed to get the message for an exception of type {0} due to an exception.) - (因為發生例外狀況,所以無法取得類型 {0} 之例外狀況的訊息。) - - - - - UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, public and must not be read-only. For example: public TestContext TestContext. - UTA031: 類別 {0} 不具備有效的 TestContext 屬性。TestContext 必須屬於 TestContext 類型,同時必須為非靜態、公用,且不可為唯讀。例如: public TestContext TestContext。 - - - - - UTA001: TestClass attribute defined on non-public class {0} - UTA001: 在非公用類別 {0} 上定義了 TestClass 屬性 - - - - - MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}. - MSTestAdapter 無法在組件 '{1}' 的類別 '{0}' 中探索測試,因為 {2}。 - - - - - {0}: {1} - {0}: {1} - - - - - Unable to load types from the test source '{0}'. Some or all of the tests in this source may not be discovered. -Error: {1} - 無法從測試來源 '{0}' 載入類型。有可能無法探索此來源中的部分或所有測試。 -錯誤: {1} - - - - - UTA015: A generic method cannot be a test method. {0}.{1} has invalid signature - UTA015: 泛型方法不可為測試方法。{0}.{1} 具有無效的簽章 - - - - - The parameter should not be null or empty. - 參數不可為 null 或空白。 - - - - - The parameter must be greater than zero. - 參數必須大於零。 - - - - - MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}'. Reason {2}. - MSTestAdapter 無法在組件 '{1}' 的類別 '{0}' 中探索測試。原因 {2}。 - - - - - File does not exist: {0} - 檔案不存在: {0} - - - - - UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be Task. Example: public async Task Test.Class1.Test2() - UTA007: 類別 {0} 中定義的方法 {1} 沒有正確的簽章。以 [TestMethod] 屬性標記的測試方法必須為非靜態、公用的傳回類型 void,而且不應該接受任何參數。範例: public void Test.Class1.Test()。此外,如果您在測試方法中使用 async-await,則傳回類型必須是 Task。範例: public async Task Test.Class1.Test2() - - - - - TestContext cannot be Null. - TestContext 不可為 Null。 - - - - - Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3} - 組件清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3} - - - - - Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution. - 組件初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。正在中止測試執行。 - - - - - Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3} - 類別清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3} - - - - - Class Initialization method {0}.{1} threw exception. {2}: {3}. - 類別初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。 - - - - - Exception thrown while executing test. If using extension of TestMethodAttribute then please contact vendor. Error message: {0} - 執行測試時擲回例外狀況。如果您使用 TestMethodAttribute 的擴充功能,請連絡廠商。錯誤訊息: {0} - - - - - Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor. - 執行測試時發生錯誤。擴充功能未傳回任何結果。如果您使用 TestMethodAttribute 的擴充功能,請連絡廠商。 - - - - - Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. - 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 Task。 - - - - - Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be Task. - 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,而且接受一個類型為 TestContext 的參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 Task。 - - - - - UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be a valid integer value and cannot be less than 0. - UTA054: {0}.{1} 中具有無效的 Timeout 屬性。逾時值必須是有效的整數值,而且不可小於 0。 - - - - - UTA023: {0}: Cannot define predefined property {2} on method {1}. - UTA023: {0}: 不可在方法 {1} 上定義預先定義的屬性 {2}。 - - - - - UTA022: {0}.{1}: The custom property "{2}" is already defined. Using "{3}" as value. - UTA022: {0}.{1}: 自訂屬性 "{2}" 已經定義過了。請使用 "{3}" 為值。 - - - - - UTA021: {0}: Null or empty custom property defined on method {1}. The custom property must have a valid name. - UTA021: {0}: 在方法 {1} 上定義了 Null 或空白的自訂屬性。自訂屬性的名稱必須有效。 - - - - - Method {0}.{1} does not exist. - 方法 {0}.{1} 不存在。 - - - - - Unable to get default constructor for class {0}. - 無法取得類別 {0} 的預設建構函式。 - - - - - Unable to find property {0}.TestContext. Error:{1}. - 找不到屬性 {0}.TestContext。錯誤: {1}。 - - - - - The {0}.TestContext has incorrect type. - {0}.TestContext 有不正確的類型。 - - - - - Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. - 方法 {0}.{1} 有錯誤的簽章。方法必須為非靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 Task。 - - - - - Unable to get type {0}. Error: {1}. - 無法取得類型 {0}。錯誤: {1}。 - - - - - Test method {0} was not found. - 找不到測試方法 {0}。 - - - - - Debug Trace: - 偵錯追蹤: - - - - - Failed to obtain the exception thrown by test method {0}.{1}. - 無法取得測試方法 {0}.{1} 所擲回的例外狀況。 - - - - - Test method {0}.{1} threw exception: -{2} - 測試方法 {0}.{1} 擲回例外狀況: -{2} - - - - - {0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread. - {0} 針對 UWP 專案,如果您在測試中使用 UI 物件,請考慮使用 [UITestMethod] 屬性取代 [TestMethod] 在 UI 執行緒中執行測試。 - - - - - MSTestAdapterV2 - MSTestAdapterV2 - - - - - Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'. - 設定 '{0}' 無效。未預期的 XmlAttribute: '{1}'。 - - - - - Invalid settings '{0}'. Unexpected XmlElement: '{1}'. - 設定 '{0}' 無效。未預期的 XmlElement: '{1}'。 - - - - - {0} (Data Row {1}) - {0} (資料列 {1}) - - - - - The ExpectedException attribute defined on test method {0}.{1} threw an exception during construction. -{2} - 測試方法 {0} 上定義的 ExpectedException 屬性。{1} 在建構期間擲回例外狀況。 -{2} - - - - - The test method {0}.{1} has multiple attributes derived from ExpectedExceptionBaseAttribute defined on it. Only one such attribute is allowed. - 測試方法 {0}。{1} 上定義了多個衍生自 ExpectedExceptionBaseAttribute 的屬性。只允許一個此類屬性。 - - - - - Warning : A testsettings file or a vsmdi file is not supported with the MSTest V2 Adapter. - 警告: MSTest V2 配接器不支援 testsettings 檔案 vsmdi 檔案。 - - - - - TestContext Messages: - TestContext 訊息: - - - - - Error calling Test Cleanup method for test class {0}: {1} - 呼叫測試類別 {0} 的測試清除方法時發生錯誤: {1} - - - - - TestCleanup Stack Trace - TestCleanup 堆疊追蹤 - - - - - [MSTest][Discovery][{0}] {1} - [MSTest][Discovery][{0}] {1} - - - - - MSTest Executor: Test Parallelization enabled for {0} (Workers: {1}, Scope: {2}). - MSTest 執行程式: 已為 {0} 啟用平行測試。(Workers: {1},Scope: {2})。 - - - - - Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}. - 為 'Scope' 指定的值 '{0}' 無效。支援的範圍為 {1}。 - 'Scope' is a setting name that shouldn't be localized. - - - Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer. - 為 'Workers' 的值 '{0}' 無效。值應為非負整數。 - `Workers` is a setting name that shouldn't be localized. - - - Failed to discover tests from assembly {0}. Reason:{1} - 無法從組件 {0} 中探索測試。原因:{1} - - - - - Only data driven test methods can have parameters. Did you intend to use [DataRow] or [DynamicData]? - 只有資料驅動的測試方法可以有參數。您想要使用的是否為 [DataRow] 或 [DynamicData]? - - - - - Test '{0}' execution has been aborted. - 測試 '{0}' 執行已中止。 - - - - - + + + + + + Test '{0}' exceeded execution timeout period. + 測試 '{0}' 超過執行逾時期限。 + + + + + Running tests in any of the provided sources is not supported for the selected platform + 所選取的平台不支援在任何提供的來源中執行測試 + + + + + TestCleanup method {0}.{1} threw exception. {2}: {3}. + TestCleanup 方法 {0}.{1} 擲回例外狀況。{2}: {3}。 + + + + + --- End of inner exception stack trace --- + --- 已到達內部例外狀況堆疊追蹤的結尾 --- + + + + + UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly. + UTA014: {0}: 組件內不可定義一個以上具有 AssemblyCleanup 屬性的方法。 + + + + + UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly. + UTA013: {0}: 組件內不可定義一個以上具有 AssemblyInitialize 屬性的方法。 + + + + + UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class. + UTA026: {0}: 類別內不可定義一個以上具有 ClassCleanup 屬性的方法。 + + + + + UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class. + UTA025: {0}: 類別內不可定義一個以上具有 ClassInitialize 屬性的方法。 + + + + + UTA024: {0}: Cannot define more than one method with the TestCleanup attribute. + UTA024: {0}: 不可定義一個以上具有 TestCleanup 屬性的方法。 + + + + + UTA018: {0}: Cannot define more than one method with the TestInitialize attribute. + UTA018: {0}: 不可定義一個以上具有 TestInitialize 屬性的方法。 + + + + + Initialization method {0}.{1} threw exception. {2}. + 初始設定方法 {0}.{1} 擲回例外狀況。{2}。 + + + + + Unable to create instance of class {0}. Error: {1}. + 無法建立類別 {0} 的執行個體。錯誤: {1}。 + + + + + Unable to set TestContext property for the class {0}. Error: {1}. + 無法設定類別 {0} 的 TestContext 屬性。錯誤: {1}。 + + + + + (Failed to get the message for an exception of type {0} due to an exception.) + (因為發生例外狀況,所以無法取得類型 {0} 之例外狀況的訊息。) + + + + + UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, public and must not be read-only. For example: public TestContext TestContext. + UTA031: 類別 {0} 不具備有效的 TestContext 屬性。TestContext 必須屬於 TestContext 類型,同時必須為非靜態、公用,且不可為唯讀。例如: public TestContext TestContext。 + + + + + UTA001: TestClass attribute defined on non-public class {0} + UTA001: 在非公用類別 {0} 上定義了 TestClass 屬性 + + + + + MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}. + MSTestAdapter 無法在組件 '{1}' 的類別 '{0}' 中探索測試,因為 {2}。 + + + + + {0}: {1} + {0}: {1} + + + + + Unable to load types from the test source '{0}'. Some or all of the tests in this source may not be discovered. +Error: {1} + 無法從測試來源 '{0}' 載入類型。有可能無法探索此來源中的部分或所有測試。 +錯誤: {1} + + + + + UTA015: A generic method cannot be a test method. {0}.{1} has invalid signature + UTA015: 泛型方法不可為測試方法。{0}.{1} 具有無效的簽章 + + + + + The parameter should not be null or empty. + 參數不可為 null 或空白。 + + + + + The parameter must be greater than zero. + 參數必須大於零。 + + + + + MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}'. Reason {2}. + MSTestAdapter 無法在組件 '{1}' 的類別 '{0}' 中探索測試。原因 {2}。 + + + + + File does not exist: {0} + 檔案不存在: {0} + + + + + UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be Task. Example: public async Task Test.Class1.Test2() + UTA007: 類別 {0} 中定義的方法 {1} 沒有正確的簽章。以 [TestMethod] 屬性標記的測試方法必須為非靜態、公用的傳回類型 void,而且不應該接受任何參數。範例: public void Test.Class1.Test()。此外,如果您在測試方法中使用 async-await,則傳回類型必須是 Task。範例: public async Task Test.Class1.Test2() + + + + + TestContext cannot be Null. + TestContext 不可為 Null。 + + + + + Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3} + 組件清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3} + + + + + Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution. + 組件初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。正在中止測試執行。 + + + + + Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3} + 類別清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3} + + + + + Class Initialization method {0}.{1} threw exception. {2}: {3}. + 類別初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。 + + + + + Exception thrown while executing test. If using extension of TestMethodAttribute then please contact vendor. Error message: {0} + 執行測試時擲回例外狀況。如果您使用 TestMethodAttribute 的擴充功能,請連絡廠商。錯誤訊息: {0} + + + + + Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor. + 執行測試時發生錯誤。擴充功能未傳回任何結果。如果您使用 TestMethodAttribute 的擴充功能,請連絡廠商。 + + + + + Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. + 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 Task。 + + + + + Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be Task. + 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,而且接受一個類型為 TestContext 的參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 Task。 + + + + + UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be a valid integer value and cannot be less than 0. + UTA054: {0}.{1} 中具有無效的 Timeout 屬性。逾時值必須是有效的整數值,而且不可小於 0。 + + + + + UTA023: {0}: Cannot define predefined property {2} on method {1}. + UTA023: {0}: 不可在方法 {1} 上定義預先定義的屬性 {2}。 + + + + + UTA022: {0}.{1}: The custom property "{2}" is already defined. Using "{3}" as value. + UTA022: {0}.{1}: 自訂屬性 "{2}" 已經定義過了。請使用 "{3}" 為值。 + + + + + UTA021: {0}: Null or empty custom property defined on method {1}. The custom property must have a valid name. + UTA021: {0}: 在方法 {1} 上定義了 Null 或空白的自訂屬性。自訂屬性的名稱必須有效。 + + + + + Method {0}.{1} does not exist. + 方法 {0}.{1} 不存在。 + + + + + Unable to get default constructor for class {0}. + 無法取得類別 {0} 的預設建構函式。 + + + + + Unable to find property {0}.TestContext. Error:{1}. + 找不到屬性 {0}.TestContext。錯誤: {1}。 + + + + + The {0}.TestContext has incorrect type. + {0}.TestContext 有不正確的類型。 + + + + + Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be Task. + 方法 {0}.{1} 有錯誤的簽章。方法必須為非靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 Task。 + + + + + Unable to get type {0}. Error: {1}. + 無法取得類型 {0}。錯誤: {1}。 + + + + + Test method {0} was not found. + 找不到測試方法 {0}。 + + + + + Debug Trace: + 偵錯追蹤: + + + + + Failed to obtain the exception thrown by test method {0}.{1}. + 無法取得測試方法 {0}.{1} 所擲回的例外狀況。 + + + + + Test method {0}.{1} threw exception: +{2} + 測試方法 {0}.{1} 擲回例外狀況: +{2} + + + + + {0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread. + {0} 針對 UWP 專案,如果您在測試中使用 UI 物件,請考慮使用 [UITestMethod] 屬性取代 [TestMethod] 在 UI 執行緒中執行測試。 + + + + + MSTestAdapterV2 + MSTestAdapterV2 + + + + + Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'. + 設定 '{0}' 無效。未預期的 XmlAttribute: '{1}'。 + + + + + Invalid settings '{0}'. Unexpected XmlElement: '{1}'. + 設定 '{0}' 無效。未預期的 XmlElement: '{1}'。 + + + + + {0} (Data Row {1}) + {0} (資料列 {1}) + + + + + The ExpectedException attribute defined on test method {0}.{1} threw an exception during construction. +{2} + 測試方法 {0} 上定義的 ExpectedException 屬性。{1} 在建構期間擲回例外狀況。 +{2} + + + + + The test method {0}.{1} has multiple attributes derived from ExpectedExceptionBaseAttribute defined on it. Only one such attribute is allowed. + 測試方法 {0}。{1} 上定義了多個衍生自 ExpectedExceptionBaseAttribute 的屬性。只允許一個此類屬性。 + + + + + Warning : A testsettings file or a vsmdi file is not supported with the MSTest V2 Adapter. + 警告: MSTest V2 配接器不支援 testsettings 檔案 vsmdi 檔案。 + + + + + TestContext Messages: + TestContext 訊息: + + + + + Error calling Test Cleanup method for test class {0}: {1} + 呼叫測試類別 {0} 的測試清除方法時發生錯誤: {1} + + + + + TestCleanup Stack Trace + TestCleanup 堆疊追蹤 + + + + + [MSTest][Discovery][{0}] {1} + [MSTest][Discovery][{0}] {1} + + + + + MSTest Executor: Test Parallelization enabled for {0} (Workers: {1}, Scope: {2}). + MSTest 執行程式: 已為 {0} 啟用平行測試。(Workers: {1},Scope: {2})。 + + + + + Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}. + 為 'Scope' 指定的值 '{0}' 無效。支援的範圍為 {1}。 + 'Scope' is a setting name that shouldn't be localized. + + + Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer. + 為 'Workers' 的值 '{0}' 無效。值應為非負整數。 + `Workers` is a setting name that shouldn't be localized. + + + Failed to discover tests from assembly {0}. Reason:{1} + 無法從組件 {0} 中探索測試。原因:{1} + + + + + Only data driven test methods can have parameters. Did you intend to use [DataRow] or [DynamicData]? + 只有資料驅動的測試方法可以有參數。您想要使用的是否為 [DataRow] 或 [DynamicData]? + + + + + Test '{0}' execution has been aborted. + 測試 '{0}' 執行已中止。 + + + + + \ No newline at end of file diff --git a/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hans.xlf b/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hans.xlf index a5184a5a81..d14c296570 100644 --- a/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hans.xlf +++ b/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hans.xlf @@ -1,139 +1,139 @@ - - - - - - Could not find file '{0}'. - 找不到文件“{0}”。 - - - - - The parameter should not be null or empty. - 参数不应为 NULL 或为空。 - - - - - Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed. - 测试运行部署问题: 错误的部署项:“{0}”: 输出目录“{1}”指定将该项部署到部署根目录的外部,这是不允许的。 - - - - - Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3} - 测试运行部署问题: 未能访问由部署项“{0}”指定的输出目录“{1}”,将不会部署该项: {2}: {3} - - - - - Test Run deployment issue: Failed to access the file '{0}': {1}: {2} - 测试运行部署问题: 未能访问文件“{0}”: {1}: {2} - - - - - Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3} - 测试运行部署问题: 未能将文件“{0}”复制到“{1}”: {2}: {3} - - - - - Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1} - 测试运行部署问题: 未能部署测试存储区“{0}”的依赖项: {1} - - - - - Test Run deployment issue: Failed to get the file for {0}: {1}: {2} - 测试运行部署问题: 未能获得 {0} 的文件: {1}: {2} - - - - - Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2} - 测试运行部署问题: 在获取 {0} 的附属程序集时出错: {1}: {2} - - - - - deployment item '{0}' - 部署项“{0}” - - - - - Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters. - 无效的部署项: 指定的路径“{0}”或输出目录“{1}”包含非法字符。 - - - - - Invalid deployment item: the output directory cannot be null. - 无效的部署项: 输出目录不能为 NULL。 - - - - - Invalid deployment item: the specified output directory '{0}' is not relative. - 无效的部署项: 指定的输出目录“{0}”不相关。 - - - - - Invalid deployment item: the path must contain at least one character. - 无效的部署项: 路径必须包含至少一个字符。 - - - - - deployment item '{0}' (output directory '{1}') - 部署项“{0}”(输出目录“{1}”) - - - - - MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again. - MSTestAdapter 在其设置“{1}”中遇到意外的元素“{0}”。删除此元素,然后再试一次。 - - - - - Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1} - 测试运行部署问题: 找不到程序集或模块“{0}”。原因: {1} - - - - - Test Run deployment issue: The assembly or module '{0}' was not found. - 测试运行部署问题: 找不到程序集或模块“{0}”。 - - - - - {0}_{1} {2} - {0}_{1} {2} - - - - - Data source '{0}' cannot be found in the test configuration settings - 在测试配置设置中找不到数据源“{0}” - - - - - The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0} - 单元测试适配器未能连接到数据源或读取数据。有关解决此错误的详细信息,请查看 MSDN 库中的“数据驱动单元测试疑难解答”(http://go.microsoft.com/fwlink/?LinkId=62412)。错误详细信息: {0} - - - - - Wrong number of objects for permutation. Should be greater than zero. - 排列的对象数不正确。应大于零。 - - - - - + + + + + + Could not find file '{0}'. + 找不到文件“{0}”。 + + + + + The parameter should not be null or empty. + 参数不应为 NULL 或为空。 + + + + + Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed. + 测试运行部署问题: 错误的部署项:“{0}”: 输出目录“{1}”指定将该项部署到部署根目录的外部,这是不允许的。 + + + + + Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3} + 测试运行部署问题: 未能访问由部署项“{0}”指定的输出目录“{1}”,将不会部署该项: {2}: {3} + + + + + Test Run deployment issue: Failed to access the file '{0}': {1}: {2} + 测试运行部署问题: 未能访问文件“{0}”: {1}: {2} + + + + + Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3} + 测试运行部署问题: 未能将文件“{0}”复制到“{1}”: {2}: {3} + + + + + Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1} + 测试运行部署问题: 未能部署测试存储区“{0}”的依赖项: {1} + + + + + Test Run deployment issue: Failed to get the file for {0}: {1}: {2} + 测试运行部署问题: 未能获得 {0} 的文件: {1}: {2} + + + + + Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2} + 测试运行部署问题: 在获取 {0} 的附属程序集时出错: {1}: {2} + + + + + deployment item '{0}' + 部署项“{0}” + + + + + Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters. + 无效的部署项: 指定的路径“{0}”或输出目录“{1}”包含非法字符。 + + + + + Invalid deployment item: the output directory cannot be null. + 无效的部署项: 输出目录不能为 NULL。 + + + + + Invalid deployment item: the specified output directory '{0}' is not relative. + 无效的部署项: 指定的输出目录“{0}”不相关。 + + + + + Invalid deployment item: the path must contain at least one character. + 无效的部署项: 路径必须包含至少一个字符。 + + + + + deployment item '{0}' (output directory '{1}') + 部署项“{0}”(输出目录“{1}”) + + + + + MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again. + MSTestAdapter 在其设置“{1}”中遇到意外的元素“{0}”。删除此元素,然后再试一次。 + + + + + Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1} + 测试运行部署问题: 找不到程序集或模块“{0}”。原因: {1} + + + + + Test Run deployment issue: The assembly or module '{0}' was not found. + 测试运行部署问题: 找不到程序集或模块“{0}”。 + + + + + {0}_{1} {2} + {0}_{1} {2} + + + + + Data source '{0}' cannot be found in the test configuration settings + 在测试配置设置中找不到数据源“{0}” + + + + + The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0} + 单元测试适配器未能连接到数据源或读取数据。有关解决此错误的详细信息,请查看 MSDN 库中的“数据驱动单元测试疑难解答”(http://go.microsoft.com/fwlink/?LinkId=62412)。错误详细信息: {0} + + + + + Wrong number of objects for permutation. Should be greater than zero. + 排列的对象数不正确。应大于零。 + + + + + \ No newline at end of file diff --git a/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hant.xlf b/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hant.xlf index b74f74ce8f..011b5f256f 100644 --- a/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hant.xlf +++ b/src/Adapter/PlatformServices.Shared/netstandard1.3/Resources/xlf/Resource.zh-Hant.xlf @@ -1,139 +1,139 @@ - - - - - - Could not find file '{0}'. - 找不到檔案 '{0}'。 - - - - - The parameter should not be null or empty. - 參數不可為 null 或空白。 - - - - - Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed. - 測試回合部署問題: 部署項目錯誤: '{0}': 輸出目錄 '{1}' 指定要將項目部署到部署根目錄之外,但不允許這情況。 - - - - - Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3} - 測試回合部署問題: 無法存取由部署項目 '{0}' 指定的輸出目錄 '{1}',將不會部署該項目: {2}: {3} - - - - - Test Run deployment issue: Failed to access the file '{0}': {1}: {2} - 測試回合部署問題: 無法存取檔案 '{0}': {1}: {2} - - - - - Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3} - 測試回合部署問題: 無法將檔案 '{0}' 複製到 '{1}': {2}: {3} - - - - - Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1} - 測試回合部署問題: 無法部署測試儲存區 '{0}' 的相依性: {1} - - - - - Test Run deployment issue: Failed to get the file for {0}: {1}: {2} - 測試回合部署問題: 無法取得 {0} 的檔案: {1}: {2} - - - - - Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2} - 測試回合部署問題: 取得 {0} 的附屬組件時發生錯誤: {1}: {2} - - - - - deployment item '{0}' - 部署項目 '{0}' - - - - - Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters. - 部署項目無效: 指定的路徑 '{0}' 或輸出目錄 '{1}' 含有非法字元。 - - - - - Invalid deployment item: the output directory cannot be null. - 部署項目無效: 輸出目錄不可為 null。 - - - - - Invalid deployment item: the specified output directory '{0}' is not relative. - 部署項目無效: 指定的輸出目錄 '{0}' 不是相對目錄。 - - - - - Invalid deployment item: the path must contain at least one character. - 部署項目無效: 路徑至少必須包含一個字元。 - - - - - deployment item '{0}' (output directory '{1}') - 部署項目 '{0}' (輸出目錄 '{1}') - - - - - MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again. - MSTestAdapter 在其設定 '{1}' 中遇到未預期的項目 '{0}'。請移除此項目,然後再試一次。 - - - - - Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1} - 測試回合部署問題: 找不到組件或模組 '{0}'。原因: {1} - - - - - Test Run deployment issue: The assembly or module '{0}' was not found. - 測試回合部署問題: 找不到組件或模組 '{0}'。 - - - - - {0}_{1} {2} - {0}_{1} {2} - - - - - Data source '{0}' cannot be found in the test configuration settings - 在測試組態設定中找不到資料來源 '{0}' - - - - - The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0} - 單元測試配接器無法連接至資料來源或無法讀取資料。如需為此錯誤進行疑難排解的詳細資訊,請參閱 MSDN Library 上的<如何:建立資料驅動型單元測試>(http://go.microsoft.com/fwlink/?LinkId=62412)。錯誤詳細資料: {0} - - - - - Wrong number of objects for permutation. Should be greater than zero. - 排列的物件數目錯誤。應大於零。 - - - - - + + + + + + Could not find file '{0}'. + 找不到檔案 '{0}'。 + + + + + The parameter should not be null or empty. + 參數不可為 null 或空白。 + + + + + Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed. + 測試回合部署問題: 部署項目錯誤: '{0}': 輸出目錄 '{1}' 指定要將項目部署到部署根目錄之外,但不允許這情況。 + + + + + Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3} + 測試回合部署問題: 無法存取由部署項目 '{0}' 指定的輸出目錄 '{1}',將不會部署該項目: {2}: {3} + + + + + Test Run deployment issue: Failed to access the file '{0}': {1}: {2} + 測試回合部署問題: 無法存取檔案 '{0}': {1}: {2} + + + + + Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3} + 測試回合部署問題: 無法將檔案 '{0}' 複製到 '{1}': {2}: {3} + + + + + Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1} + 測試回合部署問題: 無法部署測試儲存區 '{0}' 的相依性: {1} + + + + + Test Run deployment issue: Failed to get the file for {0}: {1}: {2} + 測試回合部署問題: 無法取得 {0} 的檔案: {1}: {2} + + + + + Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2} + 測試回合部署問題: 取得 {0} 的附屬組件時發生錯誤: {1}: {2} + + + + + deployment item '{0}' + 部署項目 '{0}' + + + + + Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters. + 部署項目無效: 指定的路徑 '{0}' 或輸出目錄 '{1}' 含有非法字元。 + + + + + Invalid deployment item: the output directory cannot be null. + 部署項目無效: 輸出目錄不可為 null。 + + + + + Invalid deployment item: the specified output directory '{0}' is not relative. + 部署項目無效: 指定的輸出目錄 '{0}' 不是相對目錄。 + + + + + Invalid deployment item: the path must contain at least one character. + 部署項目無效: 路徑至少必須包含一個字元。 + + + + + deployment item '{0}' (output directory '{1}') + 部署項目 '{0}' (輸出目錄 '{1}') + + + + + MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again. + MSTestAdapter 在其設定 '{1}' 中遇到未預期的項目 '{0}'。請移除此項目,然後再試一次。 + + + + + Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1} + 測試回合部署問題: 找不到組件或模組 '{0}'。原因: {1} + + + + + Test Run deployment issue: The assembly or module '{0}' was not found. + 測試回合部署問題: 找不到組件或模組 '{0}'。 + + + + + {0}_{1} {2} + {0}_{1} {2} + + + + + Data source '{0}' cannot be found in the test configuration settings + 在測試組態設定中找不到資料來源 '{0}' + + + + + The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0} + 單元測試配接器無法連接至資料來源或無法讀取資料。如需為此錯誤進行疑難排解的詳細資訊,請參閱 MSDN Library 上的<如何:建立資料驅動型單元測試>(http://go.microsoft.com/fwlink/?LinkId=62412)。錯誤詳細資料: {0} + + + + + Wrong number of objects for permutation. Should be greater than zero. + 排列的物件數目錯誤。應大於零。 + + + + + \ No newline at end of file diff --git a/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hans.xlf b/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hans.xlf index e63a330b22..74747b16b1 100644 --- a/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hans.xlf +++ b/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hans.xlf @@ -1,351 +1,351 @@ - - - - - - Access string has invalid syntax. - 访问字符串的语法无效。 - - - - - The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0} - 所需集合包含 <{2}> 的 {1} 个匹配项。实际集合包含 {3} 个匹配项。{0} - - - - - Duplicate item found:<{1}>. {0} - 找到了重复项: <{1}>。{0} - - - - - Expected:<{1}>. Actual:<{2}>. {0} - 应为: <{1}>,实际为: <{2}>。{0} - - - - - Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} - 预期值 <{1}> 和实际值 <{2}> 之间的差不应大于 <{3}>。{0} - - - - - Expected:<{1}>. Case is different for actual value:<{2}>. {0} - 应为: <{1}>。实际值的大小写有所不同: <{2}>。{0} - - - - - Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0} - 应为: <{1} ({2})>,实际为: <{3} ({4})>。{0} - - - - - Expected any value except:<{1}>. Actual:<{2}>. {0} - 应为: <{1}> 以外的任意值,实际为: <{2}>。{0} - - - - - Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} - 预期值 <{1}> 和实际值 <{2}> 之间的差应大于 <{3}>。{0} - - - - - Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0} - 不要向 AreSame() 传递值类型。转换为 Object 的值将永远不会相等。请考虑使用 AreEqual()。{0} - - - - - Both collections are empty. {0} - 这两个集合都为空。{0} - - - - - Both collection contain same elements. - 这两个集合包含相同的元素。 - - - - - Both collection references point to the same collection object. {0} - 这两个集合引用指向同一个集合对象。{0} - - - - - Both collections contain the same elements. {0} - 这两个集合包含相同的元素。{0} - - - - - {0}({1}) - {0}({1}) - - - - - String '{0}' does not contain string '{1}'. {2}. - 字符串“{0}”不包含字符串“{1}”。{2}。 - - - - - The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0} - 集合中元素的数量不匹配。应为: <{1}>,实际为: <{2}>。{0} - - - - - Element at index {0} do not match. - 索引 {0} 处的元素不匹配。 - - - - - Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0} - 索引 {1} 处的元素不是所需类型。所需类型为: <{2}>,实际类型为: <{3}>。{0} - - - - - Element at index {1} is (null). Expected type:<{2}>.{0} - 索引 {1} 处的元素为(null)。所需类型为: <{2}>。{0} - - - - - String '{0}' does not end with string '{1}'. {2}. - 字符串“{0}”不以字符串“{1}”结尾。{2}。 - - - - - Invalid argument- EqualsTester can't use nulls. - 参数无效 - EqualsTester 不能使用 NULL。 - - - - - Cannot convert object of type {0} to {1}. - 无法将类型为 {0} 的对象转换为 {1}。 - - - - - {0} failed. {1} - {0} 失败。{1} - - - - - The internal object referenced is no longer valid. - 所引用的内部对象不再有效。 - - - - - The parameter '{0}' is invalid. {1}. - 参数“{0}”无效。{1}。 - - - - - {0} Expected type:<{1}>. Actual type:<{2}>. - {0} 类型应为: <{1}>。类型实为: <{2}>。 - - - - - String '{0}' does not match pattern '{1}'. {2}. - 字符串“{0}”与模式“{1}”不匹配。{2}。 - - - - - Wrong Type:<{1}>. Actual type:<{2}>. {0} - 错误类型为: <{1}>,实际类型为: <{2}>。{0} - - - - - String '{0}' matches pattern '{1}'. {2}. - 字符串“{0}”与模式“{1}”匹配。{2}。 - - - - - Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead. - Assert.Equals 不应用于断言。请改用 Assert.AreEqual 和重载。 - - - - - - The member specified ({0}) could not be found. You might need to regenerate your private accessor, - or the member may be private and defined on a base class. If the latter is true, you need to pass the type - that defines the member into PrivateObject's constructor. - - - 未能找到指定的成员({0})。可能需要重新生成专用访问器, - 或者该成员可能是私有成员并且是在基类上定义的。如果属于后一种情况,则需要将定义 - 该成员的类型传递到 PrivateObject 的构造函数中。 - - - - - - - The constructor with the specified signature could not be found. You might need to regenerate your private accessor, - or the member may be private and defined on a base class. If the latter is true, you need to pass the type - that defines the member into PrivateObject's constructor. - - - 未能找到具有指定签名的构造函数。可能需要重新生成专用访问器, - 或者该成员可能是私有成员并且是在基类上定义的。如果属于后一种情况,则需要将定义 - 该成员的类型传递到 PrivateObject 的构造函数。 - - - - - - The parameter '{0}' is invalid. The value cannot be null. {1}. - 参数“{0}”无效。值不能为 NULL。{1}。 - - - - - Different number of elements. - 不同数量的元素。 - - - - - String '{0}' does not start with string '{1}'. {2}. - 字符串“{0}”没有以字符串“{1}”开头。{2}。 - - - - - The property {0} has type {1}; expected type {2}. - 属性 {0} 的类型为 {1};类型应为 {2}。 - - - - - (null) - (NULL) - - - - - (object) - (对象) - - - - - The expected exception type must be System.Exception or a type derived from System.Exception. - 预期的异常类型必须为 System.Exception 或从 System.Exception 派生的类型。 - - - - - Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method. - 测试方法未引发异常。预期会因测试方法上定义的属性 {0} 引发一个异常。 - - - - - Test method did not throw expected exception {0}. {1} - 测试方法未引发预期异常 {0}. {1} - - - - - Test method threw exception {0}, but exception {1} was expected. Exception message: {2} - 测试方法引发异常 {0},但预期异常是 {1}。异常消息: {2} - - - - - Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2} - 测试方法引发异常 {0},但预期异常是 {1} 或其派生类型。异常消息: {2} - - - - - (Failed to get the message for an exception of type {0} due to an exception.) - (因异常而未能获取类型为 {0} 的异常的消息。) - - - - - No exception thrown. {1} exception was expected. {0} - 未引发异常。原来预计会引发异常 {1}。{0} - - - - - Threw exception {2}, but exception {1} was expected. {0} -Exception Message: {3} -Stack Trace: {4} - 原来预计会引发异常 {1},但引发了异常 {2}。{0} -异常消息: {3} -堆栈跟踪: {4} - - - - - No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute. - 未指定测试数据源。使用 DataTestMethodAttribute 至少需要一个 TestDataSource。 - - - - - {0} ({1}) - {0} ({1}) - - - - - async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute. - 不支持具有 UITestMethodAttribute 的异步 TestMethod。请删除异步或使用 TestMethodAttribute。 - - - - - Property or method {0} on {1} does not return IEnumerable<object[]>. - {1} 上的属性或方法 {0} 不返回 IEnumerable<object[]>。 - - - - - Value returned by property or method {0} shouldn't be null. - 属性或方法 {0} 返回的值不能为 null。 - - - - - Method {0} must match the expected signature: public static {1} {0}({2}). - 方法 {0} 必须匹配预期签名: public static {1} {0}({2})。 - - - - - Property or method {0} on {1} returns empty IEnumerable<object[]>. - {1} 上的属性或方法 {0} 返回空 IEnumerable<object[]>。 - - - - - + + + + + + Access string has invalid syntax. + 访问字符串的语法无效。 + + + + + The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0} + 所需集合包含 <{2}> 的 {1} 个匹配项。实际集合包含 {3} 个匹配项。{0} + + + + + Duplicate item found:<{1}>. {0} + 找到了重复项: <{1}>。{0} + + + + + Expected:<{1}>. Actual:<{2}>. {0} + 应为: <{1}>,实际为: <{2}>。{0} + + + + + Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} + 预期值 <{1}> 和实际值 <{2}> 之间的差不应大于 <{3}>。{0} + + + + + Expected:<{1}>. Case is different for actual value:<{2}>. {0} + 应为: <{1}>。实际值的大小写有所不同: <{2}>。{0} + + + + + Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0} + 应为: <{1} ({2})>,实际为: <{3} ({4})>。{0} + + + + + Expected any value except:<{1}>. Actual:<{2}>. {0} + 应为: <{1}> 以外的任意值,实际为: <{2}>。{0} + + + + + Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} + 预期值 <{1}> 和实际值 <{2}> 之间的差应大于 <{3}>。{0} + + + + + Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0} + 不要向 AreSame() 传递值类型。转换为 Object 的值将永远不会相等。请考虑使用 AreEqual()。{0} + + + + + Both collections are empty. {0} + 这两个集合都为空。{0} + + + + + Both collection contain same elements. + 这两个集合包含相同的元素。 + + + + + Both collection references point to the same collection object. {0} + 这两个集合引用指向同一个集合对象。{0} + + + + + Both collections contain the same elements. {0} + 这两个集合包含相同的元素。{0} + + + + + {0}({1}) + {0}({1}) + + + + + String '{0}' does not contain string '{1}'. {2}. + 字符串“{0}”不包含字符串“{1}”。{2}。 + + + + + The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0} + 集合中元素的数量不匹配。应为: <{1}>,实际为: <{2}>。{0} + + + + + Element at index {0} do not match. + 索引 {0} 处的元素不匹配。 + + + + + Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0} + 索引 {1} 处的元素不是所需类型。所需类型为: <{2}>,实际类型为: <{3}>。{0} + + + + + Element at index {1} is (null). Expected type:<{2}>.{0} + 索引 {1} 处的元素为(null)。所需类型为: <{2}>。{0} + + + + + String '{0}' does not end with string '{1}'. {2}. + 字符串“{0}”不以字符串“{1}”结尾。{2}。 + + + + + Invalid argument- EqualsTester can't use nulls. + 参数无效 - EqualsTester 不能使用 NULL。 + + + + + Cannot convert object of type {0} to {1}. + 无法将类型为 {0} 的对象转换为 {1}。 + + + + + {0} failed. {1} + {0} 失败。{1} + + + + + The internal object referenced is no longer valid. + 所引用的内部对象不再有效。 + + + + + The parameter '{0}' is invalid. {1}. + 参数“{0}”无效。{1}。 + + + + + {0} Expected type:<{1}>. Actual type:<{2}>. + {0} 类型应为: <{1}>。类型实为: <{2}>。 + + + + + String '{0}' does not match pattern '{1}'. {2}. + 字符串“{0}”与模式“{1}”不匹配。{2}。 + + + + + Wrong Type:<{1}>. Actual type:<{2}>. {0} + 错误类型为: <{1}>,实际类型为: <{2}>。{0} + + + + + String '{0}' matches pattern '{1}'. {2}. + 字符串“{0}”与模式“{1}”匹配。{2}。 + + + + + Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead. + Assert.Equals 不应用于断言。请改用 Assert.AreEqual 和重载。 + + + + + + The member specified ({0}) could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + + + 未能找到指定的成员({0})。可能需要重新生成专用访问器, + 或者该成员可能是私有成员并且是在基类上定义的。如果属于后一种情况,则需要将定义 + 该成员的类型传递到 PrivateObject 的构造函数中。 + + + + + + + The constructor with the specified signature could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + + + 未能找到具有指定签名的构造函数。可能需要重新生成专用访问器, + 或者该成员可能是私有成员并且是在基类上定义的。如果属于后一种情况,则需要将定义 + 该成员的类型传递到 PrivateObject 的构造函数。 + + + + + + The parameter '{0}' is invalid. The value cannot be null. {1}. + 参数“{0}”无效。值不能为 NULL。{1}。 + + + + + Different number of elements. + 不同数量的元素。 + + + + + String '{0}' does not start with string '{1}'. {2}. + 字符串“{0}”没有以字符串“{1}”开头。{2}。 + + + + + The property {0} has type {1}; expected type {2}. + 属性 {0} 的类型为 {1};类型应为 {2}。 + + + + + (null) + (NULL) + + + + + (object) + (对象) + + + + + The expected exception type must be System.Exception or a type derived from System.Exception. + 预期的异常类型必须为 System.Exception 或从 System.Exception 派生的类型。 + + + + + Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method. + 测试方法未引发异常。预期会因测试方法上定义的属性 {0} 引发一个异常。 + + + + + Test method did not throw expected exception {0}. {1} + 测试方法未引发预期异常 {0}. {1} + + + + + Test method threw exception {0}, but exception {1} was expected. Exception message: {2} + 测试方法引发异常 {0},但预期异常是 {1}。异常消息: {2} + + + + + Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2} + 测试方法引发异常 {0},但预期异常是 {1} 或其派生类型。异常消息: {2} + + + + + (Failed to get the message for an exception of type {0} due to an exception.) + (因异常而未能获取类型为 {0} 的异常的消息。) + + + + + No exception thrown. {1} exception was expected. {0} + 未引发异常。原来预计会引发异常 {1}。{0} + + + + + Threw exception {2}, but exception {1} was expected. {0} +Exception Message: {3} +Stack Trace: {4} + 原来预计会引发异常 {1},但引发了异常 {2}。{0} +异常消息: {3} +堆栈跟踪: {4} + + + + + No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute. + 未指定测试数据源。使用 DataTestMethodAttribute 至少需要一个 TestDataSource。 + + + + + {0} ({1}) + {0} ({1}) + + + + + async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute. + 不支持具有 UITestMethodAttribute 的异步 TestMethod。请删除异步或使用 TestMethodAttribute。 + + + + + Property or method {0} on {1} does not return IEnumerable<object[]>. + {1} 上的属性或方法 {0} 不返回 IEnumerable<object[]>。 + + + + + Value returned by property or method {0} shouldn't be null. + 属性或方法 {0} 返回的值不能为 null。 + + + + + Method {0} must match the expected signature: public static {1} {0}({2}). + 方法 {0} 必须匹配预期签名: public static {1} {0}({2})。 + + + + + Property or method {0} on {1} returns empty IEnumerable<object[]>. + {1} 上的属性或方法 {0} 返回空 IEnumerable<object[]>。 + + + + + \ No newline at end of file diff --git a/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hant.xlf b/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hant.xlf index a155106b40..f7254d6e60 100644 --- a/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hant.xlf +++ b/src/TestFramework/MSTest.Core/Resources/xlf/FrameworkMessages.zh-Hant.xlf @@ -1,351 +1,351 @@ - - - - - - Access string has invalid syntax. - 存取字串有無效的語法。 - - - - - The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0} - 預期在集合中包含 {1} 項 <{2}>,但實際的集合卻有 {3} 項。{0} - - - - - Duplicate item found:<{1}>. {0} - 找到重複的項目: <{1}>。{0} - - - - - Expected:<{1}>. Actual:<{2}>. {0} - 預期: <{1}>。實際: <{2}>。{0} - - - - - Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} - 預期值 <{1}> 和實際值 <{2}> 之間的預期差異沒有大於 <{3}>。{0} - - - - - Expected:<{1}>. Case is different for actual value:<{2}>. {0} - 預期: <{1}>。大小寫與下列實際值不同: <{2}>。{0} - - - - - Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0} - 預期: <{1} ({2})>。實際: <{3} ({4})>。{0} - - - - - Expected any value except:<{1}>. Actual:<{2}>. {0} - 預期任何值 (<{1}> 除外)。實際: <{2}>。{0} - - - - - Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} - 預期值 <{1}> 和實際值 <{2}> 之間的預期差異大於 <{3}>。{0} - - - - - Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0} - 不要將實值型別傳遞給 AreSame()。轉換成 Object 的值從此不再一樣。請考慮使用 AreEqual()。{0} - - - - - Both collections are empty. {0} - 兩個集合皆空白。{0} - - - - - Both collection contain same elements. - 兩個集合含有相同的項目。 - - - - - Both collection references point to the same collection object. {0} - 兩個集合參考都指向同一個集合物件。{0} - - - - - Both collections contain the same elements. {0} - 兩個集合含有相同的項目。{0} - - - - - {0}({1}) - {0}({1}) - - - - - String '{0}' does not contain string '{1}'. {2}. - 字串 '{0}' 未包含字串 '{1}'。{2}。 - - - - - The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0} - 集合中的項目數目不符。預期: <{1}>。實際: <{2}>。{0} - - - - - Element at index {0} do not match. - 位於索引 {0} 的項目不符。 - - - - - Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0} - 位於索引 {1} 的項目不是預期的類型。預期的類型: <{2}>。實際的類型: <{3}>。{0} - - - - - Element at index {1} is (null). Expected type:<{2}>.{0} - 位於索引 {1} 的項目是 (null)。預期的類型: <{2}>。{0} - - - - - String '{0}' does not end with string '{1}'. {2}. - 字串 '{0}' 不是以字串 '{1}' 結尾。{2}。 - - - - - Invalid argument- EqualsTester can't use nulls. - 引數無效 - EqualsTester 不可使用 null。 - - - - - Cannot convert object of type {0} to {1}. - 無法將 {0} 類型的物件轉換為 {1}。 - - - - - {0} failed. {1} - {0} 失敗。 {1} - - - - - The internal object referenced is no longer valid. - 所參考的內部物件已不再有效。 - - - - - The parameter '{0}' is invalid. {1}. - 參數 '{0}' 無效。{1}。 - - - - - {0} Expected type:<{1}>. Actual type:<{2}>. - {0} 預期的類型: <{1}>,實際的類型: <{2}>。 - - - - - String '{0}' does not match pattern '{1}'. {2}. - 字串 '{0}' 與模式 '{1}' 不符。{2}。 - - - - - Wrong Type:<{1}>. Actual type:<{2}>. {0} - 錯誤的類型: <{1}>。實際的類型: <{2}>。{0} - - - - - String '{0}' matches pattern '{1}'. {2}. - 字串 '{0}' 與模式 '{1}' 相符。{2}。 - - - - - Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead. - Assert.Equals 不應使用於判斷提示。請改用 Assert.AreEqual 及多載。 - - - - - - The member specified ({0}) could not be found. You might need to regenerate your private accessor, - or the member may be private and defined on a base class. If the latter is true, you need to pass the type - that defines the member into PrivateObject's constructor. - - - 找不到所指定的成員 ({0})。您可能必須重新產生私用存取子, - 或者該成員可能為私用,並且定義在基底類別上。如果是後者, - 您必須將定義該成員的類型傳遞至 PrivateObject 的建構函式。 - - - - - - - The constructor with the specified signature could not be found. You might need to regenerate your private accessor, - or the member may be private and defined on a base class. If the latter is true, you need to pass the type - that defines the member into PrivateObject's constructor. - - - 找不到具有所指定簽章的建構函式。您可能必須重新產生私用存取子, - 或者該成員可能為私用,並且定義在基底類別上。如果是後者,您必須 - 將定義該成員的類型傳遞至 PrivateObject 的建構函式。 - - - - - - The parameter '{0}' is invalid. The value cannot be null. {1}. - 參數 '{0}' 無效。此值不可為 null。{1}。 - - - - - Different number of elements. - 項目數目不同。 - - - - - String '{0}' does not start with string '{1}'. {2}. - 字串 '{0}' 不是以字串 '{1}' 開頭。{2}。 - - - - - The property {0} has type {1}; expected type {2}. - 屬性 {0} 具有類型 {1}; 預期為類型 {2}。 - - - - - (null) - (null) - - - - - (object) - (物件) - - - - - The expected exception type must be System.Exception or a type derived from System.Exception. - 預期的例外狀況類型必須是 System.Exception 或衍生自 System.Exception 的類型。 - - - - - Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method. - 測試方法未擲回例外狀況。測試方法上定義的屬性 {0} 需要例外狀況。 - - - - - Test method did not throw expected exception {0}. {1} - 測試方法未擲回預期的例外狀況 {0}。{1} - - - - - Test method threw exception {0}, but exception {1} was expected. Exception message: {2} - 測試方法擲回例外狀況 {0},但需要的是例外狀況 {1}。例外狀況訊息: {2} - - - - - Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2} - 測試方法擲回例外狀況 {0},但需要的是例外狀況 {1} 或是衍生自其的類型。例外狀況訊息: {2} - - - - - (Failed to get the message for an exception of type {0} due to an exception.) - (因為發生例外狀況,所以無法取得類型 {0} 之例外狀況的訊息。) - - - - - No exception thrown. {1} exception was expected. {0} - 未擲回任何例外狀況。預期為 {1} 例外狀況。{0} - - - - - Threw exception {2}, but exception {1} was expected. {0} -Exception Message: {3} -Stack Trace: {4} - 擲回例外狀況 {2},但需要的是例外狀況 {1}。{0} -例外狀況訊息: {3} -堆疊追蹤: {4} - - - - - No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute. - 未指定任何測試資料來源。必須至少有一個具備 DataTestMethodAttribute 的 TestDataSource。 - - - - - {0} ({1}) - {0} ({1}) - - - - - async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute. - 不支援有 UITestMethodAttribute 的 async TestMethod。請移除 async 或使用 TestMethodAttribute。 - - - - - Property or method {0} on {1} does not return IEnumerable<object[]>. - {1} 上的屬性或方法 {0} 並未傳回 IEnumerable<object[]>。 - - - - - Value returned by property or method {0} shouldn't be null. - 屬性或方法 {0} 傳回的值不可為 null。 - - - - - Method {0} must match the expected signature: public static {1} {0}({2}). - 方法 {0} 必須與正確的簽章相符: public static {1} {0}({2})。 - - - - - Property or method {0} on {1} returns empty IEnumerable<object[]>. - {1} 上的屬性或方法 {0} 傳回空的 IEnumerable<object[]>。 - - - - - + + + + + + Access string has invalid syntax. + 存取字串有無效的語法。 + + + + + The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0} + 預期在集合中包含 {1} 項 <{2}>,但實際的集合卻有 {3} 項。{0} + + + + + Duplicate item found:<{1}>. {0} + 找到重複的項目: <{1}>。{0} + + + + + Expected:<{1}>. Actual:<{2}>. {0} + 預期: <{1}>。實際: <{2}>。{0} + + + + + Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} + 預期值 <{1}> 和實際值 <{2}> 之間的預期差異沒有大於 <{3}>。{0} + + + + + Expected:<{1}>. Case is different for actual value:<{2}>. {0} + 預期: <{1}>。大小寫與下列實際值不同: <{2}>。{0} + + + + + Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0} + 預期: <{1} ({2})>。實際: <{3} ({4})>。{0} + + + + + Expected any value except:<{1}>. Actual:<{2}>. {0} + 預期任何值 (<{1}> 除外)。實際: <{2}>。{0} + + + + + Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0} + 預期值 <{1}> 和實際值 <{2}> 之間的預期差異大於 <{3}>。{0} + + + + + Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0} + 不要將實值型別傳遞給 AreSame()。轉換成 Object 的值從此不再一樣。請考慮使用 AreEqual()。{0} + + + + + Both collections are empty. {0} + 兩個集合皆空白。{0} + + + + + Both collection contain same elements. + 兩個集合含有相同的項目。 + + + + + Both collection references point to the same collection object. {0} + 兩個集合參考都指向同一個集合物件。{0} + + + + + Both collections contain the same elements. {0} + 兩個集合含有相同的項目。{0} + + + + + {0}({1}) + {0}({1}) + + + + + String '{0}' does not contain string '{1}'. {2}. + 字串 '{0}' 未包含字串 '{1}'。{2}。 + + + + + The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0} + 集合中的項目數目不符。預期: <{1}>。實際: <{2}>。{0} + + + + + Element at index {0} do not match. + 位於索引 {0} 的項目不符。 + + + + + Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0} + 位於索引 {1} 的項目不是預期的類型。預期的類型: <{2}>。實際的類型: <{3}>。{0} + + + + + Element at index {1} is (null). Expected type:<{2}>.{0} + 位於索引 {1} 的項目是 (null)。預期的類型: <{2}>。{0} + + + + + String '{0}' does not end with string '{1}'. {2}. + 字串 '{0}' 不是以字串 '{1}' 結尾。{2}。 + + + + + Invalid argument- EqualsTester can't use nulls. + 引數無效 - EqualsTester 不可使用 null。 + + + + + Cannot convert object of type {0} to {1}. + 無法將 {0} 類型的物件轉換為 {1}。 + + + + + {0} failed. {1} + {0} 失敗。 {1} + + + + + The internal object referenced is no longer valid. + 所參考的內部物件已不再有效。 + + + + + The parameter '{0}' is invalid. {1}. + 參數 '{0}' 無效。{1}。 + + + + + {0} Expected type:<{1}>. Actual type:<{2}>. + {0} 預期的類型: <{1}>,實際的類型: <{2}>。 + + + + + String '{0}' does not match pattern '{1}'. {2}. + 字串 '{0}' 與模式 '{1}' 不符。{2}。 + + + + + Wrong Type:<{1}>. Actual type:<{2}>. {0} + 錯誤的類型: <{1}>。實際的類型: <{2}>。{0} + + + + + String '{0}' matches pattern '{1}'. {2}. + 字串 '{0}' 與模式 '{1}' 相符。{2}。 + + + + + Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead. + Assert.Equals 不應使用於判斷提示。請改用 Assert.AreEqual 及多載。 + + + + + + The member specified ({0}) could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + + + 找不到所指定的成員 ({0})。您可能必須重新產生私用存取子, + 或者該成員可能為私用,並且定義在基底類別上。如果是後者, + 您必須將定義該成員的類型傳遞至 PrivateObject 的建構函式。 + + + + + + + The constructor with the specified signature could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + + + 找不到具有所指定簽章的建構函式。您可能必須重新產生私用存取子, + 或者該成員可能為私用,並且定義在基底類別上。如果是後者,您必須 + 將定義該成員的類型傳遞至 PrivateObject 的建構函式。 + + + + + + The parameter '{0}' is invalid. The value cannot be null. {1}. + 參數 '{0}' 無效。此值不可為 null。{1}。 + + + + + Different number of elements. + 項目數目不同。 + + + + + String '{0}' does not start with string '{1}'. {2}. + 字串 '{0}' 不是以字串 '{1}' 開頭。{2}。 + + + + + The property {0} has type {1}; expected type {2}. + 屬性 {0} 具有類型 {1}; 預期為類型 {2}。 + + + + + (null) + (null) + + + + + (object) + (物件) + + + + + The expected exception type must be System.Exception or a type derived from System.Exception. + 預期的例外狀況類型必須是 System.Exception 或衍生自 System.Exception 的類型。 + + + + + Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method. + 測試方法未擲回例外狀況。測試方法上定義的屬性 {0} 需要例外狀況。 + + + + + Test method did not throw expected exception {0}. {1} + 測試方法未擲回預期的例外狀況 {0}。{1} + + + + + Test method threw exception {0}, but exception {1} was expected. Exception message: {2} + 測試方法擲回例外狀況 {0},但需要的是例外狀況 {1}。例外狀況訊息: {2} + + + + + Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2} + 測試方法擲回例外狀況 {0},但需要的是例外狀況 {1} 或是衍生自其的類型。例外狀況訊息: {2} + + + + + (Failed to get the message for an exception of type {0} due to an exception.) + (因為發生例外狀況,所以無法取得類型 {0} 之例外狀況的訊息。) + + + + + No exception thrown. {1} exception was expected. {0} + 未擲回任何例外狀況。預期為 {1} 例外狀況。{0} + + + + + Threw exception {2}, but exception {1} was expected. {0} +Exception Message: {3} +Stack Trace: {4} + 擲回例外狀況 {2},但需要的是例外狀況 {1}。{0} +例外狀況訊息: {3} +堆疊追蹤: {4} + + + + + No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute. + 未指定任何測試資料來源。必須至少有一個具備 DataTestMethodAttribute 的 TestDataSource。 + + + + + {0} ({1}) + {0} ({1}) + + + + + async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute. + 不支援有 UITestMethodAttribute 的 async TestMethod。請移除 async 或使用 TestMethodAttribute。 + + + + + Property or method {0} on {1} does not return IEnumerable<object[]>. + {1} 上的屬性或方法 {0} 並未傳回 IEnumerable<object[]>。 + + + + + Value returned by property or method {0} shouldn't be null. + 屬性或方法 {0} 傳回的值不可為 null。 + + + + + Method {0} must match the expected signature: public static {1} {0}({2}). + 方法 {0} 必須與正確的簽章相符: public static {1} {0}({2})。 + + + + + Property or method {0} on {1} returns empty IEnumerable<object[]>. + {1} 上的屬性或方法 {0} 傳回空的 IEnumerable<object[]>。 + + + + + \ No newline at end of file