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

Add localized plural forms #850

Open
calcitem opened this issue Jul 14, 2024 · 0 comments
Open

Add localized plural forms #850

calcitem opened this issue Jul 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@calcitem
Copy link
Owner

Plese add localized plural forms for this string (even if singular form is never going to be used). Many languages need different plural forms (Croatian, Slovenian, etc.)

  "hasPlacedPieceCount": "The current player has placed {count} pieces.",
  "@hasPlacedPieceCount": {
    "description": "The current player has placed {count} pieces.",
    "placeholders": {
      "count": {
        "description": "Number of pieces placed.",
        "example": "3"
      }
    }
  },




  "hasPlacedPieceCount": "{count, plural, =0{The current player has placed no pieces.} =1{The current player has placed one piece.} other{The current player has placed {count} pieces.}}",
  "@hasPlacedPieceCount": {
    "description": "Message describing how many pieces the current player has placed, with support for pluralization.",
    "placeholders": {
      "count": {
        "type": "int",
        "description": "Number of pieces placed by the player.",
        "example": "3"
      }
    }
  }

@calcitem calcitem added the bug Something isn't working label Jul 14, 2024
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

1 participant