[openstreetmap/openstreetmap-website] Add Communities page (#3301)

mmd notifications at github.com
Sat Jan 29 16:33:09 UTC 2022


@mmd-osm commented on this pull request.



> @@ -52,12 +53,7 @@ def self.add_to_i18n
           # as per discussion here: https://github.com/osmlab/osm-community-index/issues/483
           strings['name'] = strings['name'] || resource["strings"]["name"] || resource["strings"]["community"]
 
-          data = {}
-          data["osm_community_index"] = {}
-          data["osm_community_index"]["local_chapter"] = {}
-          data["osm_community_index"]["local_chapter"][id] = strings
-          I18n.backend.store_translations locale_rails, data

Removing `I18n.backend.store_translations locale_rails, data`  breaks i18n.

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

Message ID: <openstreetmap/openstreetmap-website/pull/3301/review/866982177 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220129/a9770dbc/attachment.htm>


More information about the rails-dev mailing list