]> cat aescling's git repositories - mastodon.git/commit
Ensure i18n matches options (#2358)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Sun, 23 Apr 2017 17:09:52 +0000 (13:09 -0400)
committerEugen <eugen@zeonfederated.com>
Sun, 23 Apr 2017 17:09:52 +0000 (19:09 +0200)
commit55e1e12b7d673aece3cf015360af9fb4252dd7e5
tree4f98e21c7007938e3845224df81f1fd7e955b48a
parent6e27e08cb435d170a8d37dd17d3c2442e9ad34ce
Ensure i18n matches options (#2358)

* Add failing spec showing that human_locales does not match what i18n knows about

* Add missing `ar` key for arabic to human locales

* Remove duplicate `id` key from available locales

* Sort keys in human locales list

* Add spec for human_locale helper
app/helpers/settings_helper.rb
config/application.rb
spec/helpers/settings_helper_spec.rb [new file with mode: 0644]