From: Adam Hoyle Date: Thu, 10 Feb 2022 22:28:40 +0000 (+0000) Subject: Fix: add osm-community-index localisation data to I18n X-Git-Tag: live~1833^2~22 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b4ec1c9f3d6bd9eeb6083ed86debf7a127a50749 Fix: add osm-community-index localisation data to I18n --- diff --git a/lib/osm_community_index/local_chapter.rb b/lib/osm_community_index/local_chapter.rb index 10029a77e..178d3437d 100644 --- a/lib/osm_community_index/local_chapter.rb +++ b/lib/osm_community_index/local_chapter.rb @@ -55,6 +55,8 @@ module OsmCommunityIndex data.deep_merge!({"osm_community_index" => {"local_chapter" => {id => strings}}}) end + + I18n.backend.store_translations locale_rails, data end end end