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 c6a7541

Browse files
committedApr 10, 2025·
ICU format
1 parent c489032 commit c6a7541

30 files changed

+63
-71
lines changed
 

Diff for: ‎src/Files.App/Actions/Content/Archives/Compress/CompressIntoArchiveAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public override string Label
1313
=> Strings.CreateArchive.GetLocalizedResource();
1414

1515
public override string Description
16-
=> Strings.CompressIntoArchiveDescription.GetLocalizedResource();
16+
=> Strings.CompressIntoArchiveDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1717

1818
public CompressIntoArchiveAction()
1919
{

Diff for: ‎src/Files.App/Actions/Content/Archives/Compress/CompressIntoSevenZipAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public override string Label
99
=> string.Format(Strings.CreateNamedArchive.GetLocalizedResource(), $"{StorageArchiveService.GenerateArchiveNameFromItems(context.SelectedItems)}.7z");
1010

1111
public override string Description
12-
=> Strings.CompressIntoSevenZipDescription.GetLocalizedResource();
12+
=> Strings.CompressIntoSevenZipDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1313

1414
public CompressIntoSevenZipAction()
1515
{

Diff for: ‎src/Files.App/Actions/Content/Archives/Compress/CompressIntoZipAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public override string Label
99
=> string.Format(Strings.CreateNamedArchive.GetLocalizedResource(), $"{StorageArchiveService.GenerateArchiveNameFromItems(context.SelectedItems)}.zip");
1010

1111
public override string Description
12-
=> Strings.CompressIntoZipDescription.GetLocalizedResource();
12+
=> Strings.CompressIntoZipDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1313

1414
public CompressIntoZipAction()
1515
{

Diff for: ‎src/Files.App/Actions/Content/Archives/Decompress/DecompressArchive.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public override string Label
1717
=> Strings.ExtractFiles.GetLocalizedResource();
1818

1919
public override string Description
20-
=> Strings.DecompressArchiveDescription.GetLocalizedResource();
20+
=> Strings.DecompressArchiveDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
2121

2222
public override HotKey HotKey
2323
=> new(Keys.E, KeyModifiers.Ctrl);

Diff for: ‎src/Files.App/Actions/Content/Archives/Decompress/DecompressArchiveHere.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public override string Label
99
=> Strings.ExtractHere.GetLocalizedResource();
1010

1111
public override string Description
12-
=> Strings.DecompressArchiveHereDescription.GetLocalizedResource();
12+
=> Strings.DecompressArchiveHereDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1313

1414
public DecompressArchiveHere()
1515
{

Diff for: ‎src/Files.App/Actions/Content/Archives/Decompress/DecompressArchiveHereSmart.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public override string Label
99
=> Strings.ExtractHereSmart.GetLocalizedResource();
1010

1111
public override string Description
12-
=> Strings.DecompressArchiveHereSmartDescription.GetLocalizedResource();
12+
=> Strings.DecompressArchiveHereSmartDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1313

1414
public override HotKey HotKey
1515
=> new(Keys.E, KeyModifiers.CtrlShift);

Diff for: ‎src/Files.App/Actions/Content/Archives/Decompress/DecompressArchiveToChildFolderAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public override string Label
1515
=> ComputeLabel();
1616

1717
public override string Description
18-
=> Strings.DecompressArchiveToChildFolderDescription.GetLocalizedResource();
18+
=> Strings.DecompressArchiveToChildFolderDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1919

2020
public DecompressArchiveToChildFolderAction()
2121
{

Diff for: ‎src/Files.App/Actions/Content/ImageManipulation/BaseRotateAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Files.App.Actions
88
{
99
internal abstract class BaseRotateAction : ObservableObject, IAction
1010
{
11-
private readonly IContentPageContext context;
11+
protected readonly IContentPageContext context;
1212

1313
private readonly InfoPaneViewModel _infoPaneViewModel;
1414

Diff for: ‎src/Files.App/Actions/Content/ImageManipulation/RotateLeftAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public override string Label
1111
=> Strings.RotateLeft.GetLocalizedResource();
1212

1313
public override string Description
14-
=> Strings.RotateLeftDescription.GetLocalizedResource();
14+
=> Strings.RotateLeftDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1515

1616
public override RichGlyph Glyph
1717
=> new(themedIconStyle: "App.ThemedIcons.ImageRotate.ACW");

Diff for: ‎src/Files.App/Actions/Content/ImageManipulation/RotateRightAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public override string Label
1111
=> Strings.RotateRight.GetLocalizedResource();
1212

1313
public override string Description
14-
=> Strings.RotateRightDescription.GetLocalizedResource();
14+
=> Strings.RotateRightDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1515

1616
public override RichGlyph Glyph
1717
=> new(themedIconStyle: "App.ThemedIcons.ImageRotate.CW");

Diff for: ‎src/Files.App/Actions/Content/Install/InstallCertificateAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public string Label
1313
=> Strings.Install.GetLocalizedResource();
1414

1515
public string Description
16-
=> Strings.InstallCertificateDescription.GetLocalizedResource();
16+
=> Strings.InstallCertificateDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1717

1818
public RichGlyph Glyph
1919
=> new("\uEB95");

Diff for: ‎src/Files.App/Actions/Content/Install/InstallFontAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public string Label
1414
=> Strings.Install.GetLocalizedResource();
1515

1616
public string Description
17-
=> Strings.InstallFontDescription.GetLocalizedResource();
17+
=> Strings.InstallFontDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1818

1919
public RichGlyph Glyph
2020
=> new(themedIconStyle: "App.ThemedIcons.Actions.FontInstall");

Diff for: ‎src/Files.App/Actions/Content/Install/InstallInfDriverAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public string Label
1313
=> Strings.Install.GetLocalizedResource();
1414

1515
public string Description
16-
=> Strings.InstallInfDriverDescription.GetLocalizedResource();
16+
=> Strings.InstallInfDriverDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1717

1818
public RichGlyph Glyph
1919
=> new("\uE9F5");

Diff for: ‎src/Files.App/Actions/Content/Share/ShareItemAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public string Label
1313
=> Strings.Share.GetLocalizedResource();
1414

1515
public string Description
16-
=> Strings.ShareItemDescription.GetLocalizedResource();
16+
=> Strings.ShareItemDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1717

1818
public RichGlyph Glyph
1919
=> new(themedIconStyle: "App.ThemedIcons.Share");

Diff for: ‎src/Files.App/Actions/FileSystem/CreateAlternateDataStreamAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public string Label
1717
=> Strings.CreateAlternateDataStream.GetLocalizedResource();
1818

1919
public string Description
20-
=> Strings.CreateAlternateDataStreamDescription.GetLocalizedResource();
20+
=> Strings.CreateAlternateDataStreamDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
2121

2222
public RichGlyph Glyph
2323
=> new RichGlyph(themedIconStyle: "App.ThemedIcons.AltDataStream");

Diff for: ‎src/Files.App/Actions/FileSystem/CreateFolderWithSelectionAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public string Label
1111
=> Strings.CreateFolderWithSelection.GetLocalizedResource();
1212

1313
public string Description
14-
=> Strings.CreateFolderWithSelectionDescription.GetLocalizedResource();
14+
=> Strings.CreateFolderWithSelectionDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1515

1616
public RichGlyph Glyph
1717
=> new(themedIconStyle: "App.ThemedIcons.New.Folder");

Diff for: ‎src/Files.App/Actions/FileSystem/CreateShortcutAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public string Label
1111
=> Strings.CreateShortcut.GetLocalizedResource();
1212

1313
public string Description
14-
=> Strings.CreateShortcutDescription.GetLocalizedResource();
14+
=> Strings.CreateShortcutDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1515

1616
public RichGlyph Glyph
1717
=> new(themedIconStyle: "App.ThemedIcons.URL");

Diff for: ‎src/Files.App/Actions/FileSystem/DeleteItemAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public string Label
99
=> Strings.Delete.GetLocalizedResource();
1010

1111
public string Description
12-
=> Strings.DeleteItemDescription.GetLocalizedResource();
12+
=> Strings.DeleteItemDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1313

1414
public RichGlyph Glyph
1515
=> new RichGlyph(themedIconStyle: "App.ThemedIcons.Delete");

Diff for: ‎src/Files.App/Actions/FileSystem/DeleteItemPermanentlyAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public string Label
99
=> Strings.DeletePermanently.GetLocalizedResource();
1010

1111
public string Description
12-
=> Strings.DeleteItemPermanentlyDescription.GetLocalizedResource();
12+
=> Strings.DeleteItemPermanentlyDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1313

1414
public HotKey HotKey
1515
=> new(Keys.Delete, KeyModifiers.Shift);

Diff for: ‎src/Files.App/Actions/FileSystem/OpenItemAction.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public string Label
1414
=> Strings.Open.GetLocalizedResource();
1515

1616
public string Description
17-
=> Strings.OpenItemDescription.GetLocalizedResource();
18-
17+
=> Strings.OpenItemDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
18+
1919
public RichGlyph Glyph
2020
=> new(themedIconStyle: "App.ThemedIcons.OpenFile");
2121

@@ -58,7 +58,7 @@ public string Label
5858
=> Strings.OpenWith.GetLocalizedResource();
5959

6060
public string Description
61-
=> Strings.OpenItemWithApplicationPickerDescription.GetLocalizedResource();
61+
=> Strings.OpenItemWithApplicationPickerDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
6262

6363
public RichGlyph Glyph
6464
=> new(themedIconStyle: "App.ThemedIcons.OpenWith");

Diff for: ‎src/Files.App/Actions/FileSystem/PasteItemAction.cs

-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Copyright (c) Files Community
22
// Licensed under the MIT License.
33

4-
using CommunityToolkit.Mvvm.ComponentModel;
5-
using CommunityToolkit.Mvvm.DependencyInjection;
6-
using Files.App.Data.Models;
7-
using Files.App.Extensions;
8-
using Files.App.Helpers;
9-
using System.ComponentModel;
10-
using System.Threading.Tasks;
11-
124
namespace Files.App.Actions
135
{
146
internal sealed partial class PasteItemAction : ObservableObject, IAction

Diff for: ‎src/Files.App/Actions/FileSystem/RestoreRecycleBinAction.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public string Label
1515
=> Strings.Restore.GetLocalizedResource();
1616

1717
public string Description
18-
=> Strings.RestoreRecycleBinDescription.GetLocalizedResource();
18+
=> Strings.RestoreRecycleBinDescription.GetLocalizedFormatResource(context.SelectedItems.Count);
1919

2020
public RichGlyph Glyph
2121
=> new(themedIconStyle: "App.ThemedIcons.RestoreDeleted");
@@ -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

Diff for: ‎src/Files.App/Actions/FileSystem/Transfer/CopyItemAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public string Label
1111
=> Strings.Copy.GetLocalizedResource();
1212

1313
public string Description
14-
=> Strings.CopyItemDescription.GetLocalizedResource();
14+
=> Strings.CopyItemDescription.GetLocalizedFormatResource(ContentPageContext.SelectedItems.Count);
1515

1616
public RichGlyph Glyph
1717
=> new(themedIconStyle: "App.ThemedIcons.Copy");

Diff for: ‎src/Files.App/Actions/FileSystem/Transfer/CutItemAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public string Label
1111
=> Strings.Cut.GetLocalizedResource();
1212

1313
public string Description
14-
=> Strings.CutItemDescription.GetLocalizedResource();
14+
=> Strings.CutItemDescription.GetLocalizedFormatResource(ContentPageContext.SelectedItems.Count);
1515

1616
public RichGlyph Glyph
1717
=> new(themedIconStyle: "App.ThemedIcons.Cut");

Diff for: ‎src/Files.App/Actions/Sidebar/PinFolderToSidebarAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public string Label
1414
=> Strings.PinFolderToSidebar.GetLocalizedResource();
1515

1616
public string Description
17-
=> Strings.PinFolderToSidebarDescription.GetLocalizedResource();
17+
=> Strings.PinFolderToSidebarDescription.GetLocalizedFormatResource(context.HasSelection ? context.SelectedItems.Count : 1);
1818

1919
public RichGlyph Glyph
2020
=> new(themedIconStyle: "App.ThemedIcons.FavoritePin");

Diff for: ‎src/Files.App/Actions/Sidebar/UnpinFolderToSidebarAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public string Label
1212
=> Strings.UnpinFolderFromSidebar.GetLocalizedResource();
1313

1414
public string Description
15-
=> Strings.UnpinFolderFromSidebarDescription.GetLocalizedResource();
15+
=> Strings.UnpinFolderFromSidebarDescription.GetLocalizedFormatResource(context.HasSelection ? context.SelectedItems.Count : 1);
1616

1717
public RichGlyph Glyph
1818
=> new(themedIconStyle: "App.ThemedIcons.FavoritePinRemove");

Diff for: ‎src/Files.App/Actions/Start/PinToStartAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public string Label
1515
=> Strings.PinItemToStart_Text.GetLocalizedResource();
1616

1717
public string Description
18-
=> Strings.PinToStartDescription.GetLocalizedResource();
18+
=> Strings.PinToStartDescription.GetLocalizedFormatResource(context.HasSelection ? context.SelectedItems.Count : 1);
1919

2020
public RichGlyph Glyph
2121
=> new(themedIconStyle: "App.ThemedIcons.FavoritePin");

Diff for: ‎src/Files.App/Actions/Start/UnpinFromStartAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public string Label
1515
=> Strings.UnpinItemFromStart_Text.GetLocalizedResource();
1616

1717
public string Description
18-
=> Strings.UnpinFromStartDescription.GetLocalizedResource();
18+
=> Strings.UnpinFromStartDescription.GetLocalizedFormatResource(context.HasSelection ? context.SelectedItems.Count : 1);
1919

2020
public RichGlyph Glyph
2121
=> new(themedIconStyle: "App.ThemedIcons.FavoritePinRemove");

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

+32-32
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>
@@ -2415,7 +2415,7 @@
24152415
<value>Toggle whether to show sidebar</value>
24162416
</data>
24172417
<data name="CopyItemDescription" xml:space="preserve">
2418-
<value>Copy item(s) to clipboard</value>
2418+
<value>Copy {0, plural, one {item} other {items}} to clipboard</value>
24192419
</data>
24202420
<data name="CopyPathDescription" xml:space="preserve">
24212421
<value>Copy path of the current directory to the clipboard</value>
@@ -2430,25 +2430,25 @@
24302430
<value>Copy path of the current directory with quotes to the clipboard</value>
24312431
</data>
24322432
<data name="CutItemDescription" xml:space="preserve">
2433-
<value>Cut item(s) to clipboard</value>
2433+
<value>Cut {0, plural, one {item} other {items}} to clipboard</value>
24342434
</data>
24352435
<data name="PasteItemDescription" xml:space="preserve">
2436-
<value>Paste item(s) from clipboard to current folder</value>
2436+
<value>Paste items from clipboard to current folder</value>
24372437
</data>
24382438
<data name="PasteShortcutDescription" xml:space="preserve">
2439-
<value>Paste item(s) from clipboard to current folder as shortcuts</value>
2439+
<value>Paste items from clipboard to current folder as shortcuts</value>
24402440
</data>
24412441
<data name="PasteItemToSelectionDescription" xml:space="preserve">
2442-
<value>Paste item(s) from clipboard to selected folder</value>
2442+
<value>Paste items from clipboard to selected folder</value>
24432443
</data>
24442444
<data name="DeleteItemDescription" xml:space="preserve">
2445-
<value>Delete item(s)</value>
2445+
<value>Delete {0, plural, one {item} other {items}}</value>
24462446
</data>
24472447
<data name="CreateFolderDescription" xml:space="preserve">
24482448
<value>Create new folder</value>
24492449
</data>
24502450
<data name="CreateShortcutDescription" xml:space="preserve">
2451-
<value>Create new shortcut(s) to selected item(s)</value>
2451+
<value>Create new {0, plural, one {shortcut} other {shortcuts}} to selected {0, plural, one {item} other {items}}</value>
24522452
</data>
24532453
<data name="CreateShortcutFromDialogDescription" xml:space="preserve">
24542454
<value>Create new shortcut to any item</value>
@@ -2460,16 +2460,16 @@
24602460
<value>Open "Format Drive" menu for selected item</value>
24612461
</data>
24622462
<data name="RestoreRecycleBinDescription" xml:space="preserve">
2463-
<value>Restore selected item(s) from recycle bin</value>
2463+
<value>Restore selected {0, plural, one {item} other {items}} from recycle bin</value>
24642464
</data>
24652465
<data name="RestoreAllRecycleBinDescription" xml:space="preserve">
24662466
<value>Restore all items from recycle bin</value>
24672467
</data>
24682468
<data name="OpenItemDescription" xml:space="preserve">
2469-
<value>Open item(s)</value>
2469+
<value>Open {0, plural, one {item} other {items}}</value>
24702470
</data>
24712471
<data name="OpenItemWithApplicationPickerDescription" xml:space="preserve">
2472-
<value>Open item(s) with selected application</value>
2472+
<value>Open {0, plural, one {item} other {items}} with selected application</value>
24732473
</data>
24742474
<data name="OpenParentFolderDescription" xml:space="preserve">
24752475
<value>Open parent folder of searched item</value>
@@ -2493,19 +2493,19 @@
24932493
<value>Toggle item selection</value>
24942494
</data>
24952495
<data name="ShareItemDescription" xml:space="preserve">
2496-
<value>Share selected file(s) with others</value>
2496+
<value>Share selected {0, plural, one {file} other {files}} with others</value>
24972497
</data>
24982498
<data name="PinToStartDescription" xml:space="preserve">
2499-
<value>Pin item(s) to the Start Menu</value>
2499+
<value>Pin {0, plural, one {item} other {items}} to the Start Menu</value>
25002500
</data>
25012501
<data name="UnpinFromStartDescription" xml:space="preserve">
2502-
<value>Unpin item(s) from the Start Menu</value>
2502+
<value>Unpin {0, plural, one {item} other {items}} from the Start Menu</value>
25032503
</data>
25042504
<data name="PinFolderToSidebarDescription" xml:space="preserve">
2505-
<value>Pin folder(s) to Sidebar</value>
2505+
<value>Pin {0, plural, one {folder} other {folders}} to Sidebar</value>
25062506
</data>
25072507
<data name="UnpinFolderFromSidebarDescription" xml:space="preserve">
2508-
<value>Unpin folder(s) from Sidebar</value>
2508+
<value>Unpin {0, plural, one {folder} other {folders}} from Sidebar</value>
25092509
</data>
25102510
<data name="SetAsWallpaperBackgroundDescription" xml:space="preserve">
25112511
<value>Set selected picture as desktop background</value>
@@ -2520,13 +2520,13 @@
25202520
<value>Set selected picture as the app background</value>
25212521
</data>
25222522
<data name="InstallFontDescription" xml:space="preserve">
2523-
<value>Install selected font(s)</value>
2523+
<value>Install selected {0, plural, one {font} other {fonts}}</value>
25242524
</data>
25252525
<data name="InstallInfDriverDescription" xml:space="preserve">
2526-
<value>Install driver(s) using selected inf file(s)</value>
2526+
<value>Install {0, plural, one {driver} other {drivers}} using selected inf {0, plural, one {file} other {files}}</value>
25272527
</data>
25282528
<data name="InstallCertificateDescription" xml:space="preserve">
2529-
<value>Install selected certificate(s)</value>
2529+
<value>Install selected {0, plural, one {certificate} other {certificates}}</value>
25302530
</data>
25312531
<data name="RunAsAdminDescription" xml:space="preserve">
25322532
<value>Run selected application as administrator</value>
@@ -2541,28 +2541,28 @@
25412541
<value>Launch preview in popup window</value>
25422542
</data>
25432543
<data name="CompressIntoArchiveDescription" xml:space="preserve">
2544-
<value>Create archive with selected item(s)</value>
2544+
<value>Create archive with selected {0, plural, one {item} other {items}}</value>
25452545
</data>
25462546
<data name="CompressIntoSevenZipDescription" xml:space="preserve">
2547-
<value>Create 7z archive instantly with selected item(s)</value>
2547+
<value>Create 7z archive with selected {0, plural, one {item} other {items}}</value>
25482548
</data>
25492549
<data name="CompressIntoZipDescription" xml:space="preserve">
2550-
<value>Create zip archive instantly with selected item(s)</value>
2550+
<value>Create zip archive with selected {0, plural, one {item} other {items}}</value>
25512551
</data>
25522552
<data name="DecompressArchiveDescription" xml:space="preserve">
2553-
<value>Extract items from selected archive(s) to any folder</value>
2553+
<value>Extract items from selected {0, plural, one {archive} other {archives}} to any folder</value>
25542554
</data>
25552555
<data name="DecompressArchiveHereDescription" xml:space="preserve">
2556-
<value>Extract items from selected archive(s) to current folder</value>
2556+
<value>Extract items from selected {0, plural, one {archive} other {archives}} to current folder</value>
25572557
</data>
25582558
<data name="DecompressArchiveToChildFolderDescription" xml:space="preserve">
2559-
<value>Extract items from selected archive(s) to new folder</value>
2559+
<value>Extract items from selected {0, plural, one {archive} other {archives}} to new folder</value>
25602560
</data>
25612561
<data name="RotateLeftDescription" xml:space="preserve">
2562-
<value>Rotate selected image(s) to the left</value>
2562+
<value>Rotate selected {0, plural, one {image} other {images}} to the left</value>
25632563
</data>
25642564
<data name="RotateRightDescription" xml:space="preserve">
2565-
<value>Rotate selected image(s) to the right</value>
2565+
<value>Rotate selected {0, plural, one {image} other {images}} to the right</value>
25662566
</data>
25672567
<data name="OpenSettingsDescription" xml:space="preserve">
25682568
<value>Open settings page</value>
@@ -2998,7 +2998,7 @@
29982998
<value>Delete permanently</value>
29992999
</data>
30003000
<data name="DeleteItemPermanentlyDescription" xml:space="preserve">
3001-
<value>Delete item(s) permanently</value>
3001+
<value>Delete {0, plural, one {item} other {items}} permanently</value>
30023002
</data>
30033003
<data name="PlayAllDescription" xml:space="preserve">
30043004
<value>Play the selected media files</value>
@@ -3115,7 +3115,7 @@
31153115
<value>Switch to new branch</value>
31163116
</data>
31173117
<data name="CreateFolderWithSelectionDescription" xml:space="preserve">
3118-
<value>Create a folder with the currently selected item(s)</value>
3118+
<value>Create a folder with the currently selected {0, plural, one {item} other {items}}</value>
31193119
</data>
31203120
<data name="OpenProperties" xml:space="preserve">
31213121
<value>Open properties</value>
@@ -3682,7 +3682,7 @@
36823682
<comment>Shown in a StatusCenter card.</comment>
36833683
</data>
36843684
<data name="StatusCenter_ProcessedItems_Header" xml:space="preserve">
3685-
<value>{0}/{1} item(s) processed</value>
3685+
<value>{0}/{1} {0, plural, one {item} other {items}} processed</value>
36863686
<comment>Shown in a StatusCenter card. Used as "8/20 items processed"</comment>
36873687
</data>
36883688
<data name="UnblockDownloadedFile" xml:space="preserve">
@@ -3728,7 +3728,7 @@
37283728
<value>There was an error applying this tag</value>
37293729
</data>
37303730
<data name="DecompressArchiveHereSmartDescription" xml:space="preserve">
3731-
<value>Extract items from selected archive(s) to current folder for single-item archive, or to new folder for multi-item archive</value>
3731+
<value>Extract items from selected {0, plural, one {archive} other {archives}} to current folder for single-item archive, or to new folder for multi-item archive</value>
37323732
</data>
37333733
<data name="ExtractHereSmart" xml:space="preserve">
37343734
<value>Extract here (Smart)</value>
@@ -4070,7 +4070,7 @@
40704070
<value>Create alternate data stream</value>
40714071
</data>
40724072
<data name="CreateAlternateDataStreamDescription" xml:space="preserve">
4073-
<value>Create alternate data stream for the selected item(s)</value>
4073+
<value>Create alternate data stream for the selected {0, plural, one {item} other {items}}</value>
40744074
</data>
40754075
<data name="EnterDataStreamName" xml:space="preserve">
40764076
<value>Enter data stream name</value>

Diff for: ‎src/Files.App/Utils/StatusCenter/StatusCenterItem.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ private void ReportProgress(StatusCenterItemProgressModel value)
301301
{
302302
Message =
303303
$"{string.Format(
304-
Strings.StatusCenter_ProcessedItems_Header.GetLocalizedResource(),
304+
Strings.StatusCenter_ProcessedItems_Header.GetLocalizedFormatResource(value.ProcessedItemsCount),
305305
value.ProcessedItemsCount,
306306
value.ItemsCount)}";
307307
}

0 commit comments

Comments
 (0)
Please sign in to comment.