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
11
11
public const string SystemPrefixUri = "clr-namespace:System;assembly=mscorlib" ;
12
12
public const string XamlPrefixUri = "http://schemas.microsoft.com/winfx/2006/xaml" ;
13
13
public const string XamlTag = "String" ;
14
- public const string KeyTag = "Key" ;
14
+ public const string KeyAttribute = "Key" ;
15
15
16
16
public static readonly Regex LanguagesXamlRegex = new Regex ( @"\\Languages\\[^\\]+\.xaml$" , RegexOptions . IgnoreCase ) ;
17
17
}
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ private static ImmutableArray<LocalizableString> ParseXamlFile(AdditionalText fi
182
182
return _emptyLocalizableStrings ;
183
183
}
184
184
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
186
186
var value = element . Value ;
187
187
var comment = element . PreviousNode as XComment ;
188
188
You can’t perform that action at this time.
0 commit comments