Skip to content

Commit

Permalink
Merge pull request #6985 from dotnet/locfiles/acc4b32e-28e1-43b8-a249…
Browse files Browse the repository at this point in the history
…-20eda796d556

Localized file check-in by OneLocBuild Task: Build definition ID 830: Build ID 2292763
  • Loading branch information
github-actions[bot] authored Oct 17, 2023
2 parents 6fbed71 + 294d4fa commit 4ff2809
Show file tree
Hide file tree
Showing 13 changed files with 91 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2245,12 +2245,12 @@ Obecné přetypování (IL unbox.any) používané sekvencí vrácenou metodou E
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringComparerDescription">
<source>Avoid calling 'ToLower', 'ToUpper', 'ToLowerInvariant' and 'ToUpperInvariant' to perform case-insensitive string comparisons when using 'CompareTo', because they lead to an allocation. Instead, use 'StringComparer' to perform case-insensitive comparisons. Switching to using 'StringComparer' might cause subtle changes in behavior, so it's important to conduct thorough testing after applying the suggestion. Additionally, if a culturally sensitive comparison is not required, consider using 'StringComparer.OrdinalIgnoreCase'.</source>
<target state="new">Avoid calling 'ToLower', 'ToUpper', 'ToLowerInvariant' and 'ToUpperInvariant' to perform case-insensitive string comparisons when using 'CompareTo', because they lead to an allocation. Instead, use 'StringComparer' to perform case-insensitive comparisons. Switching to using 'StringComparer' might cause subtle changes in behavior, so it's important to conduct thorough testing after applying the suggestion. Additionally, if a culturally sensitive comparison is not required, consider using 'StringComparer.OrdinalIgnoreCase'.</target>
<target state="translated">Vyhněte se volání „ToLower, ToUpper“, „ToLowerInvariant“ a „ToUpperInvariant“ k provádění porovnávání řetězců bez rozlišování velkých a malých písmen při použití „CompareTo“, protože vedou k přidělení. Místo toho k porovnání bez rozlišování malých a velkých písmen použijte „StringComparer“. Přechod na použití „StringComparer“ může způsobit drobné změny v chování, takže je důležité provést důkladné testování po použití návrhu. Pokud navíc není vyžadováno kulturní porovnání, zvažte použití „stringcomparer.OrdinalIgnoreCase.</target>
<note />
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringComparerMessage">
<source>Prefer using 'StringComparer' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparer.OrdinalIgnoreCase'</source>
<target state="new">Prefer using 'StringComparer' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparer.OrdinalIgnoreCase'</target>
<target state="translated">Pokud chcete provést porovnání bez rozlišování velkých a malých písmen, raději použijte „StringComparer“, ale mějte na paměti, že to může způsobit drobné změny v chování. Proto po použití návrhu nezapomeňte provést důkladné testování nebo pokud není vyžadováno kulturní porovnání, zvažte použití „stringcomparer.OrdinalIgnoreCase“.</target>
<note />
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringComparerStringComparisonCodeFixTitle">
Expand All @@ -2260,17 +2260,17 @@ Obecné přetypování (IL unbox.any) používané sekvencí vrácenou metodou E
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringComparisonDescription">
<source>Avoid calling 'ToLower', 'ToUpper', 'ToLowerInvariant' and 'ToUpperInvariant' to perform case-insensitive string comparisons because they lead to an allocation. Instead, prefer calling the method overloads of 'Contains', 'IndexOf' and 'StartsWith' that take a 'StringComparison' enum value to perform case-insensitive comparisons. Switching to using an overload that takes a 'StringComparison' might cause subtle changes in behavior, so it's important to conduct thorough testing after applying the suggestion. Additionally, if a culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'.</source>
<target state="new">Avoid calling 'ToLower', 'ToUpper', 'ToLowerInvariant' and 'ToUpperInvariant' to perform case-insensitive string comparisons because they lead to an allocation. Instead, prefer calling the method overloads of 'Contains', 'IndexOf' and 'StartsWith' that take a 'StringComparison' enum value to perform case-insensitive comparisons. Switching to using an overload that takes a 'StringComparison' might cause subtle changes in behavior, so it's important to conduct thorough testing after applying the suggestion. Additionally, if a culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'.</target>
<target state="translated">Při provádění porovnávání řetězců bez rozlišování velkých a malých písmen se vyhněte volání „ToLower“, „ToUpper“, „ToLowerInvariant“ a „ToUpperInvariant“, protože vedou k přidělení. Místo toho upřednostňujte volání metody přetížení „Contains“, „IndexOf“ a „StartsWith“, která pro porovnání bez rozlišování malých a velkých písmen přijímají hodnotu výčtu „StringComparison“. Přechod na přetížení, které přijímá „StringComparison“, může způsobit drobné změny v chování, takže je důležité provést důkladné testování po použití návrhu. Pokud navíc není vyžadováno kulturní porovnání, zvažte použití „stringcomparison.OrdinalIgnoreCase.</target>
<note />
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringComparisonMessage">
<source>Prefer the string comparison method overload of '{0}' that takes a 'StringComparison' enum value to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'</source>
<target state="new">Prefer the string comparison method overload of '{0}' that takes a 'StringComparison' enum value to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'</target>
<target state="translated">Upřednostňujte metody přetížení porovnání řetězců „{0}“, které přebírá hodnotu výčtu „StringComparison“ k porovnání bez rozlišování velkých a malých písmen, ale mějte na paměti, že to může způsobit drobné změny chování. Proto po použití návrhu nezapomeňte provést důkladné testování nebo pokud není vyžadováno kulturní porovnání, zvažte použití metody „StringComparison.OrdinalIgnoreCase“.</target>
<note />
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringComparisonTitle">
<source>Use the 'StringComparison' method overloads to perform case-insensitive string comparisons</source>
<target state="new">Use the 'StringComparison' method overloads to perform case-insensitive string comparisons</target>
<target state="translated">Použijte metodu přetížení „StringComparison“ k porovnání řetězců bez rozlišování velkých a malých písmen</target>
<note />
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringEqualsCodeFixTitle">
Expand All @@ -2280,12 +2280,12 @@ Obecné přetypování (IL unbox.any) používané sekvencí vrácenou metodou E
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringEqualsDescription">
<source>Avoid calling 'ToLower', 'ToUpper', 'ToLowerInvariant' and 'ToUpperInvariant' to perform case-insensitive string comparisons, as in 'string.ToLower() == string.ToLower()', because they lead to an allocation. Instead, use 'string.Equals(string, StringComparison)' to perform case-insensitive comparisons. Switching to using an overload that takes a 'StringComparison' might cause subtle changes in behavior, so it's important to conduct thorough testing after applying the suggestion. Additionally, if a culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'.</source>
<target state="new">Avoid calling 'ToLower', 'ToUpper', 'ToLowerInvariant' and 'ToUpperInvariant' to perform case-insensitive string comparisons, as in 'string.ToLower() == string.ToLower()', because they lead to an allocation. Instead, use 'string.Equals(string, StringComparison)' to perform case-insensitive comparisons. Switching to using an overload that takes a 'StringComparison' might cause subtle changes in behavior, so it's important to conduct thorough testing after applying the suggestion. Additionally, if a culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'.</target>
<target state="translated">Vyhněte se volání „ToLower“, „ToUpper“, „ToLowerInvariant“ a „ToUpperInvariant“ k provádění porovnávání řetězců bez rozlišování velkých a malých písmen, jako v „string.ToLower() == string.ToLower()“, protože vedou k přidělení. Místo toho pro porovnání bez rozlišování malých a velkých písmen použijte „string.Equals(string, StringComparison)“. Přechod na přetížení, které přijímá „StringComparison“, může způsobit drobné změny v chování, takže je důležité provést důkladné testování po použití návrhu. Pokud navíc není vyžadováno kulturní porovnání, zvažte použití „stringcomparison.OrdinalIgnoreCase.</target>
<note />
</trans-unit>
<trans-unit id="RecommendCaseInsensitiveStringEqualsMessage">
<source>Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'</source>
<target state="new">Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'</target>
<target state="translated">Pro porovnání bez rozlišování velkých a malých písmen preferujte použití „string.Equals(string, StringComparison)“, ale mějte na paměti, že to může způsobit drobné změny v chování. Proto nezapomeňte provést důkladné testování po použití návrhu nebo pokud není vyžadováno kulturní porovnání, zvažte použití „stringComparison.OrdinalIgnoreCase“.</target>
<note />
</trans-unit>
<trans-unit id="RemoveRedundantCall">
Expand Down
Loading

0 comments on commit 4ff2809

Please sign in to comment.