From 58b1e841f11559f462ce803a500105f0b64f6e36 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Thu, 30 Aug 2012 23:51:44 +0200 Subject: fix translations within subfolder /lib --- lib/files.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/files.php') diff --git a/lib/files.php b/lib/files.php index 0c71f6e5e42..a303c078728 100644 --- a/lib/files.php +++ b/lib/files.php @@ -268,7 +268,7 @@ class OC_Files { */ static function validateZipDownload($dir, $files) { if(!OC_Config::getValue('allowZipDownload', true)) { - $l = OC_L10N::get('files'); + $l = OC_L10N::get('lib'); header("HTTP/1.0 409 Conflict"); $tmpl = new OC_Template( '', 'error', 'user' ); $errors = array( @@ -293,7 +293,7 @@ class OC_Files { $totalsize += OC_Filesystem::filesize($dir.'/'.$files); } if($totalsize > $zipLimit) { - $l = OC_L10N::get('files'); + $l = OC_L10N::get('lib'); header("HTTP/1.0 409 Conflict"); $tmpl = new OC_Template( '', 'error', 'user' ); $errors = array( -- cgit v1.2.3