1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00
Satori/src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/Resources/xlf/Strings.cs.xlf
Jacob Bundgaard 9daa4b41eb
Add support for primary constructors in LoggerMessageGenerator (#101660)
* Add support for primary constructors in LoggerMessageGenerator

* Get the primary constructor parameters types from the constructor symbol instead of from the semantic model

* Prioritize fields over primary constructor parameters and ignore shadowed parameters when finding a logger

* Make checking for primary constructors non-conditional on Roslyn version and simplify project setup

* Reintroduce Roslyn 4.8 test project

* Add info-level diagnostic for logger primary constructor parameters that are shadowed by field

* Update list of diagnostics with new logging message generator diagnostic

* Only add non-logger field names to set of shadowed names

* Add comment explaining the use of the set of shadowed names with an example
2024-05-28 09:13:32 -07:00

207 lines
No EOL
13 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../Strings.resx">
<body>
<trans-unit id="ArgumentHasNoCorrespondingTemplateMessage">
<source>Argument '{0}' is not referenced from the logging message</source>
<target state="translated">Na argument {0} se ve zprávě o protokolování neodkazuje.</target>
<note />
</trans-unit>
<trans-unit id="ArgumentHasNoCorrespondingTemplateTitle">
<source>Argument is not referenced from the logging message</source>
<target state="translated">Na argument se zpráva o protokolování neodkazuje</target>
<note />
</trans-unit>
<trans-unit id="GeneratingForMax6ArgumentsMessage">
<source>Generating more than 6 arguments is not supported</source>
<target state="translated">Generování více než 6 argumentů se nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="InconsistentTemplateCasingMessage">
<source>Can't have the same template with different casing</source>
<target state="translated">Nemůže mít stejnou šablonu s různým zápisem velkých a malých písmen.</target>
<note />
</trans-unit>
<trans-unit id="InvalidLoggingMethodNameMessage">
<source>Logging method names cannot start with _</source>
<target state="translated">Názvy metod protokolování nemůžou začínat podtržítkem (_).</target>
<note />
</trans-unit>
<trans-unit id="InvalidLoggingMethodParameterNameMessage">
<source>Logging method parameter names cannot start with _</source>
<target state="translated">Názvy parametrů metody protokolování nemůžou začínat podtržítkem (_).</target>
<note />
</trans-unit>
<trans-unit id="InvalidLoggingMethodParameterOutMessage">
<source>Argument '{0}' is using the unsupported out parameter modifier</source>
<target state="translated">Argument {0} používá nepodporovaný modifikátor výstupních parametrů.</target>
<note />
</trans-unit>
<trans-unit id="InvalidLoggingMethodParameterOutTitle">
<source>Argument is using the unsupported out parameter modifier</source>
<target state="translated">Argument používá nepodporovaný modifikátor výstupních parametrů</target>
<note />
</trans-unit>
<trans-unit id="LoggingMethodHasBodyMessage">
<source>Logging methods cannot have a body</source>
<target state="translated">Metody protokolování nemůžou obsahovat tělo.</target>
<note />
</trans-unit>
<trans-unit id="LoggingMethodIsGenericMessage">
<source>Logging methods cannot be generic</source>
<target state="translated">Metody protokolování nemůžou být obecné.</target>
<note />
</trans-unit>
<trans-unit id="LoggingMethodMustBePartialMessage">
<source>Logging methods must be partial</source>
<target state="translated">Metody protokolování musí být částečné.</target>
<note />
</trans-unit>
<trans-unit id="LoggingMethodMustReturnVoidMessage">
<source>Logging methods must return void</source>
<target state="translated">Metody protokolování musí vracet void.</target>
<note />
</trans-unit>
<trans-unit id="LoggingMethodShouldBeStaticMessage">
<source>Logging methods must be static</source>
<target state="translated">Metody protokolování musí být statické.</target>
<note />
</trans-unit>
<trans-unit id="LoggingUnsupportedLanguageVersionMessageFormat">
<source>The Logging source generator is not available in C# {0}. Please use language version {1} or greater.</source>
<target state="translated">Zdrojový generátor protokolování není k dispozici v jazyce C# {0}. Použijte prosím jazykovou verzi {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="LoggingUnsupportedLanguageVersionTitle">
<source>C# language version not supported by the source generator.</source>
<target state="translated">Zdrojový generátor nepodporuje jazykovou verzi jazyka C#.</target>
<note />
</trans-unit>
<trans-unit id="MalformedFormatStringsMessage">
<source>Logging method '{0}' contains malformed format strings</source>
<target state="translated">Metoda protokolování {0} obsahuje řetězce s poškozeným formátem.</target>
<note />
</trans-unit>
<trans-unit id="MalformedFormatStringsTitle">
<source>Logging method contains malformed format strings</source>
<target state="translated">Metoda protokolování obsahuje řetězce s poškozeným formátem</target>
<note />
</trans-unit>
<trans-unit id="MissingLogLevelMessage">
<source>A LogLevel value must be supplied in the LoggerMessage attribute or as a parameter to the logging method</source>
<target state="translated">Hodnota LogLevel musí být zadaná v atributu LoggerMessage, nebo jako parametr metody protokolování.</target>
<note />
</trans-unit>
<trans-unit id="MissingLoggerArgumentMessage">
<source>One of the arguments to the static logging method '{0}' must implement the Microsoft.Extensions.Logging.ILogger interface</source>
<target state="translated">Jeden z argumentů metody statického protokolování {0} musí implementovat rozhraní Microsoft.Extensions.Logging.ILogger.</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="MissingLoggerArgumentTitle">
<source>One of the arguments to a static logging method must implement the Microsoft.Extensions.Logging.ILogger interface</source>
<target state="translated">Jeden z argumentů metody statického protokolování musí implementovat rozhraní Microsoft.Extensions.Logging.ILogger.</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="MissingLoggerFieldMessage">
<source>Couldn't find a field of type Microsoft.Extensions.Logging.ILogger in class {0}</source>
<target state="translated">Ve třídě {0} se nepovedlo najít pole typu Microsoft.Extensions.Logging.ILogger.</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="MissingLoggerFieldTitle">
<source>Couldn't find a field of type Microsoft.Extensions.Logging.ILogger</source>
<target state="translated">Nepovedlo se najít pole typu Microsoft.Extensions.Logging.ILogger</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="MissingRequiredTypeMessage">
<source>Could not find definition for type {0}</source>
<target state="translated">Nepovedlo se najít definici pro typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="MissingRequiredTypeTitle">
<source>Could not find a required type definition</source>
<target state="translated">Nepovedlo se najít požadovanou definici typu</target>
<note />
</trans-unit>
<trans-unit id="MultipleLoggerFieldsMessage">
<source>Found multiple fields of type Microsoft.Extensions.Logging.ILogger in class {0}</source>
<target state="translated">Ve třídě {0} se našlo několik polí typu Microsoft.Extensions.Logging.ILogger.</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="MultipleLoggerFieldsTitle">
<source>Found multiple fields of type Microsoft.Extensions.Logging.ILogger</source>
<target state="translated">Našlo se několik polí typu Microsoft.Extensions.Logging.ILogger</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="PrimaryConstructorParameterLoggerHiddenMessage">
<source>Class '{0}' has a primary constructor parameter of type Microsoft.Extensions.Logging.ILogger that is hidden by a field in the class or a base class, preventing its use</source>
<target state="new">Class '{0}' has a primary constructor parameter of type Microsoft.Extensions.Logging.ILogger that is hidden by a field in the class or a base class, preventing its use</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="PrimaryConstructorParameterLoggerHiddenTitle">
<source>Primary constructor parameter of type Microsoft.Extensions.Logging.ILogger is hidden by a field</source>
<target state="new">Primary constructor parameter of type Microsoft.Extensions.Logging.ILogger is hidden by a field</target>
<note>{Locked="Microsoft.Extensions.Logging.ILogger"}</note>
</trans-unit>
<trans-unit id="RedundantQualifierInMessageMessage">
<source>Remove redundant qualifier (Info:, Warning:, Error:, etc) from the logging message since it is implicit in the specified log level.</source>
<target state="translated">Odeberte redundantní kvalifikátor (Informace:, Upozornění:, Chyba: atd.) ze zprávy o protokolování, protože je na zadané úrovni protokolu implicitní.</target>
<note />
</trans-unit>
<trans-unit id="RedundantQualifierInMessageTitle">
<source>Redundant qualifier in logging message</source>
<target state="translated">Redundantní kvalifikátor ve zprávě o protokolování</target>
<note />
</trans-unit>
<trans-unit id="ShouldntMentionExceptionInMessageTitle">
<source>Don't include exception parameters as templates in the logging message</source>
<target state="translated">Nezahrnovat parametry výjimek jako šablony do zprávy o protokolování</target>
<note />
</trans-unit>
<trans-unit id="ShouldntMentionInTemplateMessage">
<source>Don't include a template for {0} in the logging message since it is implicitly taken care of</source>
<target state="translated">Nezahrnovat do zprávy o protokolování šablonu pro {0}, protože se zpracovává implicitně.</target>
<note />
</trans-unit>
<trans-unit id="ShouldntMentionLogLevelInMessageTitle">
<source>Don't include log level parameters as templates in the logging message</source>
<target state="translated">Nezahrnovat parametry úrovně protokolu jako šablony do zprávy o protokolování</target>
<note />
</trans-unit>
<trans-unit id="ShouldntMentionLoggerInMessageTitle">
<source>Don't include logger parameters as templates in the logging message</source>
<target state="translated">Nezahrnovat parametry protokolovacího nástroje jako šablony do zprávy o protokolování</target>
<note />
</trans-unit>
<trans-unit id="ShouldntReuseEventIdsMessage">
<source>Multiple logging methods are using event id {0} in class {1}</source>
<target state="translated">Více než jedna metoda protokolování používá ve třídě {1} ID události {0}.</target>
<note />
</trans-unit>
<trans-unit id="ShouldntReuseEventIdsTitle">
<source>Multiple logging methods cannot use the same event id within a class</source>
<target state="translated">Více než jedna metoda protokolování nemůže v rámci třídy používat stejné ID události.</target>
<note />
</trans-unit>
<trans-unit id="ShouldntReuseEventNamesMessage">
<source>Multiple logging methods are using event name {0} in class {1}</source>
<target state="translated">Více než jedna metoda protokolování používá název události {0} ve třídě {1}</target>
<note />
</trans-unit>
<trans-unit id="ShouldntReuseEventNamesTitle">
<source>Multiple logging methods should not use the same event name within a class</source>
<target state="translated">Více než jedna metoda protokolování by nemělo používat stejný název události v rámci třídy</target>
<note />
</trans-unit>
<trans-unit id="TemplateHasNoCorrespondingArgumentMessage">
<source>Template '{0}' is not provided as argument to the logging method</source>
<target state="translated">Šablona {0} se neposkytuje jako argument pro metodu protokolování.</target>
<note />
</trans-unit>
<trans-unit id="TemplateHasNoCorrespondingArgumentTitle">
<source>Logging template has no corresponding method argument</source>
<target state="translated">Šablona protokolování nemá žádný odpovídající argument metody</target>
<note />
</trans-unit>
</body>
</file>
</xliff>