There are three forms in Russian, and I cannot figure out how to set the conditions correctly.

  • Solved
  • Posted 1 month ago

@post(wall.total_with_replies).is_equal_to(1).then(@value() comment).else(@value() comments)

There are three forms in Russian, and I cannot figure out how to set the conditions correctly.

1 комментарий
2–4 комментария
5–0, 11–14 комментариев

ChatGPT writes that voxel has limitations and it will not be possible to do it properly. It gave me this option:

@post(wall.total_with_replies).is_equal_to(1).then(@value() комментарий).else_if(@post(wall.total_with_replies).is_between(2,4)).then(@value() комментария).else(@value() комментариев)