]> git.openstreetmap.org Git - rails.git/blob - lib/id.rb
Adapt richtext javascript to Turbo
[rails.git] / lib / id.rb
1 module ID
2   LOCALES = Locale.list(Rails.root.join("vendor/assets/iD/iD/locales").entries.filter_map { |p| p.basename.to_s[/(.*)\.min\.json/] && Regexp.last_match(1) })
3 end