Skip to content

The plural settings for the Russian language in weblate are incorrect. #2612

Description

@FraxinusAcer

Prerequisites

  • I have searched the existing issues and this bug has not been reported yet

Describe the bug

The plural settings for the Russian language in weblate are incorrect.
The weblate create this:
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

Steps to reproduce

Open any fragment of the translation with multiple forms and get a choice of two tenses, but in Russian you need more options.

Like: https://hosted.weblate.org/translate/planner/io-github-alainm23-planify/ru/?checksum=06974f2dab3462bd

Expected behavior

Here is an example of the correct settings for translation into Russian.
The weblate create this:

"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"

Installation method

Built from source

Planify version

all

Desktop environment

Web

Linux distribution

Arch linux

Sync provider (if relevant)

No response

Screenshots or logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions