-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
252 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/OrchardCoreContrib.PoExtractor.DotNet.CS/CSharpProjectProcessor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/OrchardCoreContrib.PoExtractor.DotNet.VB/VisualBasicProjectProcessor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 11 additions & 15 deletions
26
src/OrchardCoreContrib.PoExtractor.DotNet/DisplayAttributeNameStringExtractor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
using Microsoft.CodeAnalysis; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace OrchardCoreContrib.PoExtractor.DotNet | ||
namespace OrchardCoreContrib.PoExtractor.DotNet; | ||
|
||
/// <summary> | ||
/// Extracts localizable string from <see cref="DisplayAttribute"/> Name property. | ||
/// </summary> | ||
/// <remarks> | ||
/// Creates a new instanceof a <see cref="DisplayAttributeNameStringExtractor"/>. | ||
/// </remarks> | ||
/// <param name="metadataProvider">The <see cref="IMetadataProvider{TNode}"/>.</param> | ||
public class DisplayAttributeNameStringExtractor(IMetadataProvider<SyntaxNode> metadataProvider) | ||
: DisplayAttributeStringExtractor("Name", metadataProvider) | ||
{ | ||
/// <summary> | ||
/// Extracts localizable string from <see cref="DisplayAttribute"/> Name property. | ||
/// </summary> | ||
public class DisplayAttributeNameStringExtractor : DisplayAttributeStringExtractor | ||
{ | ||
/// <summary> | ||
/// Creates a new instanceof a <see cref="DisplayAttributeNameStringExtractor"/>. | ||
/// </summary> | ||
/// <param name="metadataProvider">The <see cref="IMetadataProvider{TNode}"/>.</param> | ||
public DisplayAttributeNameStringExtractor(IMetadataProvider<SyntaxNode> metadataProvider) | ||
: base("Name", metadataProvider) | ||
{ | ||
} | ||
} | ||
} |
26 changes: 11 additions & 15 deletions
26
src/OrchardCoreContrib.PoExtractor.DotNet/DisplayAttributeShortNameStringExtractor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
using Microsoft.CodeAnalysis; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace OrchardCoreContrib.PoExtractor.DotNet | ||
namespace OrchardCoreContrib.PoExtractor.DotNet; | ||
|
||
/// <summary> | ||
/// Extracts localizable string from <see cref="DisplayAttribute"/> ShortName property. | ||
/// </summary> | ||
/// <remarks> | ||
/// Creates a new instance of a <see cref="DisplayAttributeShortNameStringExtractor"/>. | ||
/// </remarks> | ||
/// <param name="metadataProvider">The <see cref="IMetadataProvider{TNode}"/>.</param> | ||
public class DisplayAttributeShortNameStringExtractor(IMetadataProvider<SyntaxNode> metadataProvider) | ||
: DisplayAttributeStringExtractor("ShortName", metadataProvider) | ||
{ | ||
/// <summary> | ||
/// Extracts localizable string from <see cref="DisplayAttribute"/> ShortName property. | ||
/// </summary> | ||
public class DisplayAttributeShortNameStringExtractor : DisplayAttributeStringExtractor | ||
{ | ||
/// <summary> | ||
/// Creates a new instance of a <see cref="DisplayAttributeShortNameStringExtractor"/>. | ||
/// </summary> | ||
/// <param name="metadataProvider">The <see cref="IMetadataProvider{TNode}"/>.</param> | ||
public DisplayAttributeShortNameStringExtractor(IMetadataProvider<SyntaxNode> metadataProvider) | ||
: base("ShortName", metadataProvider) | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.