1 <?xml version="1.0" encoding="utf-8"?>
2 <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">
3 <file datatype="xml" source-language="en" target-language="zh-Hans" original="../Strings.resx">
5 <trans-unit id="ConfigurationNotSupportedDescription">
6 <source>Source-generated P/Invokes will ignore any configuration that is not supported.</source>
7 <target state="translated">源生成的 P/Invoke 将忽略任何不受支持的配置。</target>
10 <trans-unit id="ConfigurationNotSupportedMessage">
11 <source>The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular `DllImport` instead.</source>
12 <target state="translated">源生成的 P/Invoke 不支持“{0}”配置。如果需要指定的配置,请改用常规的 “DllImport”。</target>
15 <trans-unit id="ConfigurationNotSupportedMessageMarshallingInfo">
16 <source>The specified marshalling configuration is not supported by source-generated P/Invokes. {0}.</source>
17 <target state="translated">源生成的 P/Invoke 不支持指定的封送配置。{0}。</target>
20 <trans-unit id="ConfigurationNotSupportedMessageParameter">
21 <source>The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular `DllImport` instead.</source>
22 <target state="translated">源生成的 P/Invoke 不支持为参数“{1}”指定的“{0}”配置。如果需要指定的配置,请改用常规的 `DllImport`。</target>
25 <trans-unit id="ConfigurationNotSupportedMessageReturn">
26 <source>The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular `DllImport` instead.</source>
27 <target state="translated">源生成的 P/Invoke 不支持为方法“{1}”的返回值指定的“{0}”配置。如果需要指定的配置,请改用常规的 “DllImport”。</target>
30 <trans-unit id="ConfigurationNotSupportedMessageValue">
31 <source>The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular `DllImport` instead.</source>
32 <target state="translated">源生成的 P/Invoke 不支持为“{1}”指定的值“{0}”。如果需要指定的配置,请改用常规的 “DllImport”。</target>
35 <trans-unit id="ConfigurationNotSupportedTitle">
36 <source>Specified configuration is not supported by source-generated P/Invokes.</source>
37 <target state="translated">源生成的 P/Invoke 不支持指定的配置。</target>
40 <trans-unit id="InterfaceTypeNotSupportedMessage">
41 <source>Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'.</source>
42 <target state="translated">“ComInterfaceType”值“{0}”不支持使用“GeneratedComInterfaceAttribute”和“InterfaceTypeAttribute”。</target>
45 <trans-unit id="InterfaceTypeNotSupportedTitle">
46 <source>'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type.</source>
47 <target state="translated">“GeneratedComInterfaceType”不支持提供给同一类型的“InterfaceTypeAttribute”的“ComInterfaceType”值。</target>
50 <trans-unit id="InvalidAttributedMethodContainingTypeMissingModifiersMessage">
51 <source>Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'.</source>
52 <target state="translated">方法“{0}”包含在未标记为 “partial” 的类型“{1}”中。P/Invoke 源生成将忽略方法“{0}”。</target>
55 <trans-unit id="InvalidAttributedMethodContainingTypeMissingUnmanagedObjectUnwrapperAttributeMessage">
56 <source>Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. </source>
57 <target state="new">Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. </target>
60 <trans-unit id="InvalidAttributedMethodDescription">
61 <source>Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic.</source>
62 <target state="translated">标记为 “LibraryImportAttribute” 的方法应为 “static”、“partial” 和非泛型。P/Invoke 源生成将忽略非“static”、“non--partial” 或泛型的方法。</target>
65 <trans-unit id="InvalidAttributedMethodSignatureMessage">
66 <source>Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'.</source>
67 <target state="translated">在标记为 “LibraryImportAttribute” 时,方法“{0}”应为 “static”、“partial” 和非泛型。P/Invoke 源生成将忽略方法“{0}”。</target>
70 <trans-unit id="InvalidExceptionMarshallingConfigurationDescription">
71 <source>The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid.</source>
72 <target state="translated">“ExceptionMarshalling” 和 “ExceptionMarshallingCustomType” 的配置无效。</target>
75 <trans-unit id="InvalidExceptionMarshallingConfigurationMessage">
76 <source>The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1}</source>
77 <target state="translated">方法“{0}”上的 “ExceptionMarshalling” 和 “ExceptionMarshallingCustomType” 配置无效。{1}</target>
78 <note>{1} is a message containing additional details about what is not valid</note>
80 <trans-unit id="InvalidExceptionMarshallingConfigurationMissingCustomType">
81 <source>'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'.</source>
82 <target state="translated">当 “ExceptionMarshalling” 设置为 “ExceptionMarshalling.Custom” 时,必须指定 “ExceptionMarshallingCustomType”。</target>
85 <trans-unit id="InvalidExceptionMarshallingConfigurationNotCustom">
86 <source>'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified.</source>
87 <target state="translated">指定 “ExceptionMarshallingCustomType” 时,应将 “ExceptionMarshalling” 设置为 “ExceptionMarshalling.Custom”。</target>
90 <trans-unit id="InvalidExceptionMarshallingValue">
91 <source>The provided value is not a known flag of the 'ExceptionMarshalling' enum.</source>
92 <target state="translated">提供的值不是 “ExceptionMarshalling” 枚举的已知标志。</target>
95 <trans-unit id="InvalidStringMarshallingConfigurationDescription">
96 <source>The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid.</source>
97 <target state="translated">“StringMarshalling” 和 “StringMarshallingCustomType” 的配置无效。</target>
100 <trans-unit id="InvalidStringMarshallingConfigurationMessage">
101 <source>The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1}</source>
102 <target state="translated">方法“{0}”上的 “StringMarshalling” 和 “StringMarshallingCustomType” 的配置无效。{1}</target>
103 <note>{1} is a message containing additional details about what is not valid</note>
105 <trans-unit id="InvalidStringMarshallingConfigurationMissingCustomType">
106 <source>'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'.</source>
107 <target state="translated">在 “StringMarshalling” 设置为 “StringMarshalling.Custom” 时,必须指定 “StringMarshallingCustomType”。</target>
110 <trans-unit id="InvalidStringMarshallingConfigurationNotCustom">
111 <source>'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified.</source>
112 <target state="translated">在指定 “StringMarshallingCustomType” 时,应将 “StringMarshalling” 设置为 “StringMarshalling.Custom”。</target>
115 <trans-unit id="InvalidVirtualMethodIndexAttributeUsage">
116 <source>Invalid 'VirtualMethodIndexAttribute' usage</source>
117 <target state="translated">“VirtualMethodIndexAttribute” 使用情况无效</target>
120 <trans-unit id="MethodNotDeclaredInAttributedInterfaceDescription">
121 <source>All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets.</source>
122 <target state="new">All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets.</target>
125 <trans-unit id="MethodNotDeclaredInAttributedInterfaceMessage">
126 <source>The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute</source>
127 <target state="new">The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute</target>
130 <trans-unit id="MethodNotDeclaredInAttributedInterfaceTitle">
131 <source>Method is declared in different partial declaration than the 'GeneratedComInterface' attribute.</source>
132 <target state="new">Method is declared in different partial declaration than the 'GeneratedComInterface' attribute.</target>
135 <trans-unit id="TypeNotSupportedDescription">
136 <source>For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type.</source>
137 <target state="translated">对于源生成的 P/Invoke 不支持的类型,生成的 P/Invoke 将依赖基础运行时来封送指定的类型。</target>
140 <trans-unit id="TypeNotSupportedMessageParameter">
141 <source>The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'.</source>
142 <target state="translated">源生成的 P/Invoke 不支持“{0}”类型。生成的源将不处理参数“{1}”的封送。</target>
145 <trans-unit id="TypeNotSupportedMessageParameterWithDetails">
146 <source>{0} The generated source will not handle marshalling of parameter '{1}'.</source>
147 <target state="translated">{0} 生成的源将不处理参数“{1}”的封送。</target>
148 <note>{0} is a message containing additional details about what is not supported
149 {1} is the name of the parameter</note>
151 <trans-unit id="TypeNotSupportedMessageReturn">
152 <source>The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'.</source>
153 <target state="translated">源生成的 P/Invoke 不支持“{0}”类型。生成的源将不处理方法“{1}”的返回值的封送。</target>
156 <trans-unit id="TypeNotSupportedMessageReturnWithDetails">
157 <source>{0} The generated source will not handle marshalling of the return value of method '{1}'.</source>
158 <target state="translated">{0} 生成的源将不处理方法“{1}”的返回值的封送。</target>
159 <note>{0} is a message containing additional details about what is not supported
160 {1} is the name of the method</note>
162 <trans-unit id="TypeNotSupportedTitle">
163 <source>Specified type is not supported by source-generated P/Invokes</source>
164 <target state="translated">源生成的 P/Invoke 不支持指定的类型</target>