arb-editor icon indicating copy to clipboard operation
arb-editor copied to clipboard

Placeholder format "decimalPatternDigit is not valid

Open BuyMyBeard opened this issue 1 year ago • 2 comments

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

BuyMyBeard avatar Sep 05 '24 21:09 BuyMyBeard

This was fixed by #55 , probably just waiting for the new version publish. I have that on my todo list :)

mosuem avatar Sep 06 '24 15:09 mosuem

This was fixed by #55 , probably just waiting for the new version publish. I have that on my todo list :)

Sounds good! I'll leave the issue up for other users stumbling upon this, you can close it as soon as the release goes up!

BuyMyBeard avatar Sep 09 '24 02:09 BuyMyBeard