aboutsummaryrefslogtreecommitdiffstats
path: root/core/strings.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-02-01 16:13:27 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-02-05 11:16:04 +0100
commitb2e9e0fa0d6c50892e94b4ad325ef59fe41dfad9 (patch)
tree64e2799ed769ae19605eb94df57f995a02f3330b /core/strings.php
parent961ccee5f6cd08d8e06aea7f2e4e432cdb7d88e0 (diff)
downloadnextcloud-server-b2e9e0fa0d6c50892e94b4ad325ef59fe41dfad9.tar.gz
nextcloud-server-b2e9e0fa0d6c50892e94b4ad325ef59fe41dfad9.zip
chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/strings.php')
-rw-r--r--core/strings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/strings.php b/core/strings.php
index fa23fb1ac65..50051936eb0 100644
--- a/core/strings.php
+++ b/core/strings.php
@@ -25,7 +25,7 @@ declare(strict_types=1);
*
*/
//some strings that are used in /lib but won't be translatable unless they are in /core too
-$l = \OC::$server->getL10N('core');
+$l = \OCP\Util::getL10N('core');
$l->t("Personal");
$l->t("Users");
$l->t("Apps");