merge master into webdav-injection

This commit is contained in:
Robin Appelman 2014-04-25 11:47:06 +02:00
commit 6c20a014ea
731 changed files with 45738 additions and 15352 deletions

View file

@ -8,7 +8,9 @@ filter:
- 'lib/l10n/*' - 'lib/l10n/*'
- 'core/js/tests/lib/*.js' - 'core/js/tests/lib/*.js'
- 'core/js/tests/specs/*.js' - 'core/js/tests/specs/*.js'
- 'core/js/jquery-1.10.0.js'
- 'core/js/jquery-1.10.0.min.js' - 'core/js/jquery-1.10.0.min.js'
- 'core/js/jquery-migrate-1.2.1.js'
- 'core/js/jquery-migrate-1.2.1.min.js' - 'core/js/jquery-migrate-1.2.1.min.js'
- 'core/js/jquery-showpassword.js' - 'core/js/jquery-showpassword.js'
- 'core/js/jquery-tipsy.js' - 'core/js/jquery-tipsy.js'

View file

@ -51,7 +51,7 @@
margin: 5px; margin: 5px;
padding-left: 42px; padding-left: 42px;
padding-bottom: 2px; padding-bottom: 2px;
background-position: initial; background-position: left center;
cursor: pointer; cursor: pointer;
} }
#new > ul > li > p { #new > ul > li > p {

View file

@ -235,7 +235,7 @@ OC.Upload = {
var file = data.files[0]; var file = data.files[0];
try { try {
// FIXME: not so elegant... need to refactor that method to return a value // FIXME: not so elegant... need to refactor that method to return a value
Files.isFileNameValid(file.name, FileList.getCurrentDirectory()); Files.isFileNameValid(file.name);
} }
catch (errorMessage) { catch (errorMessage) {
data.textStatus = 'invalidcharacters'; data.textStatus = 'invalidcharacters';
@ -555,8 +555,6 @@ OC.Upload = {
throw t('files', 'URL cannot be empty'); throw t('files', 'URL cannot be empty');
} else if (type !== 'web' && !Files.isFileNameValid(filename)) { } else if (type !== 'web' && !Files.isFileNameValid(filename)) {
// Files.isFileNameValid(filename) throws an exception itself // Files.isFileNameValid(filename) throws an exception itself
} else if (FileList.getCurrentDirectory() === '/' && filename.toLowerCase() === 'shared') {
throw t('files', 'In the home folder \'Shared\' is a reserved filename');
} else if (FileList.inList(filename)) { } else if (FileList.inList(filename)) {
throw t('files', '{new_name} already exists', {new_name: filename}); throw t('files', '{new_name} already exists', {new_name: filename});
} else { } else {

View file

@ -118,10 +118,6 @@ var FileActions = {
}; };
var addAction = function (name, action, displayName) { var addAction = function (name, action, displayName) {
// NOTE: Temporary fix to prevent rename action in root of Shared directory
if (name === 'Rename' && $('#dir').val() === '/Shared') {
return true;
}
if ((name === 'Download' || action !== defaultAction) && name !== 'Delete') { if ((name === 'Download' || action !== defaultAction) && name !== 'Delete') {
@ -160,7 +156,7 @@ var FileActions = {
addAction(name, ah, displayName); addAction(name, ah, displayName);
} }
}); });
if(actions.Share && !($('#dir').val() === '/' && file === 'Shared')){ if(actions.Share){
displayName = t('files', 'Share'); displayName = t('files', 'Share');
addAction('Share', actions.Share, displayName); addAction('Share', actions.Share, displayName);
} }
@ -223,7 +219,7 @@ $(document).ready(function () {
$('#fileList tr').each(function () { $('#fileList tr').each(function () {
FileActions.display($(this).children('td.filename')); FileActions.display($(this).children('td.filename'));
}); });
$('#fileList').trigger(jQuery.Event("fileActionsReady")); $('#fileList').trigger(jQuery.Event("fileActionsReady"));
}); });

View file

@ -178,6 +178,13 @@ window.FileList = {
if (type === 'dir') { if (type === 'dir') {
mime = mime || 'httpd/unix-directory'; mime = mime || 'httpd/unix-directory';
} }
// user should always be able to rename a share mount point
var allowRename = 0;
if (fileData.isShareMountPoint) {
allowRename = OC.PERMISSION_UPDATE;
}
//containing tr //containing tr
var tr = $('<tr></tr>').attr({ var tr = $('<tr></tr>').attr({
"data-id" : fileData.id, "data-id" : fileData.id,
@ -187,7 +194,7 @@ window.FileList = {
"data-mime": mime, "data-mime": mime,
"data-mtime": mtime, "data-mtime": mtime,
"data-etag": fileData.etag, "data-etag": fileData.etag,
"data-permissions": fileData.permissions || this.getDirectoryPermissions() "data-permissions": fileData.permissions | allowRename || this.getDirectoryPermissions()
}); });
if (type === 'dir') { if (type === 'dir') {
@ -283,6 +290,10 @@ window.FileList = {
mime = fileData.mimetype, mime = fileData.mimetype,
permissions = parseInt(fileData.permissions, 10) || 0; permissions = parseInt(fileData.permissions, 10) || 0;
if (fileData.isShareMountPoint) {
permissions = permissions | OC.PERMISSION_UPDATE;
}
if (type === 'dir') { if (type === 'dir') {
mime = mime || 'httpd/unix-directory'; mime = mime || 'httpd/unix-directory';
} }
@ -572,7 +583,8 @@ window.FileList = {
input.focus(); input.focus();
//preselect input //preselect input
var len = input.val().lastIndexOf('.'); var len = input.val().lastIndexOf('.');
if (len === -1) { if ( len === -1 ||
tr.data('type') === 'dir' ) {
len = input.val().length; len = input.val().length;
} }
input.selectRange(0, len); input.selectRange(0, len);
@ -580,7 +592,7 @@ window.FileList = {
var filename = input.val(); var filename = input.val();
if (filename !== oldname) { if (filename !== oldname) {
// Files.isFileNameValid(filename) throws an exception itself // Files.isFileNameValid(filename) throws an exception itself
Files.isFileNameValid(filename, FileList.getCurrentDirectory()); Files.isFileNameValid(filename);
if (FileList.inList(filename)) { if (FileList.inList(filename)) {
throw t('files', '{new_name} already exists', {new_name: filename}); throw t('files', '{new_name} already exists', {new_name: filename});
} }

View file

@ -87,11 +87,9 @@ var Files = {
* Throws a string exception with an error message if * Throws a string exception with an error message if
* the file name is not valid * the file name is not valid
*/ */
isFileNameValid: function (name, root) { isFileNameValid: function (name) {
var trimmedName = name.trim(); var trimmedName = name.trim();
if (trimmedName === '.' if (trimmedName === '.' || trimmedName === '..')
|| trimmedName === '..'
|| (root === '/' && trimmedName.toLowerCase() === 'shared'))
{ {
throw t('files', '"{name}" is an invalid file name.', {name: name}); throw t('files', '"{name}" is an invalid file name.', {name: name});
} else if (trimmedName.length === 0) { } else if (trimmedName.length === 0) {

View file

@ -44,7 +44,6 @@ $TRANSLATIONS = array(
"Size" => "حجم", "Size" => "حجم",
"Modified" => "معدل", "Modified" => "معدل",
"%s could not be renamed" => "%s لا يمكن إعادة تسميته. ", "%s could not be renamed" => "%s لا يمكن إعادة تسميته. ",
"Upload" => "رفع",
"File handling" => "التعامل مع الملف", "File handling" => "التعامل مع الملف",
"Maximum upload size" => "الحد الأقصى لحجم الملفات التي يمكن رفعها", "Maximum upload size" => "الحد الأقصى لحجم الملفات التي يمكن رفعها",
"max. possible: " => "الحد الأقصى المسموح به", "max. possible: " => "الحد الأقصى المسموح به",

View file

@ -19,7 +19,6 @@ $TRANSLATIONS = array(
"_Uploading %n file_::_Uploading %n files_" => array("",""), "_Uploading %n file_::_Uploading %n files_" => array("",""),
"Name" => "Nome", "Name" => "Nome",
"Size" => "Tamañu", "Size" => "Tamañu",
"Upload" => "Xubir",
"Save" => "Guardar", "Save" => "Guardar",
"New folder" => "Nueva carpeta", "New folder" => "Nueva carpeta",
"Folder" => "Carpeta", "Folder" => "Carpeta",

View file

@ -20,7 +20,6 @@ $TRANSLATIONS = array(
"Name" => "Име", "Name" => "Име",
"Size" => "Размер", "Size" => "Размер",
"Modified" => "Променено", "Modified" => "Променено",
"Upload" => "Качване",
"Maximum upload size" => "Максимален размер за качване", "Maximum upload size" => "Максимален размер за качване",
"0 is unlimited" => "Ползвайте 0 за без ограничения", "0 is unlimited" => "Ползвайте 0 за без ограничения",
"Save" => "Запис", "Save" => "Запис",

View file

@ -27,7 +27,6 @@ $TRANSLATIONS = array(
"Name" => "রাম", "Name" => "রাম",
"Size" => "আকার", "Size" => "আকার",
"Modified" => "পরিবর্তিত", "Modified" => "পরিবর্তিত",
"Upload" => "আপলোড",
"File handling" => "ফাইল হ্যার্ডলিং", "File handling" => "ফাইল হ্যার্ডলিং",
"Maximum upload size" => "আপলোডের সর্বোচ্চ আকার", "Maximum upload size" => "আপলোডের সর্বোচ্চ আকার",
"max. possible: " => "অনুমোদিত সর্বোচ্চ আকার", "max. possible: " => "অনুমোদিত সর্বোচ্চ আকার",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "No hi ha resposta del servidor.", "Could not get result from server." => "No hi ha resposta del servidor.",
"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à.", "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à.",
"URL cannot be empty" => "L'URL no pot ser buit", "URL cannot be empty" => "L'URL no pot ser buit",
"In the home folder 'Shared' is a reserved filename" => "A la carpeta inici 'Compartit' és un nom de fitxer reservat",
"{new_name} already exists" => "{new_name} ja existeix", "{new_name} already exists" => "{new_name} ja existeix",
"Could not create file" => "No s'ha pogut crear el fitxer", "Could not create file" => "No s'ha pogut crear el fitxer",
"Could not create folder" => "No s'ha pogut crear la carpeta", "Could not create folder" => "No s'ha pogut crear la carpeta",
@ -62,9 +61,7 @@ $TRANSLATIONS = array(
"Name" => "Nom", "Name" => "Nom",
"Size" => "Mida", "Size" => "Mida",
"Modified" => "Modificat", "Modified" => "Modificat",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nom de carpeta no vàlid. L'ús de 'Shared' és reservat",
"%s could not be renamed" => "%s no es pot canviar el nom", "%s could not be renamed" => "%s no es pot canviar el nom",
"Upload" => "Puja",
"File handling" => "Gestió de fitxers", "File handling" => "Gestió de fitxers",
"Maximum upload size" => "Mida màxima de pujada", "Maximum upload size" => "Mida màxima de pujada",
"max. possible: " => "màxim possible:", "max. possible: " => "màxim possible:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Nepodařilo se získat výsledek ze serveru.", "Could not get result from server." => "Nepodařilo se získat výsledek ze serveru.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Probíhá odesílání souboru. Opuštění stránky způsobí zrušení nahrávání.", "File upload is in progress. Leaving the page now will cancel the upload." => "Probíhá odesílání souboru. Opuštění stránky způsobí zrušení nahrávání.",
"URL cannot be empty" => "URL nemůže zůstat prázdná", "URL cannot be empty" => "URL nemůže zůstat prázdná",
"In the home folder 'Shared' is a reserved filename" => "V osobní složce je název 'Shared' rezervovaný",
"{new_name} already exists" => "{new_name} již existuje", "{new_name} already exists" => "{new_name} již existuje",
"Could not create file" => "Nepodařilo se vytvořit soubor", "Could not create file" => "Nepodařilo se vytvořit soubor",
"Could not create folder" => "Nepodařilo se vytvořit složku", "Could not create folder" => "Nepodařilo se vytvořit složku",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Název", "Name" => "Název",
"Size" => "Velikost", "Size" => "Velikost",
"Modified" => "Upraveno", "Modified" => "Upraveno",
"Invalid folder name. Usage of 'Shared' is reserved." => "Neplatný název složky. Použití 'Shared' je rezervováno.",
"%s could not be renamed" => "%s nemůže být přejmenován", "%s could not be renamed" => "%s nemůže být přejmenován",
"Upload" => "Odeslat", "Upload (max. %s)" => "Nahrát (max. %s)",
"File handling" => "Zacházení se soubory", "File handling" => "Zacházení se soubory",
"Maximum upload size" => "Maximální velikost pro odesílání", "Maximum upload size" => "Maximální velikost pro odesílání",
"max. possible: " => "největší možná: ", "max. possible: " => "největší možná: ",

View file

@ -32,7 +32,6 @@ $TRANSLATIONS = array(
"Name" => "Enw", "Name" => "Enw",
"Size" => "Maint", "Size" => "Maint",
"Modified" => "Addaswyd", "Modified" => "Addaswyd",
"Upload" => "Llwytho i fyny",
"File handling" => "Trafod ffeiliau", "File handling" => "Trafod ffeiliau",
"Maximum upload size" => "Maint mwyaf llwytho i fyny", "Maximum upload size" => "Maint mwyaf llwytho i fyny",
"max. possible: " => "mwyaf. posib:", "max. possible: " => "mwyaf. posib:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Kunne ikke hente resultat fra server.", "Could not get result from server." => "Kunne ikke hente resultat fra server.",
"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.", "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.",
"URL cannot be empty" => "URL kan ikke være tom", "URL cannot be empty" => "URL kan ikke være tom",
"In the home folder 'Shared' is a reserved filename" => "Navnet 'Shared' er reserveret i hjemmemappen.",
"{new_name} already exists" => "{new_name} eksisterer allerede", "{new_name} already exists" => "{new_name} eksisterer allerede",
"Could not create file" => "Kunne ikke oprette fil", "Could not create file" => "Kunne ikke oprette fil",
"Could not create folder" => "Kunne ikke oprette mappe", "Could not create folder" => "Kunne ikke oprette mappe",
@ -62,9 +61,7 @@ $TRANSLATIONS = array(
"Name" => "Navn", "Name" => "Navn",
"Size" => "Størrelse", "Size" => "Størrelse",
"Modified" => "Ændret", "Modified" => "Ændret",
"Invalid folder name. Usage of 'Shared' is reserved." => "Ugyldig mappenavn. 'Shared' er reserveret.",
"%s could not be renamed" => "%s kunne ikke omdøbes", "%s could not be renamed" => "%s kunne ikke omdøbes",
"Upload" => "Upload",
"File handling" => "Filhåndtering", "File handling" => "Filhåndtering",
"Maximum upload size" => "Maksimal upload-størrelse", "Maximum upload size" => "Maksimal upload-størrelse",
"max. possible: " => "max. mulige: ", "max. possible: " => "max. mulige: ",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Ergebnis konnte nicht vom Server abgerufen werden.", "Could not get result from server." => "Ergebnis konnte nicht vom Server abgerufen werden.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Dateiupload läuft. Wenn Du die Seite jetzt verlässt, wird der Upload abgebrochen.", "File upload is in progress. Leaving the page now will cancel the upload." => "Dateiupload läuft. Wenn Du die Seite jetzt verlässt, wird der Upload abgebrochen.",
"URL cannot be empty" => "Die URL darf nicht leer sein", "URL cannot be empty" => "Die URL darf nicht leer sein",
"In the home folder 'Shared' is a reserved filename" => "Das Benutzerverzeichnis 'Shared' ist ein reservierter Dateiname",
"{new_name} already exists" => "{new_name} existiert bereits", "{new_name} already exists" => "{new_name} existiert bereits",
"Could not create file" => "Die Datei konnte nicht erstellt werden", "Could not create file" => "Die Datei konnte nicht erstellt werden",
"Could not create folder" => "Der Ordner konnte nicht erstellt werden", "Could not create folder" => "Der Ordner konnte nicht erstellt werden",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Name", "Name" => "Name",
"Size" => "Größe", "Size" => "Größe",
"Modified" => "Geändert", "Modified" => "Geändert",
"Invalid folder name. Usage of 'Shared' is reserved." => "Ungültiger Verzeichnisname. Die Nutzung von 'Shared' ist reserviert.",
"%s could not be renamed" => "%s konnte nicht umbenannt werden", "%s could not be renamed" => "%s konnte nicht umbenannt werden",
"Upload" => "Hochladen", "Upload (max. %s)" => "Hochladen (max. %s)",
"File handling" => "Dateibehandlung", "File handling" => "Dateibehandlung",
"Maximum upload size" => "Maximale Upload-Größe", "Maximum upload size" => "Maximale Upload-Größe",
"max. possible: " => "maximal möglich:", "max. possible: " => "maximal möglich:",

View file

@ -36,7 +36,6 @@ $TRANSLATIONS = array(
"Size" => "Grösse", "Size" => "Grösse",
"Modified" => "Geändert", "Modified" => "Geändert",
"%s could not be renamed" => "%s konnte nicht umbenannt werden", "%s could not be renamed" => "%s konnte nicht umbenannt werden",
"Upload" => "Hochladen",
"File handling" => "Dateibehandlung", "File handling" => "Dateibehandlung",
"Maximum upload size" => "Maximale Upload-Grösse", "Maximum upload size" => "Maximale Upload-Grösse",
"max. possible: " => "maximal möglich:", "max. possible: " => "maximal möglich:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Ergebnis konnte nicht vom Server abgerufen werden.", "Could not get result from server." => "Ergebnis konnte nicht vom Server abgerufen werden.",
"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.", "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.",
"URL cannot be empty" => "Die URL darf nicht leer sein", "URL cannot be empty" => "Die URL darf nicht leer sein",
"In the home folder 'Shared' is a reserved filename" => "Das Benutzerverzeichnis 'Shared' ist ein reservierter Dateiname",
"{new_name} already exists" => "{new_name} existiert bereits", "{new_name} already exists" => "{new_name} existiert bereits",
"Could not create file" => "Die Datei konnte nicht erstellt werden", "Could not create file" => "Die Datei konnte nicht erstellt werden",
"Could not create folder" => "Der Ordner konnte nicht erstellt werden", "Could not create folder" => "Der Ordner konnte nicht erstellt werden",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Name", "Name" => "Name",
"Size" => "Größe", "Size" => "Größe",
"Modified" => "Geändert", "Modified" => "Geändert",
"Invalid folder name. Usage of 'Shared' is reserved." => "Ungültiger Verzeichnisname. Die Nutzung von 'Shared' ist reserviert.",
"%s could not be renamed" => "%s konnte nicht umbenannt werden", "%s could not be renamed" => "%s konnte nicht umbenannt werden",
"Upload" => "Hochladen", "Upload (max. %s)" => "Hochladen (max. %s)",
"File handling" => "Dateibehandlung", "File handling" => "Dateibehandlung",
"Maximum upload size" => "Maximale Upload-Größe", "Maximum upload size" => "Maximale Upload-Größe",
"max. possible: " => "maximal möglich:", "max. possible: " => "maximal möglich:",
@ -76,7 +74,7 @@ $TRANSLATIONS = array(
"New" => "Neu", "New" => "Neu",
"New text file" => "Neue Textdatei", "New text file" => "Neue Textdatei",
"Text file" => "Textdatei", "Text file" => "Textdatei",
"New folder" => "Neues Ordner", "New folder" => "Neuer Ordner",
"Folder" => "Ordner", "Folder" => "Ordner",
"From link" => "Von einem Link", "From link" => "Von einem Link",
"Deleted files" => "Gelöschte Dateien", "Deleted files" => "Gelöschte Dateien",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Αδυναμία λήψης αποτελέσματος από το διακομιστή.", "Could not get result from server." => "Αδυναμία λήψης αποτελέσματος από το διακομιστή.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Η αποστολή του αρχείου βρίσκεται σε εξέλιξη. Το κλείσιμο της σελίδας θα ακυρώσει την αποστολή.", "File upload is in progress. Leaving the page now will cancel the upload." => "Η αποστολή του αρχείου βρίσκεται σε εξέλιξη. Το κλείσιμο της σελίδας θα ακυρώσει την αποστολή.",
"URL cannot be empty" => "Η URL δεν πρέπει να είναι κενή", "URL cannot be empty" => "Η URL δεν πρέπει να είναι κενή",
"In the home folder 'Shared' is a reserved filename" => "Στον αρχικό φάκελο το όνομα 'Shared' διατηρείται από το σύστημα",
"{new_name} already exists" => "{new_name} υπάρχει ήδη", "{new_name} already exists" => "{new_name} υπάρχει ήδη",
"Could not create file" => "Αδυναμία δημιουργίας αρχείου", "Could not create file" => "Αδυναμία δημιουργίας αρχείου",
"Could not create folder" => "Αδυναμία δημιουργίας φακέλου", "Could not create folder" => "Αδυναμία δημιουργίας φακέλου",
@ -62,9 +61,7 @@ $TRANSLATIONS = array(
"Name" => "Όνομα", "Name" => "Όνομα",
"Size" => "Μέγεθος", "Size" => "Μέγεθος",
"Modified" => "Τροποποιήθηκε", "Modified" => "Τροποποιήθηκε",
"Invalid folder name. Usage of 'Shared' is reserved." => "Άκυρο όνομα φακέλου. Η χρήση του 'Shared' διατηρείται από το σύστημα.",
"%s could not be renamed" => "Αδυναμία μετονομασίας του %s", "%s could not be renamed" => "Αδυναμία μετονομασίας του %s",
"Upload" => "Μεταφόρτωση",
"File handling" => "Διαχείριση αρχείων", "File handling" => "Διαχείριση αρχείων",
"Maximum upload size" => "Μέγιστο μέγεθος αποστολής", "Maximum upload size" => "Μέγιστο μέγεθος αποστολής",
"max. possible: " => "μέγιστο δυνατό:", "max. possible: " => "μέγιστο δυνατό:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Could not get result from server.", "Could not get result from server." => "Could not get result from server.",
"File upload is in progress. Leaving the page now will cancel the upload." => "File upload is in progress. Leaving the page now will cancel the upload.", "File upload is in progress. Leaving the page now will cancel the upload." => "File upload is in progress. Leaving the page now will cancel the upload.",
"URL cannot be empty" => "URL cannot be empty", "URL cannot be empty" => "URL cannot be empty",
"In the home folder 'Shared' is a reserved filename" => "In the home folder 'Shared' is a reserved file name",
"{new_name} already exists" => "{new_name} already exists", "{new_name} already exists" => "{new_name} already exists",
"Could not create file" => "Could not create file", "Could not create file" => "Could not create file",
"Could not create folder" => "Could not create folder", "Could not create folder" => "Could not create folder",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Name", "Name" => "Name",
"Size" => "Size", "Size" => "Size",
"Modified" => "Modified", "Modified" => "Modified",
"Invalid folder name. Usage of 'Shared' is reserved." => "Invalid folder name. Usage of 'Shared' is reserved.",
"%s could not be renamed" => "%s could not be renamed", "%s could not be renamed" => "%s could not be renamed",
"Upload" => "Upload", "Upload (max. %s)" => "Upload (max. %s)",
"File handling" => "File handling", "File handling" => "File handling",
"Maximum upload size" => "Maximum upload size", "Maximum upload size" => "Maximum upload size",
"max. possible: " => "max. possible: ", "max. possible: " => "max. possible: ",
@ -88,6 +86,6 @@ $TRANSLATIONS = array(
"Upload too large" => "Upload too large", "Upload too large" => "Upload too large",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "The files you are trying to upload exceed the maximum size for file uploads on this server.", "The files you are trying to upload exceed the maximum size for file uploads on this server." => "The files you are trying to upload exceed the maximum size for file uploads on this server.",
"Files are being scanned, please wait." => "Files are being scanned, please wait.", "Files are being scanned, please wait." => "Files are being scanned, please wait.",
"Current scanning" => "Current scanning" "Current scanning" => "Currently scanning"
); );
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);"; $PLURAL_FORMS = "nplurals=2; plural=(n != 1);";

View file

@ -50,7 +50,6 @@ $TRANSLATIONS = array(
"Size" => "Grando", "Size" => "Grando",
"Modified" => "Modifita", "Modified" => "Modifita",
"%s could not be renamed" => "%s ne povis alinomiĝi", "%s could not be renamed" => "%s ne povis alinomiĝi",
"Upload" => "Alŝuti",
"File handling" => "Dosieradministro", "File handling" => "Dosieradministro",
"Maximum upload size" => "Maksimuma alŝutogrando", "Maximum upload size" => "Maksimuma alŝutogrando",
"max. possible: " => "maks. ebla: ", "max. possible: " => "maks. ebla: ",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "No se pudo obtener respuesta del servidor.", "Could not get result from server." => "No se pudo obtener respuesta del servidor.",
"File upload is in progress. Leaving the page now will cancel the upload." => "La subida del archivo está en proceso. Si sale de la página ahora, la subida será cancelada.", "File upload is in progress. Leaving the page now will cancel the upload." => "La subida del archivo está en proceso. Si sale de la página ahora, la subida será cancelada.",
"URL cannot be empty" => "La dirección URL no puede estar vacía", "URL cannot be empty" => "La dirección URL no puede estar vacía",
"In the home folder 'Shared' is a reserved filename" => "En la carpeta home, no se puede usar 'Shared'",
"{new_name} already exists" => "{new_name} ya existe", "{new_name} already exists" => "{new_name} ya existe",
"Could not create file" => "No se pudo crear el archivo", "Could not create file" => "No se pudo crear el archivo",
"Could not create folder" => "No se pudo crear la carpeta", "Could not create folder" => "No se pudo crear la carpeta",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Nombre", "Name" => "Nombre",
"Size" => "Tamaño", "Size" => "Tamaño",
"Modified" => "Modificado", "Modified" => "Modificado",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nombre de carpeta inválido. El uso de \"Shared\" esta reservado.",
"%s could not be renamed" => "%s no pudo ser renombrado", "%s could not be renamed" => "%s no pudo ser renombrado",
"Upload" => "Subir", "Upload (max. %s)" => "Subida (máx. %s)",
"File handling" => "Administración de archivos", "File handling" => "Administración de archivos",
"Maximum upload size" => "Tamaño máximo de subida", "Maximum upload size" => "Tamaño máximo de subida",
"max. possible: " => "máx. posible:", "max. possible: " => "máx. posible:",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "No se pudo obtener resultados del servidor.", "Could not get result from server." => "No se pudo obtener resultados del servidor.",
"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á.", "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á.",
"URL cannot be empty" => "La URL no puede estar vacía", "URL cannot be empty" => "La URL no puede estar vacía",
"In the home folder 'Shared' is a reserved filename" => "En el directorio inicial 'Shared' es un nombre de archivo reservado",
"{new_name} already exists" => "{new_name} ya existe", "{new_name} already exists" => "{new_name} ya existe",
"Could not create file" => "No se pudo crear el archivo", "Could not create file" => "No se pudo crear el archivo",
"Could not create folder" => "No se pudo crear el directorio", "Could not create folder" => "No se pudo crear el directorio",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "Nombre", "Name" => "Nombre",
"Size" => "Tamaño", "Size" => "Tamaño",
"Modified" => "Modificado", "Modified" => "Modificado",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nombre de directorio inválido. 'Shared' está reservado.",
"%s could not be renamed" => "No se pudo renombrar %s", "%s could not be renamed" => "No se pudo renombrar %s",
"Upload" => "Subir",
"File handling" => "Tratamiento de archivos", "File handling" => "Tratamiento de archivos",
"Maximum upload size" => "Tamaño máximo de subida", "Maximum upload size" => "Tamaño máximo de subida",
"max. possible: " => "máx. posible:", "max. possible: " => "máx. posible:",

View file

@ -2,11 +2,12 @@
$TRANSLATIONS = array( $TRANSLATIONS = array(
"Files" => "Archivos", "Files" => "Archivos",
"Share" => "Compartir", "Share" => "Compartir",
"Rename" => "Renombrar",
"Error" => "Error", "Error" => "Error",
"_%n folder_::_%n folders_" => array("",""), "_%n folder_::_%n folders_" => array("",""),
"_%n file_::_%n files_" => array("",""), "_%n file_::_%n files_" => array("",""),
"_Uploading %n file_::_Uploading %n files_" => array("",""), "_Uploading %n file_::_Uploading %n files_" => array("",""),
"Upload" => "Subir", "New folder" => "Nuevo directorio",
"Download" => "Descargar" "Download" => "Descargar"
); );
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);"; $PLURAL_FORMS = "nplurals=2; plural=(n != 1);";

View file

@ -0,0 +1,7 @@
<?php
$TRANSLATIONS = array(
"_%n folder_::_%n folders_" => array("",""),
"_%n file_::_%n files_" => array("",""),
"_Uploading %n file_::_Uploading %n files_" => array("","")
);
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "No se pudo obtener respuesta del servidor.", "Could not get result from server." => "No se pudo obtener respuesta del servidor.",
"File upload is in progress. Leaving the page now will cancel the upload." => "La subida del archivo está en proceso. Si sale de la página ahora, la subida será cancelada.", "File upload is in progress. Leaving the page now will cancel the upload." => "La subida del archivo está en proceso. Si sale de la página ahora, la subida será cancelada.",
"URL cannot be empty" => "La dirección URL no puede estar vacía", "URL cannot be empty" => "La dirección URL no puede estar vacía",
"In the home folder 'Shared' is a reserved filename" => "En la carpeta de inicio, 'Shared' es un nombre reservado",
"{new_name} already exists" => "{new_name} ya existe", "{new_name} already exists" => "{new_name} ya existe",
"Could not create file" => "No se pudo crear el archivo", "Could not create file" => "No se pudo crear el archivo",
"Could not create folder" => "No se pudo crear la carpeta", "Could not create folder" => "No se pudo crear la carpeta",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "Nombre", "Name" => "Nombre",
"Size" => "Tamaño", "Size" => "Tamaño",
"Modified" => "Modificado", "Modified" => "Modificado",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nombre de carpeta inválido. El uso de \"Shared\" esta reservado.",
"%s could not be renamed" => "%s no pudo ser renombrado", "%s could not be renamed" => "%s no pudo ser renombrado",
"Upload" => "Subir",
"File handling" => "Administración de archivos", "File handling" => "Administración de archivos",
"Maximum upload size" => "Tamaño máximo de subida", "Maximum upload size" => "Tamaño máximo de subida",
"max. possible: " => "máx. posible:", "max. possible: " => "máx. posible:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Serverist ei saadud tulemusi", "Could not get result from server." => "Serverist ei saadud tulemusi",
"File upload is in progress. Leaving the page now will cancel the upload." => "Faili üleslaadimine on töös. Lehelt lahkumine katkestab selle üleslaadimise.", "File upload is in progress. Leaving the page now will cancel the upload." => "Faili üleslaadimine on töös. Lehelt lahkumine katkestab selle üleslaadimise.",
"URL cannot be empty" => "URL ei saa olla tühi", "URL cannot be empty" => "URL ei saa olla tühi",
"In the home folder 'Shared' is a reserved filename" => "Kodukataloogis 'Shared' on reserveeritud failinimi",
"{new_name} already exists" => "{new_name} on juba olemas", "{new_name} already exists" => "{new_name} on juba olemas",
"Could not create file" => "Ei suuda luua faili", "Could not create file" => "Ei suuda luua faili",
"Could not create folder" => "Ei suuda luua kataloogi", "Could not create folder" => "Ei suuda luua kataloogi",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Nimi", "Name" => "Nimi",
"Size" => "Suurus", "Size" => "Suurus",
"Modified" => "Muudetud", "Modified" => "Muudetud",
"Invalid folder name. Usage of 'Shared' is reserved." => "Vigane kausta nimi. Nime 'Shared' kasutamine on reserveeritud.",
"%s could not be renamed" => "%s ümbernimetamine ebaõnnestus", "%s could not be renamed" => "%s ümbernimetamine ebaõnnestus",
"Upload" => "Lae üles", "Upload (max. %s)" => "Üleslaadimine (max. %s)",
"File handling" => "Failide käsitlemine", "File handling" => "Failide käsitlemine",
"Maximum upload size" => "Maksimaalne üleslaadimise suurus", "Maximum upload size" => "Maksimaalne üleslaadimise suurus",
"max. possible: " => "maks. võimalik: ", "max. possible: " => "maks. võimalik: ",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Ezin da zerbitzaritik emaitzik lortu", "Could not get result from server." => "Ezin da zerbitzaritik emaitzik lortu",
"File upload is in progress. Leaving the page now will cancel the upload." => "Fitxategien igoera martxan da. Orria orain uzteak igoera ezeztatutko du.", "File upload is in progress. Leaving the page now will cancel the upload." => "Fitxategien igoera martxan da. Orria orain uzteak igoera ezeztatutko du.",
"URL cannot be empty" => "URLa ezin da hutsik egon", "URL cannot be empty" => "URLa ezin da hutsik egon",
"In the home folder 'Shared' is a reserved filename" => "Etxeko (home) karpetan 'Shared' erreserbatutako fitxategi izena da",
"{new_name} already exists" => "{new_name} dagoeneko existitzen da", "{new_name} already exists" => "{new_name} dagoeneko existitzen da",
"Could not create file" => "Ezin izan da fitxategia sortu", "Could not create file" => "Ezin izan da fitxategia sortu",
"Could not create folder" => "Ezin izan da karpeta sortu", "Could not create folder" => "Ezin izan da karpeta sortu",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "Izena", "Name" => "Izena",
"Size" => "Tamaina", "Size" => "Tamaina",
"Modified" => "Aldatuta", "Modified" => "Aldatuta",
"Invalid folder name. Usage of 'Shared' is reserved." => "Baliogabeako karpeta izena. 'Shared' izena erreserbatuta dago.",
"%s could not be renamed" => "%s ezin da berrizendatu", "%s could not be renamed" => "%s ezin da berrizendatu",
"Upload" => "Igo",
"File handling" => "Fitxategien kudeaketa", "File handling" => "Fitxategien kudeaketa",
"Maximum upload size" => "Igo daitekeen gehienezko tamaina", "Maximum upload size" => "Igo daitekeen gehienezko tamaina",
"max. possible: " => "max, posiblea:", "max. possible: " => "max, posiblea:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Size" => "اندازه", "Size" => "اندازه",
"Modified" => "تاریخ", "Modified" => "تاریخ",
"%s could not be renamed" => "%s نمیتواند تغییر نام دهد.", "%s could not be renamed" => "%s نمیتواند تغییر نام دهد.",
"Upload" => "بارگزاری",
"File handling" => "اداره پرونده ها", "File handling" => "اداره پرونده ها",
"Maximum upload size" => "حداکثر اندازه بارگزاری", "Maximum upload size" => "حداکثر اندازه بارگزاری",
"max. possible: " => "حداکثرمقدارممکن:", "max. possible: " => "حداکثرمقدارممکن:",

View file

@ -53,14 +53,15 @@ $TRANSLATIONS = array(
"\"{name}\" is an invalid file name." => "\"{name}\" on virheellinen tiedostonimi.", "\"{name}\" is an invalid file name." => "\"{name}\" on virheellinen tiedostonimi.",
"Your storage is full, files can not be updated or synced anymore!" => "Tallennustila on loppu, tiedostoja ei voi enää päivittää tai synkronoida!", "Your storage is full, files can not be updated or synced anymore!" => "Tallennustila on loppu, tiedostoja ei voi enää päivittää tai synkronoida!",
"Your storage is almost full ({usedSpacePercent}%)" => "Tallennustila on melkein loppu ({usedSpacePercent}%)", "Your storage is almost full ({usedSpacePercent}%)" => "Tallennustila on melkein loppu ({usedSpacePercent}%)",
"Encryption App is enabled but your keys are not initialized, please log-out and log-in again" => "Salaussovellus on käytössä, mutta salausavaimia ei ole alustettu. Ole hyvä ja kirjaudu sisään uudelleen.",
"Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files." => "Salaussovelluksen salausavain on virheellinen. Ole hyvä ja päivitä salausavain henkilökohtaisissa asetuksissasi jotta voit taas avata salatuskirjoitetut tiedostosi.",
"Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "Salaus poistettiin käytöstä, mutta tiedostosi ovat edelleen salattuina. Siirry henkilökohtaisiin asetuksiin avataksesi tiedostojesi salauksen.", "Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "Salaus poistettiin käytöstä, mutta tiedostosi ovat edelleen salattuina. Siirry henkilökohtaisiin asetuksiin avataksesi tiedostojesi salauksen.",
"Your download is being prepared. This might take some time if the files are big." => "Lataustasi valmistellaan. Tämä saattaa kestää hetken, jos tiedostot ovat suuria kooltaan.", "Your download is being prepared. This might take some time if the files are big." => "Lataustasi valmistellaan. Tämä saattaa kestää hetken, jos tiedostot ovat suuria kooltaan.",
"Name" => "Nimi", "Name" => "Nimi",
"Size" => "Koko", "Size" => "Koko",
"Modified" => "Muokattu", "Modified" => "Muokattu",
"Invalid folder name. Usage of 'Shared' is reserved." => "Virheellinen kansion nimi. 'Shared':n käyttö on varattu.",
"%s could not be renamed" => "kohteen %s nimeäminen uudelleen epäonnistui", "%s could not be renamed" => "kohteen %s nimeäminen uudelleen epäonnistui",
"Upload" => "Lähetä", "Upload (max. %s)" => "Lähetys (enintään %s)",
"File handling" => "Tiedostonhallinta", "File handling" => "Tiedostonhallinta",
"Maximum upload size" => "Lähetettävän tiedoston suurin sallittu koko", "Maximum upload size" => "Lähetettävän tiedoston suurin sallittu koko",
"max. possible: " => "suurin mahdollinen:", "max. possible: " => "suurin mahdollinen:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Ne peut recevoir les résultats du serveur.", "Could not get result from server." => "Ne peut recevoir les résultats du serveur.",
"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.", "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.",
"URL cannot be empty" => "L'URL ne peut pas être vide", "URL cannot be empty" => "L'URL ne peut pas être vide",
"In the home folder 'Shared' is a reserved filename" => "Dans le dossier home, 'Partagé' est un nom de fichier réservé",
"{new_name} already exists" => "{new_name} existe déjà", "{new_name} already exists" => "{new_name} existe déjà",
"Could not create file" => "Impossible de créer le fichier", "Could not create file" => "Impossible de créer le fichier",
"Could not create folder" => "Impossible de créer le dossier", "Could not create folder" => "Impossible de créer le dossier",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Nom", "Name" => "Nom",
"Size" => "Taille", "Size" => "Taille",
"Modified" => "Modifié", "Modified" => "Modifié",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nom de dossier invalide. L'utilisation du mot 'Shared' est réservée.",
"%s could not be renamed" => "%s ne peut être renommé", "%s could not be renamed" => "%s ne peut être renommé",
"Upload" => "Envoyer", "Upload (max. %s)" => "Envoi (max. %s)",
"File handling" => "Gestion des fichiers", "File handling" => "Gestion des fichiers",
"Maximum upload size" => "Taille max. d'envoi", "Maximum upload size" => "Taille max. d'envoi",
"max. possible: " => "Max. possible :", "max. possible: " => "Max. possible :",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Non foi posíbel obter o resultado do servidor.", "Could not get result from server." => "Non foi posíbel obter o resultado do servidor.",
"File upload is in progress. Leaving the page now will cancel the upload." => "O envío do ficheiro está en proceso. Saír agora da páxina cancelará o envío.", "File upload is in progress. Leaving the page now will cancel the upload." => "O envío do ficheiro está en proceso. Saír agora da páxina cancelará o envío.",
"URL cannot be empty" => "O URL non pode quedar en branco.", "URL cannot be empty" => "O URL non pode quedar en branco.",
"In the home folder 'Shared' is a reserved filename" => "«Shared» dentro do cartafol persoal é un nome reservado",
"{new_name} already exists" => "Xa existe un {new_name}", "{new_name} already exists" => "Xa existe un {new_name}",
"Could not create file" => "Non foi posíbel crear o ficheiro", "Could not create file" => "Non foi posíbel crear o ficheiro",
"Could not create folder" => "Non foi posíbel crear o cartafol", "Could not create folder" => "Non foi posíbel crear o cartafol",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Nome", "Name" => "Nome",
"Size" => "Tamaño", "Size" => "Tamaño",
"Modified" => "Modificado", "Modified" => "Modificado",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nome de cartafol non válido. O uso de «Shared» está reservado.",
"%s could not be renamed" => "%s non pode cambiar de nome", "%s could not be renamed" => "%s non pode cambiar de nome",
"Upload" => "Enviar", "Upload (max. %s)" => "Envío (máx. %s)",
"File handling" => "Manexo de ficheiro", "File handling" => "Manexo de ficheiro",
"Maximum upload size" => "Tamaño máximo do envío", "Maximum upload size" => "Tamaño máximo do envío",
"max. possible: " => "máx. posíbel: ", "max. possible: " => "máx. posíbel: ",

View file

@ -32,7 +32,6 @@ $TRANSLATIONS = array(
"Name" => "שם", "Name" => "שם",
"Size" => "גודל", "Size" => "גודל",
"Modified" => "זמן שינוי", "Modified" => "זמן שינוי",
"Upload" => "העלאה",
"File handling" => "טיפול בקבצים", "File handling" => "טיפול בקבצים",
"Maximum upload size" => "גודל העלאה מקסימלי", "Maximum upload size" => "גודל העלאה מקסימלי",
"max. possible: " => "המרבי האפשרי: ", "max. possible: " => "המרבי האפשרי: ",

View file

@ -5,7 +5,6 @@ $TRANSLATIONS = array(
"_%n folder_::_%n folders_" => array("",""), "_%n folder_::_%n folders_" => array("",""),
"_%n file_::_%n files_" => array("",""), "_%n file_::_%n files_" => array("",""),
"_Uploading %n file_::_Uploading %n files_" => array("",""), "_Uploading %n file_::_Uploading %n files_" => array("",""),
"Upload" => "अपलोड ",
"Save" => "सहेजें" "Save" => "सहेजें"
); );
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);"; $PLURAL_FORMS = "nplurals=2; plural=(n != 1);";

View file

@ -19,7 +19,6 @@ $TRANSLATIONS = array(
"Name" => "Ime", "Name" => "Ime",
"Size" => "Veličina", "Size" => "Veličina",
"Modified" => "Zadnja promjena", "Modified" => "Zadnja promjena",
"Upload" => "Učitaj",
"File handling" => "datoteka za rukovanje", "File handling" => "datoteka za rukovanje",
"Maximum upload size" => "Maksimalna veličina prijenosa", "Maximum upload size" => "Maksimalna veličina prijenosa",
"max. possible: " => "maksimalna moguća: ", "max. possible: " => "maksimalna moguća: ",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "A kiszolgálótól nem kapható meg az eredmény.", "Could not get result from server." => "A kiszolgálótól nem kapható meg az eredmény.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Fájlfeltöltés van folyamatban. Az oldal elhagyása megszakítja a feltöltést.", "File upload is in progress. Leaving the page now will cancel the upload." => "Fájlfeltöltés van folyamatban. Az oldal elhagyása megszakítja a feltöltést.",
"URL cannot be empty" => "Az URL-cím nem maradhat kitöltetlenül", "URL cannot be empty" => "Az URL-cím nem maradhat kitöltetlenül",
"In the home folder 'Shared' is a reserved filename" => "A kiindulási mappában a 'Shared' egy belső használatra fenntartott név",
"{new_name} already exists" => "{new_name} már létezik", "{new_name} already exists" => "{new_name} már létezik",
"Could not create file" => "Az állomány nem hozható létre", "Could not create file" => "Az állomány nem hozható létre",
"Could not create folder" => "A mappa nem hozható létre", "Could not create folder" => "A mappa nem hozható létre",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "Név", "Name" => "Név",
"Size" => "Méret", "Size" => "Méret",
"Modified" => "Módosítva", "Modified" => "Módosítva",
"Invalid folder name. Usage of 'Shared' is reserved." => "Érvénytelen mappanév. A 'Shared' a rendszer számára fenntartott elnevezés.",
"%s could not be renamed" => "%s átnevezése nem sikerült", "%s could not be renamed" => "%s átnevezése nem sikerült",
"Upload" => "Feltöltés",
"File handling" => "Fájlkezelés", "File handling" => "Fájlkezelés",
"Maximum upload size" => "Maximális feltölthető fájlméret", "Maximum upload size" => "Maximális feltölthető fájlméret",
"max. possible: " => "max. lehetséges: ", "max. possible: " => "max. lehetséges: ",

View file

@ -12,11 +12,11 @@ $TRANSLATIONS = array(
"Name" => "Nomine", "Name" => "Nomine",
"Size" => "Dimension", "Size" => "Dimension",
"Modified" => "Modificate", "Modified" => "Modificate",
"Upload" => "Incargar",
"Maximum upload size" => "Dimension maxime de incargamento", "Maximum upload size" => "Dimension maxime de incargamento",
"Save" => "Salveguardar", "Save" => "Salveguardar",
"New" => "Nove", "New" => "Nove",
"Text file" => "File de texto", "Text file" => "File de texto",
"New folder" => "Nove dossier",
"Folder" => "Dossier", "Folder" => "Dossier",
"Nothing in here. Upload something!" => "Nihil hic. Incarga alcun cosa!", "Nothing in here. Upload something!" => "Nihil hic. Incarga alcun cosa!",
"Download" => "Discargar", "Download" => "Discargar",

View file

@ -30,7 +30,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Tidak mendapatkan hasil dari server.", "Could not get result from server." => "Tidak mendapatkan hasil dari server.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Berkas sedang diunggah. Meninggalkan halaman ini akan membatalkan proses.", "File upload is in progress. Leaving the page now will cancel the upload." => "Berkas sedang diunggah. Meninggalkan halaman ini akan membatalkan proses.",
"URL cannot be empty" => "URL tidak boleh kosong", "URL cannot be empty" => "URL tidak boleh kosong",
"In the home folder 'Shared' is a reserved filename" => "Pada folder home, 'Shared' adalah nama berkas yang sudah digunakan",
"{new_name} already exists" => "{new_name} sudah ada", "{new_name} already exists" => "{new_name} sudah ada",
"Could not create file" => "Tidak dapat membuat berkas", "Could not create file" => "Tidak dapat membuat berkas",
"Could not create folder" => "Tidak dapat membuat folder", "Could not create folder" => "Tidak dapat membuat folder",
@ -55,9 +54,7 @@ $TRANSLATIONS = array(
"Name" => "Nama", "Name" => "Nama",
"Size" => "Ukuran", "Size" => "Ukuran",
"Modified" => "Dimodifikasi", "Modified" => "Dimodifikasi",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nama folder tidak sah. Menggunakan 'Shared' sudah digunakan.",
"%s could not be renamed" => "%s tidak dapat diubah nama", "%s could not be renamed" => "%s tidak dapat diubah nama",
"Upload" => "Unggah",
"File handling" => "Penanganan berkas", "File handling" => "Penanganan berkas",
"Maximum upload size" => "Ukuran pengunggahan maksimum", "Maximum upload size" => "Ukuran pengunggahan maksimum",
"max. possible: " => "Kemungkinan maks.:", "max. possible: " => "Kemungkinan maks.:",

View file

@ -27,7 +27,6 @@ $TRANSLATIONS = array(
"Name" => "Nafn", "Name" => "Nafn",
"Size" => "Stærð", "Size" => "Stærð",
"Modified" => "Breytt", "Modified" => "Breytt",
"Upload" => "Senda inn",
"File handling" => "Meðhöndlun skrár", "File handling" => "Meðhöndlun skrár",
"Maximum upload size" => "Hámarks stærð innsendingar", "Maximum upload size" => "Hámarks stærð innsendingar",
"max. possible: " => "hámark mögulegt: ", "max. possible: " => "hámark mögulegt: ",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Impossibile ottenere il risultato dal server.", "Could not get result from server." => "Impossibile ottenere il risultato dal server.",
"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.", "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.",
"URL cannot be empty" => "L'URL non può essere vuoto.", "URL cannot be empty" => "L'URL non può essere vuoto.",
"In the home folder 'Shared' is a reserved filename" => "Nella cartella home 'Shared' è un nome riservato",
"{new_name} already exists" => "{new_name} esiste già", "{new_name} already exists" => "{new_name} esiste già",
"Could not create file" => "Impossibile creare il file", "Could not create file" => "Impossibile creare il file",
"Could not create folder" => "Impossibile creare la cartella", "Could not create folder" => "Impossibile creare la cartella",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Nome", "Name" => "Nome",
"Size" => "Dimensione", "Size" => "Dimensione",
"Modified" => "Modificato", "Modified" => "Modificato",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nome della cartella non valido. L'uso di 'Shared' è riservato.",
"%s could not be renamed" => "%s non può essere rinominato", "%s could not be renamed" => "%s non può essere rinominato",
"Upload" => "Carica", "Upload (max. %s)" => "Carica (massimo %s)",
"File handling" => "Gestione file", "File handling" => "Gestione file",
"Maximum upload size" => "Dimensione massima upload", "Maximum upload size" => "Dimensione massima upload",
"max. possible: " => "numero mass.: ", "max. possible: " => "numero mass.: ",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "サーバーから結果を取得できませんでした。", "Could not get result from server." => "サーバーから結果を取得できませんでした。",
"File upload is in progress. Leaving the page now will cancel the upload." => "ファイル転送を実行中です。今このページから移動するとアップロードが中止されます。", "File upload is in progress. Leaving the page now will cancel the upload." => "ファイル転送を実行中です。今このページから移動するとアップロードが中止されます。",
"URL cannot be empty" => "URL は空にできません", "URL cannot be empty" => "URL は空にできません",
"In the home folder 'Shared' is a reserved filename" => "ホームフォルダーでは、'Shared' はシステムが使用する予約済みのファイル名です",
"{new_name} already exists" => "{new_name} はすでに存在します", "{new_name} already exists" => "{new_name} はすでに存在します",
"Could not create file" => "ファイルを作成できませんでした", "Could not create file" => "ファイルを作成できませんでした",
"Could not create folder" => "フォルダーを作成できませんでした", "Could not create folder" => "フォルダーを作成できませんでした",
@ -62,9 +61,7 @@ $TRANSLATIONS = array(
"Name" => "名前", "Name" => "名前",
"Size" => "サイズ", "Size" => "サイズ",
"Modified" => "更新日時", "Modified" => "更新日時",
"Invalid folder name. Usage of 'Shared' is reserved." => "無効なフォルダー名。「Shared」の利用は予約されています。",
"%s could not be renamed" => "%sの名前を変更できませんでした", "%s could not be renamed" => "%sの名前を変更できませんでした",
"Upload" => "アップロード",
"File handling" => "ファイル操作", "File handling" => "ファイル操作",
"Maximum upload size" => "最大アップロードサイズ", "Maximum upload size" => "最大アップロードサイズ",
"max. possible: " => "最大容量: ", "max. possible: " => "最大容量: ",

View file

@ -32,7 +32,6 @@ $TRANSLATIONS = array(
"Name" => "სახელი", "Name" => "სახელი",
"Size" => "ზომა", "Size" => "ზომა",
"Modified" => "შეცვლილია", "Modified" => "შეცვლილია",
"Upload" => "ატვირთვა",
"File handling" => "ფაილის დამუშავება", "File handling" => "ფაილის დამუშავება",
"Maximum upload size" => "მაქსიმუმ ატვირთის ზომა", "Maximum upload size" => "მაქსიმუმ ატვირთის ზომა",
"max. possible: " => "მაქს. შესაძლებელი:", "max. possible: " => "მაქს. შესაძლებელი:",

View file

@ -8,7 +8,6 @@ $TRANSLATIONS = array(
"_Uploading %n file_::_Uploading %n files_" => array(""), "_Uploading %n file_::_Uploading %n files_" => array(""),
"Name" => "ឈ្មោះ", "Name" => "ឈ្មោះ",
"Size" => "ទំហំ", "Size" => "ទំហំ",
"Upload" => "ផ្ទុក​ឡើង",
"Save" => "រក្សាទុក", "Save" => "រក្សាទុក",
"New folder" => "ថត​ថ្មី", "New folder" => "ថត​ថ្មី",
"Folder" => "ថត", "Folder" => "ថត",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "서버에서 결과를 가져올 수 없습니다.", "Could not get result from server." => "서버에서 결과를 가져올 수 없습니다.",
"File upload is in progress. Leaving the page now will cancel the upload." => "파일 업로드가 진행 중입니다. 이 페이지를 벗어나면 업로드가 취소됩니다.", "File upload is in progress. Leaving the page now will cancel the upload." => "파일 업로드가 진행 중입니다. 이 페이지를 벗어나면 업로드가 취소됩니다.",
"URL cannot be empty" => "URL이 비어있을 수 없음", "URL cannot be empty" => "URL이 비어있을 수 없음",
"In the home folder 'Shared' is a reserved filename" => "'공유됨'은 홈 폴더의 예약된 파일 이름임",
"{new_name} already exists" => "{new_name}이(가) 이미 존재함", "{new_name} already exists" => "{new_name}이(가) 이미 존재함",
"Could not create file" => "파일을 만들 수 없음", "Could not create file" => "파일을 만들 수 없음",
"Could not create folder" => "폴더를 만들 수 없음", "Could not create folder" => "폴더를 만들 수 없음",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "이름", "Name" => "이름",
"Size" => "크기", "Size" => "크기",
"Modified" => "수정됨", "Modified" => "수정됨",
"Invalid folder name. Usage of 'Shared' is reserved." => "폴더 이름이 잘못되었습니다. '공유됨'은 예약된 폴더 이름입니다.",
"%s could not be renamed" => "%s의 이름을 변경할 수 없습니다", "%s could not be renamed" => "%s의 이름을 변경할 수 없습니다",
"Upload" => "업로드",
"File handling" => "파일 처리", "File handling" => "파일 처리",
"Maximum upload size" => "최대 업로드 크기", "Maximum upload size" => "최대 업로드 크기",
"max. possible: " => "최대 가능:", "max. possible: " => "최대 가능:",

View file

@ -7,7 +7,6 @@ $TRANSLATIONS = array(
"_%n file_::_%n files_" => array("",""), "_%n file_::_%n files_" => array("",""),
"_Uploading %n file_::_Uploading %n files_" => array("",""), "_Uploading %n file_::_Uploading %n files_" => array("",""),
"Name" => "ناو", "Name" => "ناو",
"Upload" => "بارکردن",
"Save" => "پاشکه‌وتکردن", "Save" => "پاشکه‌وتکردن",
"Folder" => "بوخچه", "Folder" => "بوخچه",
"Download" => "داگرتن" "Download" => "داگرتن"

View file

@ -18,7 +18,6 @@ $TRANSLATIONS = array(
"Name" => "Numm", "Name" => "Numm",
"Size" => "Gréisst", "Size" => "Gréisst",
"Modified" => "Geännert", "Modified" => "Geännert",
"Upload" => "Eroplueden",
"File handling" => "Fichier handling", "File handling" => "Fichier handling",
"Maximum upload size" => "Maximum Upload Gréisst ", "Maximum upload size" => "Maximum Upload Gréisst ",
"max. possible: " => "max. méiglech:", "max. possible: " => "max. méiglech:",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Nepavyko gauti rezultato iš serverio.", "Could not get result from server." => "Nepavyko gauti rezultato iš serverio.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Failo įkėlimas pradėtas. Jei paliksite šį puslapį, įkėlimas nutrūks.", "File upload is in progress. Leaving the page now will cancel the upload." => "Failo įkėlimas pradėtas. Jei paliksite šį puslapį, įkėlimas nutrūks.",
"URL cannot be empty" => "URL negali būti tuščias.", "URL cannot be empty" => "URL negali būti tuščias.",
"In the home folder 'Shared' is a reserved filename" => "Pradiniame aplanke failo pavadinimas „Shared“ yra rezervuotas",
"{new_name} already exists" => "{new_name} jau egzistuoja", "{new_name} already exists" => "{new_name} jau egzistuoja",
"Could not create file" => "Neįmanoma sukurti failo", "Could not create file" => "Neįmanoma sukurti failo",
"Could not create folder" => "Neįmanoma sukurti aplanko", "Could not create folder" => "Neįmanoma sukurti aplanko",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "Pavadinimas", "Name" => "Pavadinimas",
"Size" => "Dydis", "Size" => "Dydis",
"Modified" => "Pakeista", "Modified" => "Pakeista",
"Invalid folder name. Usage of 'Shared' is reserved." => "Netinkamas aplanko pavadinimas. „Shared“ pavadinimas yra rezervuotas.",
"%s could not be renamed" => "%s negali būti pervadintas", "%s could not be renamed" => "%s negali būti pervadintas",
"Upload" => "Įkelti",
"File handling" => "Failų tvarkymas", "File handling" => "Failų tvarkymas",
"Maximum upload size" => "Maksimalus įkeliamo failo dydis", "Maximum upload size" => "Maksimalus įkeliamo failo dydis",
"max. possible: " => "maks. galima:", "max. possible: " => "maks. galima:",

View file

@ -36,7 +36,6 @@ $TRANSLATIONS = array(
"Size" => "Izmērs", "Size" => "Izmērs",
"Modified" => "Mainīts", "Modified" => "Mainīts",
"%s could not be renamed" => "%s nevar tikt pārsaukts", "%s could not be renamed" => "%s nevar tikt pārsaukts",
"Upload" => "Augšupielādēt",
"File handling" => "Datņu pārvaldība", "File handling" => "Datņu pārvaldība",
"Maximum upload size" => "Maksimālais datņu augšupielādes apjoms", "Maximum upload size" => "Maksimālais datņu augšupielādes apjoms",
"max. possible: " => "maksimālais iespējamais:", "max. possible: " => "maksimālais iespējamais:",

View file

@ -27,7 +27,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Не можам да добијам резултат од серверот.", "Could not get result from server." => "Не можам да добијам резултат од серверот.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Подигање на датотека е во тек. Напуштење на страницата ќе го прекине.", "File upload is in progress. Leaving the page now will cancel the upload." => "Подигање на датотека е во тек. Напуштење на страницата ќе го прекине.",
"URL cannot be empty" => "URL-то не може да биде празно", "URL cannot be empty" => "URL-то не може да биде празно",
"In the home folder 'Shared' is a reserved filename" => "Во домашната папка, 'Shared' е резервирано има на датотека/папка",
"{new_name} already exists" => "{new_name} веќе постои", "{new_name} already exists" => "{new_name} веќе постои",
"Could not create file" => "Не множам да креирам датотека", "Could not create file" => "Не множам да креирам датотека",
"Could not create folder" => "Не можам да креирам папка", "Could not create folder" => "Не можам да креирам папка",
@ -49,7 +48,6 @@ $TRANSLATIONS = array(
"Size" => "Големина", "Size" => "Големина",
"Modified" => "Променето", "Modified" => "Променето",
"%s could not be renamed" => "%s не може да биде преименуван", "%s could not be renamed" => "%s не може да биде преименуван",
"Upload" => "Подигни",
"File handling" => "Ракување со датотеки", "File handling" => "Ракување со датотеки",
"Maximum upload size" => "Максимална големина за подигање", "Maximum upload size" => "Максимална големина за подигање",
"max. possible: " => "макс. можно:", "max. possible: " => "макс. можно:",

View file

@ -19,7 +19,6 @@ $TRANSLATIONS = array(
"Name" => "Nama", "Name" => "Nama",
"Size" => "Saiz", "Size" => "Saiz",
"Modified" => "Dimodifikasi", "Modified" => "Dimodifikasi",
"Upload" => "Muat naik",
"File handling" => "Pengendalian fail", "File handling" => "Pengendalian fail",
"Maximum upload size" => "Saiz maksimum muat naik", "Maximum upload size" => "Saiz maksimum muat naik",
"max. possible: " => "maksimum:", "max. possible: " => "maksimum:",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Fikk ikke resultat fra serveren.", "Could not get result from server." => "Fikk ikke resultat fra serveren.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Filopplasting pågår. Forlater du siden nå avbrytes opplastingen.", "File upload is in progress. Leaving the page now will cancel the upload." => "Filopplasting pågår. Forlater du siden nå avbrytes opplastingen.",
"URL cannot be empty" => "URL kan ikke være tom", "URL cannot be empty" => "URL kan ikke være tom",
"In the home folder 'Shared' is a reserved filename" => "I hjemmemappen er 'Shared' et reservert filnavn",
"{new_name} already exists" => "{new_name} finnes allerede", "{new_name} already exists" => "{new_name} finnes allerede",
"Could not create file" => "Klarte ikke å opprette fil", "Could not create file" => "Klarte ikke å opprette fil",
"Could not create folder" => "Klarte ikke å opprette mappe", "Could not create folder" => "Klarte ikke å opprette mappe",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "Navn", "Name" => "Navn",
"Size" => "Størrelse", "Size" => "Størrelse",
"Modified" => "Endret", "Modified" => "Endret",
"Invalid folder name. Usage of 'Shared' is reserved." => "Ulovlig mappenavn. Bruken av 'Shared' er reservert.",
"%s could not be renamed" => "Kunne ikke gi nytt navn til %s", "%s could not be renamed" => "Kunne ikke gi nytt navn til %s",
"Upload" => "Last opp",
"File handling" => "Filhåndtering", "File handling" => "Filhåndtering",
"Maximum upload size" => "Maksimum opplastingsstørrelse", "Maximum upload size" => "Maksimum opplastingsstørrelse",
"max. possible: " => "max. mulige:", "max. possible: " => "max. mulige:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Kon het resultaat van de server niet terugkrijgen.", "Could not get result from server." => "Kon het resultaat van de server niet terugkrijgen.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Bestandsupload is bezig. Wanneer de pagina nu verlaten wordt, stopt de upload.", "File upload is in progress. Leaving the page now will cancel the upload." => "Bestandsupload is bezig. Wanneer de pagina nu verlaten wordt, stopt de upload.",
"URL cannot be empty" => "URL mag niet leeg zijn", "URL cannot be empty" => "URL mag niet leeg zijn",
"In the home folder 'Shared' is a reserved filename" => "in de home map 'Shared' is een gereserveerde bestandsnaam",
"{new_name} already exists" => "{new_name} bestaat al", "{new_name} already exists" => "{new_name} bestaat al",
"Could not create file" => "Kon bestand niet creëren", "Could not create file" => "Kon bestand niet creëren",
"Could not create folder" => "Kon niet creëren map", "Could not create folder" => "Kon niet creëren map",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Naam", "Name" => "Naam",
"Size" => "Grootte", "Size" => "Grootte",
"Modified" => "Aangepast", "Modified" => "Aangepast",
"Invalid folder name. Usage of 'Shared' is reserved." => "Ongeldige mapnaam. Gebruik van 'Shared' is gereserveerd.",
"%s could not be renamed" => "%s kon niet worden hernoemd", "%s could not be renamed" => "%s kon niet worden hernoemd",
"Upload" => "Uploaden", "Upload (max. %s)" => "Upload (max. %s)",
"File handling" => "Bestand", "File handling" => "Bestand",
"Maximum upload size" => "Maximale bestandsgrootte voor uploads", "Maximum upload size" => "Maximale bestandsgrootte voor uploads",
"max. possible: " => "max. mogelijk: ", "max. possible: " => "max. mogelijk: ",

View file

@ -42,7 +42,6 @@ $TRANSLATIONS = array(
"Size" => "Storleik", "Size" => "Storleik",
"Modified" => "Endra", "Modified" => "Endra",
"%s could not be renamed" => "Klarte ikkje å omdøypa på %s", "%s could not be renamed" => "Klarte ikkje å omdøypa på %s",
"Upload" => "Last opp",
"File handling" => "Filhandtering", "File handling" => "Filhandtering",
"Maximum upload size" => "Maksimal opplastingsstorleik", "Maximum upload size" => "Maksimal opplastingsstorleik",
"max. possible: " => "maks. moglege:", "max. possible: " => "maks. moglege:",

View file

@ -19,7 +19,6 @@ $TRANSLATIONS = array(
"Name" => "Nom", "Name" => "Nom",
"Size" => "Talha", "Size" => "Talha",
"Modified" => "Modificat", "Modified" => "Modificat",
"Upload" => "Amontcarga",
"File handling" => "Manejament de fichièr", "File handling" => "Manejament de fichièr",
"Maximum upload size" => "Talha maximum d'amontcargament", "Maximum upload size" => "Talha maximum d'amontcargament",
"max. possible: " => "max. possible: ", "max. possible: " => "max. possible: ",

View file

@ -0,0 +1,7 @@
<?php
$TRANSLATIONS = array(
"_%n folder_::_%n folders_" => array("",""),
"_%n file_::_%n files_" => array("",""),
"_Uploading %n file_::_Uploading %n files_" => array("","")
);
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";

View file

@ -7,7 +7,6 @@ $TRANSLATIONS = array(
"_%n folder_::_%n folders_" => array("",""), "_%n folder_::_%n folders_" => array("",""),
"_%n file_::_%n files_" => array("",""), "_%n file_::_%n files_" => array("",""),
"_Uploading %n file_::_Uploading %n files_" => array("",""), "_Uploading %n file_::_Uploading %n files_" => array("",""),
"Upload" => "ਅੱਪਲੋਡ",
"Cancel upload" => "ਅੱਪਲੋਡ ਰੱਦ ਕਰੋ", "Cancel upload" => "ਅੱਪਲੋਡ ਰੱਦ ਕਰੋ",
"Download" => "ਡਾਊਨਲੋਡ", "Download" => "ਡਾਊਨਲੋਡ",
"Delete" => "ਹਟਾਓ" "Delete" => "ਹਟਾਓ"

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Nie można uzyskać wyniku z serwera.", "Could not get result from server." => "Nie można uzyskać wyniku z serwera.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Wysyłanie pliku jest w toku. Jeśli opuścisz tę stronę, wysyłanie zostanie przerwane.", "File upload is in progress. Leaving the page now will cancel the upload." => "Wysyłanie pliku jest w toku. Jeśli opuścisz tę stronę, wysyłanie zostanie przerwane.",
"URL cannot be empty" => "URL nie może być pusty", "URL cannot be empty" => "URL nie może być pusty",
"In the home folder 'Shared' is a reserved filename" => "W katalogu domowym \"Shared\" jest zarezerwowana nazwa pliku",
"{new_name} already exists" => "{new_name} już istnieje", "{new_name} already exists" => "{new_name} już istnieje",
"Could not create file" => "Nie można utworzyć pliku", "Could not create file" => "Nie można utworzyć pliku",
"Could not create folder" => "Nie można utworzyć folderu", "Could not create folder" => "Nie można utworzyć folderu",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Nazwa", "Name" => "Nazwa",
"Size" => "Rozmiar", "Size" => "Rozmiar",
"Modified" => "Modyfikacja", "Modified" => "Modyfikacja",
"Invalid folder name. Usage of 'Shared' is reserved." => "Niepoprawna nazwa folderu. Wykorzystanie \"Shared\" jest zarezerwowane.",
"%s could not be renamed" => "%s nie można zmienić nazwy", "%s could not be renamed" => "%s nie można zmienić nazwy",
"Upload" => "Wyślij", "Upload (max. %s)" => "Wysyłka (max. %s)",
"File handling" => "Zarządzanie plikami", "File handling" => "Zarządzanie plikami",
"Maximum upload size" => "Maksymalny rozmiar wysyłanego pliku", "Maximum upload size" => "Maksymalny rozmiar wysyłanego pliku",
"max. possible: " => "maks. możliwy:", "max. possible: " => "maks. możliwy:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Não foi possível obter o resultado do servidor.", "Could not get result from server." => "Não foi possível obter o resultado do servidor.",
"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.", "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.",
"URL cannot be empty" => "URL não pode estar vazia", "URL cannot be empty" => "URL não pode estar vazia",
"In the home folder 'Shared' is a reserved filename" => "Na pasta home 'Shared- Compartilhada' é um nome reservado",
"{new_name} already exists" => "{new_name} já existe", "{new_name} already exists" => "{new_name} já existe",
"Could not create file" => "Não foi possível criar o arquivo", "Could not create file" => "Não foi possível criar o arquivo",
"Could not create folder" => "Não foi possível criar a pasta", "Could not create folder" => "Não foi possível criar a pasta",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Nome", "Name" => "Nome",
"Size" => "Tamanho", "Size" => "Tamanho",
"Modified" => "Modificado", "Modified" => "Modificado",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nome da pasta inválido. Uso de 'Shared' é reservado.",
"%s could not be renamed" => "%s não pode ser renomeado", "%s could not be renamed" => "%s não pode ser renomeado",
"Upload" => "Upload", "Upload (max. %s)" => "Envio (max. %s)",
"File handling" => "Tratamento de Arquivo", "File handling" => "Tratamento de Arquivo",
"Maximum upload size" => "Tamanho máximo para carregar", "Maximum upload size" => "Tamanho máximo para carregar",
"max. possible: " => "max. possível:", "max. possible: " => "max. possível:",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Não foi possível obter o resultado do servidor.", "Could not get result from server." => "Não foi possível obter o resultado do servidor.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Envio de ficheiro em progresso. Irá cancelar o envio se sair da página agora.", "File upload is in progress. Leaving the page now will cancel the upload." => "Envio de ficheiro em progresso. Irá cancelar o envio se sair da página agora.",
"URL cannot be empty" => "URL não pode estar vazio", "URL cannot be empty" => "URL não pode estar vazio",
"In the home folder 'Shared' is a reserved filename" => "Na pasta pessoal \"Partilhado\" é um nome de ficheiro reservado",
"{new_name} already exists" => "O nome {new_name} já existe", "{new_name} already exists" => "O nome {new_name} já existe",
"Could not create file" => "Não pôde criar ficheiro", "Could not create file" => "Não pôde criar ficheiro",
"Could not create folder" => "Não pôde criar pasta", "Could not create folder" => "Não pôde criar pasta",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "Nome", "Name" => "Nome",
"Size" => "Tamanho", "Size" => "Tamanho",
"Modified" => "Modificado", "Modified" => "Modificado",
"Invalid folder name. Usage of 'Shared' is reserved." => "Nome de pasta inválido. Utilização de \"Partilhado\" está reservada.",
"%s could not be renamed" => "%s não pode ser renomeada", "%s could not be renamed" => "%s não pode ser renomeada",
"Upload" => "Carregar",
"File handling" => "Manuseamento de ficheiros", "File handling" => "Manuseamento de ficheiros",
"Maximum upload size" => "Tamanho máximo de envio", "Maximum upload size" => "Tamanho máximo de envio",
"max. possible: " => "max. possivel: ", "max. possible: " => "max. possivel: ",

View file

@ -3,7 +3,10 @@ $TRANSLATIONS = array(
"Could not move %s - File with this name already exists" => "%s nu se poate muta - Fișierul cu acest nume există deja ", "Could not move %s - File with this name already exists" => "%s nu se poate muta - Fișierul cu acest nume există deja ",
"Could not move %s" => "Nu se poate muta %s", "Could not move %s" => "Nu se poate muta %s",
"File name cannot be empty." => "Numele fișierului nu poate rămâne gol.", "File name cannot be empty." => "Numele fișierului nu poate rămâne gol.",
"\"%s\" is an invalid file name." => "\"%s\" este un nume de fișier nevalid",
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Nume nevalide, '\\', '/', '<', '>', ':', '\"', '|', '?' și '*' nu sunt permise.", "Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Nume nevalide, '\\', '/', '<', '>', ':', '\"', '|', '?' și '*' nu sunt permise.",
"The target folder has been moved or deleted." => "Dosarul țintă a fost mutat sau șters.",
"Not a valid source" => "Sursă nevalidă",
"Error while downloading %s to %s" => "Eroare la descarcarea %s in %s", "Error while downloading %s to %s" => "Eroare la descarcarea %s in %s",
"Error when creating the file" => "Eroare la crearea fisierului", "Error when creating the file" => "Eroare la crearea fisierului",
"Folder name cannot be empty." => "Numele folderului nu poate fi liber.", "Folder name cannot be empty." => "Numele folderului nu poate fi liber.",
@ -24,6 +27,8 @@ $TRANSLATIONS = array(
"Invalid directory." => "Dosar nevalid.", "Invalid directory." => "Dosar nevalid.",
"Files" => "Fișiere", "Files" => "Fișiere",
"Unable to upload {filename} as it is a directory or has 0 bytes" => "Nu se poate încărca {filename} deoarece este un director sau are mărimea de 0 octeți", "Unable to upload {filename} as it is a directory or has 0 bytes" => "Nu se poate încărca {filename} deoarece este un director sau are mărimea de 0 octeți",
"Total file size {size1} exceeds upload limit {size2}" => "Mărimea fișierului este {size1} ce depășește limita de incarcare de {size2}",
"Not enough free space, you are uploading {size1} but only {size2} is left" => "Spațiu liber insuficient, încărcați {size1} însă doar {size2} disponibil rămas",
"Upload cancelled." => "Încărcare anulată.", "Upload cancelled." => "Încărcare anulată.",
"Could not get result from server." => "Nu se poate obține rezultatul de la server.", "Could not get result from server." => "Nu se poate obține rezultatul de la server.",
"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.", "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.",
@ -31,6 +36,7 @@ $TRANSLATIONS = array(
"{new_name} already exists" => "{new_name} există deja", "{new_name} already exists" => "{new_name} există deja",
"Could not create file" => "Nu s-a putut crea fisierul", "Could not create file" => "Nu s-a putut crea fisierul",
"Could not create folder" => "Nu s-a putut crea folderul", "Could not create folder" => "Nu s-a putut crea folderul",
"Error fetching URL" => "Eroare încarcare URL",
"Share" => "Partajează", "Share" => "Partajează",
"Delete permanently" => "Șterge permanent", "Delete permanently" => "Șterge permanent",
"Rename" => "Redenumește", "Rename" => "Redenumește",
@ -38,10 +44,12 @@ $TRANSLATIONS = array(
"Error" => "Eroare", "Error" => "Eroare",
"Pending" => "În așteptare", "Pending" => "În așteptare",
"Could not rename file" => "Nu s-a putut redenumi fisierul", "Could not rename file" => "Nu s-a putut redenumi fisierul",
"Error deleting file." => "Eroare la ștergerea fisierului.",
"_%n folder_::_%n folders_" => array("%n director","%n directoare","%n directoare"), "_%n folder_::_%n folders_" => array("%n director","%n directoare","%n directoare"),
"_%n file_::_%n files_" => array("%n fișier","%n fișiere","%n fișiere"), "_%n file_::_%n files_" => array("%n fișier","%n fișiere","%n fișiere"),
"{dirs} and {files}" => "{dirs} și {files}", "{dirs} and {files}" => "{dirs} și {files}",
"_Uploading %n file_::_Uploading %n files_" => array("Se încarcă %n fișier.","Se încarcă %n fișiere.","Se încarcă %n fișiere."), "_Uploading %n file_::_Uploading %n files_" => array("Se încarcă %n fișier.","Se încarcă %n fișiere.","Se încarcă %n fișiere."),
"\"{name}\" is an invalid file name." => "\"{name}\" este un nume de fișier nevalid.",
"Your storage is full, files can not be updated or synced anymore!" => "Spațiul de stocare este plin, fișierele nu mai pot fi actualizate sau sincronizate!", "Your storage is full, files can not be updated or synced anymore!" => "Spațiul de stocare este plin, fișierele nu mai pot fi actualizate sau sincronizate!",
"Your storage is almost full ({usedSpacePercent}%)" => "Spațiul de stocare este aproape plin ({usedSpacePercent}%)", "Your storage is almost full ({usedSpacePercent}%)" => "Spațiul de stocare este aproape plin ({usedSpacePercent}%)",
"Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "criptarea a fost disactivata dar fisierele sant inca criptate.va rog intrati in setarile personale pentru a decripta fisierele", "Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "criptarea a fost disactivata dar fisierele sant inca criptate.va rog intrati in setarile personale pentru a decripta fisierele",
@ -50,7 +58,7 @@ $TRANSLATIONS = array(
"Size" => "Mărime", "Size" => "Mărime",
"Modified" => "Modificat", "Modified" => "Modificat",
"%s could not be renamed" => "%s nu a putut fi redenumit", "%s could not be renamed" => "%s nu a putut fi redenumit",
"Upload" => "Încărcă", "Upload (max. %s)" => "Încarcă (max. %s)",
"File handling" => "Manipulare fișiere", "File handling" => "Manipulare fișiere",
"Maximum upload size" => "Dimensiune maximă admisă la încărcare", "Maximum upload size" => "Dimensiune maximă admisă la încărcare",
"max. possible: " => "max. posibil:", "max. possible: " => "max. posibil:",
@ -60,7 +68,9 @@ $TRANSLATIONS = array(
"Maximum input size for ZIP files" => "Dimensiunea maximă de intrare pentru fișierele ZIP", "Maximum input size for ZIP files" => "Dimensiunea maximă de intrare pentru fișierele ZIP",
"Save" => "Salvează", "Save" => "Salvează",
"New" => "Nou", "New" => "Nou",
"New text file" => "Un nou fișier text",
"Text file" => "Fișier text", "Text file" => "Fișier text",
"New folder" => "Un nou dosar",
"Folder" => "Dosar", "Folder" => "Dosar",
"From link" => "De la adresa", "From link" => "De la adresa",
"Deleted files" => "Fișiere șterse", "Deleted files" => "Fișiere șterse",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Не удалось получить ответ от сервера.", "Could not get result from server." => "Не удалось получить ответ от сервера.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Идёт загрузка файла. Покинув страницу, вы прервёте загрузку.", "File upload is in progress. Leaving the page now will cancel the upload." => "Идёт загрузка файла. Покинув страницу, вы прервёте загрузку.",
"URL cannot be empty" => "Ссылка не может быть пустой.", "URL cannot be empty" => "Ссылка не может быть пустой.",
"In the home folder 'Shared' is a reserved filename" => "'Shared' - это зарезервированное имя файла в домашнем каталоге",
"{new_name} already exists" => "{new_name} уже существует", "{new_name} already exists" => "{new_name} уже существует",
"Could not create file" => "Не удалось создать файл", "Could not create file" => "Не удалось создать файл",
"Could not create folder" => "Не удалось создать каталог", "Could not create folder" => "Не удалось создать каталог",
@ -62,9 +61,7 @@ $TRANSLATIONS = array(
"Name" => "Имя", "Name" => "Имя",
"Size" => "Размер", "Size" => "Размер",
"Modified" => "Дата изменения", "Modified" => "Дата изменения",
"Invalid folder name. Usage of 'Shared' is reserved." => "Неправильное имя каталога. Имя 'Shared' зарезервировано.",
"%s could not be renamed" => "%s не может быть переименован", "%s could not be renamed" => "%s не может быть переименован",
"Upload" => "Загрузка",
"File handling" => "Управление файлами", "File handling" => "Управление файлами",
"Maximum upload size" => "Максимальный размер загружаемого файла", "Maximum upload size" => "Максимальный размер загружаемого файла",
"max. possible: " => "макс. возможно: ", "max. possible: " => "макс. возможно: ",

View file

@ -19,7 +19,6 @@ $TRANSLATIONS = array(
"Name" => "නම", "Name" => "නම",
"Size" => "ප්‍රමාණය", "Size" => "ප්‍රමාණය",
"Modified" => "වෙනස් කළ", "Modified" => "වෙනස් කළ",
"Upload" => "උඩුගත කරන්න",
"File handling" => "ගොනු පරිහරණය", "File handling" => "ගොනු පරිහරණය",
"Maximum upload size" => "උඩුගත කිරීමක උපරිම ප්‍රමාණය", "Maximum upload size" => "උඩුගත කිරීමක උපරිම ප්‍රමාණය",
"max. possible: " => "හැකි උපරිමය:", "max. possible: " => "හැකි උපරිමය:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Nepodarilo sa dostať výsledky zo servera.", "Could not get result from server." => "Nepodarilo sa dostať výsledky zo servera.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Opustenie stránky zruší práve prebiehajúce odosielanie súboru.", "File upload is in progress. Leaving the page now will cancel the upload." => "Opustenie stránky zruší práve prebiehajúce odosielanie súboru.",
"URL cannot be empty" => "URL nemôže byť prázdna", "URL cannot be empty" => "URL nemôže byť prázdna",
"In the home folder 'Shared' is a reserved filename" => "V domovskom priečinku je názov \"Shared\" vyhradený názov súboru",
"{new_name} already exists" => "{new_name} už existuje", "{new_name} already exists" => "{new_name} už existuje",
"Could not create file" => "Nemožno vytvoriť súbor", "Could not create file" => "Nemožno vytvoriť súbor",
"Could not create folder" => "Nemožno vytvoriť priečinok", "Could not create folder" => "Nemožno vytvoriť priečinok",
@ -62,9 +61,7 @@ $TRANSLATIONS = array(
"Name" => "Názov", "Name" => "Názov",
"Size" => "Veľkosť", "Size" => "Veľkosť",
"Modified" => "Upravené", "Modified" => "Upravené",
"Invalid folder name. Usage of 'Shared' is reserved." => "Názov priečinka je chybný. Použitie názvu 'Shared' nie je povolené.",
"%s could not be renamed" => "%s nemohol byť premenovaný", "%s could not be renamed" => "%s nemohol byť premenovaný",
"Upload" => "Odoslať",
"File handling" => "Nastavenie správania sa k súborom", "File handling" => "Nastavenie správania sa k súborom",
"Maximum upload size" => "Maximálna veľkosť odosielaného súboru", "Maximum upload size" => "Maximálna veľkosť odosielaného súboru",
"max. possible: " => "najväčšie možné:", "max. possible: " => "najväčšie možné:",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Ni mogoče pridobiti podatkov s strežnika.", "Could not get result from server." => "Ni mogoče pridobiti podatkov s strežnika.",
"File upload is in progress. Leaving the page now will cancel the upload." => "V teku je pošiljanje datoteke. Če zapustite to stran zdaj, bo pošiljanje preklicano.", "File upload is in progress. Leaving the page now will cancel the upload." => "V teku je pošiljanje datoteke. Če zapustite to stran zdaj, bo pošiljanje preklicano.",
"URL cannot be empty" => "Polje naslova URL ne sme biti prazno", "URL cannot be empty" => "Polje naslova URL ne sme biti prazno",
"In the home folder 'Shared' is a reserved filename" => "V domači mapi ni dovoljeno ustvariti mape z imenom 'Souporabe', saj je ime zadržano za javno mapo.",
"{new_name} already exists" => "{new_name} že obstaja", "{new_name} already exists" => "{new_name} že obstaja",
"Could not create file" => "Ni mogoče ustvariti datoteke", "Could not create file" => "Ni mogoče ustvariti datoteke",
"Could not create folder" => "Ni mogoče ustvariti mape", "Could not create folder" => "Ni mogoče ustvariti mape",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Ime", "Name" => "Ime",
"Size" => "Velikost", "Size" => "Velikost",
"Modified" => "Spremenjeno", "Modified" => "Spremenjeno",
"Invalid folder name. Usage of 'Shared' is reserved." => "Neveljavno ime mape. Ime 'Souporaba' je zadržana za javno mapo.",
"%s could not be renamed" => "%s ni mogoče preimenovati", "%s could not be renamed" => "%s ni mogoče preimenovati",
"Upload" => "Pošlji", "Upload (max. %s)" => "Pošiljanje (omejitev %s)",
"File handling" => "Upravljanje z datotekami", "File handling" => "Upravljanje z datotekami",
"Maximum upload size" => "Največja velikost za pošiljanja", "Maximum upload size" => "Največja velikost za pošiljanja",
"max. possible: " => "največ mogoče:", "max. possible: " => "največ mogoče:",

View file

@ -40,7 +40,6 @@ $TRANSLATIONS = array(
"Size" => "Madhësia", "Size" => "Madhësia",
"Modified" => "Ndryshuar", "Modified" => "Ndryshuar",
"%s could not be renamed" => "Nuk është i mundur riemërtimi i %s", "%s could not be renamed" => "Nuk është i mundur riemërtimi i %s",
"Upload" => "Ngarko",
"File handling" => "Trajtimi i Skedarëve", "File handling" => "Trajtimi i Skedarëve",
"Maximum upload size" => "Madhësia maksimale e nagarkimit", "Maximum upload size" => "Madhësia maksimale e nagarkimit",
"max. possible: " => "maks i mundshëm", "max. possible: " => "maks i mundshëm",

View file

@ -32,7 +32,6 @@ $TRANSLATIONS = array(
"Name" => "Име", "Name" => "Име",
"Size" => "Величина", "Size" => "Величина",
"Modified" => "Измењено", "Modified" => "Измењено",
"Upload" => "Отпреми",
"File handling" => "Управљање датотекама", "File handling" => "Управљање датотекама",
"Maximum upload size" => "Највећа величина датотеке", "Maximum upload size" => "Највећа величина датотеке",
"max. possible: " => "највећа величина:", "max. possible: " => "највећа величина:",

View file

@ -15,7 +15,6 @@ $TRANSLATIONS = array(
"Name" => "Ime", "Name" => "Ime",
"Size" => "Veličina", "Size" => "Veličina",
"Modified" => "Zadnja izmena", "Modified" => "Zadnja izmena",
"Upload" => "Pošalji",
"Maximum upload size" => "Maksimalna veličina pošiljke", "Maximum upload size" => "Maksimalna veličina pošiljke",
"Save" => "Snimi", "Save" => "Snimi",
"Nothing in here. Upload something!" => "Ovde nema ničeg. Pošaljite nešto!", "Nothing in here. Upload something!" => "Ovde nema ničeg. Pošaljite nešto!",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Gick inte att hämta resultat från server.", "Could not get result from server." => "Gick inte att hämta resultat från server.",
"File upload is in progress. Leaving the page now will cancel the upload." => "Filuppladdning pågår. Lämnar du sidan så avbryts uppladdningen.", "File upload is in progress. Leaving the page now will cancel the upload." => "Filuppladdning pågår. Lämnar du sidan så avbryts uppladdningen.",
"URL cannot be empty" => "URL kan ej vara tomt", "URL cannot be empty" => "URL kan ej vara tomt",
"In the home folder 'Shared' is a reserved filename" => "I hemma katalogen 'Delat' är ett reserverat filnamn",
"{new_name} already exists" => "{new_name} finns redan", "{new_name} already exists" => "{new_name} finns redan",
"Could not create file" => "Kunde ej skapa fil", "Could not create file" => "Kunde ej skapa fil",
"Could not create folder" => "Kunde ej skapa katalog", "Could not create folder" => "Kunde ej skapa katalog",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "Namn", "Name" => "Namn",
"Size" => "Storlek", "Size" => "Storlek",
"Modified" => "Ändrad", "Modified" => "Ändrad",
"Invalid folder name. Usage of 'Shared' is reserved." => "Ogiltigt mappnamn. Användande av 'Shared' är reserverat av ownCloud",
"%s could not be renamed" => "%s kunde inte namnändras", "%s could not be renamed" => "%s kunde inte namnändras",
"Upload" => "Ladda upp", "Upload (max. %s)" => "Ladda upp (max. %s)",
"File handling" => "Filhantering", "File handling" => "Filhantering",
"Maximum upload size" => "Maximal storlek att ladda upp", "Maximum upload size" => "Maximal storlek att ladda upp",
"max. possible: " => "max. möjligt:", "max. possible: " => "max. möjligt:",

View file

@ -22,7 +22,6 @@ $TRANSLATIONS = array(
"Name" => "பெயர்", "Name" => "பெயர்",
"Size" => "அளவு", "Size" => "அளவு",
"Modified" => "மாற்றப்பட்டது", "Modified" => "மாற்றப்பட்டது",
"Upload" => "பதிவேற்றுக",
"File handling" => "கோப்பு கையாளுதல்", "File handling" => "கோப்பு கையாளுதல்",
"Maximum upload size" => "பதிவேற்றக்கூடிய ஆகக்கூடிய அளவு ", "Maximum upload size" => "பதிவேற்றக்கூடிய ஆகக்கூடிய அளவு ",
"max. possible: " => "ஆகக் கூடியது:", "max. possible: " => "ஆகக் கூடியது:",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Name" => "ชื่อ", "Name" => "ชื่อ",
"Size" => "ขนาด", "Size" => "ขนาด",
"Modified" => "แก้ไขแล้ว", "Modified" => "แก้ไขแล้ว",
"Upload" => "อัพโหลด",
"File handling" => "การจัดกาไฟล์", "File handling" => "การจัดกาไฟล์",
"Maximum upload size" => "ขนาดไฟล์สูงสุดที่อัพโหลดได้", "Maximum upload size" => "ขนาดไฟล์สูงสุดที่อัพโหลดได้",
"max. possible: " => "จำนวนสูงสุดที่สามารถทำได้: ", "max. possible: " => "จำนวนสูงสุดที่สามารถทำได้: ",

View file

@ -35,7 +35,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "Sunucudan sonuç alınamadı.", "Could not get result from server." => "Sunucudan sonuç alınamadı.",
"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.", "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.",
"URL cannot be empty" => "URL boş olamaz", "URL cannot be empty" => "URL boş olamaz",
"In the home folder 'Shared' is a reserved filename" => "Ev klasöründeki 'Paylaşılan', ayrılmış bir dosya adıdır",
"{new_name} already exists" => "{new_name} zaten mevcut", "{new_name} already exists" => "{new_name} zaten mevcut",
"Could not create file" => "Dosya oluşturulamadı", "Could not create file" => "Dosya oluşturulamadı",
"Could not create folder" => "Klasör oluşturulamadı", "Could not create folder" => "Klasör oluşturulamadı",
@ -62,9 +61,8 @@ $TRANSLATIONS = array(
"Name" => "İsim", "Name" => "İsim",
"Size" => "Boyut", "Size" => "Boyut",
"Modified" => "Değiştirilme", "Modified" => "Değiştirilme",
"Invalid folder name. Usage of 'Shared' is reserved." => "Geçersiz klasör adı. 'Shared' ismi ayrılmıştır.",
"%s could not be renamed" => "%s yeniden adlandırılamadı", "%s could not be renamed" => "%s yeniden adlandırılamadı",
"Upload" => "Yükle", "Upload (max. %s)" => "Yükle (azami: %s)",
"File handling" => "Dosya işlemleri", "File handling" => "Dosya işlemleri",
"Maximum upload size" => "Maksimum yükleme boyutu", "Maximum upload size" => "Maksimum yükleme boyutu",
"max. possible: " => "mümkün olan en fazla: ", "max. possible: " => "mümkün olan en fazla: ",

View file

@ -21,7 +21,6 @@ $TRANSLATIONS = array(
"Name" => "ئاتى", "Name" => "ئاتى",
"Size" => "چوڭلۇقى", "Size" => "چوڭلۇقى",
"Modified" => "ئۆزگەرتكەن", "Modified" => "ئۆزگەرتكەن",
"Upload" => "يۈكلە",
"Save" => "ساقلا", "Save" => "ساقلا",
"New" => "يېڭى", "New" => "يېڭى",
"Text file" => "تېكىست ھۆججەت", "Text file" => "تېكىست ھۆججەت",

View file

@ -40,7 +40,6 @@ $TRANSLATIONS = array(
"Size" => "Розмір", "Size" => "Розмір",
"Modified" => "Змінено", "Modified" => "Змінено",
"%s could not be renamed" => "%s не може бути перейменований", "%s could not be renamed" => "%s не може бути перейменований",
"Upload" => "Вивантажити",
"File handling" => "Робота з файлами", "File handling" => "Робота з файлами",
"Maximum upload size" => "Максимальний розмір відвантажень", "Maximum upload size" => "Максимальний розмір відвантажень",
"max. possible: " => "макс.можливе:", "max. possible: " => "макс.можливе:",

View file

@ -55,7 +55,6 @@ $TRANSLATIONS = array(
"Size" => "Kích cỡ", "Size" => "Kích cỡ",
"Modified" => "Thay đổi", "Modified" => "Thay đổi",
"%s could not be renamed" => "%s không thể đổi tên", "%s could not be renamed" => "%s không thể đổi tên",
"Upload" => "Tải lên",
"File handling" => "Xử lý tập tin", "File handling" => "Xử lý tập tin",
"Maximum upload size" => "Kích thước tối đa ", "Maximum upload size" => "Kích thước tối đa ",
"max. possible: " => "tối đa cho phép:", "max. possible: " => "tối đa cho phép:",

View file

@ -31,7 +31,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "不能从服务器得到结果", "Could not get result from server." => "不能从服务器得到结果",
"File upload is in progress. Leaving the page now will cancel the upload." => "文件正在上传中。现在离开此页会导致上传动作被取消。", "File upload is in progress. Leaving the page now will cancel the upload." => "文件正在上传中。现在离开此页会导致上传动作被取消。",
"URL cannot be empty" => "URL不能为空", "URL cannot be empty" => "URL不能为空",
"In the home folder 'Shared' is a reserved filename" => "主目录里 'Shared' 是系统预留目录名",
"{new_name} already exists" => "{new_name} 已存在", "{new_name} already exists" => "{new_name} 已存在",
"Could not create file" => "不能创建文件", "Could not create file" => "不能创建文件",
"Could not create folder" => "不能创建文件夹", "Could not create folder" => "不能创建文件夹",
@ -57,9 +56,7 @@ $TRANSLATIONS = array(
"Name" => "名称", "Name" => "名称",
"Size" => "大小", "Size" => "大小",
"Modified" => "修改日期", "Modified" => "修改日期",
"Invalid folder name. Usage of 'Shared' is reserved." => "无效的文件夹名。”Shared“ 是 Owncloud 预留的文件夹",
"%s could not be renamed" => "%s 不能被重命名", "%s could not be renamed" => "%s 不能被重命名",
"Upload" => "上传",
"File handling" => "文件处理", "File handling" => "文件处理",
"Maximum upload size" => "最大上传大小", "Maximum upload size" => "最大上传大小",
"max. possible: " => "最大允许: ", "max. possible: " => "最大允许: ",

View file

@ -7,7 +7,6 @@ $TRANSLATIONS = array(
"_%n file_::_%n files_" => array(""), "_%n file_::_%n files_" => array(""),
"_Uploading %n file_::_Uploading %n files_" => array(""), "_Uploading %n file_::_Uploading %n files_" => array(""),
"Name" => "名稱", "Name" => "名稱",
"Upload" => "上傳",
"Save" => "儲存", "Save" => "儲存",
"Download" => "下載", "Download" => "下載",
"Delete" => "刪除" "Delete" => "刪除"

View file

@ -30,7 +30,6 @@ $TRANSLATIONS = array(
"Could not get result from server." => "無法從伺服器取回結果", "Could not get result from server." => "無法從伺服器取回結果",
"File upload is in progress. Leaving the page now will cancel the upload." => "檔案上傳中,離開此頁面將會取消上傳。", "File upload is in progress. Leaving the page now will cancel the upload." => "檔案上傳中,離開此頁面將會取消上傳。",
"URL cannot be empty" => "URL 不能留空", "URL cannot be empty" => "URL 不能留空",
"In the home folder 'Shared' is a reserved filename" => "在家目錄中不能使用「共享」作為檔名",
"{new_name} already exists" => "{new_name} 已經存在", "{new_name} already exists" => "{new_name} 已經存在",
"Could not create file" => "無法建立檔案", "Could not create file" => "無法建立檔案",
"Could not create folder" => "無法建立資料夾", "Could not create folder" => "無法建立資料夾",
@ -55,7 +54,6 @@ $TRANSLATIONS = array(
"Size" => "大小", "Size" => "大小",
"Modified" => "修改時間", "Modified" => "修改時間",
"%s could not be renamed" => "無法重新命名 %s", "%s could not be renamed" => "無法重新命名 %s",
"Upload" => "上傳",
"File handling" => "檔案處理", "File handling" => "檔案處理",
"Maximum upload size" => "上傳限制", "Maximum upload size" => "上傳限制",
"max. possible: " => "最大允許:", "max. possible: " => "最大允許:",

View file

@ -54,13 +54,8 @@ class App {
'data' => NULL 'data' => NULL
); );
// rename to "/Shared" is denied
if( $dir === '/' and $newname === 'Shared' ) {
$result['data'] = array(
'message' => $this->l10n->t("Invalid folder name. Usage of 'Shared' is reserved.")
);
// rename to non-existing folder is denied // rename to non-existing folder is denied
} else if (!$this->view->file_exists($dir)) { if (!$this->view->file_exists($dir)) {
$result['data'] = array('message' => (string)$this->l10n->t( $result['data'] = array('message' => (string)$this->l10n->t(
'The target folder has been moved or deleted.', 'The target folder has been moved or deleted.',
array($dir)), array($dir)),
@ -68,7 +63,7 @@ class App {
); );
// rename to existing file is denied // rename to existing file is denied
} else if ($this->view->file_exists($dir . '/' . $newname)) { } else if ($this->view->file_exists($dir . '/' . $newname)) {
$result['data'] = array( $result['data'] = array(
'message' => $this->l10n->t( 'message' => $this->l10n->t(
"The name %s is already used in the folder %s. Please choose a different name.", "The name %s is already used in the folder %s. Please choose a different name.",
@ -77,8 +72,6 @@ class App {
} else if ( } else if (
// rename to "." is denied // rename to "." is denied
$newname !== '.' and $newname !== '.' and
// rename of "/Shared" is denied
!($dir === '/' and $oldname === 'Shared') and
// THEN try to rename // THEN try to rename
$this->view->rename($dir . '/' . $oldname, $dir . '/' . $newname) $this->view->rename($dir . '/' . $oldname, $dir . '/' . $newname)
) { ) {

View file

@ -37,8 +37,7 @@ class Helper
$sid = explode(':', $sid); $sid = explode(':', $sid);
if ($sid[0] === 'shared') { if ($sid[0] === 'shared') {
$icon = \OC_Helper::mimetypeIcon('dir-shared'); $icon = \OC_Helper::mimetypeIcon('dir-shared');
} } elseif ($sid[0] !== 'local' and $sid[0] !== 'home') {
if ($sid[0] !== 'local' and $sid[0] !== 'home') {
$icon = \OC_Helper::mimetypeIcon('dir-external'); $icon = \OC_Helper::mimetypeIcon('dir-external');
} }
} }
@ -97,6 +96,9 @@ class Helper
if (isset($i['displayname_owner'])) { if (isset($i['displayname_owner'])) {
$entry['shareOwner'] = $i['displayname_owner']; $entry['shareOwner'] = $i['displayname_owner'];
} }
if (isset($i['is_share_mount_point'])) {
$entry['isShareMountPoint'] = $i['is_share_mount_point'];
}
return $entry; return $entry;
} }

View file

@ -55,88 +55,6 @@ class Test_OC_Files_App_Rename extends \PHPUnit_Framework_TestCase {
\OC\Files\Filesystem::tearDown(); \OC\Files\Filesystem::tearDown();
} }
/**
* @brief test rename of file/folder named "Shared"
*/
function testRenameSharedFolder() {
$dir = '/';
$oldname = 'Shared';
$newname = 'new_name';
$this->viewMock->expects($this->at(0))
->method('file_exists')
->with('/')
->will($this->returnValue(true));
$result = $this->files->rename($dir, $oldname, $newname);
$expected = array(
'success' => false,
'data' => array('message' => '%s could not be renamed')
);
$this->assertEquals($expected, $result);
}
/**
* @brief test rename of file/folder named "Shared"
*/
function testRenameSharedFolderInSubdirectory() {
$dir = '/test';
$oldname = 'Shared';
$newname = 'new_name';
$this->viewMock->expects($this->at(0))
->method('file_exists')
->with('/test')
->will($this->returnValue(true));
$this->viewMock->expects($this->any())
->method('getFileInfo')
->will($this->returnValue(new \OC\Files\FileInfo(
'/test',
null,
'/test',
array(
'fileid' => 123,
'type' => 'dir',
'mimetype' => 'httpd/unix-directory',
'mtime' => 0,
'permissions' => 31,
'size' => 18,
'etag' => 'abcdef',
'directory' => '/',
'name' => 'new_name',
))));
$result = $this->files->rename($dir, $oldname, $newname);
$this->assertTrue($result['success']);
$this->assertEquals(123, $result['data']['id']);
$this->assertEquals('new_name', $result['data']['name']);
$this->assertEquals(18, $result['data']['size']);
$this->assertEquals('httpd/unix-directory', $result['data']['mimetype']);
$icon = \OC_Helper::mimetypeIcon('dir');
$icon = substr($icon, 0, -3) . 'svg';
$this->assertEquals($icon, $result['data']['icon']);
}
/**
* @brief test rename of file/folder to "Shared"
*/
function testRenameFolderToShared() {
$dir = '/';
$oldname = 'oldname';
$newname = 'Shared';
$result = $this->files->rename($dir, $oldname, $newname);
$expected = array(
'success' => false,
'data' => array('message' => "Invalid folder name. Usage of 'Shared' is reserved.")
);
$this->assertEquals($expected, $result);
}
/** /**
* @brief test rename of file/folder * @brief test rename of file/folder
*/ */

View file

@ -48,41 +48,6 @@ describe('Files tests', function() {
expect(error).toEqual(false); expect(error).toEqual(false);
} }
}); });
it('Validates correct file names do not create Shared folder in root', function() {
// create shared file in subfolder
var error = false;
try {
expect(Files.isFileNameValid('shared', '/foo')).toEqual(true);
expect(Files.isFileNameValid('Shared', '/foo')).toEqual(true);
}
catch (e) {
error = e;
}
expect(error).toEqual(false);
// create shared file in root
var threwException = false;
try {
Files.isFileNameValid('Shared', '/');
console.error('Invalid file name not detected');
}
catch (e) {
threwException = true;
}
expect(threwException).toEqual(true);
// create shared file in root
var threwException = false;
try {
Files.isFileNameValid('shared', '/');
console.error('Invalid file name not detected');
}
catch (e) {
threwException = true;
}
expect(threwException).toEqual(true);
});
it('Detects invalid file names', function() { it('Detects invalid file names', function() {
var fileNames = [ var fileNames = [
'', '',

View file

@ -302,25 +302,6 @@ class Hooks {
*/ */
public static function postShared($params) { public static function postShared($params) {
// NOTE: $params has keys:
// [itemType] => file
// itemSource -> int, filecache file ID
// [parent] =>
// [itemTarget] => /13
// shareWith -> string, uid of user being shared to
// fileTarget -> path of file being shared
// uidOwner -> owner of the original file being shared
// [shareType] => 0
// [shareWith] => test1
// [uidOwner] => admin
// [permissions] => 17
// [fileSource] => 13
// [fileTarget] => /test8
// [id] => 10
// [token] =>
// [run] => whether emitting script should continue to run
// TODO: Should other kinds of item be encrypted too?
if (\OCP\App::isEnabled('files_encryption') === false) { if (\OCP\App::isEnabled('files_encryption') === false) {
return true; return true;
} }
@ -331,71 +312,22 @@ class Hooks {
$session = new \OCA\Encryption\Session($view); $session = new \OCA\Encryption\Session($view);
$userId = \OCP\User::getUser(); $userId = \OCP\User::getUser();
$util = new Util($view, $userId); $util = new Util($view, $userId);
$path = $util->fileIdToPath($params['itemSource']); $path = \OC\Files\Filesystem::getPath($params['fileSource']);
$share = $util->getParentFromShare($params['id']);
//if parent is set, then this is a re-share action
if ($share['parent'] !== null) {
// get the parent from current share
$parent = $util->getShareParent($params['parent']);
// if parent has the same type than the child it is a 1:1 share
if ($parent['item_type'] === $params['itemType']) {
// prefix path with Shared
$path = '/Shared' . $parent['file_target'];
} else {
// NOTE: parent is folder but shared was a file!
// we try to rebuild the missing path
// some examples we face here
// user1 share folder1 with user2 folder1 has
// the following structure
// /folder1/subfolder1/subsubfolder1/somefile.txt
// user2 re-share subfolder2 with user3
// user3 re-share somefile.txt user4
// so our path should be
// /Shared/subfolder1/subsubfolder1/somefile.txt
// while user3 is sharing
if ($params['itemType'] === 'file') {
// get target path
$targetPath = $util->fileIdToPath($params['fileSource']);
$targetPathSplit = array_reverse(explode('/', $targetPath));
// init values
$path = '';
$sharedPart = ltrim($parent['file_target'], '/');
// rebuild path
foreach ($targetPathSplit as $pathPart) {
if ($pathPart !== $sharedPart) {
$path = '/' . $pathPart . $path;
} else {
break;
}
}
// prefix path with Shared
$path = '/Shared' . $parent['file_target'] . $path;
} else {
// prefix path with Shared
$path = '/Shared' . $parent['file_target'] . $params['fileTarget'];
}
}
}
$sharingEnabled = \OCP\Share::isEnabled(); $sharingEnabled = \OCP\Share::isEnabled();
// get the path including mount point only if not a shared folder // get the path including mount point only if not a shared folder
if (strncmp($path, '/Shared', strlen('/Shared') !== 0)) { list($storage, ) = \OC\Files\Filesystem::resolvePath('/' . $userId . '/files' . $path);
// get path including the the storage mount point
$path = $util->getPathWithMountPoint($params['itemSource']); if (!($storage instanceof \OC\Files\Storage\Local)) {
$mountPoint = 'files' . $storage->getMountPoint();
} else {
$mountPoint = '';
} }
// if a folder was shared, get a list of all (sub-)folders // if a folder was shared, get a list of all (sub-)folders
if ($params['itemType'] === 'folder') { if ($params['itemType'] === 'folder') {
$allFiles = $util->getAllFiles($path); $allFiles = $util->getAllFiles($path, $mountPoint);
} else { } else {
$allFiles = array($path); $allFiles = array($path);
} }
@ -412,13 +344,6 @@ class Hooks {
*/ */
public static function postUnshare($params) { public static function postUnshare($params) {
// NOTE: $params has keys:
// [itemType] => file
// [itemSource] => 13
// [shareType] => 0
// [shareWith] => test1
// [itemParent] =>
if (\OCP\App::isEnabled('files_encryption') === false) { if (\OCP\App::isEnabled('files_encryption') === false) {
return true; return true;
} }
@ -428,34 +353,7 @@ class Hooks {
$view = new \OC_FilesystemView('/'); $view = new \OC_FilesystemView('/');
$userId = \OCP\User::getUser(); $userId = \OCP\User::getUser();
$util = new Util($view, $userId); $util = new Util($view, $userId);
$path = $util->fileIdToPath($params['itemSource']); $path = \OC\Files\Filesystem::getPath($params['fileSource']);
// check if this is a re-share
if ($params['itemParent']) {
// get the parent from current share
$parent = $util->getShareParent($params['itemParent']);
// get target path
$targetPath = $util->fileIdToPath($params['itemSource']);
$targetPathSplit = array_reverse(explode('/', $targetPath));
// init values
$path = '';
$sharedPart = ltrim($parent['file_target'], '/');
// rebuild path
foreach ($targetPathSplit as $pathPart) {
if ($pathPart !== $sharedPart) {
$path = '/' . $pathPart . $path;
} else {
break;
}
}
// prefix path with Shared
$path = '/Shared' . $parent['file_target'] . $path;
}
// for group shares get a list of the group members // for group shares get a list of the group members
if ($params['shareType'] === \OCP\Share::SHARE_TYPE_GROUP) { if ($params['shareType'] === \OCP\Share::SHARE_TYPE_GROUP) {
@ -469,14 +367,17 @@ class Hooks {
} }
// get the path including mount point only if not a shared folder // get the path including mount point only if not a shared folder
if (strncmp($path, '/Shared', strlen('/Shared') !== 0)) { list($storage, ) = \OC\Files\Filesystem::resolvePath('/' . $userId . '/files' . $path);
// get path including the the storage mount point
$path = $util->getPathWithMountPoint($params['itemSource']); if (!($storage instanceof \OC\Files\Storage\Local)) {
$mountPoint = 'files' . $storage->getMountPoint();
} else {
$mountPoint = '';
} }
// if we unshare a folder we need a list of all (sub-)files // if we unshare a folder we need a list of all (sub-)files
if ($params['itemType'] === 'folder') { if ($params['itemType'] === 'folder') {
$allFiles = $util->getAllFiles($path); $allFiles = $util->getAllFiles($path, $mountPoint);
} else { } else {
$allFiles = array($path); $allFiles = array($path);
} }
@ -510,6 +411,8 @@ class Hooks {
// otherwise we perform a stream copy, so we get a new set of keys // otherwise we perform a stream copy, so we get a new set of keys
$mp1 = $view->getMountPoint('/' . $user . '/files/' . $params['oldpath']); $mp1 = $view->getMountPoint('/' . $user . '/files/' . $params['oldpath']);
$mp2 = $view->getMountPoint('/' . $user . '/files/' . $params['newpath']); $mp2 = $view->getMountPoint('/' . $user . '/files/' . $params['newpath']);
list($storage1, ) = Filesystem::resolvePath($params['oldpath']);
if ($mp1 === $mp2) { if ($mp1 === $mp2) {
self::$renamedFiles[$params['oldpath']] = array( self::$renamedFiles[$params['oldpath']] = array(
'uid' => $ownerOld, 'uid' => $ownerOld,

View file

@ -16,6 +16,7 @@ $TRANSLATIONS = array(
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Por favor, asegúrese de que PHP 5.3.3 o una versión más reciente esté instalado y que OpenSSL junto con la extensión PHP esté habilitado y configurado apropiadamente. Por ahora, la aplicación de encriptación ha sido deshabilitada.", "Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Por favor, asegúrese de que PHP 5.3.3 o una versión más reciente esté instalado y que OpenSSL junto con la extensión PHP esté habilitado y configurado apropiadamente. Por ahora, la aplicación de encriptación ha sido deshabilitada.",
"Following users are not set up for encryption:" => "Los siguientes usuarios no fueron configurados para encriptar:", "Following users are not set up for encryption:" => "Los siguientes usuarios no fueron configurados para encriptar:",
"Initial encryption started... This can take some time. Please wait." => "Encriptación inicial comenzada... Esto puede durar un tiempo. Por favor espere.", "Initial encryption started... This can take some time. Please wait." => "Encriptación inicial comenzada... Esto puede durar un tiempo. Por favor espere.",
"Initial encryption running... Please try again later." => "Encriptación inicial corriendo... Por favor intente mas tarde. ",
"Go directly to your " => "Ve directamente a tu", "Go directly to your " => "Ve directamente a tu",
"personal settings" => "Configuración personal", "personal settings" => "Configuración personal",
"Encryption" => "Encriptación", "Encryption" => "Encriptación",

View file

@ -7,8 +7,11 @@ $TRANSLATIONS = array(
"Password successfully changed." => "Password alterada com sucesso.", "Password successfully changed." => "Password alterada com sucesso.",
"Could not change the password. Maybe the old password was not correct." => "Não foi possivel alterar a password. Possivelmente a password antiga não está correcta.", "Could not change the password. Maybe the old password was not correct." => "Não foi possivel alterar a password. Possivelmente a password antiga não está correcta.",
"Could not update the private key password. Maybe the old password was not correct." => "Não foi possível alterar a chave. Possivelmente a password antiga não está correcta.", "Could not update the private key password. Maybe the old password was not correct." => "Não foi possível alterar a chave. Possivelmente a password antiga não está correcta.",
"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you." => "Não foi possível desencriptar este ficheiro, possivelmente é um ficheiro partilhado. Peça ao proprietário do ficheiro para voltar a partilhar o ficheiro consigo.",
"Unknown error please check your system settings or contact your administrator" => "Erro desconhecido. Verifique por favor as definições do sistema ou contacte o seu administrador",
"Missing requirements." => "Faltam alguns requisitos.", "Missing requirements." => "Faltam alguns requisitos.",
"Following users are not set up for encryption:" => "Os utilizadores seguintes não estão marcados para cifragem:", "Following users are not set up for encryption:" => "Os utilizadores seguintes não estão marcados para cifragem:",
"Go directly to your " => "Ir directamente para o seu",
"personal settings" => "configurações personalizadas ", "personal settings" => "configurações personalizadas ",
"Encryption" => "Encriptação", "Encryption" => "Encriptação",
"Enable recovery key (allow to recover users files in case of password loss):" => "Active a chave de recuperação (permite recuperar os ficheiros no caso de perda da password):", "Enable recovery key (allow to recover users files in case of password loss):" => "Active a chave de recuperação (permite recuperar os ficheiros no caso de perda da password):",

View file

@ -16,6 +16,7 @@ $TRANSLATIONS = array(
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Prosím uistite sa, že PHP verzie 5.3.3 alebo novšej je nainštalované a tiež, že OpenSSL knižnica spolu z PHP rozšírením je povolená a konfigurovaná správne. Nateraz bola aplikácia šifrovania zablokovaná.", "Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Prosím uistite sa, že PHP verzie 5.3.3 alebo novšej je nainštalované a tiež, že OpenSSL knižnica spolu z PHP rozšírením je povolená a konfigurovaná správne. Nateraz bola aplikácia šifrovania zablokovaná.",
"Following users are not set up for encryption:" => "Nasledujúci používatelia nie sú nastavení pre šifrovanie:", "Following users are not set up for encryption:" => "Nasledujúci používatelia nie sú nastavení pre šifrovanie:",
"Initial encryption started... This can take some time. Please wait." => "Počiatočné šifrovanie započalo ... To môže nejakú dobu trvať. Čakajte prosím.", "Initial encryption started... This can take some time. Please wait." => "Počiatočné šifrovanie započalo ... To môže nejakú dobu trvať. Čakajte prosím.",
"Initial encryption running... Please try again later." => "Počiatočné šifrovanie beží... Skúste to neskôr znovu.",
"Go directly to your " => "Choďte priamo do vášho", "Go directly to your " => "Choďte priamo do vášho",
"personal settings" => "osobné nastavenia", "personal settings" => "osobné nastavenia",
"Encryption" => "Šifrovanie", "Encryption" => "Šifrovanie",

View file

@ -15,6 +15,8 @@ $TRANSLATIONS = array(
"Missing requirements." => "遺失必要條件。", "Missing requirements." => "遺失必要條件。",
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "請確認已安裝 PHP 5.3.3 或是更新的版本以及 OpenSSL 也一併安裝在 PHP extension 裡面並啟用及設置完成。現在,加密功能是停用的。", "Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "請確認已安裝 PHP 5.3.3 或是更新的版本以及 OpenSSL 也一併安裝在 PHP extension 裡面並啟用及設置完成。現在,加密功能是停用的。",
"Following users are not set up for encryption:" => "以下的使用者無法設定加密:", "Following users are not set up for encryption:" => "以下的使用者無法設定加密:",
"Initial encryption started... This can take some time. Please wait." => "加密初始已啟用...這個需要一些時間。請稍等。",
"Initial encryption running... Please try again later." => "加密初始執行中...請晚點再試。",
"Go directly to your " => "直接到您的", "Go directly to your " => "直接到您的",
"personal settings" => "個人設定", "personal settings" => "個人設定",
"Encryption" => "加密", "Encryption" => "加密",

View file

@ -969,33 +969,6 @@ class Util {
} }
/**
* @brief get path of a file.
* @param int $fileId id of the file
* @return string path of the file
*/
public static function fileIdToPath($fileId) {
$sql = 'SELECT `path` FROM `*PREFIX*filecache` WHERE `fileid` = ?';
$query = \OCP\DB::prepare($sql);
$result = $query->execute(array($fileId));
$path = false;
if (\OCP\DB::isError($result)) {
\OCP\Util::writeLog('Encryption library', \OC_DB::getErrorMessage($result), \OCP\Util::ERROR);
} else {
$row = $result->fetchRow();
if ($row) {
$path = substr($row['path'], strlen('files'));
}
}
return $path;
}
/** /**
* @brief Filter an array of UIDs to return only ones ready for sharing * @brief Filter an array of UIDs to return only ones ready for sharing
* @param array $unfilteredUsers users to be checked for sharing readiness * @param array $unfilteredUsers users to be checked for sharing readiness
@ -1398,7 +1371,7 @@ class Util {
* @param string $dir relative to the users files folder * @param string $dir relative to the users files folder
* @return array with list of files relative to the users files folder * @return array with list of files relative to the users files folder
*/ */
public function getAllFiles($dir) { public function getAllFiles($dir, $mountPoint = '') {
$result = array(); $result = array();
$dirList = array($dir); $dirList = array($dir);
@ -1408,11 +1381,13 @@ class Util {
$this->userFilesDir . '/' . $dir)); $this->userFilesDir . '/' . $dir));
foreach ($content as $c) { foreach ($content as $c) {
$usersPath = isset($c['usersPath']) ? $c['usersPath'] : $c['path']; // getDirectoryContent() returns the paths relative to the mount points, so we need
// to re-construct the complete path
$path = ($mountPoint !== '') ? $mountPoint . '/' . $c['path'] : $c['path'];
if ($c['type'] === 'dir') { if ($c['type'] === 'dir') {
$dirList[] = substr($usersPath, strlen("files")); $dirList[] = substr($path, strlen("files"));
} else { } else {
$result[] = substr($usersPath, strlen("files")); $result[] = substr($path, strlen("files"));
} }
} }
@ -1421,54 +1396,6 @@ class Util {
return $result; return $result;
} }
/**
* @brief get shares parent.
* @param int $id of the current share
* @return array of the parent
*/
public static function getShareParent($id) {
$sql = 'SELECT `file_target`, `item_type` FROM `*PREFIX*share` WHERE `id` = ?';
$query = \OCP\DB::prepare($sql);
$result = $query->execute(array($id));
$row = array();
if (\OCP\DB::isError($result)) {
\OCP\Util::writeLog('Encryption library', \OC_DB::getErrorMessage($result), \OCP\Util::ERROR);
} else {
$row = $result->fetchRow();
}
return $row;
}
/**
* @brief get shares parent.
* @param int $id of the current share
* @return array of the parent
*/
public static function getParentFromShare($id) {
$sql = 'SELECT `parent` FROM `*PREFIX*share` WHERE `id` = ?';
$query = \OCP\DB::prepare($sql);
$result = $query->execute(array($id));
$row = array();
if (\OCP\DB::isError($result)) {
\OCP\Util::writeLog('Encryption library', \OC_DB::getErrorMessage($result), \OCP\Util::ERROR);
} else {
$row = $result->fetchRow();
}
return $row;
}
/** /**
* @brief get owner of the shared files. * @brief get owner of the shared files.
* @param $id * @param $id
@ -1710,23 +1637,6 @@ class Util {
$this->recoverAllFiles('/', $privateKey); $this->recoverAllFiles('/', $privateKey);
} }
/**
* Get the path including the storage mount point
* @param int $id
* @return string the path including the mount point like AmazonS3/folder/file.txt
*/
public function getPathWithMountPoint($id) {
list($storage, $internalPath) = \OC\Files\Cache\Cache::getById($id);
$mount = \OC\Files\Filesystem::getMountByStorageId($storage);
$mountPoint = $mount[0]->getMountPoint();
$path = \OC\Files\Filesystem::normalizePath($mountPoint . '/' . $internalPath);
// reformat the path to be relative e.g. /user/files/folder becomes /folder/
$relativePath = \OCA\Encryption\Helper::stripUserFilesPath($path);
return $relativePath;
}
/** /**
* @brief check if the file is stored on a system wide mount point * @brief check if the file is stored on a system wide mount point
* @param $path relative to /data/user with leading '/' * @param $path relative to /data/user with leading '/'

View file

@ -219,18 +219,20 @@ class Test_Encryption_Hooks extends \PHPUnit_Framework_TestCase {
\Test_Encryption_Util::loginHelper(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER2); \Test_Encryption_Util::loginHelper(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER2);
\OC_User::setUserId(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER2); \OC_User::setUserId(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER2);
// user2 has a local file with the same name // user2 update the shared file
$this->user2View->file_put_contents($this->filename, $this->data); $this->user2View->file_put_contents($this->filename, $this->data);
// check if all keys are generated // keys should be stored at user1s dir, not in user2s
$this->assertTrue($this->rootView->file_exists( $this->assertFalse($this->rootView->file_exists(
self::TEST_ENCRYPTION_HOOKS_USER2 . '/files_encryption/share-keys/' self::TEST_ENCRYPTION_HOOKS_USER2 . '/files_encryption/share-keys/'
. $this->filename . '.' . \Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER2 . '.shareKey')); . $this->filename . '.' . \Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER2 . '.shareKey'));
$this->assertTrue($this->rootView->file_exists( $this->assertFalse($this->rootView->file_exists(
self::TEST_ENCRYPTION_HOOKS_USER2 . '/files_encryption/keyfiles/' . $this->filename . '.key')); self::TEST_ENCRYPTION_HOOKS_USER2 . '/files_encryption/keyfiles/' . $this->filename . '.key'));
// delete the Shared file from user1 in data/user2/files/Shared // delete the Shared file from user1 in data/user2/files/Shared
$this->user2View->unlink('/Shared/' . $this->filename); $result = $this->user2View->unlink($this->filename);
$this->assertTrue($result);
// now keys from user1s home should be gone // now keys from user1s home should be gone
$this->assertFalse($this->rootView->file_exists( $this->assertFalse($this->rootView->file_exists(
@ -242,26 +244,12 @@ class Test_Encryption_Hooks extends \PHPUnit_Framework_TestCase {
$this->assertFalse($this->rootView->file_exists( $this->assertFalse($this->rootView->file_exists(
self::TEST_ENCRYPTION_HOOKS_USER1 . '/files_encryption/keyfiles/' . $this->filename . '.key')); self::TEST_ENCRYPTION_HOOKS_USER1 . '/files_encryption/keyfiles/' . $this->filename . '.key'));
// but user2 keys should still exist
$this->assertTrue($this->rootView->file_exists(
self::TEST_ENCRYPTION_HOOKS_USER2 . '/files_encryption/share-keys/'
. $this->filename . '.' . \Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER2 . '.shareKey'));
$this->assertTrue($this->rootView->file_exists(
self::TEST_ENCRYPTION_HOOKS_USER2 . '/files_encryption/keyfiles/' . $this->filename . '.key'));
// cleanup // cleanup
$this->user2View->unlink($this->filename);
\Test_Encryption_Util::logoutHelper(); \Test_Encryption_Util::logoutHelper();
\Test_Encryption_Util::loginHelper(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER1); \Test_Encryption_Util::loginHelper(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER1);
\OC_User::setUserId(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER1); \OC_User::setUserId(\Test_Encryption_Hooks::TEST_ENCRYPTION_HOOKS_USER1);
// unshare the file
\OCP\Share::unshare('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_USER, self::TEST_ENCRYPTION_HOOKS_USER2);
$this->user1View->unlink($this->filename);
if ($stateFilesTrashbin) { if ($stateFilesTrashbin) {
OC_App::enable('files_trashbin'); OC_App::enable('files_trashbin');
} }

View file

@ -175,7 +175,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// get file contents // get file contents
$retrievedCryptedFile = $this->view->file_get_contents( $retrievedCryptedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/Shared/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename);
// check if data is the same as we previously written // check if data is the same as we previously written
$this->assertEquals($this->dataShort, $retrievedCryptedFile); $this->assertEquals($this->dataShort, $retrievedCryptedFile);
@ -213,14 +213,14 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
function testReShareFile($withTeardown = true) { function testReShareFile($withTeardown = true) {
$this->testShareFile(false); $this->testShareFile(false);
// login as user1 // login as user2
\Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2); \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2);
// get the file info // get the file info
$fileInfo = $this->view->getFileInfo( $fileInfo = $this->view->getFileInfo(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/Shared/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename);
// share the file with user2 // share the file with user3
\OCP\Share::shareItem('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_USER, \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3, OCP\PERMISSION_ALL); \OCP\Share::shareItem('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_USER, \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3, OCP\PERMISSION_ALL);
// login as admin // login as admin
@ -236,7 +236,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// get file contents // get file contents
$retrievedCryptedFile = $this->view->file_get_contents( $retrievedCryptedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/Shared/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/' . $this->filename);
// check if data is the same as previously written // check if data is the same as previously written
$this->assertEquals($this->dataShort, $retrievedCryptedFile); $this->assertEquals($this->dataShort, $retrievedCryptedFile);
@ -333,7 +333,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// get file contents // get file contents
$retrievedCryptedFile = $this->view->file_get_contents( $retrievedCryptedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/Shared' . $this->folder1 '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->folder1
. $this->subfolder . $this->subsubfolder . '/' . $this->filename); . $this->subfolder . $this->subsubfolder . '/' . $this->filename);
// check if data is the same // check if data is the same
@ -376,7 +376,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
function testReShareFolder($withTeardown = true) { function testReShareFolder($withTeardown = true) {
$fileInfoFolder1 = $this->testShareFolder(false); $fileInfoFolder1 = $this->testShareFolder(false);
// login as user1 // login as user2
\Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2); \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2);
// disable encryption proxy to prevent recursive calls // disable encryption proxy to prevent recursive calls
@ -385,7 +385,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// get the file info from previous created folder // get the file info from previous created folder
$fileInfoSubFolder = $this->view->getFileInfo( $fileInfoSubFolder = $this->view->getFileInfo(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/Shared' . $this->folder1 '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->folder1
. $this->subfolder); . $this->subfolder);
// check if we have a valid file info // check if we have a valid file info
@ -394,24 +394,24 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// re-enable the file proxy // re-enable the file proxy
\OC_FileProxy::$enabled = $proxyStatus; \OC_FileProxy::$enabled = $proxyStatus;
// share the file with user2 // share the file with user3
\OCP\Share::shareItem('folder', $fileInfoSubFolder['fileid'], \OCP\Share::SHARE_TYPE_USER, \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3, OCP\PERMISSION_ALL); \OCP\Share::shareItem('folder', $fileInfoSubFolder['fileid'], \OCP\Share::SHARE_TYPE_USER, \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3, OCP\PERMISSION_ALL);
// login as admin // login as admin
\Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1); \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1);
// check if share key for user2 exists // check if share key for user3 exists
$this->assertTrue($this->view->file_exists( $this->assertTrue($this->view->file_exists(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files_encryption/share-keys' . $this->folder1 '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files_encryption/share-keys' . $this->folder1
. $this->subfolder . $this->subsubfolder . '/' . $this->subfolder . $this->subsubfolder . '/'
. $this->filename . '.' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '.shareKey')); . $this->filename . '.' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '.shareKey'));
// login as user2 // login as user3
\Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3); \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3);
// get file contents // get file contents
$retrievedCryptedFile = $this->view->file_get_contents( $retrievedCryptedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/Shared' . $this->subfolder '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/' . $this->subfolder
. $this->subsubfolder . '/' . $this->filename); . $this->subsubfolder . '/' . $this->filename);
// check if data is the same // check if data is the same
@ -419,7 +419,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// get the file info // get the file info
$fileInfo = $this->view->getFileInfo( $fileInfo = $this->view->getFileInfo(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/Shared' . $this->subfolder '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/' . $this->subfolder
. $this->subsubfolder . '/' . $this->filename); . $this->subsubfolder . '/' . $this->filename);
// check if we have fileInfos // check if we have fileInfos
@ -442,7 +442,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// get file contents // get file contents
$retrievedCryptedFile = $this->view->file_get_contents( $retrievedCryptedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER4 . '/files/Shared/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER4 . '/files/' . $this->filename);
// check if data is the same // check if data is the same
$this->assertEquals($this->dataShort, $retrievedCryptedFile); $this->assertEquals($this->dataShort, $retrievedCryptedFile);
@ -624,7 +624,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// get file contents // get file contents
$retrievedCryptedFile = $this->view->file_get_contents( $retrievedCryptedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/Shared/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER3 . '/files/' . $this->filename);
// check if data is the same as we previously written // check if data is the same as we previously written
$this->assertEquals($this->dataShort, $retrievedCryptedFile); $this->assertEquals($this->dataShort, $retrievedCryptedFile);
@ -676,6 +676,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// enable recovery for admin // enable recovery for admin
$this->assertTrue($util->setRecoveryForUser(1)); $this->assertTrue($util->setRecoveryForUser(1));
$util->addRecoveryKeys();
// create folder structure // create folder structure
$this->view->mkdir('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files' . $this->folder1); $this->view->mkdir('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files' . $this->folder1);
@ -981,7 +982,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// share the file // share the file
\OCP\Share::shareItem('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_USER, \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2, OCP\PERMISSION_ALL); \OCP\Share::shareItem('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_USER, \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2, OCP\PERMISSION_ALL);
// check if share key for user2exists // check if share key for user2 exists
$this->assertTrue($this->view->file_exists( $this->assertTrue($this->view->file_exists(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files_encryption/share-keys/' '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files_encryption/share-keys/'
. $this->filename . '.' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '.shareKey')); . $this->filename . '.' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '.shareKey'));
@ -990,31 +991,29 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// login as user2 // login as user2
\Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2); \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2);
$this->assertTrue($this->view->file_exists('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/Shared/' . $this->filename)); $this->assertTrue($this->view->file_exists('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename));
// get file contents // get file contents
$retrievedCryptedFile = $this->view->file_get_contents( $retrievedCryptedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/Shared/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename);
// check if data is the same as we previously written // check if data is the same as we previously written
$this->assertEquals($this->dataShort, $retrievedCryptedFile); $this->assertEquals($this->dataShort, $retrievedCryptedFile);
// move the file out of the shared folder // move the file to a subfolder
$this->view->rename('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/Shared/' . $this->filename, $this->view->rename('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename,
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->folder1 . $this->filename);
// check if we can read the moved file // check if we can read the moved file
$retrievedRenamedFile = $this->view->file_get_contents( $retrievedRenamedFile = $this->view->file_get_contents(
'/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename); '/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->folder1 . $this->filename);
// check if data is the same as we previously written // check if data is the same as we previously written
$this->assertEquals($this->dataShort, $retrievedRenamedFile); $this->assertEquals($this->dataShort, $retrievedRenamedFile);
// the owners file should be deleted
$this->assertFalse($this->view->file_exists('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files/' . $this->filename));
// cleanup // cleanup
$this->view->unlink('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2 . '/files/' . $this->filename); \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1);
$this->view->unlink('/' . \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1 . '/files/' . $this->filename);
} }
} }

View file

@ -524,8 +524,8 @@ class Test_Encryption_Util extends \PHPUnit_Framework_TestCase {
\OC_Util::tearDownFS(); \OC_Util::tearDownFS();
\OC_User::setUserId(''); \OC_User::setUserId('');
\OC\Files\Filesystem::tearDown(); \OC\Files\Filesystem::tearDown();
\OC_Util::setupFS($user);
\OC_User::setUserId($user); \OC_User::setUserId($user);
\OC_Util::setupFS($user);
$params['uid'] = $user; $params['uid'] = $user;
$params['password'] = $password; $params['password'] = $password;

View file

@ -5,6 +5,7 @@ $TRANSLATIONS = array(
"Grant access" => "Permitir acceso", "Grant access" => "Permitir acceso",
"Please provide a valid Dropbox app key and secret." => "Por favor, proporcioná un secreto y una contraseña válida para la aplicación Dropbox.", "Please provide a valid Dropbox app key and secret." => "Por favor, proporcioná un secreto y una contraseña válida para la aplicación Dropbox.",
"Error configuring Google Drive storage" => "Error al configurar el almacenamiento de Google Drive", "Error configuring Google Drive storage" => "Error al configurar el almacenamiento de Google Drive",
"Saved" => "Guardado",
"External Storage" => "Almacenamiento externo", "External Storage" => "Almacenamiento externo",
"Folder name" => "Nombre de la carpeta", "Folder name" => "Nombre de la carpeta",
"External storage" => "Almacenamiento externo", "External storage" => "Almacenamiento externo",

View file

@ -0,0 +1,5 @@
<?php
$TRANSLATIONS = array(
"Folder name" => "Nombre del directorio"
);
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";

View file

@ -6,6 +6,11 @@ $TRANSLATIONS = array(
"Please provide a valid Dropbox app key and secret." => "Palun sisesta korrektne Dropboxi rakenduse võti ja salasõna.", "Please provide a valid Dropbox app key and secret." => "Palun sisesta korrektne Dropboxi rakenduse võti ja salasõna.",
"Error configuring Google Drive storage" => "Viga Google Drive'i salvestusruumi seadistamisel", "Error configuring Google Drive storage" => "Viga Google Drive'i salvestusruumi seadistamisel",
"Saved" => "Salvestatud", "Saved" => "Salvestatud",
"<b>Note:</b> " => "<b>Märkus:</b>",
" and " => "ja",
"<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b>Märkus:</b> cURL tugi puudub PHP paigalduses. FTP %s hoidla ühendamine pole võimalik. Palu oma süsteemihalduril paigaldata cURL tugi.",
"<b>Note:</b> The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b>Märkus:</b> FTP tugi puudub PHP paigalduses. FTP %s hoidla ühendamine pole võimalik. Palu oma süsteemihalduril paigaldata FTP tugi.",
"<b>Note:</b> \"%s\" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b>Märkus:</b> \"%s\" pole paigaldatud. Hoidla %s ühendamine pole võimalik. Palu oma süsteemihalduril paigaldata vajalik tugi.",
"External Storage" => "Väline salvestuskoht", "External Storage" => "Väline salvestuskoht",
"Folder name" => "Kausta nimi", "Folder name" => "Kausta nimi",
"External storage" => "Väline andmehoidla", "External storage" => "Väline andmehoidla",

View file

@ -1,5 +1,6 @@
<?php <?php
$TRANSLATIONS = array( $TRANSLATIONS = array(
"Folder name" => "Nomine de dossier",
"Groups" => "Gruppos", "Groups" => "Gruppos",
"Users" => "Usatores", "Users" => "Usatores",
"Delete" => "Deler" "Delete" => "Deler"

View file

@ -6,17 +6,25 @@ $TRANSLATIONS = array(
"Please provide a valid Dropbox app key and secret." => "Zadajte platný kľúč aplikácie a heslo Dropbox", "Please provide a valid Dropbox app key and secret." => "Zadajte platný kľúč aplikácie a heslo Dropbox",
"Error configuring Google Drive storage" => "Chyba pri konfigurácii úložiska Google drive", "Error configuring Google Drive storage" => "Chyba pri konfigurácii úložiska Google drive",
"Saved" => "Uložené", "Saved" => "Uložené",
"<b>Note:</b> " => "<b>Poznámka:</b> ",
" and " => "a",
"<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b>Poznámka:</b> cURL podpora v PHP nie je zapnutá alebo nainštalovaná. Pripojenie %s nie je možné. Požiadajte správcu systému, aby ju nainštaloval.",
"<b>Note:</b> The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b>Poznámka:</b> FTP podpora v PHP nie je zapnutá alebo nainštalovaná. Pripojenie %s nie je možné. Požiadajte správcu systému, aby ju nainštaloval.",
"<b>Note:</b> \"%s\" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b>Poznámka:</b> \"%s\" nie je nainštalovaná. Pripojenie %s nie je možné. Požiadajte správcu systému, aby ju nainštaloval.",
"External Storage" => "Externé úložisko", "External Storage" => "Externé úložisko",
"Folder name" => "Názov priečinka", "Folder name" => "Názov priečinka",
"External storage" => "Externé úložisko", "External storage" => "Externé úložisko",
"Configuration" => "Nastavenia", "Configuration" => "Nastavenia",
"Options" => "Možnosti", "Options" => "Možnosti",
"Available for" => "K dispozícii pre",
"Add storage" => "Pridať úložisko", "Add storage" => "Pridať úložisko",
"No user or group" => "Žiadny používateľ alebo skupina",
"All Users" => "Všetci používatelia", "All Users" => "Všetci používatelia",
"Groups" => "Skupiny", "Groups" => "Skupiny",
"Users" => "Používatelia", "Users" => "Používatelia",
"Delete" => "Zmazať", "Delete" => "Zmazať",
"Enable User External Storage" => "Povoliť externé úložisko", "Enable User External Storage" => "Povoliť externé úložisko",
"Allow users to mount the following external storage" => "Povoliť používateľom pripojiť tieto externé úložiská",
"SSL root certificates" => "Koreňové SSL certifikáty", "SSL root certificates" => "Koreňové SSL certifikáty",
"Import Root Certificate" => "Importovať koreňový certifikát" "Import Root Certificate" => "Importovať koreňový certifikát"
); );

View file

@ -8,9 +8,9 @@ $TRANSLATIONS = array(
"Saved" => "Sparad", "Saved" => "Sparad",
"<b>Note:</b> " => "<b> OBS: </ b>", "<b>Note:</b> " => "<b> OBS: </ b>",
" and " => "och", " and " => "och",
"<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b> OBS: </ b> cURL stöd i PHP inte är aktiverat eller installeras. Montering av %s är inte möjlig. Be din systemadministratör för att installera det.", "<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b> OBS: </ b> cURL stöd i PHP inte är aktiverat eller installeras. Montering av %s är inte möjlig. Be din systemadministratör att installera det.",
"<b>Note:</b> The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b> OBS: </ b> Den FTP-stöd i PHP inte är aktiverat eller installeras. Montering av %s är inte möjlig. Be din systemadministratör för att installera det.", "<b>Note:</b> The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b> OBS: </ b> Den FTP-stöd i PHP inte är aktiverat eller installeras. Montering av %s är inte möjlig. Be din systemadministratör att installera det.",
"<b>Note:</b> \"%s\" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b> OBS: </ b> \"%s\" är inte installerat. Montering av %s är inte möjlig. Be din systemadministratör för att installera det.", "<b>Note:</b> \"%s\" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it." => "<b> OBS: </ b> \"%s\" är inte installerat. Montering av %s är inte möjlig. Be din systemadministratör att installera det.",
"External Storage" => "Extern lagring", "External Storage" => "Extern lagring",
"Folder name" => "Mappnamn", "Folder name" => "Mappnamn",
"External storage" => "Extern lagring", "External storage" => "Extern lagring",

View file

@ -5,6 +5,7 @@ $TRANSLATIONS = array(
"Grant access" => "允許存取", "Grant access" => "允許存取",
"Please provide a valid Dropbox app key and secret." => "請提供有效的 Dropbox app key 和 app secret 。", "Please provide a valid Dropbox app key and secret." => "請提供有效的 Dropbox app key 和 app secret 。",
"Error configuring Google Drive storage" => "設定 Google Drive 儲存時發生錯誤", "Error configuring Google Drive storage" => "設定 Google Drive 儲存時發生錯誤",
"Saved" => "已儲存",
"External Storage" => "外部儲存", "External Storage" => "外部儲存",
"Folder name" => "資料夾名稱", "Folder name" => "資料夾名稱",
"External storage" => "外部儲存", "External storage" => "外部儲存",

View file

@ -373,8 +373,8 @@ class OC_Mount_Config {
$isPersonal = false) { $isPersonal = false) {
$backends = self::getBackends(); $backends = self::getBackends();
$mountPoint = OC\Files\Filesystem::normalizePath($mountPoint); $mountPoint = OC\Files\Filesystem::normalizePath($mountPoint);
if ($mountPoint === '' || $mountPoint === '/' || $mountPoint == '/Shared') { if ($mountPoint === '' || $mountPoint === '/') {
// can't mount at root or "Shared" folder // can't mount at root folder
return false; return false;
} }

View file

@ -128,9 +128,6 @@ class Test_Mount_Config extends \PHPUnit_Framework_TestCase {
$isPersonal = false; $isPersonal = false;
$this->assertFalse(OC_Mount_Config::addMountPoint('', $storageClass, array(), $mountType, $applicable, $isPersonal)); $this->assertFalse(OC_Mount_Config::addMountPoint('', $storageClass, array(), $mountType, $applicable, $isPersonal));
$this->assertFalse(OC_Mount_Config::addMountPoint('/', $storageClass, array(), $mountType, $applicable, $isPersonal)); $this->assertFalse(OC_Mount_Config::addMountPoint('/', $storageClass, array(), $mountType, $applicable, $isPersonal));
$this->assertFalse(OC_Mount_Config::addMountPoint('Shared', $storageClass, array(), $mountType, $applicable, $isPersonal));
$this->assertFalse(OC_Mount_Config::addMountPoint('/Shared', $storageClass, array(), $mountType, $applicable, $isPersonal));
} }
/** /**
@ -488,7 +485,7 @@ class Test_Mount_Config extends \PHPUnit_Framework_TestCase {
'root' => 'someroot' 'root' => 'someroot'
); );
// add mount point as "test" user // add mount point as "test" user
$this->assertTrue( $this->assertTrue(
OC_Mount_Config::addMountPoint( OC_Mount_Config::addMountPoint(
'/ext', '/ext',

View file

@ -17,6 +17,4 @@ OCP\Util::addScript('files_sharing', 'share');
\OC_Hook::connect('OC_Filesystem', 'post_delete', '\OC\Files\Cache\Shared_Updater', 'postDeleteHook'); \OC_Hook::connect('OC_Filesystem', 'post_delete', '\OC\Files\Cache\Shared_Updater', 'postDeleteHook');
\OC_Hook::connect('OC_Filesystem', 'delete', '\OC\Files\Cache\Shared_Updater', 'deleteHook'); \OC_Hook::connect('OC_Filesystem', 'delete', '\OC\Files\Cache\Shared_Updater', 'deleteHook');
\OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Shared_Updater', 'renameHook'); \OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Shared_Updater', 'renameHook');
\OC_Hook::connect('OCP\Share', 'post_shared', '\OC\Files\Cache\Shared_Updater', 'shareHook');
\OC_Hook::connect('OCP\Share', 'pre_unshare', '\OC\Files\Cache\Shared_Updater', 'shareHook');
\OC_Hook::connect('OC_Appconfig', 'post_set_value', '\OCA\Files\Share\Maintainer', 'configChangeHook'); \OC_Hook::connect('OC_Appconfig', 'post_set_value', '\OCA\Files\Share\Maintainer', 'configChangeHook');

View file

@ -1,76 +1,77 @@
<?php <?php
$installedVersion = OCP\Config::getAppValue('files_sharing', 'installed_version'); $installedVersion = OCP\Config::getAppValue('files_sharing', 'installed_version');
if (version_compare($installedVersion, '0.3', '<')) { if (version_compare($installedVersion, '0.4', '<')) {
$update_error = false; removeSharedFolder();
$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'));
$rootView = new \OC\Files\View('');
while ($row = $result->fetchRow()) {
$meta = $rootView->getFileInfo($$row['source']);
$itemSource = $meta['fileid'];
if ($itemSource != -1) {
$file = $meta;
if ($file['mimetype'] == 'httpd/unix-directory') {
$itemType = 'folder';
} else {
$itemType = 'file';
}
if ($row['permissions'] == 0) {
$permissions = OCP\PERMISSION_READ | OCP\PERMISSION_SHARE;
} else {
$permissions = OCP\PERMISSION_READ | OCP\PERMISSION_UPDATE | OCP\PERMISSION_SHARE;
if ($itemType == 'folder') {
$permissions |= OCP\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'];
}
OCP\JSON::checkUserExists($row['uid_owner']);
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();
}
}
OC_User::setUserId(null);
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();
} }
// clean up oc_share table from files which are no longer exists // clean up oc_share table from files which are no longer exists
if (version_compare($installedVersion, '0.3.5.6', '<')) { if (version_compare($installedVersion, '0.3.5.6', '<')) {
\OC\Files\Cache\Shared_Updater::fixBrokenSharesOnAppUpdate(); \OC\Files\Cache\Shared_Updater::fixBrokenSharesOnAppUpdate();
} }
/**
* update script for the removal of the logical "Shared" folder, we create physical "Shared" folder and
* update the users file_target so that it doesn't make any difference for the user
* @note parameters are just for testing, please ignore them
*/
function removeSharedFolder($mkdirs = true, $chunkSize = 99) {
$query = OCP\DB::prepare('SELECT * FROM `*PREFIX*share`');
$result = $query->execute();
$view = new \OC\Files\View('/');
$users = array();
$shares = array();
//we need to set up user backends
OC_User::useBackend(new OC_User_Database());
OC_Group::useBackend(new OC_Group_Database());
OC_App::loadApps(array('authentication'));
//we need to set up user backends, otherwise creating the shares will fail with "because user does not exist"
while ($row = $result->fetchRow()) {
//collect all user shares
if ((int)$row['share_type'] === 0 && ($row['item_type'] === 'file' || $row['item_type'] === 'folder')) {
$users[] = $row['share_with'];
$shares[$row['id']] = $row['file_target'];
} else if ((int)$row['share_type'] === 1 && ($row['item_type'] === 'file' || $row['item_type'] === 'folder')) {
//collect all group shares
$users = array_merge($users, \OC_group::usersInGroup($row['share_with']));
$shares[$row['id']] = $row['file_target'];
} else if ((int)$row['share_type'] === 2) {
$shares[$row['id']] = $row['file_target'];
}
}
$unique_users = array_unique($users);
if (!empty($unique_users) && !empty($shares)) {
// create folder Shared for each user
if ($mkdirs) {
foreach ($unique_users as $user) {
\OC\Files\Filesystem::initMountPoints($user);
if (!$view->file_exists('/' . $user . '/files/Shared')) {
$view->mkdir('/' . $user . '/files/Shared');
}
}
}
$chunkedShareList = array_chunk($shares, $chunkSize, true);
foreach ($chunkedShareList as $subList) {
$statement = "UPDATE `*PREFIX*share` SET `file_target` = CASE `id` ";
//update share table
$ids = implode(',', array_keys($subList));
foreach ($subList as $id => $target) {
$statement .= "WHEN " . $id . " THEN '/Shared" . $target . "' ";
}
$statement .= ' END WHERE `id` IN (' . $ids . ')';
$query = OCP\DB::prepare($statement);
$query->execute(array());
}
}
}

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