Merge branch 'master' into routing

Conflicts:
	apps/files/js/filelist.js
	core/js/js.js
	lib/ocs.php
This commit is contained in:
Bart Visscher 2012-09-28 15:38:49 +02:00
commit bf1057143c
739 changed files with 28518 additions and 11067 deletions

View File

@ -84,12 +84,12 @@ class MDB2_Driver_Reverse_oci8 extends MDB2_Driver_Reverse_Common
$owner = $db->dsn['username'];
}
$query = 'SELECT column_name name,
data_type "type",
nullable,
data_default "default",
COALESCE(data_precision, data_length) "length",
data_scale "scale"
$query = 'SELECT column_name AS "name",
data_type AS "type",
nullable AS "nullable",
data_default AS "default",
COALESCE(data_precision, data_length) AS "length",
data_scale AS "scale"
FROM all_tab_columns
WHERE (table_name=? OR table_name=?)
AND (owner=? OR owner=?)
@ -146,6 +146,10 @@ class MDB2_Driver_Reverse_oci8 extends MDB2_Driver_Reverse_Common
if ($default === 'NULL') {
$default = null;
}
//ugly hack, but works for the reverse direction
if ($default == "''") {
$default = '';
}
if ((null === $default) && $notnull) {
$default = '';
}
@ -221,11 +225,11 @@ class MDB2_Driver_Reverse_oci8 extends MDB2_Driver_Reverse_Common
$owner = $db->dsn['username'];
}
$query = "SELECT aic.column_name,
aic.column_position,
aic.descend,
aic.table_owner,
alc.constraint_type
$query = 'SELECT aic.column_name AS "column_name",
aic.column_position AS "column_position",
aic.descend AS "descend",
aic.table_owner AS "table_owner",
alc.constraint_type AS "constraint_type"
FROM all_ind_columns aic
LEFT JOIN all_constraints alc
ON aic.index_name = alc.constraint_name
@ -234,7 +238,7 @@ class MDB2_Driver_Reverse_oci8 extends MDB2_Driver_Reverse_Common
WHERE (aic.table_name=? OR aic.table_name=?)
AND (aic.index_name=? OR aic.index_name=?)
AND (aic.table_owner=? OR aic.table_owner=?)
ORDER BY column_position";
ORDER BY column_position';
$stmt = $db->prepare($query);
if (PEAR::isError($stmt)) {
return $stmt;
@ -331,9 +335,9 @@ class MDB2_Driver_Reverse_oci8 extends MDB2_Driver_Reverse_Common
\'SIMPLE\' "match",
CASE alc.deferrable WHEN \'NOT DEFERRABLE\' THEN 0 ELSE 1 END "deferrable",
CASE alc.deferred WHEN \'IMMEDIATE\' THEN 0 ELSE 1 END "initiallydeferred",
alc.search_condition,
alc.search_condition AS "search_condition",
alc.table_name,
cols.column_name,
cols.column_name AS "column_name",
cols.position,
r_alc.table_name "references_table",
r_cols.column_name "references_field",
@ -509,14 +513,14 @@ class MDB2_Driver_Reverse_oci8 extends MDB2_Driver_Reverse_Common
return $db;
}
$query = 'SELECT trigger_name,
table_name,
trigger_body,
trigger_type,
triggering_event trigger_event,
description trigger_comment,
1 trigger_enabled,
when_clause
$query = 'SELECT trigger_name AS "trigger_name",
table_name AS "table_name",
trigger_body AS "trigger_body",
trigger_type AS "trigger_type",
triggering_event AS "trigger_event",
description AS "trigger_comment",
1 AS "trigger_enabled",
when_clause AS "when_clause"
FROM user_triggers
WHERE trigger_name = \''. strtoupper($trigger).'\'';
$types = array(

View File

@ -634,6 +634,59 @@ class MDB2_Driver_oci8 extends MDB2_Driver_Common
return $query;
}
/**
* Obtain DBMS specific SQL code portion needed to declare a generic type
* field to be used in statement like CREATE TABLE, without the field name
* and type values (ie. just the character set, default value, if the
* field is permitted to be NULL or not, and the collation options).
*
* @param array $field associative array with the name of the properties
* of the field being declared as array indexes. Currently, the types
* of supported field properties are as follows:
*
* default
* Text value to be used as default for this field.
* notnull
* Boolean flag that indicates whether this field is constrained
* to not be set to null.
* charset
* Text value with the default CHARACTER SET for this field.
* collation
* Text value with the default COLLATION for this field.
* @return string DBMS specific SQL code portion that should be used to
* declare the specified field's options.
* @access protected
*/
function _getDeclarationOptions($field)
{
$charset = empty($field['charset']) ? '' :
' '.$this->_getCharsetFieldDeclaration($field['charset']);
$notnull = empty($field['notnull']) ? ' NULL' : ' NOT NULL';
$default = '';
if (array_key_exists('default', $field)) {
if ($field['default'] === '') {
$db = $this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
$valid_default_values = $this->getValidTypes();
$field['default'] = $valid_default_values[$field['type']];
if ($field['default'] === '' && ($db->options['portability'] & MDB2_PORTABILITY_EMPTY_TO_NULL)) {
$field['default'] = ' ';
}
}
if (null !== $field['default']) {
$default = ' DEFAULT ' . $this->quote($field['default'], $field['type']);
}
}
$collation = empty($field['collation']) ? '' :
' '.$this->_getCollationFieldDeclaration($field['collation']);
return $charset.$default.$notnull.$collation;
}
// }}}
// {{{ _doQuery()

View File

@ -12,6 +12,11 @@ ownCloud is written by:
Marvin Thomas Rabe
Florian Pritz
Bartek Przybylski
Thomas Müller
Klaas Freitag
Sam Tuke
Simon Birnbach
Lukas Reschke
With help from many libraries and frameworks including:
@ -19,3 +24,6 @@ With help from many libraries and frameworks including:
SabreDAV
jQuery
"Lock” symbol from thenounproject.com collection
"Clock” symbol by Brandon Hopkins, from thenounproject.com collection

View File

@ -1 +0,0 @@

View File

@ -7,15 +7,15 @@ OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
// Get data
$dir = stripslashes($_GET["dir"]);
$files = isset($_GET["file"]) ? stripslashes($_GET["file"]) : stripslashes($_GET["files"]);
$dir = stripslashes($_POST["dir"]);
$files = isset($_POST["file"]) ? stripslashes($_POST["file"]) : stripslashes($_POST["files"]);
$files = explode(';', $files);
$filesWithError = '';
$success = true;
//Now delete
foreach($files as $file) {
if( !OC_Files::delete( $dir, $file )) {
if( !OC_Files::delete( $dir, $file )) {
$filesWithError .= $file . "\n";
$success = false;
}

View File

@ -66,8 +66,10 @@ if($source) {
$target=$dir.'/'.$filename;
$result=OC_Filesystem::file_put_contents($target, $sourceStream);
if($result) {
$mime=OC_Filesystem::getMimetype($target);
$eventSource->send('success', $mime);
$meta = OC_FileCache::get($target);
$mime=$meta['mimetype'];
$id = OC_FileCache::getId($target);
$eventSource->send('success', array('mime'=>$mime, 'size'=>OC_Filesystem::filesize($target), 'id' => $id));
} else {
$eventSource->send('error', "Error while downloading ".$source. ' to '.$target);
}
@ -76,11 +78,15 @@ if($source) {
} else {
if($content) {
if(OC_Filesystem::file_put_contents($dir.'/'.$filename, $content)) {
OCP\JSON::success(array("data" => array('content'=>$content)));
$meta = OC_FileCache::get($dir.'/'.$filename);
$id = OC_FileCache::getId($dir.'/'.$filename);
OCP\JSON::success(array("data" => array('content'=>$content, 'id' => $id)));
exit();
}
}elseif(OC_Files::newFile($dir, $filename, 'file')) {
OCP\JSON::success(array("data" => array('content'=>$content)));
$meta = OC_FileCache::get($dir.'/'.$filename);
$id = OC_FileCache::getId($dir.'/'.$filename);
OCP\JSON::success(array("data" => array('content'=>$content, 'id' => $id)));
exit();
}
}

View File

@ -49,8 +49,9 @@ if(strpos($dir, '..') === false) {
for($i=0;$i<$fileCount;$i++) {
$target = OCP\Files::buildNotExistingFileName(stripslashes($dir), $files['name'][$i]);
if(is_uploaded_file($files['tmp_name'][$i]) and OC_Filesystem::fromTmpFile($files['tmp_name'][$i], $target)) {
$meta=OC_FileCache_Cached::get($target);
$result[]=array( "status" => "success", 'mime'=>$meta['mimetype'],'size'=>$meta['size'],'name'=>basename($target));
$meta = OC_FileCache::get($target);
$id = OC_FileCache::getId($target);
$result[]=array( "status" => "success", 'mime'=>$meta['mimetype'],'size'=>$meta['size'], 'id'=>$id, 'name'=>basename($target));
}
}
OCP\JSON::encodedPrint($result);

View File

@ -1,14 +1,16 @@
<?php
// fix webdav properties, remove namespace information between curly bracket (update from OC4 to OC5)
$installedVersion=OCP\Config::getAppValue('files', 'installed_version');
if (version_compare($installedVersion, '1.1.4', '<')) {
$query = OC_DB::prepare( "SELECT `propertyname`, `propertypath`, `userid` FROM `*PREFIX*properties`" );
$result = $query->execute();
while( $row = $result->fetchRow()) {
$query = OC_DB::prepare( 'UPDATE `*PREFIX*properties` SET `propertyname` = ? WHERE `userid` = ? AND `propertypath` = ?' );
$query->execute( array( preg_replace("/^{.*}/", "", $row["propertyname"]),$row["userid"], $row["propertypath"] ));
}
// fix webdav properties,add namespace in front of the property, update for OC4.5
$installedVersion=OCP\Config::getAppValue('files', 'installed_version');
if (version_compare($installedVersion, '1.1.6', '<')) {
$query = OC_DB::prepare( "SELECT propertyname, propertypath, userid FROM `*PREFIX*properties`" );
$result = $query->execute();
while( $row = $result->fetchRow()){
if ( $row["propertyname"][0] != '{' ) {
$query = OC_DB::prepare( 'UPDATE *PREFIX*properties SET propertyname = ? WHERE userid = ? AND propertypath = ?' );
$query->execute( array( '{DAV:}' + $row["propertyname"], $row["userid"], $row["propertypath"] ));
}
}
}
//update from OC 3

View File

@ -1 +1 @@
1.1.5
1.1.6

View File

@ -3,7 +3,7 @@
See the COPYING-README file. */
/* FILE MENU */
.actions { padding:.3em; float:left; height:2em; width:10em; }
.actions { padding:.3em; float:left; height:2em; }
.actions input, .actions button, .actions .button { margin:0; }
#file_menu { right:0; position:absolute; top:0; }
#file_menu a { display:block; float:left; background-image:none; text-decoration:none; }
@ -12,14 +12,15 @@
.file_upload_wrapper, #file_newfolder_name { background-repeat:no-repeat; background-position:.5em .5em; padding-left:2em; }
.file_upload_wrapper { font-weight:bold; display:-moz-inline-box; /* fallback for older firefox versions*/ display:inline-block; padding-left:0; overflow:hidden; position:relative; margin:0;}
.file_upload_wrapper .file_upload_button_wrapper { position:absolute; top:0; left:0; width:100%; height:100%; cursor:pointer; z-index:1000; }
#new { float:left; border-top-right-radius:0; border-bottom-right-radius:0; margin:0 0 0 1em; border-right:none; z-index:1010; height:1.3em; }
#new { background-color:#5bb75b; float:left; border-top-right-radius:0; border-bottom-right-radius:0; margin:0 0 0 1em; border-right:none; z-index:1010; height:1.3em; }
#new:hover, a.file_upload_button_wrapper:hover + button.file_upload_filename { background-color:#4b964b; }
#new.active { border-bottom-left-radius:0; border-bottom:none; }
#new>a { padding:.5em 1.2em .3em; color:#fff; text-shadow:0 1px 0 #51a351; }
#new>ul { display:none; position:fixed; text-align:left; padding:.5em; background:#f8f8f8; margin-top:0.075em; border:1px solid #ddd; min-width:7em; margin-left:-.5em; z-index:-1; }
#new>ul>li { margin:.3em; padding-left:2em; background-repeat:no-repeat; cursor:pointer; padding-bottom:0.1em }
#new>ul>li>p { cursor:pointer; }
#new>ul>li>input { padding:0.3em; margin:-0.3em; }
#new, .file_upload_filename { background:#5bb75b; border:1px solid; border-color:#51a351 #419341 #387038; -moz-box-shadow:0 1px 1px #f8f8f8, 1px 1px 1px #ada inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 1px 1px 1px #ada inset; box-shadow:0 1px 1px #f8f8f8, 1px 1px 1px #ada inset; }
#new, .file_upload_filename { border:1px solid; border-color:#51a351 #419341 #387038; -moz-box-shadow:0 1px 1px #f8f8f8, 1px 1px 1px #ada inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 1px 1px 1px #ada inset; box-shadow:0 1px 1px #f8f8f8, 1px 1px 1px #ada inset; }
#new .popup { border-top-left-radius:0; }
#file_newfolder_name { background-image:url('%webroot%/core/img/places/folder.svg'); font-weight:normal; width:7em; }
@ -29,8 +30,7 @@
.file_upload_start { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; z-index:1; position:absolute; left:0; top:0; width:100%; cursor:pointer;}
.file_upload_filename.active { border-bottom-right-radius:0 }
.file_upload_filename { z-index:100; padding-left: 0.8em; padding-right: 0.8em; cursor:pointer; border-top-left-radius:0; border-bottom-left-radius:0; }
.file_upload_filename img { position: absolute; top: 0.4em; left: 0.4em; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
.file_upload_filename { background-color:#5bb75b; z-index:100; cursor:pointer; border-top-left-radius:0; border-bottom-left-radius:0; background-image: url('%webroot%/core/img/actions/upload-white.svg'); background-repeat: no-repeat; background-position: center; height: 2.29em; width: 2.5em; }
#upload { position:absolute; right:13.5em; top:0em; }
#upload #uploadprogressbar { position:relative; display:inline-block; width:10em; height:1.5em; top:.4em; }
@ -47,9 +47,6 @@ tbody a { color:#000; }
span.extension, span.uploading, td.date { color:#999; }
span.extension { text-transform:lowercase; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70); opacity:.7; -webkit-transition:opacity 300ms; -moz-transition:opacity 300ms; -o-transition:opacity 300ms; transition:opacity 300ms; }
tr:hover span.extension { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; color:#777; }
div.crumb { float:left; display:block; background:no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; }
div.crumb:first-child { padding-left:1em; }
div.crumb.last { font-weight:bold; }
table tr.mouseOver td { background-color:#eee; }
table th { height:2em; padding:0 .5em; color:#999; }
table th .name { float:left; margin-left:.5em; }
@ -90,3 +87,6 @@ a.action>img { max-height:16px; max-width:16px; vertical-align:text-bottom; }
#navigation>ul>li:first-child+li { padding-top:2.9em; }
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
div.crumb a{ padding: 0.9em 0 0.7em 0; }

View File

@ -179,6 +179,7 @@ FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.
$('.tipsy').remove();
});
// t('files', 'Rename')
FileActions.register('all','Rename', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/rename');},function(filename){
FileList.rename(filename);
});

View File

@ -4,14 +4,15 @@ var FileList={
$('#fileList').empty().html(fileListHtml);
},
addFile:function(name,size,lastModified,loading,hidden){
var img=(loading)?OC.imagePath('core', 'loading.gif'):OC.imagePath('core', 'filetypes/file.png');
var html='<tr data-type="file" data-size="'+size+'" data-permissions="'+$('#permissions').val()+'">';
var basename, extension, simpleSize, sizeColor, lastModifiedTime, modifiedColor,
img=(loading)?OC.imagePath('core', 'loading.gif'):OC.imagePath('core', 'filetypes/file.png'),
html='<tr data-type="file" data-size="'+size+'" data-permissions="'+$('#permissions').val()+'">';
if(name.indexOf('.')!=-1){
var basename=name.substr(0,name.lastIndexOf('.'));
var extension=name.substr(name.lastIndexOf('.'));
basename=name.substr(0,name.lastIndexOf('.'));
extension=name.substr(name.lastIndexOf('.'));
}else{
var basename=name;
var extension=false;
basename=name;
extension=false;
}
html+='<td class="filename" style="background-image:url('+img+')"><input type="checkbox" />';
html+='<a class="name" href="download.php?file='+$('#dir').val().replace(/</, '&lt;').replace(/>/, '&gt;')+'/'+name+'"><span class="nametext">'+basename;
@ -41,10 +42,11 @@ var FileList={
}
},
addDir:function(name,size,lastModified,hidden){
var html, td, link_elem, sizeColor, lastModifiedTime, modifiedColor;
html = $('<tr></tr>').attr({ "data-type": "dir", "data-size": size, "data-file": name, "data-permissions": $('#permissions').val()});
td = $('<td></td>').attr({"class": "filename", "style": 'background-image:url('+OC.imagePath('core', 'filetypes/folder.png')+')' });
td.append('<input type="checkbox" />');
var link_elem = $('<a></a>').attr({ "class": "name", "href": OC.linkTo('files', 'index.php')+"?dir="+ encodeURIComponent($('#dir').val()+'/'+name).replace(/%2F/g, '/') });
link_elem = $('<a></a>').attr({ "class": "name", "href": OC.linkTo('files', 'index.php')+"?dir="+ encodeURIComponent($('#dir').val()+'/'+name).replace(/%2F/g, '/') });
link_elem.append($('<span></span>').addClass('nametext').text(name));
link_elem.append($('<span></span>').attr({'class': 'uploadtext', 'currentUploads': 0}));
td.append(link_elem);
@ -71,7 +73,7 @@ var FileList={
}
},
refresh:function(data) {
result = jQuery.parseJSON(data.responseText);
var result = jQuery.parseJSON(data.responseText);
if(typeof(result.data.breadcrumb) != 'undefined'){
updateBreadcrumb(result.data.breadcrumb);
}
@ -88,14 +90,13 @@ var FileList={
},
insertElement:function(name,type,element){
//find the correct spot to insert the file or folder
var fileElements=$('tr[data-file][data-type="'+type+'"]:visible');
var pos;
var pos, fileElements=$('tr[data-file][data-type="'+type+'"]:visible');
if(name.localeCompare($(fileElements[0]).attr('data-file'))<0){
pos=-1;
}else if(name.localeCompare($(fileElements[fileElements.length-1]).attr('data-file'))>0){
pos=fileElements.length-1;
}else{
for(var pos=0;pos<fileElements.length-1;pos++){
for(pos=0;pos<fileElements.length-1;pos++){
if(name.localeCompare($(fileElements[pos]).attr('data-file'))>0 && name.localeCompare($(fileElements[pos+1]).attr('data-file'))<0){
break;
}
@ -116,9 +117,9 @@ var FileList={
$('.file_upload_filename').removeClass('highlight');
},
loadingDone:function(name){
var tr=$('tr').filterAttr('data-file',name);
var mime, tr=$('tr').filterAttr('data-file',name);
tr.data('loading',false);
var mime=tr.data('mime');
mime=tr.data('mime');
tr.attr('data-mime',mime);
getMimeIcon(mime,function(path){
tr.find('td.filename').attr('style','background-image:url('+path+')');
@ -129,14 +130,15 @@ var FileList={
return $('tr').filterAttr('data-file',name).data('loading');
},
rename:function(name){
var tr=$('tr').filterAttr('data-file',name);
var tr, td, input, form;
tr=$('tr').filterAttr('data-file',name);
tr.data('renaming',true);
var td=tr.children('td.filename');
var input=$('<input class="filename"></input>').val(name);
var form=$('<form></form>')
td=tr.children('td.filename');
input=$('<input class="filename"></input>').val(name);
form=$('<form></form>');
form.append(input);
td.children('a.name').text('');
td.children('a.name').append(form)
td.children('a.name').append(form);
input.focus();
form.submit(function(event){
event.stopPropagation();
@ -145,31 +147,33 @@ var FileList={
if (newname != name) {
if (FileList.checkName(name, newname, false)) {
newname = name;
} else {
} else {
$.get(OC.filePath('files','ajax','rename.php'), { dir : $('#dir').val(), newname: newname, file: name },function(result) {
if (!result || result.status == 'error') {
OC.dialogs.alert(result.data.message, 'Error moving file');
newname = name;
}
tr.data('renaming',false);
});
}
tr.attr('data-file', newname);
var path = td.children('a.name').attr('href');
td.children('a.name').attr('href', path.replace(encodeURIComponent(name), encodeURIComponent(newname)));
if (newname.indexOf('.') > 0 && tr.data('type') != 'dir') {
var basename=newname.substr(0,newname.lastIndexOf('.'));
} else {
var basename=newname;
}
td.children('a.name').empty();
var span=$('<span class="nametext"></span>');
span.text(basename);
td.children('a.name').append(span);
if (newname.indexOf('.') > 0 && tr.data('type') != 'dir') {
span.append($('<span class="extension">'+newname.substr(newname.lastIndexOf('.'))+'</span>'));
}
}
tr.attr('data-file', newname);
var path = td.children('a.name').attr('href');
td.children('a.name').attr('href', path.replace(encodeURIComponent(name), encodeURIComponent(newname)));
if (newname.indexOf('.') > 0) {
var basename=newname.substr(0,newname.lastIndexOf('.'));
} else {
var basename=newname;
}
td.children('a.name').empty();
var span=$('<span class="nametext"></span>');
span.text(basename);
td.children('a.name').append(span);
if (newname.indexOf('.') > 0) {
span.append($('<span class="extension">'+newname.substr(newname.lastIndexOf('.'))+'</span>'));
}
tr.data('renaming',false);
return false;
});
input.click(function(event){
@ -255,21 +259,23 @@ var FileList={
},
do_delete:function(files){
// Finish any existing actions
if (FileList.lastAction || !FileList.useUndo) {
if(!FileList.deleteFiles) {
FileList.prepareDeletion(files);
}
if (FileList.lastAction) {
FileList.lastAction();
return;
}
FileList.prepareDeletion(files);
// NOTE: Temporary fix to change the text to unshared for files in root of Shared folder
if ($('#dir').val() == '/Shared') {
$('#notification').html(t('files', 'unshared')+' '+files+'<span class="undo">'+t('files', 'undo')+'</span>');
if (!FileList.useUndo) {
FileList.lastAction();
} else {
$('#notification').html(t('files', 'deleted')+' '+files+'<span class="undo">'+t('files', 'undo')+'</span>');
// NOTE: Temporary fix to change the text to unshared for files in root of Shared folder
if ($('#dir').val() == '/Shared') {
$('#notification').html(t('files', 'unshared')+' '+files+'<span class="undo">'+t('files', 'undo')+'</span>');
} else {
$('#notification').html(t('files', 'deleted')+' '+files+'<span class="undo">'+t('files', 'undo')+'</span>');
}
$('#notification').fadeIn();
}
$('#notification').fadeIn();
},
finishDelete:function(ready,sync){
if(!FileList.deleteCanceled && FileList.deleteFiles){
@ -277,6 +283,7 @@ var FileList={
$.ajax({
url: OC.filePath('files', 'ajax', 'delete.php'),
async:!sync,
type:'post',
data: {dir:$('#dir').val(),files:fileNames},
complete: function(data){
boolOperationFinished(data, function(){
@ -312,7 +319,7 @@ var FileList={
FileList.finishDelete(null, true);
};
}
}
};
$(document).ready(function(){
$('#notification').hide();
@ -358,7 +365,7 @@ $(document).ready(function(){
FileList.finishDelete(null, true);
}
});
FileList.useUndo=('onbeforeunload' in window)
FileList.useUndo=(window.onbeforeunload)?true:false;
$(window).bind('beforeunload', function (){
if (FileList.lastAction) {
FileList.lastAction();

View File

@ -253,10 +253,10 @@ $(document).ready(function() {
var img = OC.imagePath('core', 'loading.gif');
var tr=$('tr').filterAttr('data-file',dirName);
tr.find('td.filename').attr('style','background-image:url('+img+')');
uploadtext.text('1 file uploading');
uploadtext.text(t('files', '1 file uploading'));
uploadtext.show();
} else {
uploadtext.text(currentUploads + ' files uploading')
uploadtext.text(currentUploads + ' ' + t('files', 'files uploading'));
}
}
}
@ -301,7 +301,7 @@ $(document).ready(function() {
uploadtext.text('');
uploadtext.hide();
} else {
uploadtext.text(currentUploads + ' files uploading')
uploadtext.text(currentUploads + ' ' + t('files', 'files uploading'));
}
})
.error(function(jqXHR, textStatus, errorThrown) {
@ -316,7 +316,7 @@ $(document).ready(function() {
uploadtext.text('');
uploadtext.hide();
} else {
uploadtext.text(currentUploads + ' files uploading')
uploadtext.text(currentUploads + ' ' + t('files', 'files uploading'));
}
$('#notification').hide();
$('#notification').text(t('files', 'Upload cancelled.'));
@ -336,7 +336,7 @@ $(document).ready(function() {
if(response[0] != undefined && response[0].status == 'success') {
var file=response[0];
delete uploadingFiles[file.name];
$('tr').filterAttr('data-file',file.name).data('mime',file.mime);
$('tr').filterAttr('data-file',file.name).data('mime',file.mime).data('id',file.id);
var size = $('tr').filterAttr('data-file',file.name).find('td.filesize').text();
if(size==t('files','Pending')){
$('tr').filterAttr('data-file',file.name).find('td.filesize').text(file.size);
@ -356,16 +356,17 @@ $(document).ready(function() {
$('#notification').fadeIn();
}
});
uploadingFiles[files[i].name] = jqXHR;
uploadingFiles[uniqueName] = jqXHR;
}
}
}else{
data.submit().success(function(data, status) {
response = jQuery.parseJSON(data[0].body.innerText);
// in safari data is a string
response = jQuery.parseJSON(typeof data === 'string' ? data : data[0].body.innerText);
if(response[0] != undefined && response[0].status == 'success') {
var file=response[0];
delete uploadingFiles[file.name];
$('tr').filterAttr('data-file',file.name).data('mime',file.mime);
$('tr').filterAttr('data-file',file.name).data('mime',file.mime).data('id',file.id);
var size = $('tr').filterAttr('data-file',file.name).find('td.filesize').text();
if(size==t('files','Pending')){
$('tr').filterAttr('data-file',file.name).find('td.filesize').text(file.size);
@ -511,7 +512,7 @@ $(document).ready(function() {
var date=new Date();
FileList.addFile(name,0,date,false,hidden);
var tr=$('tr').filterAttr('data-file',name);
tr.data('mime','text/plain');
tr.data('mime','text/plain').data('id',result.data.id);
getMimeIcon('text/plain',function(path){
tr.find('td.filename').attr('style','background-image:url('+path+')');
});
@ -556,12 +557,15 @@ $(document).ready(function() {
eventSource.listen('progress',function(progress){
$('#uploadprogressbar').progressbar('value',progress);
});
eventSource.listen('success',function(mime){
eventSource.listen('success',function(data){
var mime=data.mime;
var size=data.size;
var id=data.id;
$('#uploadprogressbar').fadeOut();
var date=new Date();
FileList.addFile(localName,0,date,false,hidden);
FileList.addFile(localName,size,date,false,hidden);
var tr=$('tr').filterAttr('data-file',localName);
tr.data('mime',mime);
tr.data('mime',mime).data('id',id);
getMimeIcon(mime,function(path){
tr.find('td.filename').attr('style','background-image:url('+path+')');
});
@ -661,7 +665,7 @@ function scanFiles(force,dir){
var scannerEventSource=new OC.EventSource(OC.filePath('files','ajax','scan.php'),{force:force,dir:dir});
scanFiles.cancel=scannerEventSource.close.bind(scannerEventSource);
scannerEventSource.listen('scanning',function(data){
$('#scan-count').text(data.count+' files scanned');
$('#scan-count').text(data.count + ' ' + t('files', 'files scanned'));
$('#scan-current').text(data.file+'/');
});
scannerEventSource.listen('success',function(success){
@ -669,7 +673,7 @@ function scanFiles(force,dir){
if(success){
window.location.reload();
}else{
alert('error while scanning');
alert(t('files', 'error while scanning'));
}
});
}

View File

@ -7,6 +7,7 @@
"Missing a temporary folder" => "المجلد المؤقت غير موجود",
"Files" => "الملفات",
"Delete" => "محذوف",
"Name" => "الاسم",
"Size" => "حجم",
"Modified" => "معدل",
"Maximum upload size" => "الحد الأقصى لحجم الملفات التي يمكن رفعها",
@ -15,7 +16,6 @@
"Folder" => "مجلد",
"Upload" => "إرفع",
"Nothing in here. Upload something!" => "لا يوجد شيء هنا. إرفع بعض الملفات!",
"Name" => "الاسم",
"Download" => "تحميل",
"Upload too large" => "حجم الترفيع أعلى من المسموح",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "حجم الملفات التي تريد ترفيعها أعلى من المسموح على الخادم."

View File

@ -11,6 +11,7 @@
"Upload Error" => "Грешка при качване",
"Upload cancelled." => "Качването е отменено.",
"Invalid name, '/' is not allowed." => "Неправилно име \"/\" не е позволено.",
"Name" => "Име",
"Size" => "Размер",
"Modified" => "Променено",
"folder" => "папка",
@ -25,7 +26,6 @@
"Upload" => "Качване",
"Cancel upload" => "Отказване на качването",
"Nothing in here. Upload something!" => "Няма нищо, качете нещо!",
"Name" => "Име",
"Share" => "Споделяне",
"Download" => "Изтегляне",
"Upload too large" => "Файлът е прекалено голям",

View File

@ -7,6 +7,7 @@
"Missing a temporary folder" => "S'ha perdut un fitxer temporal",
"Failed to write to disk" => "Ha fallat en escriure al disc",
"Files" => "Fitxers",
"Unshare" => "Deixa de compartir",
"Delete" => "Suprimeix",
"already exists" => "ja existeix",
"replace" => "substitueix",
@ -15,6 +16,7 @@
"replaced" => "substituït",
"undo" => "desfés",
"with" => "per",
"unshared" => "No compartits",
"deleted" => "esborrat",
"generating ZIP-file, it may take some time." => "s'estan generant fitxers ZIP, pot trigar una estona.",
"Unable to upload your file as it is a directory or has 0 bytes" => "No es pot pujar el fitxer perquè és una carpeta o té 0 bytes",
@ -23,6 +25,9 @@
"Upload cancelled." => "La pujada s'ha cancel·lat.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Hi ha una pujada en curs. Si abandoneu la pàgina la pujada es cancel·larà.",
"Invalid name, '/' is not allowed." => "El nom no és vàlid, no es permet '/'.",
"files scanned" => "arxius escanejats",
"error while scanning" => "error durant l'escaneig",
"Name" => "Nom",
"Size" => "Mida",
"Modified" => "Modificat",
"folder" => "carpeta",
@ -44,7 +49,6 @@
"Upload" => "Puja",
"Cancel upload" => "Cancel·la la pujada",
"Nothing in here. Upload something!" => "Res per aquí. Pugeu alguna cosa!",
"Name" => "Nom",
"Share" => "Comparteix",
"Download" => "Baixa",
"Upload too large" => "La pujada és massa gran",

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "Chybí adresář pro dočasné soubory",
"Failed to write to disk" => "Zápis na disk selhal",
"Files" => "Soubory",
"Unshare" => "Zrušit sdílení",
"Delete" => "Smazat",
"Rename" => "Přejmenovat",
"already exists" => "již existuje",
"replace" => "nahradit",
"suggest name" => "navrhnout název",
@ -15,20 +17,36 @@
"replaced" => "nahrazeno",
"undo" => "zpět",
"with" => "s",
"unshared" => "sdílení zrušeno",
"deleted" => "smazáno",
"generating ZIP-file, it may take some time." => "generuji ZIP soubor, může to nějakou dobu trvat.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Nelze odeslat Váš soubor, protože je to adresář nebo má velikost 0 bajtů",
"Upload Error" => "Chyba odesílání",
"Pending" => "Čekající",
"1 file uploading" => "odesílá se 1 soubor",
"files uploading" => "souborů se odesílá",
"Upload cancelled." => "Odesílání zrušeno.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Probíhá odesílání souboru. Opuštění stránky vyústí ve zrušení nahrávání.",
"Invalid name, '/' is not allowed." => "Neplatný název, znak '/' není povolen",
"files scanned" => "soubory prohledány",
"error while scanning" => "chyba při prohledávání",
"Name" => "Název",
"Size" => "Velikost",
"Modified" => "Změněno",
"folder" => "složka",
"folders" => "složky",
"file" => "soubor",
"files" => "soubory",
"seconds ago" => "před pár sekundami",
"minute ago" => "před minutou",
"minutes ago" => "před pár minutami",
"today" => "dnes",
"yesterday" => "včera",
"days ago" => "před pár dny",
"last month" => "minulý měsíc",
"months ago" => "před pár měsíci",
"last year" => "minulý rok",
"years ago" => "před pár lety",
"File handling" => "Zacházení se soubory",
"Maximum upload size" => "Maximální velikost pro odesílání",
"max. possible: " => "největší možná: ",
@ -44,7 +62,6 @@
"Upload" => "Odeslat",
"Cancel upload" => "Zrušit odesílání",
"Nothing in here. Upload something!" => "Žádný obsah. Nahrajte něco.",
"Name" => "Název",
"Share" => "Sdílet",
"Download" => "Stáhnout",
"Upload too large" => "Odeslaný soubor je příliš velký",

View File

@ -7,13 +7,17 @@
"Missing a temporary folder" => "Mangler en midlertidig mappe",
"Failed to write to disk" => "Fejl ved skrivning til disk.",
"Files" => "Filer",
"Unshare" => "Fjern deling",
"Delete" => "Slet",
"Rename" => "Omdøb",
"already exists" => "findes allerede",
"replace" => "erstat",
"suggest name" => "foreslå navn",
"cancel" => "fortryd",
"replaced" => "erstattet",
"undo" => "fortryd",
"with" => "med",
"unshared" => "udelt",
"deleted" => "Slettet",
"generating ZIP-file, it may take some time." => "genererer ZIP-fil, det kan tage lidt tid.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Kunne ikke uploade din fil, da det enten er en mappe eller er tom",
@ -22,6 +26,9 @@
"Upload cancelled." => "Upload afbrudt.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Fil upload kører. Hvis du forlader siden nu, vil uploadet blive annuleret.",
"Invalid name, '/' is not allowed." => "Ugyldigt navn, '/' er ikke tilladt.",
"files scanned" => "filer scannet",
"error while scanning" => "fejl under scanning",
"Name" => "Navn",
"Size" => "Størrelse",
"Modified" => "Ændret",
"folder" => "mappe",
@ -35,6 +42,7 @@
"Enable ZIP-download" => "Muliggør ZIP-download",
"0 is unlimited" => "0 er ubegrænset",
"Maximum input size for ZIP files" => "Maksimal størrelse på ZIP filer",
"Save" => "Gem",
"New" => "Ny",
"Text file" => "Tekstfil",
"Folder" => "Mappe",
@ -42,7 +50,6 @@
"Upload" => "Upload",
"Cancel upload" => "Fortryd upload",
"Nothing in here. Upload something!" => "Her er tomt. Upload noget!",
"Name" => "Navn",
"Share" => "Del",
"Download" => "Download",
"Upload too large" => "Upload for stor",

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "Temporärer Ordner fehlt.",
"Failed to write to disk" => "Fehler beim Schreiben auf die Festplatte",
"Files" => "Dateien",
"Unshare" => "Nicht mehr freigeben",
"Delete" => "Löschen",
"Rename" => "Umbenennen",
"already exists" => "ist bereits vorhanden",
"replace" => "ersetzen",
"suggest name" => "Name vorschlagen",
@ -15,20 +17,36 @@
"replaced" => "ersetzt",
"undo" => "rückgängig machen",
"with" => "mit",
"unshared" => "Nicht mehr freigegeben",
"deleted" => "gelöscht",
"generating ZIP-file, it may take some time." => "Erstelle ZIP-Datei. Dies kann eine Weile dauern.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Ihre Datei kann nicht hochgeladen werden, da sie ein Verzeichnis ist oder 0 Bytes hat.",
"Upload Error" => "Fehler beim Hochladen",
"Unable to upload your file as it is a directory or has 0 bytes" => "Ihre Datei kann nicht hochgeladen werden, da sie entweder ein Verzeichnis oder 0 Bytes groß ist.",
"Upload Error" => "Fehler beim Upload",
"Pending" => "Ausstehend",
"Upload cancelled." => "Hochladen abgebrochen.",
"1 file uploading" => "Eine Datei wird hoch geladen",
"files uploading" => "Dateien werden hoch geladen",
"Upload cancelled." => "Upload abgebrochen.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Dateiupload läuft. Wenn Sie die Seite jetzt verlassen, wird der Upload abgebrochen.",
"Invalid name, '/' is not allowed." => "Ungültiger Name: \"/\" ist nicht erlaubt.",
"files scanned" => "Dateien gescannt",
"error while scanning" => "Fehler beim Scannen",
"Name" => "Name",
"Size" => "Größe",
"Modified" => "Bearbeitet",
"folder" => "Ordner",
"folders" => "Ordner",
"file" => "Datei",
"files" => "Dateien",
"seconds ago" => "Sekunden her",
"minute ago" => "Minute her",
"minutes ago" => "Minuten her",
"today" => "Heute",
"yesterday" => "Gestern",
"days ago" => "Tage her",
"last month" => "Letzten Monat",
"months ago" => "Monate her",
"last year" => "Letztes Jahr",
"years ago" => "Jahre her",
"File handling" => "Dateibehandlung",
"Maximum upload size" => "Maximale Upload-Größe",
"max. possible: " => "maximal möglich:",
@ -40,15 +58,14 @@
"New" => "Neu",
"Text file" => "Textdatei",
"Folder" => "Ordner",
"From url" => "Von der URL",
"From url" => "Von einer URL",
"Upload" => "Hochladen",
"Cancel upload" => "Upload abbrechen",
"Nothing in here. Upload something!" => "Alles leer. Lade etwas hoch!",
"Name" => "Name",
"Share" => "Teilen",
"Download" => "Herunterladen",
"Upload too large" => "Upload zu groß",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Die Datei überschreitet die Maximalgröße für Uploads auf diesem Server.",
"Files are being scanned, please wait." => "Dateien werden gescannt, bitte warten.",
"Current scanning" => "Scannen"
"Current scanning" => "Scanne"
);

View File

@ -3,24 +3,31 @@
"The uploaded file exceeds the upload_max_filesize directive in php.ini" => "Το αρχείο που μεταφορτώθηκε υπερβαίνει την οδηγία μέγιστου επιτρεπτού μεγέθους \"upload_max_filesize\" του php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Το αρχείο υπερβαίνει την οδηγία μέγιστου επιτρεπτού μεγέθους \"MAX_FILE_SIZE\" που έχει οριστεί στην HTML φόρμα",
"The uploaded file was only partially uploaded" => "Το αρχείο μεταφορώθηκε μόνο εν μέρει",
"No file was uploaded" => "Το αρχείο δεν μεταφορτώθηκε",
"Missing a temporary folder" => "Λείπει ένας προσωρινός φάκελος",
"Failed to write to disk" => "Η εγγραφή στο δίσκο απέτυχε",
"No file was uploaded" => "Κανένα αρχείο δεν μεταφορτώθηκε",
"Missing a temporary folder" => "Λείπει ο προσωρινός φάκελος",
"Failed to write to disk" => "Αποτυχία εγγραφής στο δίσκο",
"Files" => "Αρχεία",
"Unshare" => "Διακοπή κοινής χρήσης",
"Delete" => "Διαγραφή",
"already exists" => "υπάρχει ήδη",
"replace" => "αντικατέστησε",
"suggest name" => "συνιστώμενο όνομα",
"cancel" => "ακύρωση",
"replaced" => "αντικαταστάθηκε",
"undo" => "αναίρεση",
"with" => "με",
"unshared" => "Διακόπηκε ο διαμοιρασμός",
"deleted" => "διαγράφηκε",
"generating ZIP-file, it may take some time." => "παραγωγή αρχείου ZIP, ίσως διαρκέσει αρκετά.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Αδυναμία στην μεταφόρτωση του αρχείου σας αφού είναι φάκελος ή έχει 0 bytes",
"Upload Error" => "Σφάλμα Μεταφόρτωσης",
"Pending" => "Εν αναμονή",
"Pending" => "Εκκρεμεί",
"Upload cancelled." => "Η μεταφόρτωση ακυρώθηκε.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Η μεταφόρτωση του αρχείου βρίσκεται σε εξέλιξη. Έξοδος από την σελίδα τώρα θα ακυρώσει την μεταφόρτωση.",
"Invalid name, '/' is not allowed." => "Μη έγκυρο όνομα, το '/' δεν επιτρέπεται.",
"files scanned" => "αρχεία σαρώθηκαν",
"error while scanning" => "σφάλμα κατά την ανίχνευση",
"Name" => "Όνομα",
"Size" => "Μέγεθος",
"Modified" => "Τροποποιήθηκε",
"folder" => "φάκελος",
@ -34,18 +41,18 @@
"Enable ZIP-download" => "Ενεργοποίηση κατεβάσματος ZIP",
"0 is unlimited" => "0 για απεριόριστο",
"Maximum input size for ZIP files" => "Μέγιστο μέγεθος για αρχεία ZIP",
"Save" => "Αποθήκευση",
"New" => "Νέο",
"Text file" => "Αρχείο κειμένου",
"Folder" => "Φάκελος",
"From url" => "Από την διεύθυνση",
"Upload" => "Μεταφόρτωση",
"Cancel upload" => "Ακύρωση ανεβάσματος",
"Cancel upload" => "Ακύρωση μεταφόρτωσης",
"Nothing in here. Upload something!" => "Δεν υπάρχει τίποτα εδώ. Ανέβασε κάτι!",
"Name" => "Όνομα",
"Share" => "Διαμοίρασε",
"Share" => "Διαμοιρασμός",
"Download" => "Λήψη",
"Upload too large" => "Πολύ μεγάλο το αρχείο προς μεταφόρτωση",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Τα αρχεία που προσπαθείτε να ανεβάσετε υπερβαίνουν το μέγιστο μέγεθος μεταφόρτωσης αρχείων σε αυτόν το διακομιστή.",
"Files are being scanned, please wait." => "Τα αρχεία ανιχνεύονται, παρακαλώ περιμένετε",
"Upload too large" => "Πολύ μεγάλο αρχείο προς μεταφόρτωση",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Τα αρχεία που προσπαθείτε να μεταφορτώσετε υπερβαίνουν το μέγιστο μέγεθος μεταφόρτωσης αρχείων σε αυτόν το διακομιστή.",
"Files are being scanned, please wait." => "Τα αρχεία σαρώνονται, παρακαλώ περιμένετε",
"Current scanning" => "Τρέχουσα αναζήτηση "
);

View File

@ -7,20 +7,25 @@
"Missing a temporary folder" => "Mankas tempa dosierujo",
"Failed to write to disk" => "Malsukcesis skribo al disko",
"Files" => "Dosieroj",
"Unshare" => "Malkunhavigi",
"Delete" => "Forigi",
"already exists" => "jam ekzistas",
"replace" => "anstataŭigi",
"suggest name" => "sugesti nomon",
"cancel" => "nuligi",
"replaced" => "anstataŭigita",
"undo" => "malfari",
"with" => "kun",
"unshared" => "malkunhavigita",
"deleted" => "forigita",
"generating ZIP-file, it may take some time." => "generanta ZIP-dosiero, ĝi povas daŭri iom da tempo",
"Unable to upload your file as it is a directory or has 0 bytes" => "Ne eblis alŝuti vian dosieron ĉar ĝi estas dosierujo aŭ havas 0 duumokojn",
"Upload Error" => "Alŝuta eraro",
"Pending" => "Traktotaj",
"Upload cancelled." => "La alŝuto nuliĝis.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Dosieralŝuto plenumiĝas. Lasi la paĝon nun nuligus la alŝuton.",
"Invalid name, '/' is not allowed." => "Nevalida nomo, “/” ne estas permesata.",
"Name" => "Nomo",
"Size" => "Grando",
"Modified" => "Modifita",
"folder" => "dosierujo",
@ -34,6 +39,7 @@
"Enable ZIP-download" => "Kapabligi ZIP-elŝuton",
"0 is unlimited" => "0 signifas senlime",
"Maximum input size for ZIP files" => "Maksimuma enirgrando por ZIP-dosieroj",
"Save" => "Konservi",
"New" => "Nova",
"Text file" => "Tekstodosiero",
"Folder" => "Dosierujo",
@ -41,7 +47,6 @@
"Upload" => "Alŝuti",
"Cancel upload" => "Nuligi alŝuton",
"Nothing in here. Upload something!" => "Nenio estas ĉi tie. Alŝutu ion!",
"Name" => "Nomo",
"Share" => "Kunhavigi",
"Download" => "Elŝuti",
"Upload too large" => "Elŝuto tro larĝa",

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "Falta un directorio temporal",
"Failed to write to disk" => "La escritura en disco ha fallado",
"Files" => "Archivos",
"Delete" => "Eliminado",
"Unshare" => "Dejar de compartir",
"Delete" => "Eliminar",
"Rename" => "Renombrar",
"already exists" => "ya existe",
"replace" => "reemplazar",
"suggest name" => "sugerir nombre",
@ -15,6 +17,7 @@
"replaced" => "reemplazado",
"undo" => "deshacer",
"with" => "con",
"unshared" => "no compartido",
"deleted" => "borrado",
"generating ZIP-file, it may take some time." => "generando un fichero ZIP, puede llevar un tiempo.",
"Unable to upload your file as it is a directory or has 0 bytes" => "No ha sido posible subir tu archivo porque es un directorio o tiene 0 bytes",
@ -23,6 +26,9 @@
"Upload cancelled." => "Subida cancelada.",
"File upload is in progress. Leaving the page now will cancel the upload." => "La subida del archivo está en proceso. Salir de la página ahora cancelará la subida.",
"Invalid name, '/' is not allowed." => "Nombre no válido, '/' no está permitido.",
"files scanned" => "archivos escaneados",
"error while scanning" => "error escaneando",
"Name" => "Nombre",
"Size" => "Tamaño",
"Modified" => "Modificado",
"folder" => "carpeta",
@ -44,11 +50,10 @@
"Upload" => "Subir",
"Cancel upload" => "Cancelar subida",
"Nothing in here. Upload something!" => "Aquí no hay nada. ¡Sube algo!",
"Name" => "Nombre",
"Share" => "Compartir",
"Download" => "Descargar",
"Upload too large" => "El archivo es demasiado grande",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Los archivos que estás intentando subir sobrepasan el tamaño máximo permitido por este servidor.",
"Files are being scanned, please wait." => "Se están escaneando los archivos, por favor espere.",
"Current scanning" => "Escaneo actual"
"Current scanning" => "Ahora escaneando"
);

59
apps/files/l10n/es_AR.php Normal file
View File

@ -0,0 +1,59 @@
<?php $TRANSLATIONS = array(
"There is no error, the file uploaded with success" => "No se han producido errores, el archivo se ha subido con éxito",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" => "El archivo que intentás subir sobrepasa el tamaño definido por la variable upload_max_filesize en php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "El archivo que intentás subir sobrepasa el tamaño definido por la variable MAX_FILE_SIZE especificada en el formulario HTML",
"The uploaded file was only partially uploaded" => "El archivo que intentás subir solo se subió parcialmente",
"No file was uploaded" => "El archivo no fue subido",
"Missing a temporary folder" => "Falta un directorio temporal",
"Failed to write to disk" => "La escritura en disco falló",
"Files" => "Archivos",
"Unshare" => "Dejar de compartir",
"Delete" => "Borrar",
"Rename" => "cambiar nombre",
"already exists" => "ya existe",
"replace" => "reemplazar",
"suggest name" => "sugerir nombre",
"cancel" => "cancelar",
"replaced" => "reemplazado",
"undo" => "deshacer",
"with" => "con",
"unshared" => "no compartido",
"deleted" => "borrado",
"generating ZIP-file, it may take some time." => "generando un archivo ZIP, puede llevar un tiempo.",
"Unable to upload your file as it is a directory or has 0 bytes" => "No fue posible subir tu archivo porque es un directorio o su tamaño es 0 bytes",
"Upload Error" => "Error al subir el archivo",
"Pending" => "Pendiente",
"Upload cancelled." => "La subida fue cancelada",
"File upload is in progress. Leaving the page now will cancel the upload." => "La subida del archivo está en proceso. Si salís de la página ahora, la subida se cancelará.",
"Invalid name, '/' is not allowed." => "Nombre no válido, '/' no está permitido.",
"files scanned" => "archivos escaneados",
"error while scanning" => "error mientras se escaneaba",
"Name" => "Nombre",
"Size" => "Tamaño",
"Modified" => "Modificado",
"folder" => "carpeta",
"folders" => "carpetas",
"file" => "archivo",
"files" => "archivos",
"File handling" => "Tratamiento de archivos",
"Maximum upload size" => "Tamaño máximo de subida",
"max. possible: " => "máx. posible:",
"Needed for multi-file and folder downloads." => "Se necesita para descargas multi-archivo y de carpetas",
"Enable ZIP-download" => "Habilitar descarga en formato ZIP",
"0 is unlimited" => "0 significa ilimitado",
"Maximum input size for ZIP files" => "Tamaño máximo para archivos ZIP de entrada",
"Save" => "Guardar",
"New" => "Nuevo",
"Text file" => "Archivo de texto",
"Folder" => "Carpeta",
"From url" => "Desde la URL",
"Upload" => "Subir",
"Cancel upload" => "Cancelar subida",
"Nothing in here. Upload something!" => "Aquí no hay nada. ¡Subí contenido!",
"Share" => "Compartir",
"Download" => "Descargar",
"Upload too large" => "El archivo es demasiado grande",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Los archivos que intentás subir sobrepasan el tamaño máximo ",
"Files are being scanned, please wait." => "Se están escaneando los archivos, por favor espere.",
"Current scanning" => "Escaneo actual"
);

View File

@ -7,20 +7,25 @@
"Missing a temporary folder" => "Ajutiste failide kaust puudub",
"Failed to write to disk" => "Kettale kirjutamine ebaõnnestus",
"Files" => "Failid",
"Unshare" => "Lõpeta jagamine",
"Delete" => "Kustuta",
"already exists" => "on juba olemas",
"replace" => "asenda",
"suggest name" => "soovita nime",
"cancel" => "loobu",
"replaced" => "asendatud",
"undo" => "tagasi",
"with" => "millega",
"unshared" => "jagamata",
"deleted" => "kustutatud",
"generating ZIP-file, it may take some time." => "ZIP-faili loomine, see võib veidi aega võtta.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Sinu faili üleslaadimine ebaõnnestus, kuna see on kaust või selle suurus on 0 baiti",
"Upload Error" => "Üleslaadimise viga",
"Pending" => "Ootel",
"Upload cancelled." => "Üleslaadimine tühistati.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Faili üleslaadimine on töös. Lehelt lahkumine katkestab selle üleslaadimise.",
"Invalid name, '/' is not allowed." => "Vigane nimi, '/' pole lubatud.",
"Name" => "Nimi",
"Size" => "Suurus",
"Modified" => "Muudetud",
"folder" => "kaust",
@ -34,6 +39,7 @@
"Enable ZIP-download" => "Luba ZIP-ina allalaadimine",
"0 is unlimited" => "0 tähendab piiramatut",
"Maximum input size for ZIP files" => "Maksimaalne ZIP-faili sisestatava faili suurus",
"Save" => "Salvesta",
"New" => "Uus",
"Text file" => "Tekstifail",
"Folder" => "Kaust",
@ -41,7 +47,6 @@
"Upload" => "Lae üles",
"Cancel upload" => "Tühista üleslaadimine",
"Nothing in here. Upload something!" => "Siin pole midagi. Lae midagi üles!",
"Name" => "Nimi",
"Share" => "Jaga",
"Download" => "Lae alla",
"Upload too large" => "Üleslaadimine on liiga suur",

View File

@ -7,20 +7,27 @@
"Missing a temporary folder" => "Aldi baterako karpeta falta da",
"Failed to write to disk" => "Errore bat izan da diskoan idazterakoan",
"Files" => "Fitxategiak",
"Unshare" => "Ez partekatu",
"Delete" => "Ezabatu",
"already exists" => "dagoeneko existitzen da",
"replace" => "ordeztu",
"suggest name" => "aholkatu izena",
"cancel" => "ezeztatu",
"replaced" => "ordeztua",
"undo" => "desegin",
"with" => "honekin",
"unshared" => "Ez partekatuta",
"deleted" => "ezabatuta",
"generating ZIP-file, it may take some time." => "ZIP-fitxategia sortzen ari da, denbora har dezake",
"Unable to upload your file as it is a directory or has 0 bytes" => "Ezin da zure fitxategia igo, karpeta bat da edo 0 byt ditu",
"Upload Error" => "Igotzean errore bat suertatu da",
"Pending" => "Zain",
"Upload cancelled." => "Igoera ezeztatuta",
"File upload is in progress. Leaving the page now will cancel the upload." => "Fitxategien igoera martxan da. Orria orain uzteak igoera ezeztatutko du.",
"Invalid name, '/' is not allowed." => "Baliogabeko izena, '/' ezin da erabili. ",
"files scanned" => "fitxategiak eskaneatuta",
"error while scanning" => "errore bat egon da eskaneatzen zen bitartean",
"Name" => "Izena",
"Size" => "Tamaina",
"Modified" => "Aldatuta",
"folder" => "karpeta",
@ -34,6 +41,7 @@
"Enable ZIP-download" => "Gaitu ZIP-deskarga",
"0 is unlimited" => "0 mugarik gabe esan nahi du",
"Maximum input size for ZIP files" => "ZIP fitxategien gehienezko tamaina",
"Save" => "Gorde",
"New" => "Berria",
"Text file" => "Testu fitxategia",
"Folder" => "Karpeta",
@ -41,7 +49,6 @@
"Upload" => "Igo",
"Cancel upload" => "Ezeztatu igoera",
"Nothing in here. Upload something!" => "Ez dago ezer. Igo zerbait!",
"Name" => "Izena",
"Share" => "Elkarbanatu",
"Download" => "Deskargatu",
"Upload too large" => "Igotakoa handiegia da",

View File

@ -21,6 +21,7 @@
"Pending" => "در انتظار",
"Upload cancelled." => "بار گذاری لغو شد",
"Invalid name, '/' is not allowed." => "نام نامناسب '/' غیرفعال است",
"Name" => "نام",
"Size" => "اندازه",
"Modified" => "تغییر یافته",
"folder" => "پوشه",
@ -41,7 +42,6 @@
"Upload" => "بارگذاری",
"Cancel upload" => "متوقف کردن بار گذاری",
"Nothing in here. Upload something!" => "اینجا هیچ چیز نیست.",
"Name" => "نام",
"Share" => "به اشتراک گذاری",
"Download" => "بارگیری",
"Upload too large" => "حجم بارگذاری بسیار زیاد است",

View File

@ -8,6 +8,7 @@
"Failed to write to disk" => "Levylle kirjoitus epäonnistui",
"Files" => "Tiedostot",
"Delete" => "Poista",
"Rename" => "Nimeä uudelleen",
"already exists" => "on jo olemassa",
"replace" => "korvaa",
"suggest name" => "ehdota nimeä",
@ -23,12 +24,23 @@
"Upload cancelled." => "Lähetys peruttu.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Tiedoston lähetys on meneillään. Sivulta poistuminen nyt peruu tiedoston lähetyksen.",
"Invalid name, '/' is not allowed." => "Virheellinen nimi, merkki '/' ei ole sallittu.",
"Name" => "Nimi",
"Size" => "Koko",
"Modified" => "Muutettu",
"folder" => "kansio",
"folders" => "kansiota",
"file" => "tiedosto",
"files" => "tiedostoa",
"seconds ago" => "sekuntia sitten",
"minute ago" => "minuutti sitten",
"minutes ago" => "minuuttia sitten",
"today" => "tänään",
"yesterday" => "eilen",
"days ago" => "päivää sitten",
"last month" => "viime kuussa",
"months ago" => "kuukautta sitten",
"last year" => "viime vuonna",
"years ago" => "vuotta sitten",
"File handling" => "Tiedostonhallinta",
"Maximum upload size" => "Lähetettävän tiedoston suurin sallittu koko",
"max. possible: " => "suurin mahdollinen:",
@ -44,7 +56,6 @@
"Upload" => "Lähetä",
"Cancel upload" => "Peru lähetys",
"Nothing in here. Upload something!" => "Täällä ei ole mitään. Lähetä tänne jotakin!",
"Name" => "Nimi",
"Share" => "Jaa",
"Download" => "Lataa",
"Upload too large" => "Lähetettävä tiedosto on liian suuri",

View File

@ -7,27 +7,46 @@
"Missing a temporary folder" => "Il manque un répertoire temporaire",
"Failed to write to disk" => "Erreur d'écriture sur le disque",
"Files" => "Fichiers",
"Unshare" => "Ne plus partager",
"Delete" => "Supprimer",
"Rename" => "Renommer",
"already exists" => "existe déjà",
"replace" => "remplacer",
"suggest name" => "Suggérer un nom",
"cancel" => "annuler",
"replaced" => "remplacé",
"undo" => "annuler",
"with" => "avec",
"unshared" => "non partagée",
"deleted" => "supprimé",
"generating ZIP-file, it may take some time." => "Fichier ZIP en cours d'assemblage ; cela peut prendre du temps.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Impossible de charger vos fichiers car il s'agit d'un dossier ou le fichier fait 0 octet.",
"Upload Error" => "Erreur de chargement",
"Pending" => "En cours",
"1 file uploading" => "1 fichier en cours de téléchargement",
"files uploading" => "fichiers en cours de téléchargement",
"Upload cancelled." => "Chargement annulé.",
"File upload is in progress. Leaving the page now will cancel the upload." => "L'envoi du fichier est en cours. Quitter cette page maintenant annulera l'envoi du fichier.",
"Invalid name, '/' is not allowed." => "Nom invalide, '/' n'est pas autorisé.",
"files scanned" => "fichiers indexés",
"error while scanning" => "erreur lors de l'indexation",
"Name" => "Nom",
"Size" => "Taille",
"Modified" => "Modifié",
"folder" => "dossier",
"folders" => "dossiers",
"file" => "fichier",
"files" => "fichiers",
"seconds ago" => "secondes passées",
"minute ago" => "minute passée",
"minutes ago" => "minutes passées",
"today" => "aujourd'hui",
"yesterday" => "hier",
"days ago" => "jours passés",
"last month" => "mois dernier",
"months ago" => "mois passés",
"last year" => "année dernière",
"years ago" => "années passées",
"File handling" => "Gestion des fichiers",
"Maximum upload size" => "Taille max. d'envoi",
"max. possible: " => "Max. possible :",
@ -43,7 +62,6 @@
"Upload" => "Envoyer",
"Cancel upload" => "Annuler l'envoi",
"Nothing in here. Upload something!" => "Il n'y a rien ici ! Envoyez donc quelque chose :)",
"Name" => "Nom",
"Share" => "Partager",
"Download" => "Téléchargement",
"Upload too large" => "Fichier trop volumineux",

View File

@ -7,20 +7,27 @@
"Missing a temporary folder" => "Falta un cartafol temporal",
"Failed to write to disk" => "Erro ao escribir no disco",
"Files" => "Ficheiros",
"Unshare" => "Deixar de compartir",
"Delete" => "Eliminar",
"already exists" => "xa existe",
"replace" => "substituír",
"suggest name" => "suxira nome",
"cancel" => "cancelar",
"replaced" => "substituído",
"undo" => "desfacer",
"with" => "con",
"unshared" => "non compartido",
"deleted" => "eliminado",
"generating ZIP-file, it may take some time." => "xerando ficheiro ZIP, pode levar un anaco.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Non se puido subir o ficheiro pois ou é un directorio ou ten 0 bytes",
"Upload Error" => "Erro na subida",
"Pending" => "Pendentes",
"Upload cancelled." => "Subida cancelada.",
"File upload is in progress. Leaving the page now will cancel the upload." => "A subida do ficheiro está en curso. Saír agora da páxina cancelará a subida.",
"Invalid name, '/' is not allowed." => "Nome non válido, '/' non está permitido.",
"files scanned" => "ficheiros analizados",
"error while scanning" => "erro mentras analizaba",
"Name" => "Nome",
"Size" => "Tamaño",
"Modified" => "Modificado",
"folder" => "cartafol",
@ -34,6 +41,7 @@
"Enable ZIP-download" => "Habilitar a descarga-ZIP",
"0 is unlimited" => "0 significa ilimitado",
"Maximum input size for ZIP files" => "Tamaño máximo de descarga para os ZIP",
"Save" => "Gardar",
"New" => "Novo",
"Text file" => "Ficheiro de texto",
"Folder" => "Cartafol",
@ -41,7 +49,6 @@
"Upload" => "Enviar",
"Cancel upload" => "Cancelar subida",
"Nothing in here. Upload something!" => "Nada por aquí. Envíe algo.",
"Name" => "Nome",
"Share" => "Compartir",
"Download" => "Descargar",
"Upload too large" => "Envío demasiado grande",

View File

@ -8,12 +8,14 @@
"Failed to write to disk" => "הכתיבה לכונן נכשלה",
"Files" => "קבצים",
"Delete" => "מחיקה",
"already exists" => "כבר קיים",
"generating ZIP-file, it may take some time." => "יוצר קובץ ZIP, אנא המתן.",
"Unable to upload your file as it is a directory or has 0 bytes" => "לא יכול להעלות את הקובץ מכיוון שזו תקיה או שמשקל הקובץ 0 בתים",
"Upload Error" => "שגיאת העלאה",
"Pending" => "ממתין",
"Upload cancelled." => "ההעלאה בוטלה.",
"Invalid name, '/' is not allowed." => "שם לא חוקי, '/' אסור לשימוש.",
"Name" => "שם",
"Size" => "גודל",
"Modified" => "זמן שינוי",
"folder" => "תקיה",
@ -34,7 +36,6 @@
"Upload" => "העלאה",
"Cancel upload" => "ביטול ההעלאה",
"Nothing in here. Upload something!" => "אין כאן שום דבר. אולי ברצונך להעלות משהו?",
"Name" => "שם",
"Share" => "שיתוף",
"Download" => "הורדה",
"Upload too large" => "העלאה גדולה מידי",

View File

@ -21,6 +21,7 @@
"Pending" => "U tijeku",
"Upload cancelled." => "Slanje poništeno.",
"Invalid name, '/' is not allowed." => "Neispravan naziv, znak '/' nije dozvoljen.",
"Name" => "Naziv",
"Size" => "Veličina",
"Modified" => "Zadnja promjena",
"folder" => "mapa",
@ -41,7 +42,6 @@
"Upload" => "Pošalji",
"Cancel upload" => "Prekini upload",
"Nothing in here. Upload something!" => "Nema ničega u ovoj mapi. Pošalji nešto!",
"Name" => "Naziv",
"Share" => "podjeli",
"Download" => "Preuzmi",
"Upload too large" => "Prijenos je preobiman",

View File

@ -21,6 +21,7 @@
"Pending" => "Folyamatban",
"Upload cancelled." => "Feltöltés megszakítva",
"Invalid name, '/' is not allowed." => "Érvénytelen név, a '/' nem megengedett",
"Name" => "Név",
"Size" => "Méret",
"Modified" => "Módosítva",
"folder" => "mappa",
@ -41,7 +42,6 @@
"Upload" => "Feltöltés",
"Cancel upload" => "Feltöltés megszakítása",
"Nothing in here. Upload something!" => "Töltsön fel egy fájlt.",
"Name" => "Név",
"Share" => "Megosztás",
"Download" => "Letöltés",
"Upload too large" => "Feltöltés túl nagy",

View File

@ -3,6 +3,7 @@
"No file was uploaded" => "Nulle file esseva incargate",
"Files" => "Files",
"Delete" => "Deler",
"Name" => "Nomine",
"Size" => "Dimension",
"Modified" => "Modificate",
"Maximum upload size" => "Dimension maxime de incargamento",
@ -11,7 +12,6 @@
"Folder" => "Dossier",
"Upload" => "Incargar",
"Nothing in here. Upload something!" => "Nihil hic. Incarga alcun cosa!",
"Name" => "Nomine",
"Download" => "Discargar",
"Upload too large" => "Incargamento troppo longe"
);

View File

@ -21,6 +21,7 @@
"Pending" => "Menunggu",
"Upload cancelled." => "Pengunggahan dibatalkan.",
"Invalid name, '/' is not allowed." => "Kesalahan nama, '/' tidak diijinkan.",
"Name" => "Nama",
"Size" => "Ukuran",
"Modified" => "Dimodifikasi",
"folder" => "folder",
@ -41,7 +42,6 @@
"Upload" => "Unggah",
"Cancel upload" => "Batal mengunggah",
"Nothing in here. Upload something!" => "Tidak ada apa-apa di sini. Unggah sesuatu!",
"Name" => "Nama",
"Share" => "Bagikan",
"Download" => "Unduh",
"Upload too large" => "Unggahan terlalu besar",

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "Cartella temporanea mancante",
"Failed to write to disk" => "Scrittura su disco non riuscita",
"Files" => "File",
"Unshare" => "Rimuovi condivisione",
"Delete" => "Elimina",
"Rename" => "Rinomina",
"already exists" => "esiste già",
"replace" => "sostituisci",
"suggest name" => "suggerisci nome",
@ -15,20 +17,36 @@
"replaced" => "sostituito",
"undo" => "annulla",
"with" => "con",
"unshared" => "condivisione rimossa",
"deleted" => "eliminati",
"generating ZIP-file, it may take some time." => "creazione file ZIP, potrebbe richiedere del tempo.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Impossibile inviare il file poiché è una cartella o ha dimensione 0 byte",
"Upload Error" => "Errore di invio",
"Pending" => "In corso",
"1 file uploading" => "1 file in fase di caricamento",
"files uploading" => "file in fase di caricamento",
"Upload cancelled." => "Invio annullato",
"File upload is in progress. Leaving the page now will cancel the upload." => "Caricamento del file in corso. La chiusura della pagina annullerà il caricamento.",
"Invalid name, '/' is not allowed." => "Nome non valido",
"files scanned" => "file analizzati",
"error while scanning" => "errore durante la scansione",
"Name" => "Nome",
"Size" => "Dimensione",
"Modified" => "Modificato",
"folder" => "cartella",
"folders" => "cartelle",
"file" => "file",
"files" => "file",
"seconds ago" => "secondi fa",
"minute ago" => "minuto fa",
"minutes ago" => "minuti fa",
"today" => "oggi",
"yesterday" => "ieri",
"days ago" => "giorni fa",
"last month" => "mese scorso",
"months ago" => "mesi fa",
"last year" => "anno scorso",
"years ago" => "anni fa",
"File handling" => "Gestione file",
"Maximum upload size" => "Dimensione massima upload",
"max. possible: " => "numero mass.: ",
@ -44,7 +62,6 @@
"Upload" => "Carica",
"Cancel upload" => "Annulla invio",
"Nothing in here. Upload something!" => "Non c'è niente qui. Carica qualcosa!",
"Name" => "Nome",
"Share" => "Condividi",
"Download" => "Scarica",
"Upload too large" => "Il file caricato è troppo grande",

View File

@ -7,27 +7,46 @@
"Missing a temporary folder" => "テンポラリフォルダが見つかりません",
"Failed to write to disk" => "ディスクへの書き込みに失敗しました",
"Files" => "ファイル",
"Unshare" => "共有しない",
"Delete" => "削除",
"Rename" => "名前の変更",
"already exists" => "既に存在します",
"replace" => "置き換え",
"suggest name" => "推奨名称",
"cancel" => "キャンセル",
"replaced" => "置換:",
"undo" => "元に戻す",
"with" => "",
"unshared" => "未共有",
"deleted" => "削除",
"generating ZIP-file, it may take some time." => "ZIPファイルを生成中です、しばらくお待ちください。",
"Unable to upload your file as it is a directory or has 0 bytes" => "アップロード使用としているファイルがディレクトリ、もしくはサイズが0バイトのため、アップロードできません。",
"Upload Error" => "アップロードエラー",
"Pending" => "保留",
"1 file uploading" => "ファイルを1つアップロード中",
"files uploading" => "ファイルをアップロード中",
"Upload cancelled." => "アップロードはキャンセルされました。",
"File upload is in progress. Leaving the page now will cancel the upload." => "ファイル転送を実行中です。今このページから移動するとアップロードが中止されます。",
"Invalid name, '/' is not allowed." => "無効な名前、'/' は使用できません。",
"files scanned" => "ファイルをスキャンしました",
"error while scanning" => "スキャン中のエラー",
"Name" => "名前",
"Size" => "サイズ",
"Modified" => "更新日時",
"folder" => "フォルダ",
"folders" => "フォルダ",
"file" => "ファイル",
"files" => "ファイル",
"seconds ago" => "秒前",
"minute ago" => "分前",
"minutes ago" => "分前",
"today" => "今日",
"yesterday" => "昨日",
"days ago" => "日前",
"last month" => "一月前",
"months ago" => "月前",
"last year" => "一年前",
"years ago" => "年前",
"File handling" => "ファイル操作",
"Maximum upload size" => "最大アップロードサイズ",
"max. possible: " => "最大容量: ",
@ -43,7 +62,6 @@
"Upload" => "アップロード",
"Cancel upload" => "アップロードをキャンセル",
"Nothing in here. Upload something!" => "ここには何もありません。何かアップロードしてください。",
"Name" => "名前",
"Share" => "共有",
"Download" => "ダウンロード",
"Upload too large" => "ファイルサイズが大きすぎます",

View File

@ -21,6 +21,7 @@
"Pending" => "보류 중",
"Upload cancelled." => "업로드 취소.",
"Invalid name, '/' is not allowed." => "잘못된 이름, '/' 은 허용이 되지 않습니다.",
"Name" => "이름",
"Size" => "크기",
"Modified" => "수정됨",
"folder" => "폴더",
@ -41,7 +42,6 @@
"Upload" => "업로드",
"Cancel upload" => "업로드 취소",
"Nothing in here. Upload something!" => "내용이 없습니다. 업로드할 수 있습니다!",
"Name" => "이름",
"Share" => "공유",
"Download" => "다운로드",
"Upload too large" => "업로드 용량 초과",

View File

@ -21,6 +21,7 @@
"Upload cancelled." => "Upload ofgebrach.",
"File upload is in progress. Leaving the page now will cancel the upload." => "File Upload am gaang. Wann's de des Säit verléiss gëtt den Upload ofgebrach.",
"Invalid name, '/' is not allowed." => "Ongültege Numm, '/' net erlaabt.",
"Name" => "Numm",
"Size" => "Gréisst",
"Modified" => "Geännert",
"folder" => "Dossier",
@ -41,7 +42,6 @@
"Upload" => "Eroplueden",
"Cancel upload" => "Upload ofbriechen",
"Nothing in here. Upload something!" => "Hei ass näischt. Lued eppes rop!",
"Name" => "Numm",
"Share" => "Share",
"Download" => "Eroflueden",
"Upload too large" => "Upload ze grouss",

View File

@ -15,6 +15,7 @@
"Pending" => "Laukiantis",
"Upload cancelled." => "Įkėlimas atšauktas.",
"Invalid name, '/' is not allowed." => "Pavadinime negali būti naudojamas ženklas \"/\".",
"Name" => "Pavadinimas",
"Size" => "Dydis",
"Modified" => "Pakeista",
"folder" => "katalogas",
@ -33,7 +34,6 @@
"Upload" => "Įkelti",
"Cancel upload" => "Atšaukti siuntimą",
"Nothing in here. Upload something!" => "Čia tuščia. Įkelkite ką nors!",
"Name" => "Pavadinimas",
"Share" => "Dalintis",
"Download" => "Atsisiųsti",
"Upload too large" => "Įkėlimui failas per didelis",

View File

@ -16,6 +16,7 @@
"Pending" => "Gaida savu kārtu",
"Upload cancelled." => "Augšuplāde ir atcelta",
"Invalid name, '/' is not allowed." => "Šis simbols '/', nav atļauts.",
"Name" => "Nosaukums",
"Size" => "Izmērs",
"Modified" => "Izmainīts",
"folder" => "mape",
@ -33,7 +34,6 @@
"Upload" => "Augšuplādet",
"Cancel upload" => "Atcelt augšuplādi",
"Nothing in here. Upload something!" => "Te vēl nekas nav. Rīkojies, sāc augšuplādēt",
"Name" => "Nosaukums",
"Share" => "Līdzdalīt",
"Download" => "Lejuplādēt",
"Upload too large" => "Fails ir par lielu lai to augšuplādetu",

View File

@ -14,6 +14,7 @@
"Pending" => "Чека",
"Upload cancelled." => "Преземањето е прекинато.",
"Invalid name, '/' is not allowed." => "неисправно име, '/' не е дозволено.",
"Name" => "Име",
"Size" => "Големина",
"Modified" => "Променето",
"folder" => "фолдер",
@ -34,7 +35,6 @@
"Upload" => "Подигни",
"Cancel upload" => "Откажи прикачување",
"Nothing in here. Upload something!" => "Тука нема ништо. Снимете нешто!",
"Name" => "Име",
"Share" => "Сподели",
"Download" => "Преземи",
"Upload too large" => "Датотеката е премногу голема",

View File

@ -20,6 +20,7 @@
"Pending" => "Dalam proses",
"Upload cancelled." => "Muatnaik dibatalkan.",
"Invalid name, '/' is not allowed." => "penggunaa nama tidak sah, '/' tidak dibenarkan.",
"Name" => "Nama ",
"Size" => "Saiz",
"Modified" => "Dimodifikasi",
"folder" => "direktori",
@ -40,7 +41,6 @@
"Upload" => "Muat naik",
"Cancel upload" => "Batal muat naik",
"Nothing in here. Upload something!" => "Tiada apa-apa di sini. Muat naik sesuatu!",
"Name" => "Nama ",
"Share" => "Kongsi",
"Download" => "Muat turun",
"Upload too large" => "Muat naik terlalu besar",

View File

@ -21,6 +21,7 @@
"Pending" => "Ventende",
"Upload cancelled." => "Opplasting avbrutt.",
"Invalid name, '/' is not allowed." => "Ugyldig navn, '/' er ikke tillatt. ",
"Name" => "Navn",
"Size" => "Størrelse",
"Modified" => "Endret",
"folder" => "mappe",
@ -34,6 +35,7 @@
"Enable ZIP-download" => "Aktiver nedlasting av ZIP",
"0 is unlimited" => "0 er ubegrenset",
"Maximum input size for ZIP files" => "Maksimal størrelse på ZIP-filer",
"Save" => "Lagre",
"New" => "Ny",
"Text file" => "Tekstfil",
"Folder" => "Mappe",
@ -41,7 +43,6 @@
"Upload" => "Last opp",
"Cancel upload" => "Avbryt opplasting",
"Nothing in here. Upload something!" => "Ingenting her. Last opp noe!",
"Name" => "Navn",
"Share" => "Del",
"Download" => "Last ned",
"Upload too large" => "Opplasting for stor",

View File

@ -7,13 +7,17 @@
"Missing a temporary folder" => "Een tijdelijke map mist",
"Failed to write to disk" => "Schrijven naar schijf mislukt",
"Files" => "Bestanden",
"Unshare" => "Stop delen",
"Delete" => "Verwijder",
"Rename" => "Hernoem",
"already exists" => "bestaat al",
"replace" => "vervang",
"suggest name" => "Stel een naam voor",
"cancel" => "annuleren",
"replaced" => "vervangen",
"undo" => "ongedaan maken",
"with" => "door",
"unshared" => "niet gedeeld",
"deleted" => "verwijderd",
"generating ZIP-file, it may take some time." => "aanmaken ZIP-file, dit kan enige tijd duren.",
"Unable to upload your file as it is a directory or has 0 bytes" => "uploaden van de file mislukt, het is of een directory of de bestandsgrootte is 0 bytes",
@ -22,6 +26,9 @@
"Upload cancelled." => "Uploaden geannuleerd.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Bestands upload is bezig. Wanneer de pagina nu verlaten wordt, stopt de upload.",
"Invalid name, '/' is not allowed." => "Ongeldige naam, '/' is niet toegestaan.",
"files scanned" => "Gescande bestanden",
"error while scanning" => "Fout tijdens het scannen",
"Name" => "Naam",
"Size" => "Bestandsgrootte",
"Modified" => "Laatst aangepast",
"folder" => "map",
@ -43,7 +50,6 @@
"Upload" => "Upload",
"Cancel upload" => "Upload afbreken",
"Nothing in here. Upload something!" => "Er bevindt zich hier niets. Upload een bestand!",
"Name" => "Naam",
"Share" => "Delen",
"Download" => "Download",
"Upload too large" => "Bestanden te groot",

View File

@ -7,6 +7,7 @@
"Missing a temporary folder" => "Manglar ei mellombels mappe",
"Files" => "Filer",
"Delete" => "Slett",
"Name" => "Namn",
"Size" => "Storleik",
"Modified" => "Endra",
"Maximum upload size" => "Maksimal opplastingsstorleik",
@ -15,7 +16,6 @@
"Folder" => "Mappe",
"Upload" => "Last opp",
"Nothing in here. Upload something!" => "Ingenting her. Last noko opp!",
"Name" => "Namn",
"Download" => "Last ned",
"Upload too large" => "For stor opplasting",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Filene du prøver å laste opp er større enn maksgrensa til denne tenaren."

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "Brak katalogu tymczasowego",
"Failed to write to disk" => "Błąd zapisu na dysk",
"Files" => "Pliki",
"Unshare" => "Nie udostępniaj",
"Delete" => "Usuwa element",
"Rename" => "Zmień nazwę",
"already exists" => "Już istnieje",
"replace" => "zastap",
"suggest name" => "zasugeruj nazwę",
@ -15,6 +17,7 @@
"replaced" => "zastąpione",
"undo" => "wróć",
"with" => "z",
"unshared" => "Nie udostępnione",
"deleted" => "skasuj",
"generating ZIP-file, it may take some time." => "Generowanie pliku ZIP, może potrwać pewien czas.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Nie można wczytać pliku jeśli jest katalogiem lub ma 0 bajtów",
@ -23,6 +26,9 @@
"Upload cancelled." => "Wczytywanie anulowane.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Wysyłanie pliku jest w toku. Teraz opuszczając stronę wysyłanie zostanie anulowane.",
"Invalid name, '/' is not allowed." => "Nieprawidłowa nazwa '/' jest niedozwolone.",
"files scanned" => "Pliki skanowane",
"error while scanning" => "Wystąpił błąd podczas skanowania",
"Name" => "Nazwa",
"Size" => "Rozmiar",
"Modified" => "Czas modyfikacji",
"folder" => "folder",
@ -44,7 +50,6 @@
"Upload" => "Prześlij",
"Cancel upload" => "Przestań wysyłać",
"Nothing in here. Upload something!" => "Brak zawartości. Proszę wysłać pliki!",
"Name" => "Nazwa",
"Share" => "Współdziel",
"Download" => "Pobiera element",
"Upload too large" => "Wysyłany plik ma za duży rozmiar",

View File

@ -7,26 +7,46 @@
"Missing a temporary folder" => "Pasta temporária não encontrada",
"Failed to write to disk" => "Falha ao escrever no disco",
"Files" => "Arquivos",
"Unshare" => "Descompartilhar",
"Delete" => "Excluir",
"Rename" => "Renomear",
"already exists" => "já existe",
"replace" => "substituir",
"suggest name" => "sugerir nome",
"cancel" => "cancelar",
"replaced" => "substituido ",
"undo" => "desfazer",
"with" => "com",
"unshared" => "descompartilhado",
"deleted" => "deletado",
"generating ZIP-file, it may take some time." => "gerando arquivo ZIP, isso pode levar um tempo.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Impossível enviar seus arquivo como diretório ou ele tem 0 bytes.",
"Upload Error" => "Erro de envio",
"Pending" => "Pendente",
"1 file uploading" => "enviando 1 arquivo",
"files uploading" => "enviando arquivos",
"Upload cancelled." => "Envio cancelado.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Upload em andamento. Sair da página agora resultará no cancelamento do envio.",
"Invalid name, '/' is not allowed." => "Nome inválido, '/' não é permitido.",
"files scanned" => "arquivos verificados",
"error while scanning" => "erro durante verificação",
"Name" => "Nome",
"Size" => "Tamanho",
"Modified" => "Modificado",
"folder" => "pasta",
"folders" => "pastas",
"file" => "arquivo",
"files" => "arquivos",
"seconds ago" => "segundos atrás",
"minute ago" => "minuto atrás",
"minutes ago" => "minutos atrás",
"today" => "hoje",
"yesterday" => "ontem",
"days ago" => "dias atrás",
"last month" => "último mês",
"months ago" => "meses atrás",
"last year" => "último ano",
"years ago" => "anos atrás",
"File handling" => "Tratamento de Arquivo",
"Maximum upload size" => "Tamanho máximo para carregar",
"max. possible: " => "max. possível:",
@ -34,6 +54,7 @@
"Enable ZIP-download" => "Habilitar ZIP-download",
"0 is unlimited" => "0 para ilimitado",
"Maximum input size for ZIP files" => "Tamanho máximo para arquivo ZIP",
"Save" => "Salvar",
"New" => "Novo",
"Text file" => "Arquivo texto",
"Folder" => "Pasta",
@ -41,7 +62,6 @@
"Upload" => "Carregar",
"Cancel upload" => "Cancelar upload",
"Nothing in here. Upload something!" => "Nada aqui.Carrege alguma coisa!",
"Name" => "Nome",
"Share" => "Compartilhar",
"Download" => "Baixar",
"Upload too large" => "Arquivo muito grande",

View File

@ -21,6 +21,7 @@
"Pending" => "Pendente",
"Upload cancelled." => "O upload foi cancelado.",
"Invalid name, '/' is not allowed." => "nome inválido, '/' não permitido.",
"Name" => "Nome",
"Size" => "Tamanho",
"Modified" => "Modificado",
"folder" => "pasta",
@ -41,7 +42,6 @@
"Upload" => "Enviar",
"Cancel upload" => "Cancelar upload",
"Nothing in here. Upload something!" => "Vazio. Envia alguma coisa!",
"Name" => "Nome",
"Share" => "Partilhar",
"Download" => "Transferir",
"Upload too large" => "Envio muito grande",

View File

@ -7,9 +7,46 @@
"Missing a temporary folder" => "Lipsește un dosar temporar",
"Failed to write to disk" => "Eroare la scriere pe disc",
"Files" => "Fișiere",
"Unshare" => "Anulează partajarea",
"Delete" => "Șterge",
"Rename" => "Redenumire",
"already exists" => "deja există",
"replace" => "înlocuire",
"suggest name" => "sugerează nume",
"cancel" => "anulare",
"replaced" => "înlocuit",
"undo" => "Anulează ultima acțiune",
"with" => "cu",
"unshared" => "nepartajat",
"deleted" => "șters",
"generating ZIP-file, it may take some time." => "se generază fișierul ZIP, va dura ceva timp.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Nu s-a putut încărca fișierul tău deoarece pare să fie un director sau are 0 bytes.",
"Upload Error" => "Eroare la încărcare",
"Pending" => "În așteptare",
"1 file uploading" => "un fișier se încarcă",
"files uploading" => "fișiere se încarcă",
"Upload cancelled." => "Încărcare anulată.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Fișierul este în curs de încărcare. Părăsirea paginii va întrerupe încărcarea.",
"Invalid name, '/' is not allowed." => "Nume invalid, '/' nu este permis.",
"files scanned" => "fișiere scanate",
"error while scanning" => "eroare la scanarea",
"Name" => "Nume",
"Size" => "Dimensiune",
"Modified" => "Modificat",
"folder" => "director",
"folders" => "directoare",
"file" => "fișier",
"files" => "fișiere",
"seconds ago" => "secunde în urmă",
"minute ago" => "minut în urmă",
"minutes ago" => "minute în urmă",
"today" => "astăzi",
"yesterday" => "ieri",
"days ago" => "zile în urmă",
"last month" => "ultima lună",
"months ago" => "luni în urmă",
"last year" => "ultimul an",
"years ago" => "ani în urmă",
"File handling" => "Manipulare fișiere",
"Maximum upload size" => "Dimensiune maximă admisă la încărcare",
"max. possible: " => "max. posibil:",
@ -17,6 +54,7 @@
"Enable ZIP-download" => "Activează descărcare fișiere compresate",
"0 is unlimited" => "0 e nelimitat",
"Maximum input size for ZIP files" => "Dimensiunea maximă de intrare pentru fișiere compresate",
"Save" => "Salvare",
"New" => "Nou",
"Text file" => "Fișier text",
"Folder" => "Dosar",
@ -24,7 +62,6 @@
"Upload" => "Încarcă",
"Cancel upload" => "Anulează încărcarea",
"Nothing in here. Upload something!" => "Nimic aici. Încarcă ceva!",
"Name" => "Nume",
"Share" => "Partajează",
"Download" => "Descarcă",
"Upload too large" => "Fișierul încărcat este prea mare",

View File

@ -7,13 +7,16 @@
"Missing a temporary folder" => "Невозможно найти временную папку",
"Failed to write to disk" => "Ошибка записи на диск",
"Files" => "Файлы",
"Unshare" => "Отменить публикацию",
"Delete" => "Удалить",
"already exists" => "уже существует",
"replace" => "заменить",
"suggest name" => "предложить название",
"cancel" => "отмена",
"replaced" => "заменён",
"undo" => "отмена",
"with" => "с",
"unshared" => "публикация отменена",
"deleted" => "удален",
"generating ZIP-file, it may take some time." => "создание ZIP-файла, это может занять некоторое время.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Не удается загрузить файл размером 0 байт в каталог",
@ -22,6 +25,7 @@
"Upload cancelled." => "Загрузка отменена.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Файл в процессе загрузки. Покинув страницу вы прервёте загрузку.",
"Invalid name, '/' is not allowed." => "Неверное имя, '/' не допускается.",
"Name" => "Название",
"Size" => "Размер",
"Modified" => "Изменён",
"folder" => "папка",
@ -35,6 +39,7 @@
"Enable ZIP-download" => "Включить ZIP-скачивание",
"0 is unlimited" => "0 - без ограничений",
"Maximum input size for ZIP files" => "Максимальный исходный размер для ZIP файлов",
"Save" => "Сохранить",
"New" => "Новый",
"Text file" => "Текстовый файл",
"Folder" => "Папка",
@ -42,7 +47,6 @@
"Upload" => "Загрузить",
"Cancel upload" => "Отмена загрузки",
"Nothing in here. Upload something!" => "Здесь ничего нет. Загрузите что-нибудь!",
"Name" => "Название",
"Share" => "Опубликовать",
"Download" => "Скачать",
"Upload too large" => "Файл слишком большой",

56
apps/files/l10n/ru_RU.php Normal file
View File

@ -0,0 +1,56 @@
<?php $TRANSLATIONS = array(
"There is no error, the file uploaded with success" => "Ошибка отсутствует, файл загружен успешно.",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" => "Размер загруженного файла превышает заданный в директиве upload_max_filesize в php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Размер загруженного",
"The uploaded file was only partially uploaded" => "Загружаемый файл был загружен частично",
"No file was uploaded" => "Файл не был загружен",
"Missing a temporary folder" => "Отсутствует временная папка",
"Failed to write to disk" => "Не удалось записать на диск",
"Files" => "Файлы",
"Unshare" => "Скрыть",
"Delete" => "Удалить",
"already exists" => "уже существует",
"replace" => "отмена",
"suggest name" => "подобрать название",
"cancel" => "отменить",
"replaced" => "заменено",
"undo" => "отменить действие",
"with" => "с",
"unshared" => "скрытый",
"deleted" => "удалено",
"generating ZIP-file, it may take some time." => "Создание ZIP-файла, это может занять некоторое время.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Невозможно загрузить файл,\n так как он имеет нулевой размер или является директорией",
"Upload Error" => "Ошибка загрузки",
"Pending" => "Ожидающий решения",
"Upload cancelled." => "Загрузка отменена",
"File upload is in progress. Leaving the page now will cancel the upload." => "Процесс загрузки файла. Если покинуть страницу сейчас, загрузка будет отменена.",
"Invalid name, '/' is not allowed." => "Неправильное имя, '/' не допускается.",
"Name" => "Имя",
"Size" => "Размер",
"Modified" => "Изменен",
"folder" => "папка",
"folders" => "папки",
"file" => "файл",
"files" => "файлы",
"File handling" => "Работа с файлами",
"Maximum upload size" => "Максимальный размер загружаемого файла",
"max. possible: " => "Максимально возможный",
"Needed for multi-file and folder downloads." => "Необходимо для множественной загрузки.",
"Enable ZIP-download" => "Включение ZIP-загрузки",
"0 is unlimited" => "0 без ограничений",
"Maximum input size for ZIP files" => "Максимальный размер входящих ZIP-файлов ",
"Save" => "Сохранить",
"New" => "Новый",
"Text file" => "Текстовый файл",
"Folder" => "Папка",
"From url" => "Из url",
"Upload" => "Загрузить ",
"Cancel upload" => "Отмена загрузки",
"Nothing in here. Upload something!" => "Здесь ничего нет. Загрузите что-нибудь!",
"Share" => "Сделать общим",
"Download" => "Загрузить",
"Upload too large" => "Загрузка слишком велика",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Размер файлов, которые Вы пытаетесь загрузить, превышает максимально допустимый размер для загрузки на данный сервер.",
"Files are being scanned, please wait." => "Файлы сканируются, пожалуйста, подождите.",
"Current scanning" => "Текущее сканирование"
);

View File

@ -7,13 +7,27 @@
"Missing a temporary folder" => "Chýbajúci dočasný priečinok",
"Failed to write to disk" => "Zápis na disk sa nepodaril",
"Files" => "Súbory",
"Unshare" => "Nezdielať",
"Delete" => "Odstrániť",
"already exists" => "už existuje",
"replace" => "nahradiť",
"suggest name" => "pomôcť s menom",
"cancel" => "zrušiť",
"replaced" => "zmenené",
"undo" => "vrátiť",
"with" => "s",
"unshared" => "zdielané",
"deleted" => "zmazané",
"generating ZIP-file, it may take some time." => "generujem ZIP-súbor, môže to chvíľu trvať.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Nemôžem nahrať súbor lebo je to priečinok alebo má 0 bajtov.",
"Upload Error" => "Chyba nahrávania",
"Pending" => "Čaká sa",
"Upload cancelled." => "Nahrávanie zrušené",
"File upload is in progress. Leaving the page now will cancel the upload." => "Opustenie stránky zruší práve prebiehajúce odosielanie súboru.",
"Invalid name, '/' is not allowed." => "Chybný názov, \"/\" nie je povolené",
"files scanned" => "skontrolovaných súborov",
"error while scanning" => "chyba počas kontroly",
"Name" => "Meno",
"Size" => "Veľkosť",
"Modified" => "Upravené",
"folder" => "priečinok",
@ -21,23 +35,23 @@
"file" => "súbor",
"files" => "súbory",
"File handling" => "Nastavenie správanie k súborom",
"Maximum upload size" => "Maximálna veľkosť nahratia",
"Maximum upload size" => "Maximálna veľkosť odosielaného súboru",
"max. possible: " => "najväčšie možné:",
"Needed for multi-file and folder downloads." => "Vyžadované pre sťahovanie viacerých súborov a adresárov.",
"Enable ZIP-download" => "Povoliť sťahovanie ZIP súborov",
"0 is unlimited" => "0 znamená neobmedzené",
"Maximum input size for ZIP files" => "Najväčšia veľkosť ZIP súborov",
"Save" => "Uložiť",
"New" => "Nový",
"Text file" => "Textový súbor",
"Folder" => "Priečinok",
"From url" => "Z url",
"Upload" => "Nahrať",
"Cancel upload" => "Zrušiť odosielanie",
"Nothing in here. Upload something!" => "Nič tu nie je. Nahrajte niečo!",
"Name" => "Meno",
"Nothing in here. Upload something!" => "Žiadny súbor. Nahrajte niečo!",
"Share" => "Zdielať",
"Download" => "Stiahnuť",
"Upload too large" => "Nahrávanie príliš veľké",
"Upload too large" => "Odosielaný súbor je príliš veľký",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Súbory ktoré sa snažíte nahrať presahujú maximálnu veľkosť pre nahratie súborov na tento server.",
"Files are being scanned, please wait." => "Súbory sa práve prehľadávajú, prosím čakajte.",
"Current scanning" => "Práve prehliadané"

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "Manjka začasna mapa",
"Failed to write to disk" => "Pisanje na disk je spodletelo",
"Files" => "Datoteke",
"Unshare" => "Odstrani iz souporabe",
"Delete" => "Izbriši",
"Rename" => "Preimenuj",
"already exists" => "že obstaja",
"replace" => "nadomesti",
"suggest name" => "predlagaj ime",
@ -15,6 +17,7 @@
"replaced" => "nadomeščen",
"undo" => "razveljavi",
"with" => "z",
"unshared" => "odstranjeno iz souporabe",
"deleted" => "izbrisano",
"generating ZIP-file, it may take some time." => "Ustvarjam ZIP datoteko. To lahko traja nekaj časa.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Nalaganje ni mogoče, saj gre za mapo, ali pa ima datoteka velikost 0 bajtov.",
@ -23,6 +26,9 @@
"Upload cancelled." => "Nalaganje je bilo preklicano.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Nalaganje datoteke je v teku. Če zapustite to stran zdaj, boste nalaganje preklicali.",
"Invalid name, '/' is not allowed." => "Neveljavno ime. Znak '/' ni dovoljen.",
"files scanned" => "pregledanih datotek",
"error while scanning" => "napaka med pregledovanjem datotek",
"Name" => "Ime",
"Size" => "Velikost",
"Modified" => "Spremenjeno",
"folder" => "mapa",
@ -44,7 +50,6 @@
"Upload" => "Naloži",
"Cancel upload" => "Prekliči nalaganje",
"Nothing in here. Upload something!" => "Tukaj ni ničesar. Naložite kaj!",
"Name" => "Ime",
"Share" => "Souporaba",
"Download" => "Prenesi",
"Upload too large" => "Nalaganje ni mogoče, ker je preveliko",

View File

@ -7,6 +7,7 @@
"Missing a temporary folder" => "Недостаје привремена фасцикла",
"Files" => "Фајлови",
"Delete" => "Обриши",
"Name" => "Име",
"Size" => "Величина",
"Modified" => "Задња измена",
"Maximum upload size" => "Максимална величина пошиљке",
@ -15,7 +16,6 @@
"Folder" => "фасцикла",
"Upload" => "Пошаљи",
"Nothing in here. Upload something!" => "Овде нема ничег. Пошаљите нешто!",
"Name" => "Име",
"Download" => "Преузми",
"Upload too large" => "Пошиљка је превелика",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Фајлови које желите да пошаљете превазилазе ограничење максималне величине пошиљке на овом серверу."

View File

@ -7,12 +7,12 @@
"Missing a temporary folder" => "Nedostaje privremena fascikla",
"Files" => "Fajlovi",
"Delete" => "Obriši",
"Name" => "Ime",
"Size" => "Veličina",
"Modified" => "Zadnja izmena",
"Maximum upload size" => "Maksimalna veličina pošiljke",
"Upload" => "Pošalji",
"Nothing in here. Upload something!" => "Ovde nema ničeg. Pošaljite nešto!",
"Name" => "Ime",
"Download" => "Preuzmi",
"Upload too large" => "Pošiljka je prevelika",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Fajlovi koje želite da pošaljete prevazilaze ograničenje maksimalne veličine pošiljke na ovom serveru."

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "Saknar en tillfällig mapp",
"Failed to write to disk" => "Misslyckades spara till disk",
"Files" => "Filer",
"Unshare" => "Sluta dela",
"Delete" => "Radera",
"Rename" => "Byt namn",
"already exists" => "finns redan",
"replace" => "ersätt",
"suggest name" => "föreslå namn",
@ -15,20 +17,36 @@
"replaced" => "ersatt",
"undo" => "ångra",
"with" => "med",
"unshared" => "Ej delad",
"deleted" => "raderad",
"generating ZIP-file, it may take some time." => "genererar ZIP-fil, det kan ta lite tid.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Kunde inte ladda upp dina filer eftersom det antingen är en mapp eller har 0 bytes.",
"Upload Error" => "Uppladdningsfel",
"Pending" => "Väntar",
"1 file uploading" => "1 filuppladdning",
"files uploading" => "filer laddas upp",
"Upload cancelled." => "Uppladdning avbruten.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Filuppladdning pågår. Lämnar du sidan så avbryts uppladdningen.",
"Invalid name, '/' is not allowed." => "Ogiltigt namn, '/' är inte tillåten.",
"files scanned" => "filer skannade",
"error while scanning" => "fel vid skanning",
"Name" => "Namn",
"Size" => "Storlek",
"Modified" => "Ändrad",
"folder" => "mapp",
"folders" => "mappar",
"file" => "fil",
"files" => "filer",
"seconds ago" => "sekunder sedan",
"minute ago" => "minut sedan",
"minutes ago" => "minuter sedan",
"today" => "i dag",
"yesterday" => "i går",
"days ago" => "dagar sedan",
"last month" => "förra månaden",
"months ago" => "månader sedan",
"last year" => "förra året",
"years ago" => "år sedan",
"File handling" => "Filhantering",
"Maximum upload size" => "Maximal storlek att ladda upp",
"max. possible: " => "max. möjligt:",
@ -44,7 +62,6 @@
"Upload" => "Ladda upp",
"Cancel upload" => "Avbryt uppladdning",
"Nothing in here. Upload something!" => "Ingenting här. Ladda upp något!",
"Name" => "Namn",
"Share" => "Dela",
"Download" => "Ladda ner",
"Upload too large" => "För stor uppladdning",

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "แฟ้มเอกสารชั่วคราวเกิดการสูญหาย",
"Failed to write to disk" => "เขียนข้อมูลลงแผ่นดิสก์ล้มเหลว",
"Files" => "ไฟล์",
"Unshare" => "ยกเลิกการแชร์ข้อมูล",
"Delete" => "ลบ",
"Rename" => "เปลี่ยนชื่อ",
"already exists" => "มีอยู่แล้ว",
"replace" => "แทนที่",
"suggest name" => "แนะนำชื่อ",
@ -15,20 +17,36 @@
"replaced" => "แทนที่แล้ว",
"undo" => "เลิกทำ",
"with" => "กับ",
"unshared" => "ยกเลิกการแชร์ข้อมูลแล้ว",
"deleted" => "ลบแล้ว",
"generating ZIP-file, it may take some time." => "กำลังสร้างไฟล์บีบอัด ZIP อาจใช้เวลาสักครู่",
"Unable to upload your file as it is a directory or has 0 bytes" => "ไม่สามารถอัพโหลดไฟล์ของคุณได้ เนื่องจากไฟล์ดังกล่าวเป็นไดเร็กทอรี่หรือมีขนาด 0 ไบต์",
"Upload Error" => "เกิดข้อผิดพลาดในการอัพโหลด",
"Pending" => "อยู่ระหว่างดำเนินการ",
"1 file uploading" => "กำลังอัพโหลดไฟล์ 1 ไฟล์",
"files uploading" => "การอัพโหลดไฟล์",
"Upload cancelled." => "การอัพโหลดถูกยกเลิก",
"File upload is in progress. Leaving the page now will cancel the upload." => "การอัพโหลดไฟล์กำลังอยู่ในระหว่างดำเนินการ การออกจากหน้าเว็บนี้จะทำให้การอัพโหลดถูกยกเลิก",
"Invalid name, '/' is not allowed." => "ชื่อที่ใช้ไม่ถูกต้อง '/' ไม่อนุญาตให้ใช้งาน",
"files scanned" => "ไฟล์ต่างๆได้รับการสแกนแล้ว",
"error while scanning" => "พบข้อผิดพลาดในระหว่างการสแกนไฟล์",
"Name" => "ชื่อ",
"Size" => "ขนาด",
"Modified" => "ปรับปรุงล่าสุด",
"folder" => "โฟลเดอร์",
"folders" => "โฟลเดอร์",
"file" => "ไฟล์",
"files" => "ไฟล์",
"seconds ago" => "วินาที ก่อนหน้านี้",
"minute ago" => "นาที ที่ผ่านมา",
"minutes ago" => "นาที ที่ผ่านมา",
"today" => "วันนี้",
"yesterday" => "เมื่อวานนี้",
"days ago" => "วัน ที่ผ่านมา",
"last month" => "เดือนที่แล้ว",
"months ago" => "เดือน ที่ผ่านมา",
"last year" => "ปีที่แล้ว",
"years ago" => "ปี ที่ผ่านมา",
"File handling" => "การจัดกาไฟล์",
"Maximum upload size" => "ขนาดไฟล์สูงสุดที่อัพโหลดได้",
"max. possible: " => "จำนวนสูงสุดที่สามารถทำได้: ",
@ -44,7 +62,6 @@
"Upload" => "อัพโหลด",
"Cancel upload" => "ยกเลิกการอัพโหลด",
"Nothing in here. Upload something!" => "ยังไม่มีไฟล์ใดๆอยู่ที่นี่ กรุณาอัพโหลดไฟล์!",
"Name" => "ชื่อ",
"Share" => "แชร์",
"Download" => "ดาวน์โหลด",
"Upload too large" => "ไฟล์ที่อัพโหลดมีขนาดใหญ่เกินไป",

View File

@ -22,6 +22,7 @@
"Upload cancelled." => "Yükleme iptal edildi.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Dosya yükleme işlemi sürüyor. Şimdi sayfadan ayrılırsanız işleminiz iptal olur.",
"Invalid name, '/' is not allowed." => "Geçersiz isim, '/' işaretine izin verilmiyor.",
"Name" => "Ad",
"Size" => "Boyut",
"Modified" => "Değiştirilme",
"folder" => "dizin",
@ -42,7 +43,6 @@
"Upload" => "Yükle",
"Cancel upload" => "Yüklemeyi iptal et",
"Nothing in here. Upload something!" => "Burada hiçbir şey yok. Birşeyler yükleyin!",
"Name" => "Ad",
"Share" => "Paylaş",
"Download" => "İndir",
"Upload too large" => "Yüklemeniz çok büyük",

View File

@ -15,6 +15,7 @@
"Pending" => "Очікування",
"Upload cancelled." => "Завантаження перервано.",
"Invalid name, '/' is not allowed." => "Некоректне ім'я, '/' не дозволено.",
"Name" => "Ім'я",
"Size" => "Розмір",
"Modified" => "Змінено",
"folder" => "тека",
@ -31,7 +32,6 @@
"Upload" => "Відвантажити",
"Cancel upload" => "Перервати завантаження",
"Nothing in here. Upload something!" => "Тут нічого немає. Відвантажте що-небудь!",
"Name" => "Ім'я",
"Share" => "Поділитися",
"Download" => "Завантажити",
"Upload too large" => "Файл занадто великий",

View File

@ -1,10 +1,30 @@
<?php $TRANSLATIONS = array(
"There is no error, the file uploaded with success" => "Không có lỗi, các tập tin đã được tải lên thành công",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" => "Những tập tin được tải lên vượt quá upload_max_filesize được chỉ định trong php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Kích thước những tập tin tải lên vượt quá MAX_FILE_SIZE đã được quy định",
"The uploaded file was only partially uploaded" => "Tập tin tải lên mới chỉ tải lên được một phần",
"No file was uploaded" => "Không có tập tin nào được tải lên",
"Missing a temporary folder" => "Không tìm thấy thư mục tạm",
"Failed to write to disk" => "Không thể ghi vào đĩa cứng",
"Files" => "Tập tin",
"Unshare" => "Không chia sẽ",
"Delete" => "Xóa",
"already exists" => "đã tồn tại",
"replace" => "thay thế",
"suggest name" => "tên gợi ý",
"cancel" => "hủy",
"replaced" => "đã được thay thế",
"undo" => "lùi lại",
"with" => "với",
"deleted" => "đã xóa",
"generating ZIP-file, it may take some time." => "Tạo tập tinh ZIP, điều này có thể mất một ít thời gian",
"Unable to upload your file as it is a directory or has 0 bytes" => "Không thể tải lên tập tin này do nó là một thư mục hoặc kích thước tập tin bằng 0 byte",
"Upload Error" => "Tải lên lỗi",
"Pending" => "Chờ",
"Upload cancelled." => "Hủy tải lên",
"File upload is in progress. Leaving the page now will cancel the upload." => "Tập tin tải lên đang được xử lý. Nếu bạn rời khỏi trang bây giờ sẽ hủy quá trình này.",
"Invalid name, '/' is not allowed." => "Tên không hợp lệ ,không được phép dùng '/'",
"Name" => "Tên",
"Size" => "Kích cỡ",
"Modified" => "Thay đổi",
"folder" => "folder",
@ -13,9 +33,11 @@
"files" => "files",
"File handling" => "Xử lý tập tin",
"Maximum upload size" => "Kích thước tối đa ",
"Needed for multi-file and folder downloads." => "Cần thiết cho tải nhiều tập tin và thư mục.",
"Enable ZIP-download" => "Cho phép ZIP-download",
"0 is unlimited" => "0 là không giới hạn",
"Maximum input size for ZIP files" => "Kích thước tối đa cho các tập tin ZIP",
"Save" => "Lưu",
"New" => "Mới",
"Text file" => "Tập tin văn bản",
"Folder" => "Folder",
@ -23,9 +45,10 @@
"Upload" => "Tải lên",
"Cancel upload" => "Hủy upload",
"Nothing in here. Upload something!" => "Không có gì ở đây .Hãy tải lên một cái gì đó !",
"Name" => "Tên",
"Share" => "Chia sẻ",
"Download" => "Tải xuống",
"Upload too large" => "File tải lên quá lớn",
"Files are being scanned, please wait." => "Tập tin đang được quét ,vui lòng chờ."
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Các tập tin bạn đang cố gắng tải lên vượt quá kích thước tối đa cho phép trên máy chủ này.",
"Files are being scanned, please wait." => "Tập tin đang được quét ,vui lòng chờ.",
"Current scanning" => "Hiện tại đang quét"
);

View File

@ -7,20 +7,27 @@
"Missing a temporary folder" => "丢失了一个临时文件夹",
"Failed to write to disk" => "写磁盘失败",
"Files" => "文件",
"Unshare" => "取消共享",
"Delete" => "删除",
"already exists" => "已经存在了",
"replace" => "替换",
"suggest name" => "推荐名称",
"cancel" => "取消",
"replaced" => "替换过了",
"undo" => "撤销",
"with" => "随着",
"unshared" => "已取消共享",
"deleted" => "删除",
"generating ZIP-file, it may take some time." => "正在生成ZIP文件,这可能需要点时间",
"Unable to upload your file as it is a directory or has 0 bytes" => "不能上传你指定的文件,可能因为它是个文件夹或者大小为0",
"Upload Error" => "上传错误",
"Pending" => "Pending",
"Upload cancelled." => "上传取消了",
"File upload is in progress. Leaving the page now will cancel the upload." => "文件正在上传。关闭页面会取消上传。",
"Invalid name, '/' is not allowed." => "非法文件名,\"/\"是不被许可的",
"files scanned" => "文件已扫描",
"error while scanning" => "扫描出错",
"Name" => "名字",
"Size" => "大小",
"Modified" => "修改日期",
"folder" => "文件夹",
@ -34,6 +41,7 @@
"Enable ZIP-download" => "支持ZIP下载",
"0 is unlimited" => "0是无限的",
"Maximum input size for ZIP files" => "最大的ZIP文件输入大小",
"Save" => "保存",
"New" => "新建",
"Text file" => "文本文档",
"Folder" => "文件夹",
@ -41,7 +49,6 @@
"Upload" => "上传",
"Cancel upload" => "取消上传",
"Nothing in here. Upload something!" => "这里没有东西.上传点什么!",
"Name" => "名字",
"Share" => "分享",
"Download" => "下载",
"Upload too large" => "上传的文件太大了",

View File

@ -7,7 +7,9 @@
"Missing a temporary folder" => "缺少临时目录",
"Failed to write to disk" => "写入磁盘失败",
"Files" => "文件",
"Unshare" => "取消分享",
"Delete" => "删除",
"Rename" => "重命名",
"already exists" => "已经存在",
"replace" => "替换",
"suggest name" => "建议名称",
@ -15,20 +17,36 @@
"replaced" => "已经替换",
"undo" => "撤销",
"with" => "随着",
"unshared" => "已取消分享",
"deleted" => "已经删除",
"generating ZIP-file, it may take some time." => "正在生成 ZIP 文件,可能需要一些时间",
"Unable to upload your file as it is a directory or has 0 bytes" => "无法上传文件,因为它是一个目录或者大小为 0 字节",
"Upload Error" => "上传错误",
"Pending" => "操作等待中",
"1 file uploading" => "1个文件上传中",
"files uploading" => "文件上传中",
"Upload cancelled." => "上传已取消",
"File upload is in progress. Leaving the page now will cancel the upload." => "文件正在上传中。现在离开此页会导致上传动作被取消。",
"Invalid name, '/' is not allowed." => "非法的名称,不允许使用‘/’。",
"files scanned" => "已扫描文件",
"error while scanning" => "扫描时出错",
"Name" => "名称",
"Size" => "大小",
"Modified" => "修改日期",
"folder" => "文件夹",
"folders" => "文件夹",
"file" => "文件",
"files" => "文件",
"seconds ago" => "几秒前",
"minute ago" => "1分钟前",
"minutes ago" => "分钟前",
"today" => "今天",
"yesterday" => "昨天",
"days ago" => "%d 天前",
"last month" => "上月",
"months ago" => "月前",
"last year" => "上年",
"years ago" => "几年前",
"File handling" => "文件处理",
"Maximum upload size" => "最大上传大小",
"max. possible: " => "最大可能: ",
@ -44,7 +62,6 @@
"Upload" => "上传",
"Cancel upload" => "取消上传",
"Nothing in here. Upload something!" => "这里还什么都没有。上传些东西吧!",
"Name" => "名称",
"Share" => "共享",
"Download" => "下载",
"Upload too large" => "上传文件过大",

View File

@ -17,6 +17,7 @@
"Upload cancelled." => "上傳取消",
"File upload is in progress. Leaving the page now will cancel the upload." => "檔案上傳中. 離開此頁面將會取消上傳.",
"Invalid name, '/' is not allowed." => "無效的名稱, '/'是不被允許的",
"Name" => "名稱",
"Size" => "大小",
"Modified" => "修改",
"File handling" => "檔案處理",
@ -33,7 +34,6 @@
"Upload" => "上傳",
"Cancel upload" => "取消上傳",
"Nothing in here. Upload something!" => "沒有任何東西。請上傳內容!",
"Name" => "名稱",
"Share" => "分享",
"Download" => "下載",
"Upload too large" => "上傳過大",

View File

@ -16,9 +16,9 @@
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">
<input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
<input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir">
<button class="file_upload_filename">&nbsp;<img class='svg action' alt="Upload" src="<?php echo OCP\image_path("core", "actions/upload-white.svg"); ?>" /></button>
<input class="file_upload_start" type="file" name='files[]'/>
<a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo $l->t('Upload'); echo ' max. '.$_['uploadMaxHumanFilesize'] ?>"></a>
<a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo $l->t('Upload'); echo ' max. '.$_['uploadMaxHumanFilesize'] ?>"></a>
<button class="file_upload_filename"></button>
<iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe>
</form>
</div>

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Kryptering",
"Exclude the following file types from encryption" => "Ekskluder følgende filtyper fra kryptering",
"None" => "Ingen",
"Enable Encryption" => "Aktivér kryptering"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Encriptación",
"Exclude the following file types from encryption" => "Exceptuar de la encriptación los siguientes tipos de archivo",
"None" => "Ninguno",
"Enable Encryption" => "Habilitar encriptación"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Encriptado",
"Exclude the following file types from encryption" => "Excluír os seguintes tipos de ficheiro da encriptación",
"None" => "Nada",
"Enable Encryption" => "Habilitar encriptación"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Criptografia",
"Exclude the following file types from encryption" => "Excluir os seguintes tipos de arquivo da criptografia",
"None" => "Nenhuma",
"Enable Encryption" => "Habilitar Criptografia"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Encriptação",
"Exclude the following file types from encryption" => "Excluir da encriptação os seguintes tipo de ficheiros",
"None" => "Nenhum",
"Enable Encryption" => "Activar Encriptação"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Încriptare",
"Exclude the following file types from encryption" => "Exclude următoarele tipuri de fișiere de la încriptare",
"None" => "Niciuna",
"Enable Encryption" => "Activare încriptare"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Шифрование",
"Exclude the following file types from encryption" => "Исключите следующие типы файлов из шифрования",
"None" => "Ни один",
"Enable Encryption" => "Включить шифрование"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "Mã hóa",
"Exclude the following file types from encryption" => "Loại trừ các loại tập tin sau đây từ mã hóa",
"None" => "none",
"Enable Encryption" => "BẬT mã hóa"
);

View File

@ -0,0 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "加密",
"Exclude the following file types from encryption" => "从加密中排除如下文件类型",
"None" => "",
"Enable Encryption" => "启用加密"
);

View File

@ -1,5 +1,6 @@
<?php $TRANSLATIONS = array(
"Encryption" => "加密",
"Exclude the following file types from encryption" => "从加密中排除列出的文件类型",
"None" => "None",
"Enable Encryption" => "开启加密"
);

View File

@ -2,26 +2,35 @@
OCP\JSON::checkAppEnabled('files_external');
$view = \OCP\Files::getStorage("files_external");
$from = $_FILES['rootcert_import']['tmp_name'];
$path = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath("").'uploads/';
if(!file_exists($path)) mkdir($path,0700,true);
$to = $path.$_FILES['rootcert_import']['name'];
move_uploaded_file($from, $to);
//check if it is a PEM certificate, otherwise convert it if possible
$fh = fopen($to, 'r');
$data = fread($fh, filesize($to));
fclose($fh);
if (!strpos($data, 'BEGIN CERTIFICATE')) {
$pem = chunk_split(base64_encode($data), 64, "\n");
$pem = "-----BEGIN CERTIFICATE-----\n".$pem."-----END CERTIFICATE-----\n";
$fh = fopen($to, 'w');
fwrite($fh, $pem);
fclose($fh);
if ( !($filename = $_FILES['rootcert_import']['name']) ) {
header("Location: settings/personal.php");
exit;
}
OC_Mount_Config::createCertificateBundle();
$fh = fopen($_FILES['rootcert_import']['tmp_name'], 'r');
$data = fread($fh, filesize($_FILES['rootcert_import']['tmp_name']));
fclose($fh);
$filename = $_FILES['rootcert_import']['name'];
$view = new \OC_FilesystemView('/'.\OCP\User::getUser().'/files_external/uploads');
if (!$view->file_exists('')) $view->mkdir('');
$isValid = openssl_pkey_get_public($data);
//maybe it was just the wrong file format, try to convert it...
if ($isValid == false) {
$data = chunk_split(base64_encode($data), 64, "\n");
$data = "-----BEGIN CERTIFICATE-----\n".$data."-----END CERTIFICATE-----\n";
$isValid = openssl_pkey_get_public($data);
}
// add the certificate if it could be verified
if ( $isValid ) {
$view->file_put_contents($filename, $data);
OC_Mount_Config::createCertificateBundle();
} else {
OCP\Util::writeLog("files_external", "Couldn't import SSL root certificate ($filename), allowed formats: PEM and DER", OCP\Util::WARN);
}
header("Location: settings/personal.php");
exit;

View File

@ -5,7 +5,10 @@ OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
$view = \OCP\Files::getStorage("files_external");
$cert = $_POST['cert'];
$file = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath("").'uploads/'.$cert;
unlink($file);
OC_Mount_Config::createCertificateBundle();
$file = 'uploads/'.ltrim($_POST['cert'], "/\\.");
if ( $view->file_exists($file) ) {
$view->unlink($file);
OC_Mount_Config::createCertificateBundle();
}

View File

@ -19,6 +19,7 @@ $(document).ready(function() {
if (result && result.status == 'success') {
$(token).val(result.access_token);
$(token_secret).val(result.access_token_secret);
$(configured).val('true');
OC.MountConfig.saveStorage(tr);
$(tr).find('.configuration input').attr('disabled', 'disabled');
$(tr).find('.configuration').append('<span id="access" style="padding-left:0.5em;">Access granted</span>');

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Ekstern opbevaring",
"Mount point" => "Monteringspunkt",
"Backend" => "Backend",
"Configuration" => "Opsætning",
"Options" => "Valgmuligheder",
"Applicable" => "Kan anvendes",
"Add mount point" => "Tilføj monteringspunkt",
"None set" => "Ingen sat",
"All Users" => "Alle brugere",
"Groups" => "Grupper",
"Users" => "Brugere",
"Delete" => "Slet",
"Enable User External Storage" => "Aktiver ekstern opbevaring for brugere",
"Allow users to mount their own external storage" => "Tillad brugere at montere deres egne eksterne opbevaring",
"SSL root certificates" => "SSL-rodcertifikater",
"Import Root Certificate" => "Importer rodcertifikat"
);

View File

@ -1,10 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Εξωτερική αποθήκευση",
"External Storage" => "Εξωτερικό Αποθηκευτικό Μέσο",
"Mount point" => "Σημείο προσάρτησης",
"Backend" => "Σύστημα υποστήριξης",
"Configuration" => "Ρυθμίσεις",
"Options" => "Επιλογές",
"Applicable" => "Εφαρμόσιμο",
"Add mount point" => "Προσθήκη σημείου προσάρτησης",
"None set" => "Κανένα επιλεγμένο",
"All Users" => "Όλοι οι χρήστες",
"Groups" => "Ομάδες",
"Users" => "Χρήστες",
"Delete" => "Διαγραφή"
"Delete" => "Διαγραφή",
"SSL root certificates" => "Πιστοποιητικά SSL root",
"Import Root Certificate" => "Εισαγωγή Πιστοποιητικού Root",
"Enable User External Storage" => "Ενεργοποίηση Εξωτερικού Αποθηκευτικού Χώρου Χρήστη",
"Allow users to mount their own external storage" => "Να επιτρέπεται στους χρήστες να προσαρτούν δικό τους εξωτερικό αποθηκευτικό χώρο"
);

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Almacenamiento externo",
"Mount point" => "Punto de montaje",
"Backend" => "Motor",
"Configuration" => "Configuración",
"Options" => "Opciones",
"Applicable" => "Aplicable",
"Add mount point" => "Añadir punto de montaje",
"None set" => "No fue configurado",
"All Users" => "Todos los usuarios",
"Groups" => "Grupos",
"Users" => "Usuarios",
"Delete" => "Borrar",
"SSL root certificates" => "certificados SSL raíz",
"Import Root Certificate" => "Importar certificado raíz",
"Enable User External Storage" => "Habilitar almacenamiento de usuario externo",
"Allow users to mount their own external storage" => "Permitir a los usuarios montar su propio almacenamiento externo"
);

View File

@ -1,12 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Väline salvestuskoht",
"Mount point" => "Ühenduspunkt",
"Backend" => "Admin",
"Configuration" => "Seadistamine",
"Options" => "Valikud",
"Applicable" => "Rakendatav",
"Add mount point" => "Lisa ühenduspunkt",
"None set" => "Pole määratud",
"All Users" => "Kõik kasutajad",
"Groups" => "Grupid",
"Users" => "Kasutajad",
"Delete" => "Kustuta"
"Delete" => "Kustuta",
"SSL root certificates" => "SSL root sertifikaadid",
"Import Root Certificate" => "Impordi root sertifikaadid",
"Enable User External Storage" => "Luba kasutajatele väline salvestamine",
"Allow users to mount their own external storage" => "Luba kasutajatel ühendada külge nende enda välised salvestusseadmed"
);

View File

@ -4,6 +4,7 @@
"Backend" => "Motorra",
"Configuration" => "Konfigurazioa",
"Options" => "Aukerak",
"Applicable" => "Aplikagarria",
"Add mount point" => "Gehitu muntatze puntua",
"None set" => "Ezarri gabe",
"All Users" => "Erabiltzaile guztiak",

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Almacenamento externo",
"Mount point" => "Punto de montaxe",
"Backend" => "Almacén",
"Configuration" => "Configuración",
"Options" => "Opcións",
"Applicable" => "Aplicable",
"Add mount point" => "Engadir punto de montaxe",
"None set" => "Non establecido",
"All Users" => "Tódolos usuarios",
"Groups" => "Grupos",
"Users" => "Usuarios",
"Delete" => "Eliminar",
"SSL root certificates" => "Certificados raíz SSL",
"Import Root Certificate" => "Importar Certificado Raíz",
"Enable User External Storage" => "Habilitar almacenamento externo do usuario",
"Allow users to mount their own external storage" => "Permitir aos usuarios montar os seus propios almacenamentos externos"
);

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Armazenamento Externo",
"Mount point" => "Ponto de montagem",
"Backend" => "Backend",
"Configuration" => "Configuração",
"Options" => "Opções",
"Applicable" => "Aplicável",
"Add mount point" => "Adicionar ponto de montagem",
"None set" => "Nenhum definido",
"All Users" => "Todos os Usuários",
"Groups" => "Grupos",
"Users" => "Usuários",
"Delete" => "Remover",
"SSL root certificates" => "Certificados SSL raíz",
"Import Root Certificate" => "Importar Certificado Raíz",
"Enable User External Storage" => "Habilitar Armazenamento Externo do Usuário",
"Allow users to mount their own external storage" => "Permitir usuários a montar seus próprios armazenamentos externos"
);

View File

@ -0,0 +1,10 @@
<?php $TRANSLATIONS = array(
"Configuration" => "Configuração",
"Options" => "Opções",
"Applicable" => "Aplicável",
"All Users" => "Todos os utilizadores",
"Groups" => "Grupos",
"Users" => "Utilizadores",
"Delete" => "Apagar",
"Import Root Certificate" => "Importar Certificado Root"
);

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Stocare externă",
"Mount point" => "Punctul de montare",
"Backend" => "Backend",
"Configuration" => "Configurație",
"Options" => "Opțiuni",
"Applicable" => "Aplicabil",
"Add mount point" => "Adaugă punct de montare",
"None set" => "Niciunul",
"All Users" => "Toți utilizatorii",
"Groups" => "Grupuri",
"Users" => "Utilizatori",
"Delete" => "Șterge",
"SSL root certificates" => "Certificate SSL root",
"Import Root Certificate" => "Importă certificat root",
"Enable User External Storage" => "Permite stocare externă pentru utilizatori",
"Allow users to mount their own external storage" => "Permite utilizatorilor să monteze stocare externă proprie"
);

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Внешние системы хранения данных",
"Mount point" => "Точка монтирования",
"Backend" => "Бэкэнд",
"Configuration" => "Конфигурация",
"Options" => "Опции",
"Applicable" => "Применимый",
"Add mount point" => "Добавить точку монтирования",
"None set" => "Не задан",
"All Users" => "Все пользователи",
"Groups" => "Группы",
"Users" => "Пользователи",
"Delete" => "Удалить",
"SSL root certificates" => "Корневые сертификаты SSL",
"Import Root Certificate" => "Импортировать корневые сертификаты",
"Enable User External Storage" => "Включить пользовательскую внешнюю систему хранения данных",
"Allow users to mount their own external storage" => "Разрешить пользователям монтировать их собственную внешнюю систему хранения данных"
);

View File

@ -0,0 +1,5 @@
<?php $TRANSLATIONS = array(
"Groups" => "Групи",
"Users" => "Користувачі",
"Delete" => "Видалити"
);

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "Lưu trữ ngoài",
"Mount point" => "Điểm gắn",
"Backend" => "phụ trợ",
"Configuration" => "Cấu hình",
"Options" => "Tùy chọn",
"Applicable" => "Áp dụng",
"Add mount point" => "Thêm điểm lắp",
"None set" => "không",
"All Users" => "Tất cả người dùng",
"Groups" => "Nhóm",
"Users" => "Người dùng",
"Delete" => "Xóa",
"SSL root certificates" => "Chứng chỉ SSL root",
"Import Root Certificate" => "Nhập Root Certificate",
"Enable User External Storage" => "Kích hoạt tính năng lưu trữ ngoài",
"Allow users to mount their own external storage" => "Cho phép người dùng kết nối với lưu trữ riêng bên ngoài của họ"
);

View File

@ -0,0 +1,18 @@
<?php $TRANSLATIONS = array(
"External Storage" => "外部存储",
"Mount point" => "挂载点",
"Backend" => "后端",
"Configuration" => "配置",
"Options" => "选项",
"Applicable" => "可应用",
"Add mount point" => "添加挂载点",
"None set" => "未设置",
"All Users" => "所有用户",
"Groups" => "群组",
"Users" => "用户",
"Delete" => "删除",
"SSL root certificates" => "SSL 根证书",
"Import Root Certificate" => "导入根证书",
"Enable User External Storage" => "启用用户外部存储",
"Allow users to mount their own external storage" => "允许用户挂载他们的外部存储"
);

View File

@ -270,6 +270,7 @@ class OC_Mount_Config {
fclose($fh);
if (strpos($data, 'BEGIN CERTIFICATE')) {
fwrite($fh_certs, $data);
fwrite($fh_certs, "\r\n");
}
}

View File

@ -21,7 +21,9 @@
*/
OCP\Util::addScript('files_external', 'settings');
OCP\Util::addscript('3rdparty', 'chosen/chosen.jquery.min');
OCP\Util::addStyle('files_external', 'settings');
OCP\Util::addStyle('3rdparty', 'chosen/chosen');
$tmpl = new OCP\Template('files_external', 'settings');
$tmpl->assign('isAdminPage', true, false);
$tmpl->assign('mounts', OC_Mount_Config::getSystemMountPoints());

View File

@ -1,4 +1,4 @@
<form id="files_external" method="post" enctype="multipart/form-data" action="<?php echo OCP\Util::linkTo('files_external', 'ajax/addRootCertificate.php'); ?>">
<form id="files_external">
<fieldset class="personalblock">
<legend><strong><?php echo $l->t('External Storage'); ?></strong></legend>
<table id="externalStorage" data-admin='<?php echo json_encode($_['isAdminPage']); ?>'>
@ -81,7 +81,18 @@
</table>
<br />
<?php if (!$_['isAdminPage']): ?>
<?php if ($_['isAdminPage']): ?>
<br />
<input type="checkbox" name="allowUserMounting" id="allowUserMounting" value="1" <?php if ($_['allowUserMounting'] == 'yes') echo ' checked="checked"'; ?> />
<label for="allowUserMounting"><?php echo $l->t('Enable User External Storage'); ?></label><br/>
<em><?php echo $l->t('Allow users to mount their own external storage'); ?></em>
<?php endif; ?>
</fieldset>
</form>
<form id="files_external" method="post" enctype="multipart/form-data" action="<?php echo OCP\Util::linkTo('files_external', 'ajax/addRootCertificate.php'); ?>">
<fieldset class="personalblock">
<?php if (!$_['isAdminPage']): ?>
<table id="sslCertificate" data-admin='<?php echo json_encode($_['isAdminPage']); ?>'>
<thead>
<tr>
@ -101,12 +112,5 @@
<input type="file" id="rootcert_import" name="rootcert_import" style="width:230px;">
<input type="submit" name="cert_import" value="<?php echo $l->t('Import Root Certificate'); ?>" />
<?php endif; ?>
<?php if ($_['isAdminPage']): ?>
<br />
<input type="checkbox" name="allowUserMounting" id="allowUserMounting" value="1" <?php if ($_['allowUserMounting'] == 'yes') echo ' checked="checked"'; ?> />
<label for="allowUserMounting"><?php echo $l->t('Enable User External Storage'); ?></label><br/>
<em><?php echo $l->t('Allow users to mount their own external storage'); ?></em>
<?php endif; ?>
</fieldset>
</form>
</fieldset>
</form>

View File

@ -1,16 +1,64 @@
<?php
// touch shared directories to trigger one-time re-scan for all users
$datadir = \OCP\Config::getSystemValue('datadirectory');
$currentVersion=OC_Appconfig::getValue('files_sharing', 'installed_version');
if (version_compare($currentVersion, '0.2.2', '<')) {
if ($handle = opendir($datadir)) {
while (false !== ($entry = readdir($handle))) {
$sharedFolder = $datadir.'/'.$entry.'/files/Shared';
if ($entry != "." && $entry != ".." && is_dir($sharedFolder)) {
touch($sharedFolder);
$installedVersion = OCP\Config::getAppValue('files_sharing', 'installed_version');
if (version_compare($installedVersion, '0.3', '<')) {
$update_error = false;
$query = OCP\DB::prepare('SELECT * FROM `*PREFIX*sharing`');
$result = $query->execute();
$groupShares = array();
//we need to set up user backends, otherwise creating the shares will fail with "because user does not exist"
OC_User::useBackend(new OC_User_Database());
OC_Group::useBackend(new OC_Group_Database());
OC_App::loadApps(array('authentication'));
while ($row = $result->fetchRow()) {
$itemSource = OC_FileCache::getId($row['source'], '');
if ($itemSource != -1) {
$file = OC_FileCache::get($row['source'], '');
if ($file['mimetype'] == 'httpd/unix-directory') {
$itemType = 'folder';
} else {
$itemType = 'file';
}
if ($row['permissions'] == 0) {
$permissions = OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_SHARE;
} else {
$permissions = OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_UPDATE | OCP\Share::PERMISSION_SHARE;
if ($itemType == 'folder') {
$permissions |= OCP\Share::PERMISSION_CREATE;
}
}
$pos = strrpos($row['uid_shared_with'], '@');
if ($pos !== false && OC_Group::groupExists(substr($row['uid_shared_with'], $pos + 1))) {
$shareType = OCP\Share::SHARE_TYPE_GROUP;
$shareWith = substr($row['uid_shared_with'], 0, $pos);
if (isset($groupShares[$shareWith][$itemSource])) {
continue;
} else {
$groupShares[$shareWith][$itemSource] = true;
}
} else if ($row['uid_shared_with'] == 'public') {
$shareType = OCP\Share::SHARE_TYPE_LINK;
$shareWith = null;
} else {
$shareType = OCP\Share::SHARE_TYPE_USER;
$shareWith = $row['uid_shared_with'];
}
OC_User::setUserId($row['uid_owner']);
//we need to setup the filesystem for the user, otherwise OC_FileSystem::getRoot will fail and break
OC_Util::setupFS($row['uid_owner']);
try {
OCP\Share::shareItem($itemType, $itemSource, $shareType, $shareWith, $permissions);
}
catch (Exception $e) {
$update_error = true;
OCP\Util::writeLog('files_sharing', 'Upgrade Routine: Skipping sharing "'.$row['source'].'" to "'.$shareWith.'" (error is "'.$e->getMessage().'")', OCP\Util::WARN);
}
OC_Util::tearDownFS();
}
closedir($handle);
}
}
if ($update_error) {
OCP\Util::writeLog('files_sharing', 'There were some problems upgrading the sharing of files', OCP\Util::ERROR);
}
// NOTE: Let's drop the table after more testing
// $query = OCP\DB::prepare('DROP TABLE `*PREFIX*sharing`');
// $query->execute();
}

View File

@ -1 +1 @@
0.3.1
0.3.2

View File

@ -1,8 +1,11 @@
body { background:#ddd; }
#header { position:fixed; top:0; left:0; right:0; z-index:100; height:2.5em; line-height:2.5em; padding:.5em; background:#1d2d44; -moz-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; -webkit-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; }
#details { color:#fff; }
#header #download { margin-left:2em; font-weight:bold; color:#fff; }
#header #download { margin-left:2em; font-weight:bold; }
#header #download img { padding-left: 0.1em; padding-right: 0.3em; vertical-align: text-bottom; }
#preview { min-height:30em; margin:50px auto; padding-top:2em; border-bottom:1px solid #f8f8f8; background:#eee; text-align:center; }
#noPreview { display:none; padding-top:5em; }
p.info { width:22em; text-align: center; margin:2em auto; color:#777; text-shadow:#fff 0 1px 0; }
p.info a { font-weight:bold; color:#777; }
p.info a { font-weight:bold; color:#777; }
#imgframe { width:80%; height: 75%; margin: 0 auto; padding-bottom:2em; }
#imgframe img { max-height:100%; max-width: 100%; }

View File

@ -1,6 +1,10 @@
// Override download path to files_sharing/public.php
function fileDownloadPath(dir, file) {
return $('#downloadURL').val();
var url = $('#downloadURL').val();
if (url.indexOf('&path=') != -1) {
url += '/'+file;
}
return url;
}
$(document).ready(function() {
@ -13,10 +17,21 @@ $(document).ready(function() {
var action = FileActions.getDefault(mimetype, 'file', OC.PERMISSION_READ);
if (typeof action === 'undefined') {
$('#noPreview').show();
if (mimetype != 'httpd/unix-directory') {
// NOTE: Remove when a better file previewer solution exists
$('#content').remove();
$('table').remove();
}
} else {
action($('#filename').val());
}
}
FileActions.register('dir', 'Open', OC.PERMISSION_READ, '', function(filename) {
var tr = $('tr').filterAttr('data-file', filename)
if (tr.length > 0) {
window.location = $(tr).find('a.name').attr('href');
}
});
}
});

View File

@ -1,6 +1,8 @@
<?php $TRANSLATIONS = array(
"Password" => "Heslo",
"Submit" => "Odeslat",
"%s shared the folder %s with you" => "%s s Vámi sdílí složku %s",
"%s shared the file %s with you" => "%s s Vámi sdílí soubor %s",
"Download" => "Stáhnout",
"No preview available for" => "Náhled není dostupný pro",
"web services under your control" => "služby webu pod Vaší kontrolou"

View File

@ -0,0 +1,9 @@
<?php $TRANSLATIONS = array(
"Password" => "Kodeord",
"Submit" => "Send",
"%s shared the folder %s with you" => "%s delte mappen %s med dig",
"%s shared the file %s with you" => "%s delte filen %s med dig",
"Download" => "Download",
"No preview available for" => "Forhåndsvisning ikke tilgængelig for",
"web services under your control" => "Webtjenester under din kontrol"
);

View File

@ -1,6 +1,8 @@
<?php $TRANSLATIONS = array(
"Password" => "Passwort",
"Submit" => "Absenden",
"%s shared the folder %s with you" => "%s hat mit Ihnen den Ordner %s geteilt",
"%s shared the file %s with you" => "%s hat mit Ihnen die Datei %s geteilt",
"Download" => "Download",
"No preview available for" => "Es ist keine Vorschau verfügbar für",
"web services under your control" => "Web-Services unter Ihrer Kontrolle"

Some files were not shown because too many files have changed in this diff Show More