File tree Expand file tree Collapse file tree 7 files changed +14
-14
lines changed
src/Files.App/Actions/Content Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ protected async void ShowErrorDialog(string message)
3434 {
3535 var errorDialog = new ContentDialog ( )
3636 {
37- Title = " FailedToSetBackground" . GetLocalizedResource ( ) ,
37+ Title = Strings . FailedToSetBackground . GetLocalizedResource ( ) ,
3838 Content = message ,
39- PrimaryButtonText = "OK" . GetLocalizedResource ( ) ,
39+ PrimaryButtonText = Strings . OK . GetLocalizedResource ( ) ,
4040 } ;
4141
4242 if ( ApiInformation . IsApiContractPresent ( "Windows.Foundation.UniversalApiContract" , 8 ) )
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ internal sealed partial class SetAsAppBackgroundAction : BaseSetAsAction
88 private readonly IAppearanceSettingsService AppearanceSettingsService = Ioc . Default . GetRequiredService < IAppearanceSettingsService > ( ) ;
99
1010 public override string Label
11- => " SetAsAppBackground" . GetLocalizedResource ( ) ;
11+ => Strings . SetAsAppBackground . GetLocalizedResource ( ) ;
1212
1313 public override string Description
14- => " SetAsAppBackgroundDescription" . GetLocalizedResource ( ) ;
14+ => Strings . SetAsAppBackgroundDescription . GetLocalizedResource ( ) ;
1515
1616 public override RichGlyph Glyph
1717 => new ( "\uE91B " ) ;
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ internal sealed partial class SetAsLockscreenBackgroundAction : BaseSetAsAction
1010 private readonly IWindowsWallpaperService WindowsWallpaperService = Ioc . Default . GetRequiredService < IWindowsWallpaperService > ( ) ;
1111
1212 public override string Label
13- => " SetAsLockscreen" . GetLocalizedResource ( ) ;
13+ => Strings . SetAsLockscreen . GetLocalizedResource ( ) ;
1414
1515 public override string Description
16- => " SetAsLockscreenBackgroundDescription" . GetLocalizedResource ( ) ;
16+ => Strings . SetAsLockscreenBackgroundDescription . GetLocalizedResource ( ) ;
1717
1818 public override RichGlyph Glyph
1919 => new ( "\uEE3F " ) ;
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ internal sealed partial class SetAsSlideshowBackgroundAction : BaseSetAsAction
1010 private readonly IWindowsWallpaperService WindowsWallpaperService = Ioc . Default . GetRequiredService < IWindowsWallpaperService > ( ) ;
1111
1212 public override string Label
13- => " SetAsSlideshow" . GetLocalizedResource ( ) ;
13+ => Strings . SetAsSlideshow . GetLocalizedResource ( ) ;
1414
1515 public override string Description
16- => " SetAsSlideshowBackgroundDescription" . GetLocalizedResource ( ) ;
16+ => Strings . SetAsSlideshowBackgroundDescription . GetLocalizedResource ( ) ;
1717
1818 public override RichGlyph Glyph
1919 => new ( "\uE91B " ) ;
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ namespace Files.App.Actions
88 internal sealed partial class SetAsWallpaperBackgroundAction : BaseSetAsAction
99 {
1010 public override string Label
11- => " SetAsBackground" . GetLocalizedResource ( ) ;
11+ => Strings . SetAsBackground . GetLocalizedResource ( ) ;
1212
1313 public override string Description
14- => " SetAsWallpaperBackgroundDescription" . GetLocalizedResource ( ) ;
14+ => Strings . SetAsWallpaperBackgroundDescription . GetLocalizedResource ( ) ;
1515
1616 public override RichGlyph Glyph
1717 => new ( "\uE91B " ) ;
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ namespace Files.App.Actions
88 internal sealed partial class RotateLeftAction : BaseRotateAction
99 {
1010 public override string Label
11- => " RotateLeft" . GetLocalizedResource ( ) ;
11+ => Strings . RotateLeft . GetLocalizedResource ( ) ;
1212
1313 public override string Description
14- => " RotateLeftDescription" . GetLocalizedResource ( ) ;
14+ => Strings . RotateLeftDescription . GetLocalizedResource ( ) ;
1515
1616 public override RichGlyph Glyph
1717 => new ( themedIconStyle : "App.ThemedIcons.ImageRotate.ACW" ) ;
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ namespace Files.App.Actions
88 internal sealed partial class RotateRightAction : BaseRotateAction
99 {
1010 public override string Label
11- => " RotateRight" . GetLocalizedResource ( ) ;
11+ => Strings . RotateRight . GetLocalizedResource ( ) ;
1212
1313 public override string Description
14- => " RotateRightDescription" . GetLocalizedResource ( ) ;
14+ => Strings . RotateRightDescription . GetLocalizedResource ( ) ;
1515
1616 public override RichGlyph Glyph
1717 => new ( themedIconStyle : "App.ThemedIcons.ImageRotate.CW" ) ;
You can’t perform that action at this time.
0 commit comments