mirror of https://github.com/mastodon/mastodon
297c11dba2
* 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 |
||
---|---|---|
.. | ||
controllers | ||
fabricators | ||
features | ||
fixtures | ||
helpers | ||
javascript | ||
lib | ||
mailers | ||
models | ||
presenters | ||
requests | ||
routing | ||
services | ||
support/matchers/model | ||
views | ||
rails_helper.rb | ||
spec_helper.rb |