]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm_community_index.rb
Genericese comment
[rails.git] / lib / osm_community_index.rb
index 81f87192810c2efbe1ea0d9c060c4dd56d3587b0..eb7948514369eff689f3d90bd2bc3f2a7fa863b7 100644 (file)
@@ -5,7 +5,7 @@ module OsmCommunityIndex
     files.each do |file|
       locale = File.basename(file, ".yaml")
       community_locale_yaml = YAML.safe_load(File.read(file))[locale]
-      # rails wants en-GB but osm-community-index has en_GB
+      # rails wants language-COUNTRY but osm-community-index uses underscores
       locale_rails = locale.tr("_", "-")
 
       data = communities.each_with_object({}) do |community, obj|