diff options
author | Joas Schilling <coding@schilljs.com> | 2024-09-18 11:13:30 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-09-23 17:00:07 +0200 |
commit | 82566c5479b7cf3374501a1e6b113680ae75afee (patch) | |
tree | 697896f4b5d64a1a1b77e5a50a13a4274c793e30 /lib/private/TemplateLayout.php | |
parent | 242f89afb3312f04bbbf7951d9a71092f15978a1 (diff) | |
download | nextcloud-server-82566c5479b7cf3374501a1e6b113680ae75afee.tar.gz nextcloud-server-82566c5479b7cf3374501a1e6b113680ae75afee.zip |
fix(rtl): Make clear that the direction is based on languagefeat/31420/bidi-backend-support
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r-- | lib/private/TemplateLayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index bca9af16d22..60c7526435e 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -196,7 +196,7 @@ class TemplateLayout extends \OC_Template { // Send the language, locale, and direction to our layouts $lang = \OC::$server->get(IFactory::class)->findLanguage(); $locale = \OC::$server->get(IFactory::class)->findLocale($lang); - $direction = \OC::$server->getL10NFactory()->getLanguageDirectionFromLocale($locale); + $direction = \OC::$server->getL10NFactory()->getLanguageDirection($lang); $lang = str_replace('_', '-', $lang); $this->assign('language', $lang); |