diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-18 16:20:12 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-18 22:20:12 +0200 |
commit | 297c11dba2864b20992cd3f98282f5ce35d5d144 (patch) | |
tree | fd4c3e3ec0c981b417931708c7f88cd25e6282c9 /app/validators/status_length_validator.rb | |
parent | 0a7588282a00513af9631d06eea76878a974c659 (diff) |
Language detection refactor (#2099)
* Extract detect_language to separate class * Use default locale, not just en * Add spec to confirm that whatlanguage cant identify empty string * Allow account locale to override default in language detector * PostStatusService supplies an account to detect language
Diffstat (limited to 'app/validators/status_length_validator.rb')
0 files changed, 0 insertions, 0 deletions