Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">Aby byly metody s označením [GlobalTestInitialize] nebo [GlobalTestCleanup] platné, musí se řídit následujícím rozložením:
– Nesmí být deklarované pro obecnou class.
– Musí být „public“.
– Musí být „static“.
– Nesmí být „async void“.
– Nesmí být speciální metodou („finalizer“, „operator...).
– Nesmí být obecné.
– Musí mít jeden parametr typu TestContext.
– Návratový typ musí být „void“, „Task“ nebo „ValueTask“.
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Typ by měl být class.
– class by měla být „public“.
– class by neměla být „static“.
– class by měla být označena atributem [TestClass] (nebo odvozeným atributem).
– class by neměla být obecná.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -564,22 +564,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">Methoden, die mit „[GlobalTestInitialize]“ oder „[GlobalTestCleanup]“ gekennzeichnet sind, sollten dem folgenden Layout folgen, um gültig zu sein:
– kann nicht für eine generische class deklariert werden
– muss „public“ sein
– muss „static“ sein
– darf nicht „async void“ sein
– darf keine spezielle Methode sein (Finalizer, Operator...).
– darf nicht „generic“ sein
– muss einen Parameter vom Typ „TestContext“ annehmen
– der Rückgabetyp muss „void“, „Task“ oder „ValueTask“ sein
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

Der Typ, der diese Methoden deklariert, sollte auch die folgenden Regeln beachten:
– Der Typ sollte eine class sein
– Die class sollte „public“ sein
– Die class darf nicht „static“ sein
– Die class muss mit „[TestClass]“ (oder einem abgeleiteten Attribut) markiert werden
– die class darf nicht generisch sein.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">Los métodos marcados con '[GlobalTestInitialize]' o '[GlobalTestCleanup]' deben seguir el siguiente diseño para ser válidos:
-no se puede declarar en una class genérica
- debería ser 'public'
- debería estar 'static'
-no debe ser 'async void'
-no debe ser un método especial (finalizador, operador...).
-no debe ser genérico
-debe tomar un parámetro de tipo 'TestContext'
- El tipo de valor devuelto debe ser 'void', 'Task' o 'ValueTask'
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

El tipo que declara estos métodos también debe respetar las reglas siguientes:
-El tipo debe ser una class
-La class debe ser 'public'
-La class no debe ser 'static'
-La class debe marcarse con '[TestClass]' (o un atributo derivado)
-la class no debe ser genérica.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">Les méthodes marquées par « [GlobalTestInitialize] » ou « [GlobalTestCleanup] » doivent respecter le schéma suivant pour être valides :
- elle ne peut pas être déclarée dans une classe générique
– elle doit être « public »
– elle doit être « static »
– elle ne doit pas être « async void »
– il ne doit pas s’agir d’une méthode spéciale (finaliseur, opérateur...).
– elle ne doit pas être générique
– il doit prendre un paramètre de type « TestContext »
- le type de retour doit être « void », « Task » ou « ValueTask »
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

Le type déclarant ces méthodes doit également respecter les règles suivantes :
- le type doit être une classe
- la classe doit être « public »
- la classe ne doit pas être « static »
- la classe doit être marquée par « [TestClass] » (ou un attribut dérivé)
- la classe ne doit pas être générique.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">I metodi contrassegnati con ‘[GlobalTestInitialize]’ o ‘[GlobalTestCleanup]’ devono seguire il layout seguente per essere validi:
- Non può essere dichiarato in una classe generica
- Deve essere 'public'
- Deve essere 'static'
- Non deve essere 'async void'
- Non deve essere un metodo speciale (finalizzatore, operatore...).
- Non deve essere generico
- Deve accettare un parametro di tipo 'TestContext'
- Il tipo restituito deve essere 'void', 'Task' o 'ValueTask'
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

Anche il tipo che dichiara questi metodi deve rispettare le regole seguenti:
- Il tipo deve essere una classe
- La classe deve essere 'public'
- La classe non deve essere 'static'
- La classe deve essere contrassegnata con '[TestClass]' (o un attributo derivato)
- La classe non deve essere generica.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">'[GlobalTestInitialize]' または '[GlobalTestCleanup]' でマークされたメソッドを有効にするには、次のレイアウトに従う必要があります:
- ジェネリック class で宣言することはできません
- 'public' である必要があります
- 'static' である必要があります
- 'async void' にすることはできません
- 特殊なメソッド (ファイナライザー、演算子...) にすることはできません。
- ジェネリックにすることはできません
- 'TestContext' 型のパラメーターを 1 つ受け取る必要があります
- 戻り値の型が 'void''Task'、または 'ValueTask' である必要があります
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

これらのメソッドを宣言する型も、次の規則に従う必要があります:
- 型は class である必要があります
-class は 'public' である必要があります
- class を 'static' にすることはできません
- class は '[TestClass]' (または派生属性) でマークする必要があります
- class をジェネリックにすることはできません。</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">'[GlobalTestInitialize]' 또는 '[GlobalTestCleanup]'으로 표시된 메서드는 다음 레이아웃을 따라야 유효합니다.
- 제네릭 class에서 선언할 수 없습니다.
- 'public'이어야 합니다.
- 'static'이어야 합니다.
- 'async void'가 아니어야 합니다.
- 특수 메서드(종료자, 연산자...)가 아니어야 합니다.
- 제네릭이 아니어야 합니다.
- 'TestContext' 형식의 매개 변수를 하나 사용해야 합니다.
- 반환 형식은 'void', 'Task' 또는 'ValueTask'여야 합니다.
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

이러한 메서드를 선언하는 형식은 다음 규칙도 준수해야 합니다.
- 형식은 class여야 합니다.
-class는 'public'이어야 합니다.
- class는 'static'이 되어서는 안 됩니다.
- class는 '[TestClass]'(또는 파생 특성)로 표시되어야 합니다.
- class는 제네릭이 아니어야 합니다.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">Metody oznaczone znakiem „[GlobalTestInitialize]” lub „[GlobalTestCleanup]” powinny być zgodne z następującym układem, aby były prawidłowe:
— nie może być zadeklarowana w class ogólnej
— powinna być typu „public
— powinna mieć wartość „static
— nie powinna to być wartość „async void
— nie powinna to być metoda specjalna (finalizator, operator...).
— nie powinna być ogólna
— powinna przyjmować jeden parametr typu „TestContext
— zwracany typ powinien mieć wartość „void”, „Task” lub „ValueTask
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

Typ deklarujący te metody powinien również przestrzegać następujących reguł:
— typ powinien być class
— class powinna być „publiczna”
— class nie powinna mieć wartości „static”
— class powinna być oznaczona „[TestClass]” (lub atrybutem pochodnym)
— class nie powinna być ogólna.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
29 changes: 14 additions & 15 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.pt-BR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,21 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</source>
<target state="needs-review-translation">Os métodos marcados com "[GlobalTestInitialize]" ou "[GlobalTestCleanup]" devem seguir o seguinte layout para serem válidos:
-não podem ser declarados em uma classe genérica
-devem ser "public"
-devem ser "static"
-não devem ser "async void"
-não devem ser um método especial (finalizador, operador...).
-não devem ser genéricos
-devem usar um parâmetro do tipo “TestContext
-o tipo de retorno deve ser “void”, “Task” ou “ValueTask
<target state="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
-it can't be declared on a generic class
-it should be 'public'
-it should be 'static'
-it should not be 'async void'
-it should not be a special method (finalizer, operator...).
-it should not be generic
-it should take one parameter of type 'TestContext'
-return type should be 'void', 'Task' or 'ValueTask'

O tipo que declara esses métodos também deve respeitar as seguintes regras:
-O tipo deve ser uma classe
-A classe deve ser "public"
-A classe não deve ser “static”
-A classe deve ser marcada com “[TestClass]” (ou um atributo derivado)
-a classe não deve ser genérica.</target>
The type declaring these methods should also respect the following rules:
-The type should be a class
-The class should be 'public'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.</target>
<note>{Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}</note>
</trans-unit>
<trans-unit id="GlobalTestFixtureShouldBeValidMessageFormat">
Expand Down
Loading