0
0
Fork 0

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
This commit is contained in:
Masoud Abkenar 2017-04-24 22:39:15 +02:00 committed by Eugen
parent 338df98ddf
commit bb04a9be52
9 changed files with 700 additions and 1 deletions

View file

@ -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