AntonKhorev left a comment (openstreetmap/openstreetmap-website#5402)

With #5654 it's possible to translate the tooltips with language-specific 
pluralizations:

```
    heatmap:
      tooltip:
        contributions:
          one: "%{count} правка %{date}"
          few: "%{count} правки %{date}"
          many: "%{count} правок %{date}"
          other: ""
        no_contributions: "Нет правок %{date}"
```

![image](https://github.com/user-attachments/assets/046d0758-acc7-4f18-8022-9d71ef19f07a)
 
![image](https://github.com/user-attachments/assets/066270ae-458a-460b-a9e7-31267e09f88c)
 
![image](https://github.com/user-attachments/assets/b665eeca-0b49-4843-82cb-fedded5ce871)

Otherwise only `one` for `count==1` and `other` rules are supported.

Do we merge #5654 first?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5402#issuecomment-2692264076
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5402/c2692264...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to