Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
contextMenus.Add(new Result
{
Title = Context.API.GetTranslation("plugin_explorer_add_to_quickaccess_title"),
SubTitle = Context.API.GetTranslation("plugin_explorer_add_to_quickaccess_subtitle"),

Check warning on line 73 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`quickaccess` is not a recognized word. (unrecognized-spelling)
Action = (context) =>
{
Settings.QuickAccessLinks.Add(new AccessLink
Expand All @@ -79,7 +79,7 @@
});

Context.API.ShowMsg(Context.API.GetTranslation("plugin_explorer_addfilefoldersuccess"),
Context.API.GetTranslation("plugin_explorer_addfilefoldersuccess_detail"),

Check warning on line 82 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`addfilefoldersuccess` is not a recognized word. (unrecognized-spelling)
Constants.ExplorerIconImageFullPath);

ViewModel.Save();
Expand All @@ -87,7 +87,7 @@
return true;
},
SubTitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_titletooltip"),
TitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_titletooltip"),

Check warning on line 90 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`titletooltip` is not a recognized word. (unrecognized-spelling)

Check warning on line 90 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`contextmenu` is not a recognized word. (unrecognized-spelling)
IcoPath = Constants.QuickAccessImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue718"),
});
Expand All @@ -96,22 +96,22 @@
{
contextMenus.Add(new Result
{
Title = Context.API.GetTranslation("plugin_explorer_remove_from_quickaccess_title"),

Check warning on line 99 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`quickaccess` is not a recognized word. (unrecognized-spelling)
SubTitle = Context.API.GetTranslation("plugin_explorer_remove_from_quickaccess_subtitle"),

Check warning on line 100 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`quickaccess` is not a recognized word. (unrecognized-spelling)
Action = (context) =>
{
Settings.QuickAccessLinks.Remove(Settings.QuickAccessLinks.FirstOrDefault(x => string.Equals(x.Path, record.FullPath, StringComparison.OrdinalIgnoreCase)));

Context.API.ShowMsg(Context.API.GetTranslation("plugin_explorer_removefilefoldersuccess"),
Context.API.GetTranslation("plugin_explorer_removefilefoldersuccess_detail"),

Check warning on line 106 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`removefilefoldersuccess` is not a recognized word. (unrecognized-spelling)
Constants.ExplorerIconImageFullPath);

ViewModel.Save();

return true;
},
SubTitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_remove_titletooltip"),

Check warning on line 113 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`titletooltip` is not a recognized word. (unrecognized-spelling)

Check warning on line 113 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`contextmenu` is not a recognized word. (unrecognized-spelling)
TitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_remove_titletooltip"),

Check warning on line 114 in Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

View workflow job for this annotation

GitHub Actions / Check Spelling

`contextmenu` is not a recognized word. (unrecognized-spelling)
IcoPath = Constants.RemoveQuickAccessImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\uecc9")
});
Expand Down Expand Up @@ -199,7 +199,7 @@
{
if (Context.API.ShowMsgBox(
string.Format(Context.API.GetTranslation("plugin_explorer_delete_folder_link"), record.FullPath),
string.Empty,
Context.API.GetTranslation("plugin_explorer_deletefilefolder"),
MessageBoxButton.YesNo,
MessageBoxImage.Warning)
== MessageBoxResult.No)
Expand Down
Loading