]> cat aescling's git repositories - mastodon.git/commit
Use I18n for media attachment validation errors
authorChad Pytel <chad@thoughtbot.com>
Fri, 7 Apr 2017 18:19:16 +0000 (14:19 -0400)
committerChad Pytel <chad@thoughtbot.com>
Fri, 7 Apr 2017 18:23:18 +0000 (14:23 -0400)
commitad5ddd5e95062d0d5cd4bc56baff53698c598723
tree4515ec60a05f2e8bf470b34bf035fb3eddf105b8
parent13c0077003288416b8cacd5d339f8796bc347f39
Use I18n for media attachment validation errors

These are currently user facing errors, but are not localized. This adds the
ability for these messages to be localized.
app/services/post_status_service.rb
config/locales/en.yml
spec/services/post_status_service_spec.rb