Skip to content

Commit c3ad951

Browse files
committed
Files.App.Actions.Global
1 parent 383d82c commit c3ad951

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

src/Files.App/Actions/Global/EditPathAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ internal sealed class EditPathAction : IAction
88
private readonly IContentPageContext context;
99

1010
public string Label
11-
=> "EditPath".GetLocalizedResource();
11+
=> Strings.EditPath.GetLocalizedResource();
1212

1313
public string Description
14-
=> "EditPathDescription".GetLocalizedResource();
14+
=> Strings.EditPathDescription.GetLocalizedResource();
1515

1616
public HotKey HotKey
1717
=> new(Keys.L, KeyModifiers.Ctrl);

src/Files.App/Actions/Global/EnterCompactOverlayAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal sealed partial class EnterCompactOverlayAction : ObservableObject, IAct
1111
private readonly IWindowContext windowContext;
1212

1313
public string Label
14-
=> "EnterCompactOverlay".GetLocalizedResource();
14+
=> Strings.EnterCompactOverlay.GetLocalizedResource();
1515

1616
public RichGlyph Glyph
1717
=> new(themedIconStyle: "App.ThemedIcons.CompactOverlay");
@@ -20,7 +20,7 @@ public HotKey HotKey
2020
=> new(Keys.Up, KeyModifiers.CtrlAlt);
2121

2222
public string Description
23-
=> "EnterCompactOverlayDescription".GetLocalizedResource();
23+
=> Strings.EnterCompactOverlayDescription.GetLocalizedResource();
2424

2525
public bool IsExecutable
2626
=> !windowContext.IsCompactOverlay;

src/Files.App/Actions/Global/ExitCompactOverlayAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ internal sealed partial class ExitCompactOverlayAction : ObservableObject, IActi
1010
private readonly IWindowContext windowContext;
1111

1212
public string Label
13-
=> "ExitCompactOverlay".GetLocalizedResource();
13+
=> Strings.ExitCompactOverlay.GetLocalizedResource();
1414

1515
public RichGlyph Glyph
1616
=> new(themedIconStyle: "App.ThemedIcons.CompactOverlayExit");
@@ -19,7 +19,7 @@ public HotKey HotKey
1919
=> new(Keys.Down, KeyModifiers.CtrlAlt);
2020

2121
public string Description
22-
=> "ExitCompactOverlayDescription".GetLocalizedResource();
22+
=> Strings.ExitCompactOverlayDescription.GetLocalizedResource();
2323

2424
public bool IsExecutable
2525
=> windowContext.IsCompactOverlay;

src/Files.App/Actions/Global/OpenHelpAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ namespace Files.App.Actions
88
internal sealed class OpenHelpAction : IAction
99
{
1010
public string Label
11-
=> "Help".GetLocalizedResource();
11+
=> Strings.Help.GetLocalizedResource();
1212

1313
public string Description
14-
=> "OpenHelpDescription".GetLocalizedResource();
14+
=> Strings.OpenHelpDescription.GetLocalizedResource();
1515

1616
public HotKey HotKey
1717
=> new(Keys.F1);

src/Files.App/Actions/Global/RedoAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ internal sealed partial class RedoAction : ObservableObject, IAction
88
private readonly IContentPageContext context;
99

1010
public string Label
11-
=> "Redo".GetLocalizedResource();
11+
=> Strings.Redo.GetLocalizedResource();
1212

1313
public string Description
14-
=> "RedoDescription".GetLocalizedResource();
14+
=> Strings.RedoDescription.GetLocalizedResource();
1515

1616
public HotKey HotKey
1717
=> new(Keys.Y, KeyModifiers.Ctrl);

src/Files.App/Actions/Global/SearchAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ internal sealed partial class SearchAction : ObservableObject, IAction
88
private readonly IContentPageContext context;
99

1010
public string Label
11-
=> "Search".GetLocalizedResource();
11+
=> Strings.Search.GetLocalizedResource();
1212

1313
public string Description
14-
=> "SearchDescription".GetLocalizedResource();
14+
=> Strings.SearchDescription.GetLocalizedResource();
1515

1616
public HotKey HotKey
1717
=> new(Keys.F, KeyModifiers.Ctrl);

src/Files.App/Actions/Global/ToggleCompactOverlayAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ internal sealed partial class ToggleCompactOverlayAction : ObservableObject, ITo
1111
private readonly IWindowContext windowContext;
1212

1313
public string Label
14-
=> "ToggleCompactOverlay".GetLocalizedResource();
14+
=> Strings.ToggleCompactOverlay.GetLocalizedResource();
1515

1616
public HotKey HotKey
1717
=> new(Keys.F12);
1818

1919
public string Description
20-
=> "ToggleCompactOverlayDescription".GetLocalizedResource();
20+
=> Strings.ToggleCompactOverlayDescription.GetLocalizedResource();
2121

2222
public bool IsOn
2323
=> windowContext.IsCompactOverlay;

src/Files.App/Actions/Global/ToggleFullScreenAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ namespace Files.App.Actions
88
internal sealed class ToggleFullScreenAction : IToggleAction
99
{
1010
public string Label
11-
=> "FullScreen".GetLocalizedResource();
11+
=> Strings.FullScreen.GetLocalizedResource();
1212

1313
public string Description
14-
=> "ToggleFullScreenDescription".GetLocalizedResource();
14+
=> Strings.ToggleFullScreenDescription.GetLocalizedResource();
1515

1616
public HotKey HotKey
1717
=> new(Keys.F11);

src/Files.App/Actions/Global/UndoAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ internal sealed partial class UndoAction : ObservableObject, IAction
88
private readonly IContentPageContext context;
99

1010
public string Label
11-
=> "Undo".GetLocalizedResource();
11+
=> Strings.Undo.GetLocalizedResource();
1212

1313
public string Description
14-
=> "UndoDescription".GetLocalizedResource();
14+
=> Strings.UndoDescription.GetLocalizedResource();
1515

1616
public HotKey HotKey
1717
=> new(Keys.Z, KeyModifiers.Ctrl);

0 commit comments

Comments
 (0)