aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-09-18 11:13:30 +0200
committerJoas Schilling <coding@schilljs.com>2024-09-23 17:00:07 +0200
commit82566c5479b7cf3374501a1e6b113680ae75afee (patch)
tree697896f4b5d64a1a1b77e5a50a13a4274c793e30 /lib/public
parent242f89afb3312f04bbbf7951d9a71092f15978a1 (diff)
downloadnextcloud-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/public')
-rw-r--r--lib/public/L10N/IFactory.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php
index 4259baa3b2f..aebd318dfad 100644
--- a/lib/public/L10N/IFactory.php
+++ b/lib/public/L10N/IFactory.php
@@ -104,13 +104,13 @@ interface IFactory {
public function localeExists($locale);
/**
- * Return the current language direction from locale
+ * Return the language direction
*
- * @param string $locale
+ * @param string $language
* @return 'ltr'|'rtl'
* @since 31.0.0
*/
- public function getLanguageDirectionFromLocale(string $locale): string;
+ public function getLanguageDirection(string $language): string;
/**
* iterate through language settings (if provided) in this order: