Skip to content

Commit 7c5c1e8

Browse files
remove redundant texts
1 parent 8fbf3a3 commit 7c5c1e8

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
138138

139139
contextMenus.Add(new Result
140140
{
141-
Title = isFile ? Context.API.GetTranslation("plugin_explorer_copyfile") : Context.API.GetTranslation("plugin_explorer_copyfolder"),
141+
Title = Context.API.GetTranslation("plugin_explorer_copyfilefolder"),
142142
SubTitle = isFile ? Context.API.GetTranslation("plugin_explorer_copyfile_subtitle") : Context.API.GetTranslation("plugin_explorer_copyfolder_subtitle"),
143143
Action = _ =>
144144
{
@@ -167,7 +167,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
167167
if (record.Type is ResultType.File or ResultType.Folder)
168168
contextMenus.Add(new Result
169169
{
170-
Title = isFile ? Context.API.GetTranslation("plugin_explorer_deletefile") : Context.API.GetTranslation("plugin_explorer_deletefolder"),
170+
Title = Context.API.GetTranslation("plugin_explorer_deletefilefolder"),
171171
SubTitle = isFile ? Context.API.GetTranslation("plugin_explorer_deletefile_subtitle") : Context.API.GetTranslation("plugin_explorer_deletefolder_subtitle"),
172172
Action = (context) =>
173173
{

Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,10 @@
6565
<system:String x:Key="plugin_explorer_copypath">Copy path</system:String>
6666
<system:String x:Key="plugin_explorer_copypath_subtitle">Copy path of current result to clipboard</system:String>
6767
<system:String x:Key="plugin_explorer_copyfilefolder">Copy</system:String>
68-
<system:String x:Key="plugin_explorer_copyfile">Copy file</system:String>
6968
<system:String x:Key="plugin_explorer_copyfile_subtitle">Copy current file to clipboard</system:String>
70-
<system:String x:Key="plugin_explorer_copyfolder">Copy folder</system:String>
7169
<system:String x:Key="plugin_explorer_copyfolder_subtitle">Copy current folder to clipboard</system:String>
7270
<system:String x:Key="plugin_explorer_deletefilefolder">Delete</system:String>
73-
<system:String x:Key="plugin_explorer_deletefile">Delete file</system:String>
7471
<system:String x:Key="plugin_explorer_deletefile_subtitle">Permanently delete current file</system:String>
75-
<system:String x:Key="plugin_explorer_deletefolder">Delete folder</system:String>
7672
<system:String x:Key="plugin_explorer_deletefolder_subtitle">Permanently delete current folder</system:String>
7773
<system:String x:Key="plugin_explorer_path">Path:</system:String>
7874
<system:String x:Key="plugin_explorer_deletefilefolder_subtitle">Delete the selected</system:String>

0 commit comments

Comments
 (0)