diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf index 80868ddb5db05e..bf6c7d404132ea 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute vyžaduje nebezpečný kód. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + Podle aktualizovaných pravidel bezpečnosti paměti představuje volání nativního kódu bezpečnostní závazek, který kompilátor nedokáže ověřit. Označte metodu jako 'unsafe', aby volající museli volání zkontrolovat, nebo jako 'safe' po kontrole hranice interoperability. Odpovídá to požadavku jazyka na členy 'extern'. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Metoda {0} s atributem 'LibraryImportAttribute' musí být označená jako 'safe' nebo 'unsafe' + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Metoda s atributem 'LibraryImportAttribute' musí být označená jako 'safe' nebo 'unsafe' + + The return type the two method must be the expected type. Návratový typ, který obě metody musí být očekávaného typu. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf index 34be0338905f6a..d44762a9edc49c 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute erfordert unsicheren Code. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + Nach den aktualisierten Speicher­sicherheitsregeln ist das Aufrufen von nativem Code ein Sicherheitsvertrag, den der Compiler nicht überprüfen kann. Markieren Sie die Methode als „unsafe“, damit Aufrufende den Aufruf prüfen müssen, oder als „safe“, nachdem die Interop-Grenze geprüft wurde. Das entspricht der Anforderung, die die Sprache an „extern“-Member stellt. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Die Methode „{0}“ mit „LibraryImportAttribute“ muss als „safe“ oder „unsafe“ markiert werden. + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Die Methode mit „LibraryImportAttribute“ muss als „safe“ oder „unsafe“ markiert werden. + + The return type the two method must be the expected type. Der Rückgabetyp, den die beiden Methoden aufweisen müssen, muss der erwartete Typ sein. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf index e5d24ed16d3542..1303285ae510ee 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute requiere código no seguro. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + Según las reglas actualizadas de seguridad de memoria, llamar a código nativo es un contrato de seguridad que el compilador no puede verificar. Marque el método "unsafe" para requerir que los llamadores auditen la llamada o "safe" después de auditar el límite de interoperabilidad. Esto coincide con el requisito que el idioma coloca en los miembros "extern". + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + El método "{0}" con "LibraryImportAttribute" debe marcarse como "safe" o "unsafe" + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + El método con "LibraryImportAttribute" debe marcarse como "safe" o "unsafe" + + The return type the two method must be the expected type. El tipo de valor devuelto por el que ambos métodos deben ser del tipo esperado. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf index 9031bc0eac1aa8..ab89cb2897d823 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute requiert du code non sécurisé. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + Selon les règles mises à jour de sécurité de la mémoire, l’appel au code natif est un contrat de sécurité que le compilateur ne peut pas vérifier. Marquez la méthode comme « unsafe » pour obliger les appelants à auditer l’appel ou comme « safe » après avoir audité la frontière d’interopérabilité. Cela correspond à l’exigence que le langage impose aux membres « extern ». + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + La méthode « {0} » avec « LibraryImportAttribute » doit être marquée comme « safe » ou « unsafe » + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + La méthode avec « LibraryImportAttribute » doit être marquée comme « safe » ou « unsafe » + + The return type the two method must be the expected type. Le type de retour de la méthode deux doit être le type attendu. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf index 819990f2268529..574456f06936d7 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute richiede un codice non sicuro. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + In base alle regole di sicurezza della memoria aggiornate, le chiamate a codice nativo costituiscono un contratto di sicurezza che il compilatore non può verificare. Contrassegnare il metodo come ''unsafe'' per richiedere ai chiamanti di controllare la chiamata o ''safe'' dopo aver controllato il limite di interoperabilità. Questo corrisponde al requisito imposto dal linguaggio ai membri ''extern''. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Il metodo ''{0}'' con ''LibraryImportAttribute'' deve essere contrassegnato come ''safe'' o ''unsafe'' + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Il metodo con ''LibraryImportAttribute'' deve essere contrassegnato come ''safe'' o ''unsafe'' + + The return type the two method must be the expected type. Tipo restituito il due metodo deve essere il tipo previsto. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf index cd5a062a510fa2..b6edd5493866c2 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute には安全でないコードが必要です。 + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + 更新されたメモリの安全規則では、ネイティブ コードへの呼び出しは、コンパイラが検証できない安全コントラクトです。呼び出し元に呼び出しの監査を求めるには、メソッドに 'unsafe' を指定します。相互運用境界を監査した後は、'safe' を指定します。これは、言語が 'extern' メンバーに課している要件と一致します。 + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 'LibraryImportAttribute' を持つメソッド '{0}' は、'safe' または 'unsafe' としてマークする必要があります + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 'LibraryImportAttribute' を持つメソッドは、'safe' または 'unsafe' としてマークする必要があります + + The return type the two method must be the expected type. 戻り値の型は、2 つのメソッドが期待する型である必要があります。 diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf index 225d0e444546ab..affe3f5be5dcb2 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute에는 안전하지 않은 코드가 필요합니다. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + 업데이트된 메모리 안전 규칙에 따라 네이티브 코드 호출은 컴파일러가 확인할 수 없는 안전 계약입니다. 호출자가 호출을 감사하도록 요구하도록 메서드를 'unsafe'로 표시하거나 interop 경계를 감사한 후 'safe'로 표시합니다. 이는 언어가 'extern' 멤버에 부과하는 요구 사항과 일치합니다. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 'LibraryImportAttribute'가 있는 '{0}' 메서드는 'safe' 또는 'unsafe'로 표시되어야 합니다. + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 'LibraryImportAttribute'가 있는 메서드는 'safe' 또는 'unsafe'로 표시되어야 합니다. + + The return type the two method must be the expected type. 두 메서드가 필요한 형식이어야 하는 반환 형식입니다. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf index daac9d6a6625d0..677bd4961013a4 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf @@ -1057,6 +1057,21 @@ Element LibraryImportAttribute wymaga niebezpiecznego kodu. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + Zgodnie ze zaktualizowanymi regułami bezpieczeństwa pamięci wywołanie kodu natywnego jest kontraktem bezpieczeństwa, który kompilator nie może zweryfikować. Oznacz metodę jako niebezpieczną, aby wymagać od obiektów wywołujących inspekcji wywołania, lub jako „bezpieczną” po inspekcji granicy międzyoperacyjnej. Jest to zgodne z wymaganiem, które język umieszcza na elementach członkowskich „extern”. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Metoda „{0}” z atrybutem „”LibraryImportAttribute” musi być oznaczona jako „safe” lub „unsafe” + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Metoda z atrybutem "LibraryImportAttribute" musi być oznaczona jako „safe” lub „unsafe” + + The return type the two method must be the expected type. Zwracany typ obu tych metod musi być oczekiwanym typem. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf index d5eb03c0744bc4..69627782416b7a 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute requer código não seguro. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + De acordo com as regras atualizadas de segurança de memória, chamar código nativo é um contrato de segurança que o compilador não consegue verificar. Marque o método como ''unsafe'' para exigir que quem o chamar revise a chamada, ou como ''safe'' depois de revisar a fronteira de interop. Isso corresponde ao requisito que a linguagem impõe aos membros ''extern''. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + O método ''{0}'' com ''LibraryImportAttribute'' deve ser marcado como ''seguro'' ou ''não seguro'' + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + O método com ''LibraryImportAttribute'' deve ser marcado como ''seguro'' ou ''não seguro'' + + The return type the two method must be the expected type. O tipo de retorno do método dois deve ser o tipo esperado. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf index d151ae881df3df..741b39dab230b5 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf @@ -1057,6 +1057,21 @@ Для LibraryImportAttribute требуется небезопасный код. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + Согласно обновленным правилам безопасности памяти, вызов нативного кода является контрактом безопасности, который компилятор не может проверить. Пометьте метод как "небезопасный", чтобы потребовать от вызывающих сторон проверки вызова, или как "безопасный" после проверки границы взаимодействия. Это соответствует требованию, которое язык программирования предъявляет к "внешним" участникам. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Метод "{0}" с атрибутом "LibraryImport" должен быть помечен как "безопасный" или "небезопасный" + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + Метод с атрибутом "LibraryImport" должен быть помечен как "безопасный" или "небезопасный" + + The return type the two method must be the expected type. Тип возвращаемого значения метода two должен быть ожидаемым. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf index bef2894aa7962f..c7e1ffef3db03b 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute, güvenli olmayan kod gerektiriyor. + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + Güncelleştirilmiş bellek güvenliği kuralları kapsamında, yerel koda çağrı yapmak derleyicinin doğrulayamadığı bir güvenlik sözleşmesidir. Çağrı yapanların çağrıyı denetlemesini zorunlu kılmak için yöntemi 'güvenli değil' olarak işaretleyin veya birlikte çalışma sınırını denetledikten sonra 'safe' olarak işaretleyin. Bu, dilin 'extern' üyeleri için belirlediği gereksinimle uyumludur. + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 'LibraryImportAttribute' değerine sahip '{0}' yöntemi 'safe' veya 'unsafe' olarak işaretlenmelidir + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 'LibraryImportAttribute' değerine sahip yöntem 'safe' veya 'unsafe' olarak işaretlenmelidir + + The return type the two method must be the expected type. İki metodun dönüş türü beklenen tür olmalıdır. diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf index 5223e9d8c92e9c..906686fe6dc99b 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute 需要不安全的代码。 + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + 根据更新后的内存安全规则,调用本机代码是编译器无法验证的安全协定。将方法标记为“不安全”可要求调用方审核调用,或在审核互操作边界后将其标记为“安全”。这与语言对 'extern' 成员的要求相匹配。 + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 必须将使用 'LibraryImportAttribute’ 的方法“{0}”标记为“安全”或“不安全” + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 必须将使用 'LibraryImportAttribute' 的方法标记为“安全”或“不安全” + + The return type the two method must be the expected type. 这两种方法的返回类型必须为预期类型。 diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf index da3860843d8b10..48b666bded26d8 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf @@ -1057,6 +1057,21 @@ LibraryImportAttribute 需要不安全的程式碼。 + + Under the updated memory safety rules, calling into native code is a safety contract that the compiler cannot verify. Mark the method 'unsafe' to require callers to audit the call, or 'safe' after auditing the interop boundary. This matches the requirement the language places on 'extern' members. + 在更新後的記憶體安全規則下,呼叫原生程式碼是一項編譯器無法驗證的安全性合約。請將方法標記為 'unsafe',以要求呼叫端稽核此呼叫;或在完成 Interop 邊界的稽核後,將其標記為 'safe'。這與語言對 'extern' 成員所要求的規範一致。 + + + + Method '{0}' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 具有 'LibraryImportAttribute' 的方法 ‘{0}‘ 必須標記為 'safe' 或 'unsafe' + + + + Method with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' + 具有 'LibraryImportAttribute' 的方法必須標記為 'safe' 或 'unsafe' + + The return type the two method must be the expected type. 兩種方法的傳回類型必須是預期的類型。 diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.cs.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.cs.xlf index b55f6d6983d368..e080182adb94e5 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.cs.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.cs.xlf @@ -32,6 +32,16 @@ Zdrojový generátor nepodporuje atributy odvozené od atributu JsonConverterAttribute. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + Zadaný typ '{0}' není podporovaným odvozeným typem pro polymorfní typ '{1}'. Odvozené typy musí být přiřaditelné základnímu typu. + + + + Derived type is not a supported polymorphic derived type. + Odvozený typ není podporovaným polymorfním odvozeným typem. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Existuje více typů s názvem „{0}“. Zdroj byl vygenerován pro první zjištěný zdroj. K vyřešení této kolize použijte JsonSerializableAttribute.TypeInfoPropertyName. @@ -52,6 +62,46 @@ Atribut JsonDerivedTypeAttribute se v JsonSourceGenerationMode.Serialization nepodporuje. + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + Diskriminátor typu '{0}' je pro polymorfní typ '{1}' zadaný více než jednou. Odvozené typy musí odpovídat jedinečným diskriminátorům. + + + + Derived types produce a duplicate type discriminator. + Odvozené typy vytvářejí duplicitní diskriminátor typu. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + Typ {0} povoluje JsonPolymorphicAttribute.InferClosedTypePolymorphism, ale nejedná se o uzavřený typ, takže nelze odvodit žádné odvozené typy. Deklarujte typ closed nebo zaregistrujte jeho odvozené typy pomocí JsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + Odvozený polymorfismus uzavřeného typu je povolený u typu, který není uzavřeným typem. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + Typ „{0}“ povoluje JsonPolymorphicAttribute.InferClosedTypePolymorphism, ale také deklaruje JsonDerivedTypeAttribute. Explicitní registrace nahrazují odvozování, takže pouze odvozené typy deklarované explicitně jsou serializovány polymorfně. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + Odvozený polymorfismus uzavřeného typu nemá žádný vliv na typ, který explicitně registruje odvozené typy. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + Odvozený typ '{0}' je méně přístupný než polymorfní základní typ '{1}'. Odvozené typy musí být alespoň stejně přístupné jako základní typ. + + + + Inferred derived type is less accessible than the polymorphic base type. + Odvozený typ je méně přístupný než polymorfní základní typ. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. Typ JsonConverterAttribute {0} specifikovaný u členu {1} není typem konvertoru nebo neobsahuje přístupný konstruktor bez parametrů. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.de.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.de.xlf index c0d0eaef022cfb..b7b9ccaa8db491 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.de.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.de.xlf @@ -32,6 +32,16 @@ Von JsonConverterAttribute abgeleitete Attribute werden vom Quellgenerator nicht unterstützt. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + Der angegebene Typ „{0}“ ist kein unterstützter abgeleiteter Typ für den polymorphen Typ „{1}“. Abgeleitete Typen müssen dem Basistyp zuweisbar sein. + + + + Derived type is not a supported polymorphic derived type. + Der abgeleitete Typ ist kein unterstützter polymorpher abgeleiteter Typ. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Es gibt mehrere Typen mit dem Namen "{0}". Die Quelle wurde für die erste erkannte Quelle generiert. Verwenden Sie "JsonSerializableAttribute.TypeInfoPropertyName", um diesen Konflikt zu beheben. @@ -52,6 +62,46 @@ „JsonDerivedTypeAttribute“ wird in „JsonSourceGenerationMode.Serialization“ nicht unterstützt. + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + Der Typdiskriminator „{0}“ wurde für den polymorphen Typ „{1}“ mehr als einmal angegeben. Abgeleitete Typen müssen eindeutige Diskriminatoren haben. + + + + Derived types produce a duplicate type discriminator. + Abgeleitete Typen erzeugen einen doppelten Typdiskriminator. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + Der Typ „{0}“ aktiviert JsonPolymorphicAttribute.InferClosedTypePolymorphism, ist aber kein geschlossener Typ, sodass auf keine abgeleiteten Typen rückgeschlossen werden kann. Deklarieren Sie den Typ „closed“, oder registrieren Sie seine abgeleiteten Typen mit jsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + Der inferierte Polymorphismus geschlossener Typen ist für einen Typ aktiviert, der kein geschlossener Typ ist. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + Der Typ „{0}“ aktiviert JsonPolymorphicAttribute.InferClosedTypePolymorphism, deklariert aber auch JsonDerivedTypeAttribute. Explizite Registrierungen ersetzen den Rückschluss, sodass nur die explizit deklarierten abgeleiteten Typen polymorph serialisiert werden. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + Der abgeleitete Polymorphismus geschlossener Typen hat keine Auswirkungen auf einen Typ, der abgeleitete Typen explizit registriert. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + Der inferierte abgeleitete Typ „{0}“ ist weniger zugänglich als der polymorphe Basistyp „{1}“. Inferierte abgeleitete Typen müssen mindestens so zugänglich sein wie der Basistyp. + + + + Inferred derived type is less accessible than the polymorphic base type. + Der inferierte abgeleitete Typ ist weniger zugänglich als der polymorphe Basistyp. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. Der für den Member "{1}" angegebene JsonConverterAttribute-Typ "{0}" ist kein Konvertertyp oder enthält keinen parameterlosen Konstruktor, auf den zugegriffen werden kann. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.es.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.es.xlf index c80268035c6e94..59d82bea569f9a 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.es.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.es.xlf @@ -32,6 +32,16 @@ El generador de origen no admite los atributos derivados de JsonConverterAttribute. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + El tipo especificado "{0}" no es un tipo derivado admitido para el tipo polimórfico "{1}". Los tipos derivados deben poder asignarse al tipo base. + + + + Derived type is not a supported polymorphic derived type. + El tipo derivado no es un tipo derivado polimórfico admitido. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Hay varios tipos denominados "{0}". El origen se generó para el primero detectado. Use "JsonSerializableAttribute.TypeInfoPropertyName" para resolver esta colisión. @@ -52,6 +62,46 @@ \"JsonDerivedTypeAttribute\" no se admite en \"JsonSourceGenerationMode.Serialization\". + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + El discriminador de tipo "{0}" se especifica más de una vez para el tipo polimórfico "{1}". Los tipos derivados deben corresponder a discriminadores únicos. + + + + Derived types produce a duplicate type discriminator. + Los tipos derivados generan un discriminador de tipo duplicado. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + El tipo "{0}" habilita JsonPolymorphicAttribute.InferClosedTypePolymorphism, pero no es un tipo cerrado, por lo que no se puede inferir ningún tipo derivado. Declare el tipo como "closed" o registre sus tipos derivados mediante JsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + El polimorfismo de tipo cerrado inferido está habilitado en un tipo que no es un tipo cerrado. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + El tipo "{0}" habilita JsonPolymorphicAttribute.InferClosedTypePolymorism, pero también declara JsonDerivedTypeAttribute. Los registros explícitos reemplazan la inferencia, por lo que solo los tipos derivados declarados explícitamente se serializan polimórficamente. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + El polimorfismo de tipo cerrado inferido no tiene ningún efecto en un tipo que registra tipos derivados explícitamente. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + El tipo derivado inferido "{0}" es menos accesible que el tipo base polimórfico "{1}". Los tipos derivados deducidos deben ser al menos tan accesibles como el tipo base. + + + + Inferred derived type is less accessible than the polymorphic base type. + El tipo derivado inferido es menos accesible que el tipo base polimórfico. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. El tipo “JsonConverterAttribute” “{0}” especificado en el miembro “{1}” no es un tipo de convertidor o no contiene un constructor sin parámetros accesible. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.fr.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.fr.xlf index 3f3a6e8c87beb5..25de0df1a2401f 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.fr.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.fr.xlf @@ -32,6 +32,16 @@ Les attributs dérivant de JsonConverterAttribute ne sont pas pris en charge par le générateur de source. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + Le type spécifié « {0} » n’est pas un type dérivé pris en charge pour le type polymorphe « {1} ». Vous devez pouvoir affecter des types dérivés au type de base. + + + + Derived type is not a supported polymorphic derived type. + Le type dérivé n’est pas un type dérivé polymorphe pris en charge. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Il existe plusieurs types nommés '{0}'. La source a été générée pour le premier détecté. Utilisez 'JsonSerializableAttribute.TypeInfoPropertyName' pour résoudre cette collision. @@ -52,6 +62,46 @@ « JsonDerivedTypeAttribute » n’est pas pris en charge dans « JsonSourceGenerationMode.Serialization ». + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + Le discriminant de type « {0} » est spécifié plusieurs fois pour le type polymorphe « {1} ». Les types dérivés doivent correspondre à des discriminants uniques. + + + + Derived types produce a duplicate type discriminator. + Les types dérivés produisent un doublon de discriminant de type. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + Le type « {0} » active JsonPolymorphicAttribute.InferClosedTypePolymorphism, mais n’est pas un type fermé. Par conséquent, aucun type dérivé ne peut être déduit. Déclarez le type « closed » ou enregistrez ses types dérivés à l’aide de JsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + Le polymorphisme de type fermé déduit est activé sur un type qui n’est pas un type fermé. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + Le type « {0} » active JsonPolymorphicAttribute.InferClosedTypePolymorphism, mais déclare également JsonDerivedTypeAttribute. Les inscriptions explicites remplacent l’inférence. Par conséquent, seuls les types dérivés déclarés explicitement sont sérialisés de manière polymorphique. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + Le polymorphisme de type fermé déduit n’a aucun effet sur un type qui enregistre explicitement des types dérivés. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + Le type dérivé déduit « {0} » est moins accessible que le type de base polymorphe « {1} ». Les types dérivés déduits doivent être aussi accessibles que le type de base. + + + + Inferred derived type is less accessible than the polymorphic base type. + Le type dérivé déduit est moins accessible que le type de base polymorphe. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. Le type 'JsonConverterAttribute' '{0}' spécifié sur le membre '{1}' n’est pas un type convertisseur ou ne contient pas de constructeur sans paramètre accessible. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.it.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.it.xlf index 21a23d538faefa..6eeb60c2329952 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.it.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.it.xlf @@ -32,6 +32,16 @@ Gli attributi che derivano da JsonConverterAttribute non sono supportati dal generatore di origine. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + Il tipo specificato '{0}' non è un tipo derivato supportato per il tipo polimorfico '{1}'. I tipi derivati devono essere assegnabili al tipo di base. + + + + Derived type is not a supported polymorphic derived type. + Il tipo derivato non è un tipo derivato polimorfico supportato. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Sono presenti più tipi denominati '{0}'. L'origine è stata generata per il primo tipo rilevato. Per risolvere questa collisione, usare 'JsonSerializableAttribute.TypeInfoPropertyName'. @@ -52,6 +62,46 @@ 'JsonDerivedTypeAttribute' non è supportato in 'JsonSourceGenerationMode.Serialization'. + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + Il discriminatore di tipo '{0}' è specificato più di una volta per il tipo polimorfico '{1}'. I tipi derivati devono corrispondere a discriminatori univoci. + + + + Derived types produce a duplicate type discriminator. + I tipi derivati producono un discriminatore di tipo duplicato. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + Il tipo '{0}' abilita JsonPolymorphicAttribute.InferClosedTypePolymorphism ma non è un tipo chiuso, quindi non è possibile dedurre alcun tipo derivato. Dichiara il tipo come 'closed' o registra i relativi tipi derivati usando JsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + Il polimorfismo di tipo chiuso dedotto è abilitato su un tipo che non è chiuso. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + Il tipo '{0}' abilita JsonPolymorphicAttribute.InferClosedTypePolymorphism ma dichiara anche JsonDerivedTypeAttribute. Le registrazioni esplicite sostituiscono l'inferenza, quindi solo i tipi derivati dichiarati esplicitamente vengono serializzati in modo polimorfico. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + Il polimorfismo di tipo chiuso dedotto non ha effetto su un tipo per cui sono registrati esplicitamente i tipi derivati. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + Il tipo derivato dedotto '{0}' è meno accessibile del tipo base polimorfico '{1}'. I tipi derivati dedotti devono essere accessibili almeno quanto il tipo di base. + + + + Inferred derived type is less accessible than the polymorphic base type. + Il tipo derivato dedotto è meno accessibile del tipo base polimorfico. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. Il tipo 'JsonConverterAttribute' '{0}' specificato nel membro '{1}' non è un tipo di convertitore o non contiene un costruttore senza parametri accessibile. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ja.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ja.xlf index db1cbf88bda348..e45c0ce51aeb00 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ja.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ja.xlf @@ -32,6 +32,16 @@ JsonConverterAttribute から派生する属性は、ソース ジェネレーターではサポートされていません。 + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + 指定された型 '{0}' は、ポリモーフィック型 '{1}' のサポートされている派生型ではありません。派生型は、基底型に代入可能である必要があります。 + + + + Derived type is not a supported polymorphic derived type. + 派生型は、サポートされているポリモーフィック派生型ではありません。 + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. '{0}' と名前が付けられた種類が複数あります。最初に検出されたものに対してソースが生成されました。この問題を解決するには、'JsonSerializableAttribute.TypeInfoPropertyName' を使用します。 @@ -52,6 +62,46 @@ 'JsonDerivedTypeAttribute' は 'JsonSourceGenerationMode.Serialization' ではサポートされていません。 + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + 型識別子 '{0}' が、ポリモーフィック型 '{1}' に対して複数回指定されています。派生型は、一意の識別子に対応している必要があります。 + + + + Derived types produce a duplicate type discriminator. + 派生型で、重複する型識別子が生成されます。 + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + 型 '{0}' は JsonPolymorphicAttribute.InferClosedTypePolymorphism を有効にしていますが、クローズド型ではないため、派生型を推論できません。型を 'closed' として宣言するか、JsonDerivedTypeAttribute を使用してその派生型を登録してください。 + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + クローズド型ではない型で、推論されたクローズド型ポリモーフィズムが有効になっています。 + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + 型 '{0}' は JsonPolymorphicAttribute.InferClosedTypePolymorphism を有効にしていますが、JsonDerivedTypeAttribute も宣言しています。明示的な登録は推論より優先されるため、明示的に宣言された派生型のみがポリモーフィックにシリアル化されます。 + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + 派生型を明示的に登録している型では、推論されたクローズド型ポリモーフィズムは適用されません。 + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + 推定された派生型 '{0}' は、ポリモーフィック基底型 '{1}' よりもアクセスしにくいです。推定された派生型は、少なくとも基底型と同じくらいアクセスしやすいことが必要です。 + + + + Inferred derived type is less accessible than the polymorphic base type. + 推定された派生型は、ポリモーフィック基底型よりもアクセスしにくいです。 + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. メンバー '{1}' で指定されている 'JsonConverterAttribute' 型 '{0}' はコンバーター型ではないか、アクセス可能なパラメーターなしのコンストラクターを含んでいません。 diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ko.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ko.xlf index 40625805982421..9e7e70a0f4b95c 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ko.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ko.xlf @@ -32,6 +32,16 @@ JsonConverterAttribute에서 파생되는 특성은 소스 생성기에서 지원되지 않습니다. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + 지정된 형식 '{0}'은(는) 다형식 형식 '{1}'에 대해 지원되는 파생 형식이 아닙니다. 파생 형식은 기본 형식에 할당할 수 있어야 합니다. + + + + Derived type is not a supported polymorphic derived type. + 파생 형식이 지원되는 다형성 파생 형식이 아닙니다. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. 이름이 '{0}'인 형식이 여러 개 있습니다. 처음 검색된 것에 대한 원본이 생성되었습니다. 이 충돌을 해결하려면 'JsonSerializableAttribute.TypeInfoPropertyName'을 사용하세요. @@ -52,6 +62,46 @@ 'JsonSourceGenerationMode.Serialization'에서는 'JsonDerivedTypeAttribute'가 지원되지 않습니다. + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + 다형식 형식 '{1}'에 대해 형식 판별자 '{0}'이(가) 두 번 이상 지정되었습니다. 파생 형식은 고유한 판별자에 해당해야 합니다. + + + + Derived types produce a duplicate type discriminator. + 파생 형식이 중복 형식 판별자를 생성합니다. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + '{0}' 형식은 JsonPolymorphicAttribute.InferClosedTypePolymorphism을 사용하도록 설정하지만 폐쇄형 형식이 아니므로 파생 형식을 유추할 수 없습니다. 형식을 'closed'로 선언하거나 JsonDerivedTypeAttribute를 사용하여 파생 형식을 등록하세요. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + 유추된 폐쇄형 형식 다형성이 폐쇄형 형식이 아닌 형식에서 사용하도록 설정되어 있습니다. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + '{0}' 형식은 JsonPolymorphicAttribute.InferClosedTypePolymorphism을 사용하도록 설정하지만 JsonDerivedTypeAttribute도 선언합니다. 명시적 등록은 유추를 대체하므로 명시적으로 선언된 파생 형식만 다형적으로 직렬화됩니다. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + 유추된 폐쇄형 형식 다형성은 파생 형식을 명시적으로 등록하는 형식에는 영향을 주지 않습니다. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + 유추된 파생 형식 '{0}'은(는) 다형식 기본 형식 '{1}'보다 액세스 수준이 낮습니다. 유추된 파생 형식은 기본 형식만큼 액세스할 수 있어야 합니다. + + + + Inferred derived type is less accessible than the polymorphic base type. + 유추된 파생 형식이 다형성 기본 형식보다 액세스하기 어렵습니다. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. '{1}' 멤버에 지정된 'JsonConverterAttribute' 형식 '{0}'이(가) 변환기 형식이 아니거나 액세스 가능한 매개 변수가 없는 생성자를 포함하지 않습니다. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pl.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pl.xlf index 17dffc837a5103..2bc6b928b8d9ec 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pl.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pl.xlf @@ -32,6 +32,16 @@ Atrybuty pochodzące z atrybutu JsonConverterAttribute nie są obsługiwane przez generator źródła. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + Określony typ „{0}” nie jest obsługiwanym typem pochodnym dla typu polimorficznego „{1}”. Typy pochodne muszą być przypisane do typu podstawowego. + + + + Derived type is not a supported polymorphic derived type. + Typ pochodny nie jest obsługiwanym polimorficznym typem pochodnym. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Istnieje wiele typów o nazwie „{0}”. Wygenerowano źródło dla pierwszego wykrytego elementu. Aby rozwiązać tę kolizję, użyj elementu „JsonSerializableAttribute. TypeInfoPropertyName”. @@ -52,6 +62,46 @@ Atrybut „JsonDerivedTypeAttribute” nie jest obsługiwany w elemecie „JsonSourceGenerationMode.Serialization”. + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + Dyskryminator typu „{0}” jest określony więcej niż raz dla typu polimorficznego „{1}”. Typy pochodne muszą odpowiadać unikatowym dyskryminatorom. + + + + Derived types produce a duplicate type discriminator. + Typy pochodne powodują dyskryminowanie zduplikowanego typu. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + Typ „{0}” umożliwia stosowanie metody JsonPolymorphicAttribute.InferClosedTypePolymorphism, ale nie jest typem zamkniętym, więc nie można wywnioskować żadnych typów pochodnych. Zadeklaruj typ jako„zamknięty” albo zarejestruj jego typy pochodne przy użyciu atrybutu JsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + Włączono wywnioskowany polimorfizm typów zamkniętych dla typu, który nie jest typem zamkniętym. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + Typ „{0}” włącza JsonPolymorphicAttribute.InferClosedTypePolymorphism, ale deklaruje też atrybut JsonDerivedTypeAttribute. Jawne rejestracje zastępują wnioskowanie, więc tylko typy pochodne zadeklarowane jawnie są serializowane polimorficznie. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + Wywnioskowany polimorfizm typów zamkniętych nie ma wpływu na typ, który jawnie rejestruje typy pochodne. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + Wywnioskowany typ pochodny „{0}” jest mniej dostępny niż polimorficzny typ podstawowy „{1}”. Wywnioskowane typy pochodne muszą być co najmniej tak dostępne jak typ podstawowy. + + + + Inferred derived type is less accessible than the polymorphic base type. + Wywnioskowany typ pochodny jest mniej dostępny niż polimorficzny typ podstawowy. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. Typ „{0}” „JsonConverterAttribute” określony w przypadku składowej „{1}” nie jest typem konwertera lub nie zawiera dostępnego konstruktora bez parametrów. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pt-BR.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pt-BR.xlf index f9438ee48ed62a..ace18a382a22c9 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pt-BR.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.pt-BR.xlf @@ -32,6 +32,16 @@ Os atributos derivados de JsonConverterAttribute não têm suporte pelo gerador de origem. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + O tipo especificado ''{0}'' não é um tipo derivado com suporte para o tipo polimórfico ''{1}''. Os tipos derivados precisam ser atribuíveis ao tipo base. + + + + Derived type is not a supported polymorphic derived type. + O tipo derivado não é um tipo derivado polimórfico com suporte. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Existem vários tipos chamados '{0}'. A fonte foi gerada para o primeiro detectado. Use 'JsonSerializableAttribute.TypeInfoPropertyName' para resolver essa colisão. @@ -52,6 +62,46 @@ 'JsonDerivedTypeAttribute' não tem suporte em 'JsonSourceGenerationMode.Serialization'. + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + O discriminador de tipo ''{0}'' foi especificado mais de uma vez para o tipo polimórfico ''{1}''. Os tipos derivados devem corresponder a discriminadores exclusivos. + + + + Derived types produce a duplicate type discriminator. + Os tipos derivados geram um discriminador de tipo duplicado. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + O tipo ''{0}'' habilita JsonPolymorphicAttribute.InferClosedTypePolymorphism, mas não é um tipo fechado, portanto, nenhum tipo derivado pode ser inferido. Declare o tipo como ''closed'' ou registre seus tipos derivados usando JsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + O polimorfismo de tipo fechado inferido está habilitado em um tipo que não é um tipo fechado. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + O tipo ''{0}'' habilita JsonPolymorphicAttribute.InferClosedTypePolymorphism, mas também declara JsonDerivedTypeAttribute. Os registros explícitos substituem a inferência, portanto, somente os tipos derivados declarados explicitamente são serializados de forma polimórfica. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + O polimorfismo de tipo fechado inferido não tem efeito em um tipo que registra os tipos derivados explicitamente. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + O tipo derivado inferido ''{0}'' é menos acessível do que o tipo base polimórfico ''{1}''. Os tipos derivados inferidos precisam ser pelo menos tão acessíveis quanto o tipo base. + + + + Inferred derived type is less accessible than the polymorphic base type. + O tipo derivado inferido é menos acessível do que o tipo base polimórfico. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. O tipo "JsonConverterAttribute" "{0}" especificado no membro "{1}" não é um tipo de conversor ou não contém um construtor sem parâmetros acessível. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ru.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ru.xlf index 46daaa8228822e..35a023caed2a13 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ru.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.ru.xlf @@ -32,6 +32,16 @@ Атрибуты, производные от JsonConverterAttribute, не поддерживаются генератором исходного кода. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + Указанный тип "{0}" не является поддерживаемым производным типом для полиморфного типа "{1}". Производные типы должны поддерживать назначение базовому типу. + + + + Derived type is not a supported polymorphic derived type. + Производный тип не является поддерживаемым полиморфным производным типом. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. Существует несколько типов с именем "{0}". Исходный код сформирован для первого обнаруженного типа. Используйте JsonSerializableAttribute.TypeInfoPropertyName для устранения этого конфликта. @@ -52,6 +62,46 @@ Атрибут JsonDerivedTypeAttribute не поддерживается в \"JsonSourceGenerationMode.Serialization\". + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + Дискриминатор типа "{0}" указан более одного раза для полиморфного типа "{1}". Производные типы должны соответствовать уникальным дискриминаторам. + + + + Derived types produce a duplicate type discriminator. + Производные типы создают повторяющийся дискриминатор типа. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + Тип "{0}" включает JsonPolymorphicAttribute.InferClosedTypePolymorphism, но не является закрытым типом, поэтому вывести производные типы невозможно. Объявите тип "closed" или зарегистрируйте его производные типы с помощью JsonDerivedTypeAttribute. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + Выведенный полиморфизм закрытого типа включен для типа, который не является закрытым. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + Тип "{0}" включает JsonPolymorphicAttribute.InferClosedTypePolymorphism, но также объявляет JsonDerivedTypeAttribute. Явные регистрации заменяют вывод, поэтому полиморфно сериализируются только производные типы, объявленные явно. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + Выведенный полиморфизм закрытого типа не влияет на тип, для которого производные типы регистрируются явно. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + Выведенный производный тип "{0}" менее доступен, чем полиморфный базовый тип "{1}". Выведенные производные типы должны быть не менее доступны, чем базовый тип. + + + + Inferred derived type is less accessible than the polymorphic base type. + Выведенный производный тип менее доступен, чем полиморфный базовый тип. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. Тип "JsonConverterAttribute" "{0}", указанный в элементе "{1}", не является типом преобразователя или не содержит доступного конструктора без параметров. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.tr.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.tr.xlf index 961644457743a8..70a938cd1736fe 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.tr.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.tr.xlf @@ -32,6 +32,16 @@ JsonConverterAttribute’tan türetilen öznitelikler kaynak oluşturucu tarafından desteklenmiyor. + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + Belirtilen '{0}' türü, '{1}' polimorfik türü için desteklenen bir türetilmiş tür değildir. Türetilmiş türler temel türe atanabilir olmalıdır. + + + + Derived type is not a supported polymorphic derived type. + Türetilmiş tür, desteklenen bir polimorfik türetilmiş tür değildir. + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. '{0}' adını taşıyan birden çok tür var. Kaynak, algılanan ilk tür için oluşturuldu. Bu çarpışmayı çözmek için 'JsonSerializableAttribute.TypeInfoPropertyName' özelliğini kullanın. @@ -52,6 +62,46 @@ 'JsonSourceGenerationMode.Serialization' içinde 'JsonDerivedTypeAttribute' desteklenmiyor. + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + Tür ayırıcısı '{0}', polimorfik tür '{1}' için birden fazla kez belirtildi. Türetilmiş türler benzersiz ayırıcılara karşılık gelmelidir. + + + + Derived types produce a duplicate type discriminator. + Türetilmiş türler yinelenen bir tür ayırıcısı üretir. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + '{0}' türü JsonPolymorphicAttribute.InferClosedTypePolymorphism'i etkinleştirir ancak kapalı bir tür değildir, bu nedenle hiçbir türetilmiş tür çıkarılamaz. Türü 'closed' olarak bildirin veya türetilmiş türlerini JsonDerivedTypeAttribute kullanarak kaydedin. + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + Kapalı tür olmayan bir türde çıkarılan kapalı tür polimorfizmi etkinleştirildi. + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + '{0}' türü JsonPolymorphicAttribute.InferClosedTypePolymorphism'i etkinleştirir ancak JsonDerivedTypeAttribute da bildirir. Açık kayıtlar çıkarımın yerini aldığından yalnızca açıkça bildirilen türetilmiş türler polimorfik olarak seri hale getirilir. + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + Çıkarılan kapalı tür polimorfizminin, türetilmiş türleri açıkça kaydeden bir tür üzerinde hiçbir etkisi yoktur. + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + Çıkarsanan türetilmiş tür '{0}' polimorfik temel '{1}' türünden daha az erişilebilir. Çıkarsanan türetilmiş türler, en az temel tür kadar erişilebilir olmalıdır. + + + + Inferred derived type is less accessible than the polymorphic base type. + Çıkarsanan türetilmiş tür, polimorfik temel türden daha az erişilebilirdir. + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. '{1}' üyesi üzerinde belirtilen 'JsonConverterAttribute' '{0}' türü dönüştürücü türü değil veya erişilebilir parametresiz bir oluşturucu içermiyor. diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hans.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hans.xlf index bba5d574bb8539..a66e7258c64fbb 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hans.xlf @@ -32,6 +32,16 @@ 源生成器不支持从 JsonConverterAttribute 派生的属性。 + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + 指定的类型“{0}”不是多态类型“{1}”支持的派生类型。派生类型必须可分配给基类型。 + + + + Derived type is not a supported polymorphic derived type. + 派生类型不是受支持的多态派生类型。 + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. 有多个名为 {0} 的类型。已为第一个检测到类型的生成源。请使用“JsonSerializableAttribute.TypeInfoPropertyName”以解决此冲突。 @@ -52,6 +62,46 @@ \"JsonSourceGenerationMode.Serialization\" 中不支持 \"JsonDerivedTypeAttribute\"。 + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + 为多态类型“{1}”多次指定了类型鉴别器“{0}”。派生类型必须对应于唯一的鉴别器。 + + + + Derived types produce a duplicate type discriminator. + 派生类型产生重复的类型鉴别器。 + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + 类型“{0}”会启用 JsonPolymorphicAttribute.InferClosedTypePolymorphism,但不是封闭类型,因此无法推断派生类型。声明类型“封闭”或使用 JsonDerivedTypeAttribute 注册其派生类型。 + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + 在非封闭类型的类型上启用推断的封闭类型多态性。 + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + 类型“{0}”会启用 JsonPolymorphicAttribute.InferClosedTypePolymorphism,但还会声明 JsonDerivedTypeAttribute。显式注册将替换推理,因此只有显式声明的派生类型才会以多态方式序列化。 + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + 推断的封闭类型多态性对显式注册派生类型的类型没有影响。 + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + 推断的派生类型“{0}”的可访问性低于多态基类型“{1}”。推断的派生类型的可访问性必须至少与基类型相同。 + + + + Inferred derived type is less accessible than the polymorphic base type. + 推断的派生类型的可访问性低于多态基类型。 + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. 在成员 "{1}" 上指定的 "JsonConverterAttribute" 类型 "{0}" 不是转换器类型或不包含可访问的无参数构造函数。 diff --git a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hant.xlf b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hant.xlf index 2f64e9918c993d..88178a8a284ced 100644 --- a/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/libraries/System.Text.Json/gen/Resources/xlf/Strings.zh-Hant.xlf @@ -32,6 +32,16 @@ 來源產生器不支援衍生自 JsonConverterAttribute 的屬性。 + + Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type. + 指定的類型 '{0}' 不是多型類型 '{1}' 支援的衍生類型。衍生類型必須可指派給基底類型。 + + + + Derived type is not a supported polymorphic derived type. + 衍生類型不是支援的多型衍生類型。 + + There are multiple types named '{0}'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. 有多個名為 '{0}' 的類型。已為偵測到的第一個項目產生來源。請使用 'JsonSerializableAttribute.TypeInfoPropertyName' 解決此衝突。 @@ -52,6 +62,46 @@ 'JsonSourceGenerationMode.Serialization' 中不支援 'JsonDerivedTypeAttribute'。 + + The type discriminator '{0}' is specified more than once for the polymorphic type '{1}'. Derived types must correspond to unique discriminators. + 多型類型 '{0}' 的類型辨別器 '{1}' 指定了不只一次。衍生類型必須對應到唯一的辨別器。 + + + + Derived types produce a duplicate type discriminator. + 衍生類型會產生重複的類型辨別器。 + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but is not a closed type, so no derived types can be inferred. Declare the type 'closed' or register its derived types using JsonDerivedTypeAttribute. + 類型 '{0}' 會啟用 JsonPolymorphicAttribute.InferClosedTypePolymorphism,但不是封閉類型,因此無法推斷衍生類型。將類型宣告為「封閉」,或使用 JsonDerivedTypeAttribute 註冊其衍生類型。 + + + + Inferred closed type polymorphism is enabled on a type that is not a closed type. + 已在不是封閉類型的類型上啟用推斷的封閉類型多型。 + + + + The type '{0}' enables JsonPolymorphicAttribute.InferClosedTypePolymorphism but also declares JsonDerivedTypeAttribute. Explicit registrations replace inference, so only the derived types declared explicitly are serialized polymorphically. + 類型 '{0}' 會啟用 JsonPolymorphicAttribute.InferClosedTypePolymorphism,但也會宣告 JsonDerivedTypeAttribute。明確註冊會取代推斷,因此只有明確宣告的衍生類型會以多型方式序列化。 + + + + Inferred closed type polymorphism has no effect on a type that registers derived types explicitly. + 推斷的封閉類型多型對明確註冊衍生類型的類型沒有作用。 + + + + The inferred derived type '{0}' is less accessible than the polymorphic base type '{1}'. Inferred derived types must be at least as accessible as the base type. + 推斷的衍生類型 '{0}' 比多型基底類型 '{1}' 的可存取性更低。推斷的衍生類型至少必須與基底類型一樣可存取。 + + + + Inferred derived type is less accessible than the polymorphic base type. + 推斷的衍生類型比多型基底類型的可存取性更低。 + + The 'JsonConverterAttribute' type '{0}' specified on member '{1}' is not a converter type or does not contain an accessible parameterless constructor. 成員 '{1}' 上指定的 'JsonConverterAttribute' 類型 '{0}' 不是轉換器類型,或不包含可存取的無參數建構函式。