Skip to content

key has a defined format for the 'valueName' placeholder that will be ignored. #115

@Korpyc

Description

@Korpyc

Hey, I have next string:
"page_subtitle": "{rangeTitle} • {somethingCount, plural, one{1 Apple} other{{somethingCount} Apples}}", "@page_subtitle": { "placeholders": { "rangeTitle": { "type": "String", }, "somethingCount": { "type": "int", "format": "decimalPattern" } } },

so, as a result, if somethingCount >1000, I expect to see result like this:
rangeTitle • 12,123 Apples

but, generator said:
key has a defined format for the 'somethingCount' placeholder that will be ignored.
Consider using an additional placeholder for formatting purposes.

Can we fix it without adding one more, same int value, just for formatting purposes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions