]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm_community_index/local_chapter.rb
Fix: add osm-community-index localisation data to I18n
[rails.git] / 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