[openstreetmap/openstreetmap-website] Add user profile heatmap visualization for contributions (PR #5402)

Anton Khorev notifications at github.com
Sat Mar 1 14:42:04 UTC 2025


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/c2692264076 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250301/2bebfd83/attachment-0001.htm>


More information about the rails-dev mailing list