Skip to content

ICU check returns false error result on int placeholder for plural #16619

@mikhirev

Description

@mikhirev

Describe the issue

The following translation causes the ICU format check error:

    "loadCountMoreParticipants": "{count, plural, one{Загрузить еще одного участника} few{Загрузить еще # участников} other{Загрузить еще # участников}}",
    "@loadCountMoreParticipants": {
        "type": "String",
        "placeholders": {
            "count": {
                "type": "int"
            }
        }
    },

It reports that count has a wrong type. Seems that int is not listed as numeric type.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

  1. Go to https://hosted.weblate.org/translate/fluffychat/translations/ru/?checksum=ca5b10e8398959e6
  2. See the failed check.

Expected behavior

No response

Screenshots

Image

Exception traceback

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

Additional context

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions