diff options
author | Masoud Abkenar <ampbox@gmail.com> | 2017-04-24 22:39:15 +0200 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-24 22:39:15 +0200 |
commit | bb04a9be52e005fb8bbeef22e5b8d30f0d202903 (patch) | |
tree | a42cca2b528b1030d81eeb1ddb1b584889c34bec /app/helpers/application_helper.rb | |
parent | 338df98ddf14493d655a72f38f2bde482becab54 (diff) |
Persian translation (#2405)
* Persian translation * adding :fa to make the site use the rtl stylesheet based on [this comment](https://github.com/tootsuite/mastodon/pull/2405#issuecomment-296721105) * fix missing quotes * add 'fa' locale
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e2ea94856..ba6803b4b 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -10,7 +10,7 @@ module ApplicationHelper end def add_rtl_body_class(other_classes) - other_classes = "#{other_classes} rtl" if [:ar].include?(I18n.locale) + other_classes = "#{other_classes} rtl" if [:ar, :fa].include?(I18n.locale) other_classes end end |