mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix more spelling
This commit is contained in:
parent
8cc6fcfef0
commit
f7f82a746e
3 changed files with 10 additions and 8 deletions
2
.github/actions/spelling/expect.txt
vendored
2
.github/actions/spelling/expect.txt
vendored
|
|
@ -55,3 +55,5 @@ appref
|
||||||
TSource
|
TSource
|
||||||
runas
|
runas
|
||||||
dpi
|
dpi
|
||||||
|
popup
|
||||||
|
ptr
|
||||||
|
|
@ -147,7 +147,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
}
|
}
|
||||||
|
|
||||||
ProgramLogger.LogException($"|UWP|GetPackageVersionFromManifest|{Location}" +
|
ProgramLogger.LogException($"|UWP|GetPackageVersionFromManifest|{Location}" +
|
||||||
"|Trying to get the package version of the UWP program, but an unknown UWP appmanifest version in package "
|
"|Trying to get the package version of the UWP program, but an unknown UWP app-manifest version in package "
|
||||||
+ $"{FullName} from location {Location}", new FormatException());
|
+ $"{FullName} from location {Location}", new FormatException());
|
||||||
return PackageVersion.Unknown;
|
return PackageVersion.Unknown;
|
||||||
}
|
}
|
||||||
|
|
@ -633,7 +633,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
// }
|
// }
|
||||||
// else
|
// else
|
||||||
// {
|
// {
|
||||||
// ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Avaliable" : path)}" +
|
// ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Available" : path)}" +
|
||||||
// $"|Unable to get logo for {UserModelId} from {path} and" +
|
// $"|Unable to get logo for {UserModelId} from {path} and" +
|
||||||
// $" located in {Location}", new FileNotFoundException());
|
// $" located in {Location}", new FileNotFoundException());
|
||||||
// return new BitmapImage(new Uri(Constant.MissingImgIcon));
|
// return new BitmapImage(new Uri(Constant.MissingImgIcon));
|
||||||
|
|
|
||||||
|
|
@ -84,14 +84,14 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
{
|
{
|
||||||
title = $"{Name}: {Description}";
|
title = $"{Name}: {Description}";
|
||||||
var nameMatch = StringMatcher.FuzzySearch(query, Name);
|
var nameMatch = StringMatcher.FuzzySearch(query, Name);
|
||||||
var desciptionMatch = StringMatcher.FuzzySearch(query, Description);
|
var descriptionMatch = StringMatcher.FuzzySearch(query, Description);
|
||||||
if (desciptionMatch.Score > nameMatch.Score)
|
if (descriptionMatch.Score > nameMatch.Score)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < desciptionMatch.MatchData.Count; i++)
|
for (int i = 0; i < descriptionMatch.MatchData.Count; i++)
|
||||||
{
|
{
|
||||||
desciptionMatch.MatchData[i] += Name.Length + 2; // 2 is ": "
|
descriptionMatch.MatchData[i] += Name.Length + 2; // 2 is ": "
|
||||||
}
|
}
|
||||||
matchResult = desciptionMatch;
|
matchResult = descriptionMatch;
|
||||||
}
|
}
|
||||||
else matchResult = nameMatch;
|
else matchResult = nameMatch;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue