Skip to content

Commit 189cddd

Browse files
authored
Feature: Renamed Copy location to Copy path (#12392)
1 parent 210c493 commit 189cddd

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

specs/RichCommand/CommandList.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This is the list of all commands defined in `CommandCodes` enum except `None`.
1010
| | ExitCompactOverlay | Exit compact overlay | Exit compact overlay | Ctrl+Alt+Down |
1111
| | ToggleCompactOverlay | Toggle compact overlay | Toggle compact overlay | F12 |
1212
| | Search | Search | Go to search box | Ctrl+F, F3 |
13+
| | SearchUnindexedItems | Search unindexed items | Search for unindexed items | |
1314
| | Redo | Redo | Redo the last file operation | Ctrl+Y |
1415
| | Undo | Undo | Undo the last file operation | Ctrl+Z |
1516
| | EditPath | Edit path | Focus path bar | Ctrl+L, Alt+D |
@@ -18,13 +19,14 @@ This is the list of all commands defined in `CommandCodes` enum except `None`.
1819
| | TogglePreviewPane | Toggle the preview pane | Toggle whether to show preview pane | Ctrl+P |
1920
| | ToggleSidebar | Toggle the sidebar | Toggle whether to show sidebar | Ctrl+B |
2021
| File System | CopyItem | Copy | Copy item(s) to clipboard | Ctrl+C |
21-
| | CopyPath | Copy location | Copy path of item to clipboard | Ctrl+Shift+C |
22+
| | CopyPath | Copy path | Copy path of item to clipboard | Ctrl+Shift+C |
2223
| | CutItem | Cut | Cut item(s) to clipboard | Ctrl+X |
2324
| | PasteItem | Paste | Paste item(s) from clipboard to current folder | Ctrl+V |
2425
| | PasteItemToSelection | Paste | Paste item(s) from clipboard to selected folder | Ctrl+Shift+V |
2526
| | DeleteItem | Delete | Delete item(s) | Delete, Ctrl+D |
2627
| | DeletemeItemPermanently | Delete permanently | Delete item(s) permanently | Shift+Delete |
2728
| | CreateFolder | Folder | Create new folder | |
29+
| | CreateFolderWithSelection | Create folder with selection | Create a folder with the currently selected item(s) | |
2830
| | AddItem | New | Create new item | Ctrl+Shift+N |
2931
| | CreateShortcut | Create shortcut | Create new shortcut(s) to selected item(s) | |
3032
| | CreateShortcutFromDialog | Shortcut | Create new shortcut to any item | |
@@ -65,7 +67,8 @@ This is the list of all commands defined in `CommandCodes` enum except `None`.
6567
| | DecompressArchiveToChildFolder | Extract to _NewFolderName_ | Extract items from selected archive(s) to new folder | |
6668
| Image Manipulation | RotateLeft | Rotate left | Rotate selected image(s) to the left | |
6769
| | RotateRight | Rotate right | Rotate selected image(s) to the right | |
68-
| Open | OpenSettings | Settings | Open settings page | Ctrl+, |
70+
| Open | OpenProperties | Open properties | Open properties window | Alt+Enter |
71+
| | OpenSettings | Settings | Open settings page | Ctrl+, |
6972
| | OpenTerminal | Open in terminal | Open folder in terminal | Ctrl+\` |
7073
| | OpenTerminalAsAdmin | Open in terminal as administrator | Open folder in terminal as administrator | Ctrl+Shift+\` |
7174
| Layout | LayoutDecreaseSize | Decrease size | Decrease icon size in grid view | Ctrl+- |

src/Files.App/Actions/FileSystem/CopyPathAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ internal class CopyPathAction : IAction
1616
{
1717
private readonly IContentPageContext context = Ioc.Default.GetRequiredService<IContentPageContext>();
1818

19-
public string Label { get; } = "CopyLocation".GetLocalizedResource();
19+
public string Label { get; } = "CopyPath".GetLocalizedResource();
2020

2121
public string Description => "CopyPathDescription".GetLocalizedResource();
2222

23-
public RichGlyph Glyph { get; } = new RichGlyph(opacityStyle: "ColorIconCopyLocation");
23+
public RichGlyph Glyph { get; } = new RichGlyph(opacityStyle: "ColorIconCopyPath");
2424

2525
public HotKey HotKey { get; } = new(Keys.C, KeyModifiers.CtrlShift);
2626

src/Files.App/ResourceDictionaries/PathIcons.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@
960960
</Setter>
961961
</Style>
962962

963-
<Style x:Key="ColorIconCopyLocation" TargetType="local:OpacityIcon">
963+
<Style x:Key="ColorIconCopyPath" TargetType="local:OpacityIcon">
964964
<Setter Property="Template">
965965
<Setter.Value>
966966
<ControlTemplate>

src/Files.App/Strings/en-US/Resources.resw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
<data name="NavigationToolbarNewWindow.Label" xml:space="preserve">
121121
<value>New window</value>
122122
</data>
123-
<data name="CopyLocation" xml:space="preserve">
124-
<value>Copy location</value>
123+
<data name="CopyPath" xml:space="preserve">
124+
<value>Copy path</value>
125125
</data>
126126
<data name="Browse" xml:space="preserve">
127127
<value>Browse</value>

0 commit comments

Comments
 (0)