[openstreetmap/openstreetmap-website] Rename heatmap label to Contribution Calendar (PR #6932)

Arpan Mukherjee notifications at github.com
Tue Mar 24 17:44:04 UTC 2026


Closes #6849

This PR renames the user-facing "Heatmap" feature in the profile section to "Contribution Calendar" to better reflect its purpose as a temporal activity overview (similar to GitHub’s contribution graph), rather than a geographic heatmap.

### Changes

* Updated user-facing labels from **"Heatmap" → "Contribution Calendar"**
* Updated relevant i18n keys in `config/locales/en.yml`
* Renamed related translation keys (e.g., `edit_heatmap` → `edit_contribution_calendar`, `show_heatmap_in_public` → `show_contribution_calendar_in_public`)
* Updated success messages and UI text accordingly
* Updated controller tests to reflect new text
* Preserved the existing `heatmaps` namespace to maintain correct Rails i18n scoping and avoid breaking relative lookups

### Notes

* Based on reviewer feedback, translation keys were updated while keeping namespace structure intact
* Changes are limited to `en.yml` as other locales are managed externally via TranslateWiki

### Previous PR

This replaces #6884.

The previous PR was unintentionally closed after a rebase operation temporarily aligned the branch with `master`, resulting in no diff. Since GitHub treats such branches as having no changes, the PR was automatically closed and could not be reopened once the history diverged again.

This PR restores the intended changes with a clean, linear commit history.

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6932

-- Commit Summary --

  * Rename heatmap label to Contribution Calendar

-- File Changes --

    M app/assets/javascripts/heatmap.js (6)
    M app/views/profiles/heatmaps/show.html.erb (2)
    M app/views/profiles/profile_sections/_navigation.html.erb (2)
    M app/views/users/show.html.erb (2)
    M config/locales/az.yml (2)
    M config/locales/bcl.yml (6)
    M config/locales/be-Tarask.yml (10)
    M config/locales/br.yml (4)
    M config/locales/ca.yml (10)
    M config/locales/cs.yml (10)
    M config/locales/cy.yml (10)
    M config/locales/da.yml (10)
    M config/locales/de.yml (10)
    M config/locales/el.yml (8)
    M config/locales/en.yml (18)
    M config/locales/eo.yml (10)
    M config/locales/es.yml (10)
    M config/locales/et.yml (10)
    M config/locales/fi.yml (4)
    M config/locales/fr.yml (4)
    M config/locales/frp.yml (10)
    M config/locales/fur.yml (4)
    M config/locales/ga.yml (10)
    M config/locales/gl.yml (10)
    M config/locales/he.yml (8)
    M config/locales/hr.yml (10)
    M config/locales/hsb.yml (2)
    M config/locales/hu.yml (8)
    M config/locales/ia.yml (10)
    M config/locales/is.yml (4)
    M config/locales/it.yml (8)
    M config/locales/km.yml (2)
    M config/locales/ko.yml (8)
    M config/locales/lb.yml (2)
    M config/locales/lv.yml (4)
    M config/locales/mk.yml (10)
    M config/locales/nl.yml (10)
    M config/locales/pl.yml (10)
    M config/locales/pt-PT.yml (8)
    M config/locales/pt.yml (8)
    M config/locales/ru.yml (4)
    M config/locales/scn.yml (2)
    M config/locales/shn.yml (2)
    M config/locales/sk.yml (10)
    M config/locales/skr-arab.yml (4)
    M config/locales/sl.yml (10)
    M config/locales/sv.yml (10)
    M config/locales/th.yml (2)
    M config/locales/tr.yml (10)
    M config/locales/uk.yml (10)
    M config/locales/vi.yml (10)
    M config/locales/xmf.yml (2)
    M config/locales/zh-CN.yml (10)
    M config/locales/zh-HK.yml (10)
    M config/locales/zh-TW.yml (10)
    M test/controllers/profiles/heatmaps_controller_test.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6932.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6932.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/6932 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260324/131c4c5f/attachment-0001.htm>


More information about the rails-dev mailing list