File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Flow.Launcher.Localization.SourceGenerators/Localize Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -304,11 +304,11 @@ private void GenerateClass(
304304 Dictionary < string , LocalizableString > localizedStrings ,
305305 string [ ] unusedLocalizationKeys ,
306306 string propertyName = null
307- )
308- {
307+ ) {
308+ const string name = nameof ( LocalizeSourceGenerator ) ;
309309 var version = typeof ( LocalizeSourceGenerator ) . Assembly . GetName ( ) . Version ;
310310 sb . AppendLine ( ) ;
311- sb . AppendLine ( $ "[System.CodeDom.Compiler.GeneratedCode(\" LocalizeSourceGenerator \" , \" { version } \" )]") ;
311+ sb . AppendLine ( $ "[System.CodeDom.Compiler.GeneratedCode(\" { name } \" , \" { version } \" )]") ;
312312 sb . AppendLine ( $ "public static class { ClassName } ") ;
313313 sb . AppendLine ( "{" ) ;
314314 foreach ( var localizedString in localizedStrings )
You can’t perform that action at this time.
0 commit comments