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
6 changes: 3 additions & 3 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -992,17 +992,17 @@ Der Typ, der diese Methoden deklariert, sollte auch die folgenden Regeln beachte
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksTitle">
<source>Do not use asserts in catch blocks</source>
<target state="new">Do not use asserts in catch blocks</target>
<target state="translated">Keine Asserts in Catch-Blöcken verwenden</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksMessageFormat">
<source>Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</source>
<target state="new">Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</target>
<target state="translated">Keine Asserts in Catch-Blöcken verwenden, da der Test möglicherweise nicht fehlschlägt, wenn keine Ausnahme ausgelöst wird</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksDescription">
<source>Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</source>
<target state="new">Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</target>
<target state="translated">Die Verwendung von Asserts in Catch-Blöcken ist problematisch, da der Test auch dann erfolgreich ist, wenn keine Ausnahme ausgelöst wird und der Catch-Block nie ausgeführt wird. Verwenden Sie „Assert.Throws“, „Assert.ThrowsExactly“, „Assert.ThrowsAsync“ oder „Assert.ThrowsExactlyAsync“, um zu überprüfen, ob eine Ausnahme ausgelöst wird, und erstellen Sie dann zusätzliche Assertionen für die abgefangene Ausnahme, ohne den „try-catch“-Block zu verwenden.</target>
<note />
</trans-unit>
</body>
Expand Down
6 changes: 3 additions & 3 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -991,17 +991,17 @@ Le type doit être une classe
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksTitle">
<source>Do not use asserts in catch blocks</source>
<target state="new">Do not use asserts in catch blocks</target>
<target state="translated">N’utilisez pas d’assertions dans les blocs catch</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksMessageFormat">
<source>Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</source>
<target state="new">Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</target>
<target state="translated">N’utilisez pas d’assertions dans les blocs catch, car elles peuvent ne pas faire échouer le test si aucune exception n’est levée</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksDescription">
<source>Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</source>
<target state="new">Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</target>
<target state="translated">L’utilisation d’assertions dans les blocs catch pose problème, car le test réussit même si aucune exception n’est levée et que le bloc catch n’est jamais exécuté. Utilisez « Assert.Throws », « Assert.ThrowsExactly », « Assert.ThrowsAsync » ou « Assert.ThrowsExactlyAsync » pour vérifier qu’une exception est levée, puis effectuez des assertions supplémentaires sur l’exception capturée sans utiliser le bloc try-catch.</target>
<note />
</trans-unit>
</body>
Expand Down
6 changes: 3 additions & 3 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -991,17 +991,17 @@ Anche il tipo che dichiara questi metodi deve rispettare le regole seguenti:
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksTitle">
<source>Do not use asserts in catch blocks</source>
<target state="new">Do not use asserts in catch blocks</target>
<target state="translated">Non usare asserzioni nei blocchi catch</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksMessageFormat">
<source>Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</source>
<target state="new">Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</target>
<target state="translated">Non usare asserzioni nei blocchi catch perché potrebbero non far fallire il test se non viene generata alcuna eccezione</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksDescription">
<source>Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</source>
<target state="new">Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</target>
<target state="translated">L'uso di asserzioni nei blocchi catch è problematico perché il test risulta superato anche se non viene generata alcuna eccezione e il blocco catch non viene mai eseguito. Utilizzare 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' o 'Assert.ThrowsExactlyAsync' per verificare che venga generata un'eccezione, quindi effettuare ulteriori asserzioni sull'eccezione rilevata senza usare il blocco try-catch.</target>
<note />
</trans-unit>
</body>
Expand Down
6 changes: 3 additions & 3 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1003,17 +1003,17 @@ The type declaring these methods should also respect the following rules:
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksTitle">
<source>Do not use asserts in catch blocks</source>
<target state="new">Do not use asserts in catch blocks</target>
<target state="translated">Не используйте утверждения в блоках catch</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksMessageFormat">
<source>Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</source>
<target state="new">Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</target>
<target state="translated">Не используйте утверждения в блоках catch, так как с ними тест может не завершаться сбоем, если не возникает исключение</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksDescription">
<source>Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</source>
<target state="new">Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</target>
<target state="translated">Использование утверждений в блоках catch является проблематичным, так как тест будет пройден, даже если не возникает исключение, а блок catch не выполняется. Используйте "Assert.Throws", "Assert.ThrowsExactly", "Assert.ThrowsAsync" или "Assert.ThrowsExactlyAsync" для проверки возникновения исключения, а затем выполните дополнительные утверждения перехваченного исключения без применения блока try-catch.</target>
<note />
</trans-unit>
</body>
Expand Down
6 changes: 3 additions & 3 deletions src/Analyzers/MSTest.Analyzers/xlf/Resources.zh-Hant.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -991,17 +991,17 @@ The type declaring these methods should also respect the following rules:
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksTitle">
<source>Do not use asserts in catch blocks</source>
<target state="new">Do not use asserts in catch blocks</target>
<target state="translated">不要在 Catch 區塊中使用判斷提示</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksMessageFormat">
<source>Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</source>
<target state="new">Do not use asserts in catch blocks because they may not fail the test if no exception is thrown</target>
<target state="translated">請勿在 Catch 區塊中使用判斷提示,因為如果沒有拋出例外,判斷提示可能不會測試失敗</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssertsInCatchBlocksDescription">
<source>Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</source>
<target state="new">Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block.</target>
<target state="translated">在 Catch 區塊中使用斷言會有問題,因為即使沒有拋出例外且 Catch 區塊從未執行,測試仍會通過。請使用 'Assert.Throws''Assert.ThrowsExactly''Assert.ThrowsAsync' 'Assert.ThrowsExactlyAsync' 來驗證是否有拋出例外,然後在不使用 try-catch 區塊的情況下,對捕捉到的例外進行進一步判斷提示。</target>
<note />
</trans-unit>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Skutečnost: {2}</target>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">Hodnota {0} není v očekávaném rozsahu [{1}..{2}]. {3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">Maximální hodnota musí být větší než minimální hodnota.</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Tatsächlich: {2}</target>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">Der Wert „{0}“ liegt nicht im erwarteten Bereich [{1}..{2}]. {3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">Der Höchstwert muss größer als der Mindestwert sein.</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Réel : {2}</target>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">La valeur « {0} » n'est pas dans la plage attendue [{1}..{2}]. {3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">La valeur maximale doit être supérieure à la valeur minimale.</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Effettivo: {2}</target>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">Il valore '{0}' non è compreso nell'intervallo previsto [{1}, {2}]. {3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">Il valore massimo deve essere superiore a quello minimo.</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Actual: {2}</source>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">値 '{0}' は予期される範囲 [{1}..{2}] 内にありません。{3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">最大値は、最小値より大きくする必要があります。</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Real: {2}</target>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">O valor '{0}' não está dentro do intervalo esperado [{1}.. {2}]. {3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">O valor máximo deve ser maior que o valor mínimo.</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Actual: {2}</source>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">Значение "{0}" не находится в пределах ожидаемого диапазона [{1}..{2}]. {3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">Максимальное значение должно быть больше минимального значения.</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ Actual: {2}</source>
</trans-unit>
<trans-unit id="IsInRangeFail">
<source>Value '{0}' is not within the expected range [{1}..{2}]. {3}</source>
<target state="new">Value '{0}' is not within the expected range [{1}..{2}]. {3}</target>
<target state="translated">值 '{0}' 不在預期的範圍 [{1}, {2}] 內。{3}</target>
<note />
</trans-unit>
<trans-unit id="IsInRangeMaxValueMustBeGreaterThanMinValue">
<source>The maximum value must be greater than the minimum value.</source>
<target state="new">The maximum value must be greater than the minimum value.</target>
<target state="translated">最大值必須大於最小值。</target>
<note />
</trans-unit>
<trans-unit id="IsInstanceOfFailMsg">
Expand Down
Loading