Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placeholder format "decimalPatternDigit is not valid #60

Open
BuyMyBeard opened this issue Sep 5, 2024 · 2 comments
Open

Placeholder format "decimalPatternDigit is not valid #60

BuyMyBeard opened this issue Sep 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@BuyMyBeard
Copy link

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 BuyMyBeard changed the title Placeholder format "decimalPAtternDigit is not valid Placeholder format "decimalPatternDigit is not valid Sep 5, 2024
@mosuem mosuem added the bug Something isn't working label Sep 6, 2024
@mosuem
Copy link
Collaborator

mosuem commented Sep 6, 2024

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

@BuyMyBeard BuyMyBeard reopened this Sep 9, 2024
@BuyMyBeard
Copy link
Author

BuyMyBeard commented Sep 9, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants