Add keyboard shortcut in tooltip for context menu items (#4702)

* Folder plugin - copy path

* indexer plugin - localized

* removed program plugin reference as it was not needed

* program plugin localized

* shell plugin localized

* removed extra semi colon

* Added loc files in other languages as well for indexer
This commit is contained in:
Alekhya
2020-07-03 09:42:44 -07:00
committed by GitHub
parent c9fd409650
commit ce60bcedb0
29 changed files with 125 additions and 24 deletions

View File

@@ -42,7 +42,7 @@ namespace Microsoft.Plugin.Indexer
contextMenus.Add(new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
Title = "Copy path",
Title = _context.API.GetTranslation("Microsoft_plugin_indexer_copy_path"),
Glyph = "\xE8C8",
FontFamily = "Segoe MDL2 Assets",
SubTitle = $"Copy the current {fileOrFolder} path to clipboard",
@@ -75,7 +75,7 @@ namespace Microsoft.Plugin.Indexer
return new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
Title = "Open containing folder",
Title = _context.API.GetTranslation("Microsoft_plugin_indexer_open_containing_folder"),
Glyph = "\xE838",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.E,