Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ce4c062

Browse files
committedApr 10, 2025·
Phase 9
1 parent d3cece2 commit ce4c062

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/Files.App/Actions/FileSystem/RestoreRecycleBinAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public async Task ExecuteAsync(object? parameter = null)
3737
var confirmationDialog = new ContentDialog()
3838
{
3939
Title = Strings.ConfirmRestoreSelectionBinDialogTitle.GetLocalizedResource(),
40-
Content = string.Format(Strings.ConfirmRestoreSelectionBinDialogContent.GetLocalizedResource(), context.SelectedItems.Count),
40+
Content = string.Format(Strings.ConfirmRestoreSelectionBinDialogContent.GetLocalizedFormatResource(context.SelectedItems.Count), context.SelectedItems.Count),
4141
PrimaryButtonText = Strings.Yes.GetLocalizedResource(),
4242
SecondaryButtonText = Strings.Cancel.GetLocalizedResource(),
4343
DefaultButton = ContentDialogButton.Primary

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@
20732073
<value>Restore all items</value>
20742074
</data>
20752075
<data name="ConfirmRestoreSelectionBinDialogContent" xml:space="preserve">
2076-
<value>Do you want to restore the {0} selected item(s)?</value>
2076+
<value>Do you want to restore the {0, plural, one {selected item} other {{0} selected items}}?</value>
20772077
</data>
20782078
<data name="ConfirmRestoreSelectionBinDialogTitle" xml:space="preserve">
20792079
<value>Restore selection</value>

0 commit comments

Comments
 (0)
Please sign in to comment.