Sanmill icon indicating copy to clipboard operation
Sanmill copied to clipboard

Add localized plural forms

Open calcitem opened this issue 1 year ago • 0 comments

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 avatar Jul 14 '24 11:07 calcitem