Skip to content

Bug: No plural forms in Status Center actions #17295

@SilverGreen93

Description

@SilverGreen93

Description

The current strings in Status Center actions are not plural form compatible.
For example: StatusCenter_CopyInProgress_Header -> Copying {0} item(s) to "{1}"
It should be Copying {0, plural, one {# item} other {# items}} to "{1}"

I tried changing the string, but the program crashes with System.FormatException as card.HeaderStringResource.GetLocalizedResource(); does not give the right format.

I cannot figure out how to use GetLocalizedFormatResource (as it is done in other places) in this context to provide the necessary plural form correctly.
I am open to suggestions on how to fix this :D

Steps To Reproduce

Files Version

Dev

Windows Version

11

User ID

No response

Log File

Metadata

Metadata

Assignees

No one assigned

    Labels

    area - status centerFeatures or bug reports for the ongoing operations flyout

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions