[openstreetmap/openstreetmap-website] Collect header item definitions (PR #6829)

Marwin Hochfelsner notifications at github.com
Thu Feb 19 03:36:35 UTC 2026


### Description
A merge of https://github.com/openstreetmap/openstreetmap-website/pull/6730#discussion_r2752197761 with additional cleanup that became apparent to me with #6820.

### How has this been tested?
I made sure the only difference in the header is the not-yet-migrated translations. But with the regular Translatewiki updates, that shouldn't be a problem.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move secondary navigation item configutation to helper
  * Store header translation strings together

-- File Changes --

    M app/helpers/application_helper.rb (23)
    M app/views/layouts/_header.html.erb (48)
    M config/locales/en.yml (36)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/6829 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260218/44cd8861/attachment.htm>


More information about the rails-dev mailing list