DEV: Remove duplicate definition of RTL locales and add Uyghur to the list (#27387)

This commit is contained in:
Gerhard Schlager
2024-06-08 21:24:39 +02:00
committed by GitHub
parent c13f64d35b
commit 1fbc1cd326
2 changed files with 5 additions and 7 deletions

View File

@@ -259,7 +259,7 @@ module ApplicationHelper
end
def rtl?
%w[ar ur fa_IR he].include? I18n.locale.to_s
Rtl::LOCALES.include? I18n.locale.to_s
end
def html_lang