diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-08-30 23:51:44 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-08-30 23:51:44 +0200 |
commit | 58b1e841f11559f462ce803a500105f0b64f6e36 (patch) | |
tree | 792b58d8b3b3914c470034298e2d57c22a9d295f /lib/files.php | |
parent | 6324daecc08e947e9290228a5bf6dca49ceeabaa (diff) | |
download | nextcloud-server-58b1e841f11559f462ce803a500105f0b64f6e36.tar.gz nextcloud-server-58b1e841f11559f462ce803a500105f0b64f6e36.zip |
fix translations within subfolder /lib
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 4 |
1 files changed, 2 insertions, 2 deletions
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( |