From 740659a04c28f8b2bfd9265d459dd3bca202300f Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 28 Oct 2016 21:46:28 +0200 Subject: Move away from OC_L10N Signed-off-by: Roeland Jago Douma --- apps/encryption/templates/settings-admin.php | 2 +- apps/encryption/templates/settings-personal.php | 2 +- apps/federatedfilesharing/templates/settings-admin.php | 2 +- apps/federatedfilesharing/templates/settings-personal.php | 2 +- apps/federation/templates/settings-admin.php | 2 +- apps/files/lib/Helper.php | 2 +- apps/files/templates/index.php | 2 +- apps/files/templates/recentlist.php | 2 +- apps/files_sharing/templates/authenticate.php | 2 +- apps/files_sharing/templates/list.php | 2 +- apps/files_sharing/templates/public.php | 2 +- apps/files_trashbin/templates/index.php | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'apps') diff --git a/apps/encryption/templates/settings-admin.php b/apps/encryption/templates/settings-admin.php index 405dbaf703f..efe9c44ece7 100644 --- a/apps/encryption/templates/settings-admin.php +++ b/apps/encryption/templates/settings-admin.php @@ -1,6 +1,6 @@ diff --git a/apps/federatedfilesharing/templates/settings-admin.php b/apps/federatedfilesharing/templates/settings-admin.php index c454eeba17b..3ffd4bd5b27 100644 --- a/apps/federatedfilesharing/templates/settings-admin.php +++ b/apps/federatedfilesharing/templates/settings-admin.php @@ -1,5 +1,5 @@ diff --git a/apps/federatedfilesharing/templates/settings-personal.php b/apps/federatedfilesharing/templates/settings-personal.php index 6b43f70495f..98a1cd7f751 100644 --- a/apps/federatedfilesharing/templates/settings-personal.php +++ b/apps/federatedfilesharing/templates/settings-personal.php @@ -1,5 +1,5 @@ diff --git a/apps/files/lib/Helper.php b/apps/files/lib/Helper.php index 26bc020c871..b6b209dea70 100644 --- a/apps/files/lib/Helper.php +++ b/apps/files/lib/Helper.php @@ -45,7 +45,7 @@ class Helper { public static function buildFileStorageStatistics($dir) { // information about storage capacities $storageInfo = \OC_Helper::getStorageInfo($dir); - $l = new \OC_L10N('files'); + $l = \OC::$server->getL10N('files'); $maxUploadFileSize = \OCP\Util::maxUploadFilesize($dir, $storageInfo['free']); $maxHumanFileSize = \OCP\Util::humanFileSize($maxUploadFileSize); $maxHumanFileSize = $l->t('Upload (max. %s)', array($maxHumanFileSize)); diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 92345d3063e..17958d330b7 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -1,4 +1,4 @@ - + printPage(); ?>
diff --git a/apps/files/templates/recentlist.php b/apps/files/templates/recentlist.php index 1667eb4cc8d..6c271a07f5f 100644 --- a/apps/files/templates/recentlist.php +++ b/apps/files/templates/recentlist.php @@ -1,4 +1,4 @@ - +
diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php index 909e839177c..fbc1d72a333 100644 --- a/apps/files_sharing/templates/authenticate.php +++ b/apps/files_sharing/templates/authenticate.php @@ -1,6 +1,6 @@ diff --git a/apps/files_sharing/templates/list.php b/apps/files_sharing/templates/list.php index 785b2bc72a4..ec13b5c1f77 100644 --- a/apps/files_sharing/templates/list.php +++ b/apps/files_sharing/templates/list.php @@ -1,4 +1,4 @@ - +
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 80c7d4d7460..e1a816e7fee 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -1,5 +1,5 @@ diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php index 9ea8a9d14c4..c3f0304d408 100644 --- a/apps/files_trashbin/templates/index.php +++ b/apps/files_trashbin/templates/index.php @@ -1,4 +1,4 @@ - +
-- cgit v1.2.3