@@ -11,10 +11,10 @@ internal sealed partial class RestoreAllRecycleBinAction : BaseUIAction, IAction
1111 private readonly IStorageTrashBinService StorageTrashBinService = Ioc . Default . GetRequiredService < IStorageTrashBinService > ( ) ;
1212
1313 public string Label
14- => " RestoreAllItems" . GetLocalizedResource ( ) ;
14+ => Strings . RestoreAllItems . GetLocalizedResource ( ) ;
1515
1616 public string Description
17- => " RestoreAllRecycleBinDescription" . GetLocalizedResource ( ) ;
17+ => Strings . RestoreAllRecycleBinDescription . GetLocalizedResource ( ) ;
1818
1919 public RichGlyph Glyph
2020 => new ( themedIconStyle : "App.ThemedIcons.RestoreDeleted" ) ;
@@ -28,10 +28,10 @@ public async Task ExecuteAsync(object? parameter = null)
2828 // TODO: Use AppDialogService
2929 var confirmationDialog = new ContentDialog ( )
3030 {
31- Title = " ConfirmRestoreBinDialogTitle" . GetLocalizedResource ( ) ,
32- Content = " ConfirmRestoreBinDialogContent" . GetLocalizedResource ( ) ,
33- PrimaryButtonText = " Yes" . GetLocalizedResource ( ) ,
34- SecondaryButtonText = " Cancel" . GetLocalizedResource ( ) ,
31+ Title = Strings . ConfirmRestoreBinDialogTitle . GetLocalizedResource ( ) ,
32+ Content = Strings . ConfirmRestoreBinDialogContent . GetLocalizedResource ( ) ,
33+ PrimaryButtonText = Strings . Yes . GetLocalizedResource ( ) ,
34+ SecondaryButtonText = Strings . Cancel . GetLocalizedResource ( ) ,
3535 DefaultButton = ContentDialogButton . Primary
3636 } ;
3737
@@ -48,8 +48,8 @@ public async Task ExecuteAsync(object? parameter = null)
4848 {
4949 var errorDialog = new ContentDialog ( )
5050 {
51- Title = " FailedToRestore" . GetLocalizedResource ( ) ,
52- PrimaryButtonText = "OK" . GetLocalizedResource ( ) ,
51+ Title = Strings . FailedToRestore . GetLocalizedResource ( ) ,
52+ PrimaryButtonText = Strings . OK . GetLocalizedResource ( ) ,
5353 } ;
5454
5555 if ( ApiInformation . IsApiContractPresent ( "Windows.Foundation.UniversalApiContract" , 8 ) )
0 commit comments