Add SetTranslation Binding Extension #34
Annotations
12 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: 5monkeys/cobertura-action@v13. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, 5monkeys/cobertura-action@v13. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build:
src/Mocale/Managers/TranslatorManager.cs#L78
Possible null reference argument for parameter 'format' in 'string string.Format(string format, params object?[] args)'.
|
build:
src/Mocale/Managers/TranslatorManager.cs#L78
Possible null reference argument for parameter 'format' in 'string string.Format(string format, params object?[] args)'.
|
build:
src/Mocale/Extensions/LocalizeExtension.cs#L47
Possible null reference argument for parameter 'key' in 'string? ITranslatorManager.Translate(string key)'.
|
build:
src/Mocale/Models/ExternalLocalizationResult.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/Mocale/Models/Localization.cs#L8
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/Mocale/Providers/EmbeddedResourceProvider.cs#L40
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
build:
src/Mocale/Providers/EmbeddedResourceProvider.cs#L84
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/Mocale/Providers/EmbeddedResourceProvider.cs#L11
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
|
build:
src/Mocale/Parsers/ResxLocalizationParser.cs#L10
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
|
build:
src/Mocale/Extensions/LocalizeExtension.cs#L47
Possible null reference argument for parameter 'key' in 'string? ITranslatorManager.Translate(string key)'.
|