mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user