diff --git a/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf b/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf index 2b8096f967..6982430e5b 100644 --- a/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf +++ b/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf @@ -649,14 +649,14 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla: - return type should be 'void', 'Task' or 'ValueTask' - it should not be 'async void' - it should not be a special method (finalizer, operator...). - Test methods, methods marked with the '[TestMethod]' attribute, should respect the following layout to be considered valid by MSTest: -- it should be 'public' (or 'internal' if '[assembly: DiscoverInternals]' attribute is set) -- it should not be 'static' -- it should may be generic as long as type parameters can be inferred and argument types are compatible -- it should not be 'abstract' -- return type should be 'void', 'Task' or 'ValueTask' -- it should not be 'async void' -- it should not be a special method (finalizer, operator...). + Testovací metody (metody označené atributem [TestMethod]) by měly respektovat následující rozložení, které MSTest považuje za platné: +– musí být public (nebo internal, pokud je nastaven atribut [assembly: DiscoverInternals]), +– musí být static, +– můžou být obecné, pokud lze odvodit parametry typu a typy argumentů jsou kompatibilní +– nesmí být abstract, +– návratový typ by měl být void, Task nebo ValueTask, +– nesmí být async void, +– nesmí být speciální metodou (finalizační metoda, operátor...). diff --git a/src/Analyzers/MSTest.Analyzers/xlf/Resources.pl.xlf b/src/Analyzers/MSTest.Analyzers/xlf/Resources.pl.xlf index 3b5d911698..82fd0f8278 100644 --- a/src/Analyzers/MSTest.Analyzers/xlf/Resources.pl.xlf +++ b/src/Analyzers/MSTest.Analyzers/xlf/Resources.pl.xlf @@ -649,14 +649,14 @@ Typ deklarujący te metody powinien również przestrzegać następujących regu - return type should be 'void', 'Task' or 'ValueTask' - it should not be 'async void' - it should not be a special method (finalizer, operator...). - Test methods, methods marked with the '[TestMethod]' attribute, should respect the following layout to be considered valid by MSTest: -- it should be 'public' (or 'internal' if '[assembly: DiscoverInternals]' attribute is set) -- it should not be 'static' -- it should may be generic as long as type parameters can be inferred and argument types are compatible -- it should not be 'abstract' -- return type should be 'void', 'Task' or 'ValueTask' -- it should not be 'async void' -- it should not be a special method (finalizer, operator...). + Metody testowe, czyli metody oznaczone atrybutem „[TestMethod]”, powinny uwzględniać następujący układ, aby platforma MSTest uznała je za prawidłowe: +— powinny mieć wartość „public” (lub „internal”, jeśli ustawiono atrybut „[assembly: DiscoverInternals]”) +— nie powinny mieć wartości „static” +— mogą być ogólne, o ile można wywnioskować parametry typu i typy argumentów są zgodne +— nie powinny mieć wartości „abstract” +— zwracany typ powinien mieć wartość „void”, „Task” lub „ValueTask” +— nie powinny mieć wartości „async void” +— nie powinny być metodą specjalną (finalizator, operator...). diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.cs.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.cs.xlf index d5f7ef3690..088671ad85 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.cs.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.cs.xlf @@ -254,7 +254,7 @@ Skutečnost: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - Vlastnost nebo metoda {0} na návratovém typu {1} se nedá přiřadit k „IEnumerable<object[]>“ (ani „IEnumerable<ITuple>“ pro .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.de.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.de.xlf index 11674effd2..92ad58b0e8 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.de.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.de.xlf @@ -254,7 +254,7 @@ Tatsächlich: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - Die Eigenschaft oder Methode "{0}" für Rückgabetyp "{1}" kann "IEnumerable<object[]>" nicht zugewiesen werden (auch nicht "IEnumerable<ITuple>" für .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.es.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.es.xlf index 36e0fcaa67..ab6c3262df 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.es.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.es.xlf @@ -254,7 +254,7 @@ Real: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - La propiedad o el método {0} en {1} tipo de valor devuelto no se puede asignar a "IEnumerable<objecto[]>" (ni a "IEnumerable<ITuple>" para .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.fr.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.fr.xlf index 11bf22ec30..749ee02e87 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.fr.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.fr.xlf @@ -254,7 +254,7 @@ Réel : {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - La propriété ou la méthode {0} sur le type de retour {1} ne peut pas être attribuée à « IEnumerable<object[]> » (ni à « IEnumerable<ITuple> » pour .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.it.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.it.xlf index 6a0aff7534..9e7406e31d 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.it.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.it.xlf @@ -254,7 +254,7 @@ Effettivo: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - La proprietà o il metodo {0} su {1} tipo restituito non è assegnabile a 'IEnumerable<object[]>' (né a 'IEnumerable<ITuple>' per .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ja.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ja.xlf index 0cb38f531a..989996682a 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ja.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ja.xlf @@ -254,7 +254,7 @@ Actual: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - {1} 戻り値の型のプロパティまたはメソッド {0} は、'IEnumerable<object[]>' (.NET Core の場合は 'IEnumerable<ITuple>' に割り当てできません)。 + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ko.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ko.xlf index bc0c38c646..fe9b7199cb 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ko.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ko.xlf @@ -254,7 +254,7 @@ Actual: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - {1} 반환 형식의 속성 또는 메서드 {0}은(는) 'IEnumerable<object[]>'(.NET Core의 경우 'IEnumerable<ITuple>')에 할당할 수 없습니다. + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pl.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pl.xlf index c4b7f133ea..ec4aaa9fb6 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pl.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pl.xlf @@ -254,7 +254,7 @@ Rzeczywiste: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - Właściwości lub metody {0} w zwracanym typie {1} nie można przypisać do elementu „IEnumerable<object[]>” (ani „IEnumerable<ITuple>” dla platformy .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pt-BR.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pt-BR.xlf index 85a180e229..372e307848 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pt-BR.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.pt-BR.xlf @@ -254,7 +254,7 @@ Real: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - A propriedade ou método {0} no {1} tipo de retorno não pode ser atribuído a 'IEnumerable<object[]>” (nem 'IEnumerable<ITuple>” para .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ru.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ru.xlf index 8efd601c62..fe3737cf89 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ru.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.ru.xlf @@ -254,7 +254,7 @@ Actual: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - Свойство или метод {0} возвращаемого типа {1} не могут быть назначены объекту "IEnumerable<[]>" (или "IEnumerable<ITuple>" для .NET Core). + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.tr.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.tr.xlf index d5b60bb38a..e8e420d934 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.tr.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.tr.xlf @@ -254,7 +254,7 @@ Gerçekte olan: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - {1} dönüş türündeki {0} özelliği veya yöntemi 'IEnumerable<object[]>' öğesine (veya .NET Core için 'IEnumerable<ITuple>' öğesine) atanamaz. + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hans.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hans.xlf index 8216a4f254..b4c6af2102 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hans.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hans.xlf @@ -254,7 +254,7 @@ Actual: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - {1} 返回类型上的属性或方法 {0} 不能分配给 "IEnumerable<object[]>" (对于 .NET Core,也不能分配给 "IEnumerable<ITuple>")。 + Property or method {0} on {1} return type is not assignable to 'IEnumerable'. diff --git a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hant.xlf b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hant.xlf index 3b6b0e03a3..d2e361b7fa 100644 --- a/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hant.xlf +++ b/src/TestFramework/TestFramework/Resources/xlf/FrameworkMessages.zh-Hant.xlf @@ -254,7 +254,7 @@ Actual: {2} Property or method {0} on {1} return type is not assignable to 'IEnumerable'. - {1} 傳回類型上的屬性或方法 {0} 無法指派給 'IEnumerable<object[]>' (或 'IEnumerable<ITuple>' 給 .NET Core) + Property or method {0} on {1} return type is not assignable to 'IEnumerable'.