Skip to content

Placeholder format "decimalPatternDigit is not valid #60

@BuyMyBeard

Description

@BuyMyBeard

Expected Behavior

Expect placeholder format "decimalPatternDigits" to be accepted.

Actual Behavior

Placeholder format "decimalPatternDigits" is not accepted by the static analysis of the ARB file

Value is not accepted. Valid values: "compact", "compactCurrency", "compactSimpleCurrency", "compactLong", "currency", "decimalPattern", "decimalPercentPattern", "percentPattern", "scientificPattern", "simpleCurrency".

Steps to Reproduce the Problem

"priceDisplay": "{amount}",
"@priceDisplay": {
    "placeholders": {
        "amount": {
            "type": "double",
            "format": "decimalPatternDigits",
            "optionalParameters": {
                "decimalDigits": 2
            },
            "example": "49.99"
        }
    }
}

Specifications

  • Version: 0.0.13
  • Platform: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions