]> cat aescling's git repositories - mastodon.git/commit
Filter languages with opt out (#3175)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Sat, 20 May 2017 15:32:44 +0000 (11:32 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 20 May 2017 15:32:44 +0000 (17:32 +0200)
commit8f4b7c1820b046c8df10e043a0bc605f3007eee7
treecd8703410d9c374f89e4845600aad931f04bd6a9
parent2e112e240666b62b8c3d4fa201fb24b841f6c92b
Filter languages with opt out (#3175)

* Remove allowed_languages and add filtered_languages

* Use filtered_languages instead of allowed_languages
21 files changed:
app/controllers/settings/preferences_controller.rb
app/javascript/styles/forms.scss
app/models/account.rb
app/models/status.rb
app/models/user.rb
app/views/settings/preferences/show.html.haml
config/locales/simple_form.ar.yml
config/locales/simple_form.en.yml
config/locales/simple_form.fa.yml
config/locales/simple_form.he.yml
config/locales/simple_form.ja.yml
config/locales/simple_form.oc.yml
config/locales/simple_form.pl.yml
config/locales/simple_form.pt-BR.yml
config/locales/simple_form.th.yml
config/locales/simple_form.zh-CN.yml
db/migrate/20170520145338_change_language_filter_to_opt_out.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/settings/preferences_controller_spec.rb
spec/models/status_spec.rb
spec/models/user_spec.rb