Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some of the unused resources #6341

Merged
merged 4 commits into from
Dec 21, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -240,30 +240,15 @@
<data name="MarkAssembliesWithComVisibleDescription" xml:space="preserve">
<value>ComVisibleAttribute determines how COM clients access managed code. Good design dictates that assemblies explicitly indicate COM visibility. COM visibility can be set for the whole assembly and then overridden for individual types and type members. If this attribute is not present, the contents of the assembly are visible to COM clients.</value>
</data>
<data name="MarkAssembliesWithComVisibleMessageNoAttribute" xml:space="preserve">
<value>Because {0} exposes externally visible types, mark it with ComVisible(false) at the assembly level and then mark all types within the assembly that should be exposed to COM clients with ComVisible(true).</value>
</data>
<data name="MarkAssembliesWithComVisibleMessageAttributeTrue" xml:space="preserve">
<value>Consider changing the ComVisible attribute on {0} to false, and opting in at the type level.</value>
</data>
<data name="MarkAttributesWithAttributeUsageTitle" xml:space="preserve">
<value>Mark attributes with AttributeUsageAttribute</value>
</data>
<data name="MarkAttributesWithAttributeUsageDescription" xml:space="preserve">
<value>When you define a custom attribute, mark it by using AttributeUsageAttribute to indicate where in the source code the custom attribute can be applied. The meaning and intended usage of an attribute will determine its valid locations in code.</value>
</data>
<data name="MarkAttributesWithAttributeUsageMessageDefault" xml:space="preserve">
<value>Specify AttributeUsage on {0}</value>
</data>
<data name="MarkAttributesWithAttributeUsageMessageInherited" xml:space="preserve">
<value>Even though attribute {0} inherits AttributeUsage from its base type, you should consider explicitly specifying AttributeUsage on the type to improve code readability and documentation.</value>
</data>
<data name="DefineAccessorsForAttributeArgumentsTitle" xml:space="preserve">
<value>Define accessors for attribute arguments</value>
</data>
<data name="DefineAccessorsForAttributeArgumentsDescription" xml:space="preserve">
<value>Attributes can define mandatory arguments that must be specified when you apply the attribute to a target. These are also known as positional arguments because they are supplied to attribute constructors as positional parameters. For every mandatory argument, the attribute should also provide a corresponding read-only property so that the value of the argument can be retrieved at execution time. Attributes can also define optional arguments, which are also known as named arguments. These arguments are supplied to attribute constructors by name and should have a corresponding read/write property.</value>
</data>
<data name="DefineAccessorsForAttributeArgumentsMessageDefault" xml:space="preserve">
<value>Add a public read-only property accessor for positional argument {0} of Attribute {1}</value>
</data>
Expand Down Expand Up @@ -385,9 +370,6 @@
<data name="OperatorsShouldHaveSymmetricalOverloadsDescription" xml:space="preserve">
<value>A type implements the equality or inequality operator and does not implement the opposite operator.</value>
</data>
<data name="OperatorsShouldHaveSymmetricalOverloadsMessage" xml:space="preserve">
<value>Operators should have symmetrical overloads</value>
</data>
<data name="CollectionPropertiesShouldBeReadOnlyTitle" xml:space="preserve">
<value>Collection properties should be read only</value>
</data>
Expand Down Expand Up @@ -523,9 +505,6 @@
<data name="ImplementStandardExceptionConstructorsMessageMissingConstructor" xml:space="preserve">
<value>Add the following constructor to {0}: {1}</value>
</data>
<data name="ImplementStandardExceptionConstructorsMessageAccessibility" xml:space="preserve">
<value>Change the accessibility of {0} to {1}.</value>
</data>
<data name="NestedTypesShouldNotBeVisibleTitle" xml:space="preserve">
<value>Nested types should not be visible</value>
</data>
Expand Down Expand Up @@ -932,18 +911,6 @@
<data name="AvoidUsingCrefTagsWithAPrefixMessage" xml:space="preserve">
<value>Avoid using cref tags with a prefix</value>
</data>
<data name="ReviewUnusedParametersTitle" xml:space="preserve">
<value>Review unused parameters</value>
</data>
<data name="ReviewUnusedParametersDescription" xml:space="preserve">
<value>Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names.</value>
</data>
<data name="ReviewUnusedParametersMessage" xml:space="preserve">
<value>Parameter {0} of method {1} is never used. Remove the parameter or use it in the method body.</value>
</data>
<data name="RemoveUnusedParameterMessage" xml:space="preserve">
<value>Remove unused parameter</value>
</data>
<data name="DoNotIgnoreMethodResultsTitle" xml:space="preserve">
<value>Do not ignore method results</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,46 +457,21 @@
<target state="translated">Atribut ComVisible určuje, jak klienti modelu COM přistupují ke spravovanému kódu. Správný návrh vyžaduje, aby sestavení explicitně označovala viditelnost modelu COM. Viditelnost modelu COM lze nastavit pro celé sestavení a následně přepsat pro jednotlivé typy a členy typů. Pokud tento atribut neexistuje, je obsah sestavení viditelný klientům modelu COM.</target>
<note />
</trans-unit>
<trans-unit id="MarkAssembliesWithComVisibleMessageNoAttribute">
<source>Because {0} exposes externally visible types, mark it with ComVisible(false) at the assembly level and then mark all types within the assembly that should be exposed to COM clients with ComVisible(true).</source>
<target state="translated">Protože sestavení {0} zpřístupňuje externě viditelné typy, označte ho pomocí ComVisible(false) na úrovni sestavení a pak označte všechny typy v tomto sestavení, které mají být zpřístupněny klientům modelu COM, pomocí ComVisible(true).</target>
<note />
</trans-unit>
<trans-unit id="MarkAssembliesWithComVisibleMessageAttributeTrue">
<source>Consider changing the ComVisible attribute on {0} to false, and opting in at the type level.</source>
<target state="translated">Zvažte změnu atributu ComVisible u sestavení {0} na false a jeho připojení na úrovni typu.</target>
<note />
</trans-unit>
<trans-unit id="MarkAttributesWithAttributeUsageTitle">
<source>Mark attributes with AttributeUsageAttribute</source>
<target state="translated">Označte atributy atributem AttributeUsage.</target>
<note />
</trans-unit>
<trans-unit id="MarkAttributesWithAttributeUsageDescription">
<source>When you define a custom attribute, mark it by using AttributeUsageAttribute to indicate where in the source code the custom attribute can be applied. The meaning and intended usage of an attribute will determine its valid locations in code.</source>
<target state="translated">Když definujete vlastní atribut, označte ho atributem AttributeUsage, který označuje, kde ve zdrojovém kódu se dá tento vlastní atribut použít. Význam a zamýšlené použití atributu určí jeho platné umístění v kódu.</target>
<note />
</trans-unit>
<trans-unit id="MarkAttributesWithAttributeUsageMessageDefault">
<source>Specify AttributeUsage on {0}</source>
<target state="translated">Určete AttributeUsage pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="MarkAttributesWithAttributeUsageMessageInherited">
<source>Even though attribute {0} inherits AttributeUsage from its base type, you should consider explicitly specifying AttributeUsage on the type to improve code readability and documentation.</source>
<target state="translated">Přestože atribut {0} dědí AttributeUsage od svého základního typu, měli byste zvážit explicitní určení AttributeUsage u tohoto typu kvůli zlepšení přehlednosti a dokumentace kódu.</target>
<note />
</trans-unit>
<trans-unit id="DefineAccessorsForAttributeArgumentsTitle">
<source>Define accessors for attribute arguments</source>
<target state="translated">Definujte přístupové objekty pro argumenty atributů.</target>
<note />
</trans-unit>
<trans-unit id="DefineAccessorsForAttributeArgumentsDescription">
<source>Attributes can define mandatory arguments that must be specified when you apply the attribute to a target. These are also known as positional arguments because they are supplied to attribute constructors as positional parameters. For every mandatory argument, the attribute should also provide a corresponding read-only property so that the value of the argument can be retrieved at execution time. Attributes can also define optional arguments, which are also known as named arguments. These arguments are supplied to attribute constructors by name and should have a corresponding read/write property.</source>
<target state="translated">Atributy mohou definovat povinné argumenty, které musí být zadané, když atribut použijete u nějakého cíle. Označují se také jako poziční argumenty, protože se konstruktorům atributů předávají jako poziční parametry. Pro každý povinný argument má tento atribut poskytovat také odpovídající vlastnost jen pro čtení, aby se hodnota argumentu dala načíst v době provádění. Atributy můžou definovat rovněž nepovinné argumenty, které se označují také jako pojmenované argumenty. Tyto argumenty se předávají konstruktorům atributů pomocí názvu a mají mít odpovídající vlastnost pro čtení a zápis.</target>
<note />
</trans-unit>
<trans-unit id="DefineAccessorsForAttributeArgumentsMessageDefault">
<source>Add a public read-only property accessor for positional argument {0} of Attribute {1}</source>
<target state="translated">Přidejte přístupový objekt veřejné vlastnosti jen pro čtení pro poziční argument {0} atributu {1}.</target>
Expand Down Expand Up @@ -697,11 +672,6 @@
<target state="translated">Některý typ implementuje operátor rovnosti nebo nerovnosti, ale neimplementuje opačný operátor.</target>
<note />
</trans-unit>
<trans-unit id="OperatorsShouldHaveSymmetricalOverloadsMessage">
<source>Operators should have symmetrical overloads</source>
<target state="translated">Operátory mají mít symetrická přetížení.</target>
<note />
</trans-unit>
<trans-unit id="CollectionPropertiesShouldBeReadOnlyTitle">
<source>Collection properties should be read only</source>
<target state="translated">Vlastnosti kolekce mají být jen pro čtení.</target>
Expand Down Expand Up @@ -927,11 +897,6 @@
<target state="translated">Přidejte k {0} následující konstruktor: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ImplementStandardExceptionConstructorsMessageAccessibility">
<source>Change the accessibility of {0} to {1}.</source>
<target state="translated">Změňte přístupnost {0} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="NestedTypesShouldNotBeVisibleTitle">
<source>Nested types should not be visible</source>
<target state="translated">Vnořené typy nemají být viditelné.</target>
Expand Down Expand Up @@ -1682,26 +1647,6 @@
<target state="translated">Neplatná položka v souboru specifikace pravidel metrik kódu</target>
<note />
</trans-unit>
<trans-unit id="ReviewUnusedParametersTitle">
<source>Review unused parameters</source>
<target state="translated">Zkontrolujte nepoužité parametry.</target>
<note />
</trans-unit>
<trans-unit id="ReviewUnusedParametersDescription">
<source>Avoid unused paramereters in your code. If the parameter cannot be removed, then change its name so it starts with an underscore and is optionally followed by an integer, such as '_', '_1', '_2', etc. These are treated as special discard symbol names.</source>
<target state="translated">Vyhněte se v kódu nepoužitým parametrům. Pokud parametr nelze odebrat, změňte jeho název tak, aby začínal podtržítkem, za kterým volitelně následuje celé číslo, například _, _1, _2 atd. Tyto řetězce se považují za názvy speciálních symbolů pro vyřazení.</target>
<note />
</trans-unit>
<trans-unit id="ReviewUnusedParametersMessage">
<source>Parameter {0} of method {1} is never used. Remove the parameter or use it in the method body.</source>
<target state="translated">Parametr {0} metody {1} se vůbec nepoužívá. Odeberte tento parametr nebo ho použijte v těle metody.</target>
<note />
</trans-unit>
<trans-unit id="RemoveUnusedParameterMessage">
<source>Remove unused parameter</source>
<target state="translated">Odebrat nepoužívaný parametr</target>
<note />
</trans-unit>
<trans-unit id="DoNotIgnoreMethodResultsTitle">
<source>Do not ignore method results</source>
<target state="translated">Neignorujte výsledky metod.</target>
Expand Down
Loading