Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-31 12:05:59 +0400
committerRobin Appelman <icewind@owncloud.com>2014-08-31 12:08:22 +0400
commitd0266c0bf85e431a3b1b39cbfaced4e8df52a264 (patch)
treedfea49fa907a3b7543f8849077d75cfc29a54279 /core/strings.php
parent23137f4798cb89b188329050a85f2f3a706947c5 (diff)
Use public api for getting l10n
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 01ab3866089..ebae63bf928 100644
--- a/core/strings.php
+++ b/core/strings.php
@@ -1,7 +1,7 @@
<?php
//some strings that are used in /lib but wont be translatable unless they are in /core too
-$l=OC_L10N::get('core');
+$l = \OC::$server->getL10N('core');
$l->t("Personal");
$l->t("Users");
$l->t("Apps");