File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Flow.Launcher.Localization.Shared
Flow.Launcher.Localization.SourceGenerators/Localize Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public static class Constants
1111 public const string SystemPrefixUri = "clr-namespace:System;assembly=mscorlib" ;
1212 public const string XamlPrefixUri = "http://schemas.microsoft.com/winfx/2006/xaml" ;
1313 public const string XamlTag = "String" ;
14- public const string KeyTag = "Key" ;
14+ public const string KeyAttribute = "Key" ;
1515
1616 public static readonly Regex LanguagesXamlRegex = new Regex ( @"\\Languages\\[^\\]+\.xaml$" , RegexOptions . IgnoreCase ) ;
1717 }
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ private static ImmutableArray<LocalizableString> ParseXamlFile(AdditionalText fi
182182 return _emptyLocalizableStrings ;
183183 }
184184
185- var key = element . Attribute ( xNs + Constants . KeyTag ) ? . Value ; // "Key" attribute in xaml namespace
185+ var key = element . Attribute ( xNs + Constants . KeyAttribute ) ? . Value ; // "Key" attribute in xaml namespace
186186 var value = element . Value ;
187187 var comment = element . PreviousNode as XComment ;
188188
You can’t perform that action at this time.
0 commit comments