From b4ec1c9f3d6bd9eeb6083ed86debf7a127a50749 Mon Sep 17 00:00:00 2001 From: Adam Hoyle Date: Thu, 10 Feb 2022 22:28:40 +0000 Subject: [PATCH] Fix: add osm-community-index localisation data to I18n --- lib/osm_community_index/local_chapter.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5