|
7 | 7 | <target state="translated">Přidat chybějící vlastní typu zařazovacích členů</target> |
8 | 8 | <note /> |
9 | 9 | </trans-unit> |
10 | | - <trans-unit id="CallerAllocConstructorMustHaveBufferSizeDescription"> |
| 10 | + <trans-unit id="CallerAllocFromManagedMustHaveBufferSizeDescription"> |
11 | 11 | <source>When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer.</source> |
12 | 12 | <target state="translated">Pokud se obrazec „Ze spravovaných na nespravované s vyrovnávací pamětí přidělenou volajícímu“ používá metodou FromManaged, která přebírá Span<T> u zařazovacího typu, musí typ poskytovat statickou vlastnost BufferSize, která určuje počet elementů ve vyrovnávací paměti přidělené volajícímu.</target> |
13 | 13 | <note /> |
14 | 14 | </trans-unit> |
15 | | - <trans-unit id="CallerAllocConstructorMustHaveBufferSizeMessage"> |
| 15 | + <trans-unit id="CallerAllocFromManagedMustHaveBufferSizeMessage"> |
16 | 16 | <source>The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>'</source> |
17 | 17 | <target state="translated">Zařazovací typ {0} musí obsahovat statickou celočíselnou vlastnost BufferSize určenou jen pro čtení, která určuje velikost vyrovnávací paměti přidělené volajícímu, protože obsahuje metodu FromManaged, která přebírá Span<{1}> přidělený volajícímu.</target> |
18 | 18 | <note /> |
|
117 | 117 | <target state="translated">Zařazovací typ nemá požadovaný tvar</target> |
118 | 118 | <note /> |
119 | 119 | </trans-unit> |
| 120 | + <trans-unit id="ElementMarshallerCannotBeStatefulDescription"> |
| 121 | + <source>A marshaller for an element scenario cannot be stateful.</source> |
| 122 | + <target state="new">A marshaller for an element scenario cannot be stateful.</target> |
| 123 | + <note /> |
| 124 | + </trans-unit> |
| 125 | + <trans-unit id="ElementMarshallerCannotBeStatefulMessage"> |
| 126 | + <source>The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}'</source> |
| 127 | + <target state="new">The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}'</target> |
| 128 | + <note /> |
| 129 | + </trans-unit> |
120 | 130 | <trans-unit id="ElementTypesOfReturnTypesMustMatchDescription"> |
121 | 131 | <source>The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method.</source> |
122 | 132 | <target state="new">The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method.</target> |
|
163 | 173 | <note /> |
164 | 174 | </trans-unit> |
165 | 175 | <trans-unit id="FromUnmanagedOverloadsNotSupportedMessage"> |
166 | | - <source>Overloading the 'FromUnmanaged' method is not supported in custom marshallers</source> |
167 | | - <target state="translated">Přetížení metody FromUnmanaged není u vlastního zařazování podporováno.</target> |
| 176 | + <source>The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers</source> |
| 177 | + <target state="new">The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers</target> |
168 | 178 | <note /> |
169 | 179 | </trans-unit> |
170 | 180 | <trans-unit id="GetPinnableReferenceReturnTypeBlittableDescription"> |
|
387 | 397 | <target state="new">The return type of '{0}' must be the same type as the return type of '{1}'</target> |
388 | 398 | <note /> |
389 | 399 | </trans-unit> |
390 | | - <trans-unit id="StatelessLinearCollectionCallerAllocConstructorMustHaveBufferSizeDescription"> |
| 400 | + <trans-unit id="StatefulMarshallerRequiresFreeDescription"> |
| 401 | + <source>A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'.</source> |
| 402 | + <target state="new">A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'.</target> |
| 403 | + <note /> |
| 404 | + </trans-unit> |
| 405 | + <trans-unit id="StatefulMarshallerRequiresFreeMessage"> |
| 406 | + <source>The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free'</source> |
| 407 | + <target state="new">The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free'</target> |
| 408 | + <note /> |
| 409 | + </trans-unit> |
| 410 | + <trans-unit id="StatefulMarshallerRequiresFromManagedDescription"> |
| 411 | + <source>A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'.</source> |
| 412 | + <target state="new">A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'.</target> |
| 413 | + <note /> |
| 414 | + </trans-unit> |
| 415 | + <trans-unit id="StatefulMarshallerRequiresFromManagedMessage"> |
| 416 | + <source>The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void'</source> |
| 417 | + <target state="new">The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void'</target> |
| 418 | + <note /> |
| 419 | + </trans-unit> |
| 420 | + <trans-unit id="StatefulMarshallerRequiresFromUnmanagedDescription"> |
| 421 | + <source>A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'.</source> |
| 422 | + <target state="new">A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'.</target> |
| 423 | + <note /> |
| 424 | + </trans-unit> |
| 425 | + <trans-unit id="StatefulMarshallerRequiresFromUnmanagedMessage"> |
| 426 | + <source>The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void'</source> |
| 427 | + <target state="new">The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void'</target> |
| 428 | + <note /> |
| 429 | + </trans-unit> |
| 430 | + <trans-unit id="StatefulMarshallerRequiresToManagedDescription"> |
| 431 | + <source>A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type.</source> |
| 432 | + <target state="new">A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type.</target> |
| 433 | + <note /> |
| 434 | + </trans-unit> |
| 435 | + <trans-unit id="StatefulMarshallerRequiresToManagedMessage"> |
| 436 | + <source>The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}'</source> |
| 437 | + <target state="new">The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}'</target> |
| 438 | + <note /> |
| 439 | + </trans-unit> |
| 440 | + <trans-unit id="StatefulMarshallerRequiresToUnmanagedDescription"> |
| 441 | + <source>A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type.</source> |
| 442 | + <target state="new">A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type.</target> |
| 443 | + <note /> |
| 444 | + </trans-unit> |
| 445 | + <trans-unit id="StatefulMarshallerRequiresToUnmanagedMessage"> |
| 446 | + <source>The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller</source> |
| 447 | + <target state="new">The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller</target> |
| 448 | + <note /> |
| 449 | + </trans-unit> |
| 450 | + <trans-unit id="StatelessLinearCollectionCallerAllocFromManagedMustHaveBufferSizeDescription"> |
391 | 451 | <source>When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer.</source> |
392 | 452 | <target state="new">When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer.</target> |
393 | 453 | <note /> |
394 | 454 | </trans-unit> |
395 | | - <trans-unit id="StatelessLinearCollectionCallerAllocConstructorMustHaveBufferSizeMessage"> |
| 455 | + <trans-unit id="StatelessLinearCollectionCallerAllocFromManagedMustHaveBufferSizeMessage"> |
396 | 456 | <source>The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>'</source> |
397 | 457 | <target state="new">The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>'</target> |
398 | 458 | <note /> |
|
0 commit comments