]> git.openstreetmap.org Git - rails.git/commitdiff
Fix: add osm-community-index localisation data to I18n
authorAdam Hoyle <atomoil@gmail.com>
Thu, 10 Feb 2022 22:28:40 +0000 (22:28 +0000)
committerAdam Hoyle <atomoil@gmail.com>
Thu, 10 Feb 2022 22:28:40 +0000 (22:28 +0000)
lib/osm_community_index/local_chapter.rb

index 10029a77e1312121d0dacf060f86113dcc26db8b..178d3437d334e3ac9a93a0dfd71b132179a0d750 100644 (file)
@@ -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