Skip to content

Commit 2f71d0d

Browse files
committed
Fix key duplication
1 parent 2ce4157 commit 2f71d0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Helper/RenameThing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static void Rename(string NewFileName, FileSystemInfo oldInfo, IPublicAPI
7777
switch (exception)
7878
{
7979
case FileNotFoundException:
80-
api.ShowMsgError(string.Format(api.GetTranslation("plugin_explorer_file_not_found"), oldInfo.FullName));
80+
api.ShowMsgError(string.Format(api.GetTranslation("plugin_explorer_item_not_found"), oldInfo.FullName));
8181
return;
8282
case NotANewNameException:
8383
api.ShowMsgError(string.Format(api.GetTranslation("plugin_explorer_not_a_new_name"), NewFileName));

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
<system:String x:Key="plugin_explorer_not_a_new_name">The given name: {0} was not new.</system:String>
206206
<system:String x:Key="plugin_explorer_field_may_not_be_empty">{0} may not be empty.</system:String>
207207
<system:String x:Key="plugin_explorer_invalid_name">{0} is an invalid name.</system:String>
208-
<system:String x:Key="plugin_explorer_file_not_found">The specified item: {0} was not found</system:String>
208+
<system:String x:Key="plugin_explorer_item_not_found">The specified item: {0} was not found</system:String>
209209
<system:String x:Key="plugin_explorer_rename_subtitle">Open a dialog to rename file or folder</system:String>
210210
<system:String x:Key="plugin_explorer_cannot_rename">This cannot be renamed.</system:String>
211211
<system:String x:Key="plugin_explorer_successful_rename">Successfully renamed it to: {0}</system:String>

0 commit comments

Comments
 (0)