Skip to content

Commit

Permalink
fix resx entry name generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed May 28, 2024
1 parent 16c5369 commit 9744869
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ internal partial class {{className}}Names
}

sb.AppendLine($$"""
public const string {{ToCSharpNameIdentifier(entry.Name!)}} = "entry.Name";
public const string {{ToCSharpNameIdentifier(entry.Name!)}} = "{{entry.Name}}";
""");
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Snap.Hutao.SourceGeneration</id>
<version>1.0.8</version>
<version>1.0.9</version>
<authors>DGP Studio</authors>
<developmentDependency>true</developmentDependency>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down

0 comments on commit 9744869

Please sign in to comment.