Merge branch 'master' into fixing-1424-master
This commit is contained in:
commit
037fcde133
587 changed files with 40512 additions and 9681 deletions
|
@ -55,7 +55,7 @@
|
|||
font-size:1.5em; font-weight:bold;
|
||||
color:#888; text-shadow:#fff 0 1px 0;
|
||||
}
|
||||
table { position:relative; width:100%; }
|
||||
table { position:relative; top:37px; width:100%; }
|
||||
tbody tr { background-color:#fff; height:2.5em; }
|
||||
tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#f8f8f8; }
|
||||
tbody tr.selected { background-color:#eee; }
|
||||
|
@ -74,9 +74,9 @@ table th#headerDate, table td.date { min-width:11em; padding:0 .1em 0 1em; text-
|
|||
|
||||
/* Multiselect bar */
|
||||
table.multiselect { top:63px; }
|
||||
table.multiselect thead { position:fixed; top:82px; z-index:1; }
|
||||
table.multiselect thead { position:fixed; top:82px; z-index:1; -moz-box-sizing: border-box; box-sizing: border-box; left: 0; padding-left: 64px; width:100%; }
|
||||
table.multiselect thead th { background:rgba(230,230,230,.8); color:#000; font-weight:bold; border-bottom:0; }
|
||||
|
||||
table.multiselect #headerName { width: 100%; }
|
||||
table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; }
|
||||
table td.filename a.name { display:block; height:1.5em; vertical-align:middle; margin-left:3em; }
|
||||
table tr[data-type="dir"] td.filename a.name span.nametext {font-weight:bold; }
|
||||
|
|
|
@ -81,7 +81,7 @@ var FileActions = {
|
|||
event.data.actionFunc(file);
|
||||
};
|
||||
|
||||
$.each(actions, function (name, action) {
|
||||
var addAction = function (name, action) {
|
||||
// NOTE: Temporary fix to prevent rename action in root of Shared directory
|
||||
if (name === 'Rename' && $('#dir').val() === '/Shared') {
|
||||
return true;
|
||||
|
@ -92,7 +92,7 @@ var FileActions = {
|
|||
if (img.call) {
|
||||
img = img(file);
|
||||
}
|
||||
var html = '<a href="#" class="action" data-action="'+name+'">';
|
||||
var html = '<a href="#" class="action" data-action="' + name + '">';
|
||||
if (img) {
|
||||
html += '<img class ="svg" src="' + img + '" /> ';
|
||||
}
|
||||
|
@ -101,18 +101,27 @@ var FileActions = {
|
|||
var element = $(html);
|
||||
element.data('action', name);
|
||||
//alert(element);
|
||||
element.on('click',{a:null, elem:parent, actionFunc:actions[name]},actionHandler);
|
||||
element.on('click', {a: null, elem: parent, actionFunc: actions[name]}, actionHandler);
|
||||
parent.find('a.name>span.fileactions').append(element);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
$.each(actions, function (name, action) {
|
||||
if (name !== 'Share') {
|
||||
addAction(name, action);
|
||||
}
|
||||
});
|
||||
if(actions.Share){
|
||||
addAction('Share', actions.Share);
|
||||
}
|
||||
|
||||
if (actions['Delete']) {
|
||||
var img = FileActions.icons['Delete'];
|
||||
if (img.call) {
|
||||
img = img(file);
|
||||
}
|
||||
if (typeof trashBinApp !== 'undefined' && trashBinApp) {
|
||||
if (typeof trashBinApp !== 'undefined' && trashBinApp) {
|
||||
var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete" />';
|
||||
} else {
|
||||
var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete" />';
|
||||
|
@ -122,7 +131,7 @@ var FileActions = {
|
|||
element.append($('<img class ="svg" src="' + img + '"/>'));
|
||||
}
|
||||
element.data('action', actions['Delete']);
|
||||
element.on('click',{a:null, elem:parent, actionFunc:actions['Delete']},actionHandler);
|
||||
element.on('click', {a: null, elem: parent, actionFunc: actions['Delete']}, actionHandler);
|
||||
parent.parent().children().last().append(element);
|
||||
}
|
||||
},
|
||||
|
@ -155,7 +164,7 @@ $(document).ready(function () {
|
|||
});
|
||||
}
|
||||
|
||||
$('#fileList tr').each(function(){
|
||||
$('#fileList tr').each(function () {
|
||||
FileActions.display($(this).children('td.filename'));
|
||||
});
|
||||
|
||||
|
|
|
@ -685,9 +685,10 @@ $(document).ready(function() {
|
|||
breadcrumbsWidth += $(breadcrumb).get(0).offsetWidth;
|
||||
});
|
||||
|
||||
if ($('#controls .actions').length > 0) {
|
||||
breadcrumbsWidth += $('#controls .actions').get(0).offsetWidth;
|
||||
}
|
||||
|
||||
$.each($('#controls .actions>div'), function(index, action) {
|
||||
breadcrumbsWidth += $(action).get(0).offsetWidth;
|
||||
});
|
||||
|
||||
function resizeBreadcrumbs(firstRun) {
|
||||
var width = $(this).width();
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
"No file was uploaded" => "لم يتم ترفيع أي من الملفات",
|
||||
"Missing a temporary folder" => "المجلد المؤقت غير موجود",
|
||||
"Files" => "الملفات",
|
||||
"Unshare" => "إلغاء مشاركة",
|
||||
"Delete" => "محذوف",
|
||||
"Close" => "إغلق",
|
||||
"Name" => "الاسم",
|
||||
|
@ -19,6 +18,7 @@
|
|||
"Folder" => "مجلد",
|
||||
"Nothing in here. Upload something!" => "لا يوجد شيء هنا. إرفع بعض الملفات!",
|
||||
"Download" => "تحميل",
|
||||
"Unshare" => "إلغاء مشاركة",
|
||||
"Upload too large" => "حجم الترفيع أعلى من المسموح",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "حجم الملفات التي تريد ترفيعها أعلى من المسموح على الخادم."
|
||||
);
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"replace" => "препокриване",
|
||||
"cancel" => "отказ",
|
||||
"undo" => "възтановяване",
|
||||
"Close" => "Затвори",
|
||||
"Upload cancelled." => "Качването е спряно.",
|
||||
"Name" => "Име",
|
||||
"Size" => "Размер",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "%s কে স্থানান্তর করা সম্ভব হলো না - এই নামের ফাইল বিদ্যমান",
|
||||
"Could not move %s" => "%s কে স্থানান্তর করা সম্ভব হলো না",
|
||||
"Unable to rename file" => "ফাইলের নাম পরিবর্তন করা সম্ভব হলো না",
|
||||
"No file was uploaded. Unknown error" => "কোন ফাইল আপলোড করা হয় নি। সমস্যা অজ্ঞাত।",
|
||||
"There is no error, the file uploaded with success" => "কোন সমস্যা নেই, ফাইল আপলোড সুসম্পন্ন হয়েছে",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "আপলোড করা ফাইলটি php.ini তে বর্ণিত upload_max_filesize নির্দেশিত আয়তন অতিক্রম করছেঃ",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "ডিস্কে লিখতে ব্যর্থ",
|
||||
"Invalid directory." => "ভুল ডিরেক্টরি",
|
||||
"Files" => "ফাইল",
|
||||
"Unshare" => "ভাগাভাগি বাতিল ",
|
||||
"Delete" => "মুছে ফেল",
|
||||
"Rename" => "পূনঃনামকরণ",
|
||||
"Pending" => "মুলতুবি",
|
||||
"{new_name} already exists" => "{new_name} টি বিদ্যমান",
|
||||
"replace" => "প্রতিস্থাপন",
|
||||
"suggest name" => "নাম সুপারিশ করুন",
|
||||
|
@ -25,7 +28,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "আপনার ফাইলটি আপলোড করা সম্ভব হলো না, কেননা এটি হয় একটি ফোল্ডার কিংবা এর আকার ০ বাইট",
|
||||
"Upload Error" => "আপলোড করতে সমস্যা ",
|
||||
"Close" => "বন্ধ",
|
||||
"Pending" => "মুলতুবি",
|
||||
"1 file uploading" => "১টি ফাইল আপলোড করা হচ্ছে",
|
||||
"{count} files uploading" => "{count} টি ফাইল আপলোড করা হচ্ছে",
|
||||
"Upload cancelled." => "আপলোড বাতিল করা হয়েছে।",
|
||||
|
@ -55,6 +57,7 @@
|
|||
"Cancel upload" => "আপলোড বাতিল কর",
|
||||
"Nothing in here. Upload something!" => "এখানে কিছুই নেই। কিছু আপলোড করুন !",
|
||||
"Download" => "ডাউনলোড",
|
||||
"Unshare" => "ভাগাভাগি বাতিল ",
|
||||
"Upload too large" => "আপলোডের আকারটি অনেক বড়",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "আপনি এই সার্ভারে আপলোড করার জন্য অনুমোদিত ফাইলের সর্বোচ্চ আকারের চেয়ে বৃহদাকার ফাইল আপলোড করার চেষ্টা করছেন ",
|
||||
"Files are being scanned, please wait." => "ফাইলগুলো স্ক্যান করা হচ্ছে, দয়া করে অপেক্ষা করুন।",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "No s'ha pogut moure %s - Ja hi ha un fitxer amb aquest nom",
|
||||
"Could not move %s" => " No s'ha pogut moure %s",
|
||||
"Unable to rename file" => "No es pot canviar el nom del fitxer",
|
||||
"No file was uploaded. Unknown error" => "No s'ha carregat cap fitxer. Error desconegut",
|
||||
"There is no error, the file uploaded with success" => "El fitxer s'ha pujat correctament",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "L’arxiu que voleu carregar supera el màxim definit en la directiva upload_max_filesize del php.ini:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "El fitxer no s'ha pujat",
|
||||
"Missing a temporary folder" => "S'ha perdut un fitxer temporal",
|
||||
"Failed to write to disk" => "Ha fallat en escriure al disc",
|
||||
"Not enough storage available" => "No hi ha prou espai disponible",
|
||||
"Invalid directory." => "Directori no vàlid.",
|
||||
"Files" => "Fitxers",
|
||||
"Unshare" => "Deixa de compartir",
|
||||
"Delete permanently" => "Esborra permanentment",
|
||||
"Delete" => "Suprimeix",
|
||||
"Rename" => "Reanomena",
|
||||
"Pending" => "Pendents",
|
||||
"{new_name} already exists" => "{new_name} ja existeix",
|
||||
"replace" => "substitueix",
|
||||
"suggest name" => "sugereix un nom",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "No es pot pujar el fitxer perquè és una carpeta o té 0 bytes",
|
||||
"Upload Error" => "Error en la pujada",
|
||||
"Close" => "Tanca",
|
||||
"Pending" => "Pendents",
|
||||
"1 file uploading" => "1 fitxer pujant",
|
||||
"{count} files uploading" => "{count} fitxers en pujada",
|
||||
"Upload cancelled." => "La pujada s'ha cancel·lat.",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "Fitxer de text",
|
||||
"Folder" => "Carpeta",
|
||||
"From link" => "Des d'enllaç",
|
||||
"Trash" => "Esborra",
|
||||
"Trash bin" => "Paperera",
|
||||
"Cancel upload" => "Cancel·la la pujada",
|
||||
"Nothing in here. Upload something!" => "Res per aquí. Pugeu alguna cosa!",
|
||||
"Download" => "Baixa",
|
||||
"Unshare" => "Deixa de compartir",
|
||||
"Upload too large" => "La pujada és massa gran",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Els fitxers que esteu intentant pujar excedeixen la mida màxima de pujada del servidor",
|
||||
"Files are being scanned, please wait." => "S'estan escanejant els fitxers, espereu",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Nelze přesunout %s - existuje soubor se stejným názvem",
|
||||
"Could not move %s" => "Nelze přesunout %s",
|
||||
"Unable to rename file" => "Nelze přejmenovat soubor",
|
||||
"No file was uploaded. Unknown error" => "Soubor nebyl odeslán. Neznámá chyba",
|
||||
"There is no error, the file uploaded with success" => "Soubor byl odeslán úspěšně",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Odesílaný soubor přesahuje velikost upload_max_filesize povolenou v php.ini:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Žádný soubor nebyl odeslán",
|
||||
"Missing a temporary folder" => "Chybí adresář pro dočasné soubory",
|
||||
"Failed to write to disk" => "Zápis na disk selhal",
|
||||
"Not enough storage available" => "Nedostatek dostupného úložného prostoru",
|
||||
"Invalid directory." => "Neplatný adresář",
|
||||
"Files" => "Soubory",
|
||||
"Unshare" => "Zrušit sdílení",
|
||||
"Delete permanently" => "Trvale odstranit",
|
||||
"Delete" => "Smazat",
|
||||
"Rename" => "Přejmenovat",
|
||||
"Pending" => "Čekající",
|
||||
"{new_name} already exists" => "{new_name} již existuje",
|
||||
"replace" => "nahradit",
|
||||
"suggest name" => "navrhnout název",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Nelze odeslat Váš soubor, protože je to adresář nebo má velikost 0 bajtů",
|
||||
"Upload Error" => "Chyba odesílání",
|
||||
"Close" => "Zavřít",
|
||||
"Pending" => "Čekající",
|
||||
"1 file uploading" => "odesílá se 1 soubor",
|
||||
"{count} files uploading" => "odesílám {count} souborů",
|
||||
"Upload cancelled." => "Odesílání zrušeno.",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "Textový soubor",
|
||||
"Folder" => "Složka",
|
||||
"From link" => "Z odkazu",
|
||||
"Trash" => "Koš",
|
||||
"Trash bin" => "Koš",
|
||||
"Cancel upload" => "Zrušit odesílání",
|
||||
"Nothing in here. Upload something!" => "Žádný obsah. Nahrajte něco.",
|
||||
"Download" => "Stáhnout",
|
||||
"Unshare" => "Zrušit sdílení",
|
||||
"Upload too large" => "Odeslaný soubor je příliš velký",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Soubory, které se snažíte odeslat, překračují limit velikosti odesílání na tomto serveru.",
|
||||
"Files are being scanned, please wait." => "Soubory se prohledávají, prosím čekejte.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Kunne ikke flytte %s - der findes allerede en fil med dette navn",
|
||||
"Could not move %s" => "Kunne ikke flytte %s",
|
||||
"Unable to rename file" => "Kunne ikke omdøbe fil",
|
||||
"No file was uploaded. Unknown error" => "Ingen fil blev uploadet. Ukendt fejl.",
|
||||
"There is no error, the file uploaded with success" => "Der er ingen fejl, filen blev uploadet med success",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Den uploadede fil overstiger upload_max_filesize direktivet i php.ini",
|
||||
|
@ -7,11 +10,12 @@
|
|||
"No file was uploaded" => "Ingen fil blev uploadet",
|
||||
"Missing a temporary folder" => "Mangler en midlertidig mappe",
|
||||
"Failed to write to disk" => "Fejl ved skrivning til disk.",
|
||||
"Not enough storage available" => "Der er ikke nok plads til rådlighed",
|
||||
"Invalid directory." => "Ugyldig mappe.",
|
||||
"Files" => "Filer",
|
||||
"Unshare" => "Fjern deling",
|
||||
"Delete" => "Slet",
|
||||
"Rename" => "Omdøb",
|
||||
"Pending" => "Afventer",
|
||||
"{new_name} already exists" => "{new_name} eksisterer allerede",
|
||||
"replace" => "erstat",
|
||||
"suggest name" => "foreslå navn",
|
||||
|
@ -28,7 +32,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Kunne ikke uploade din fil, da det enten er en mappe eller er tom",
|
||||
"Upload Error" => "Fejl ved upload",
|
||||
"Close" => "Luk",
|
||||
"Pending" => "Afventer",
|
||||
"1 file uploading" => "1 fil uploades",
|
||||
"{count} files uploading" => "{count} filer uploades",
|
||||
"Upload cancelled." => "Upload afbrudt.",
|
||||
|
@ -58,6 +61,7 @@
|
|||
"Cancel upload" => "Fortryd upload",
|
||||
"Nothing in here. Upload something!" => "Her er tomt. Upload noget!",
|
||||
"Download" => "Download",
|
||||
"Unshare" => "Fjern deling",
|
||||
"Upload too large" => "Upload for stor",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Filerne, du prøver at uploade, er større end den maksimale størrelse for fil-upload på denne server.",
|
||||
"Files are being scanned, please wait." => "Filerne bliver indlæst, vent venligst.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Konnte %s nicht verschieben - Datei mit diesem Namen existiert bereits.",
|
||||
"Could not move %s" => "Konnte %s nicht verschieben",
|
||||
"Unable to rename file" => "Konnte Datei nicht umbenennen",
|
||||
"No file was uploaded. Unknown error" => "Keine Datei hochgeladen. Unbekannter Fehler",
|
||||
"There is no error, the file uploaded with success" => "Datei fehlerfrei hochgeladen.",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Die hochgeladene Datei überschreitet die upload_max_filesize Vorgabe in php.ini",
|
||||
|
@ -7,11 +10,12 @@
|
|||
"No file was uploaded" => "Es wurde keine Datei hochgeladen.",
|
||||
"Missing a temporary folder" => "Temporärer Ordner fehlt.",
|
||||
"Failed to write to disk" => "Fehler beim Schreiben auf die Festplatte",
|
||||
"Not enough storage available" => "Nicht genug Speicherplatz verfügbar",
|
||||
"Invalid directory." => "Ungültiges Verzeichnis.",
|
||||
"Files" => "Dateien",
|
||||
"Unshare" => "Nicht mehr freigeben",
|
||||
"Delete" => "Löschen",
|
||||
"Rename" => "Umbenennen",
|
||||
"Pending" => "Ausstehend",
|
||||
"{new_name} already exists" => "{new_name} existiert bereits",
|
||||
"replace" => "ersetzen",
|
||||
"suggest name" => "Name vorschlagen",
|
||||
|
@ -29,7 +33,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Deine Datei kann nicht hochgeladen werden, da sie entweder ein Verzeichnis oder 0 Bytes groß ist.",
|
||||
"Upload Error" => "Fehler beim Upload",
|
||||
"Close" => "Schließen",
|
||||
"Pending" => "Ausstehend",
|
||||
"1 file uploading" => "Eine Datei wird hoch geladen",
|
||||
"{count} files uploading" => "{count} Dateien werden hochgeladen",
|
||||
"Upload cancelled." => "Upload abgebrochen.",
|
||||
|
@ -56,10 +59,10 @@
|
|||
"Text file" => "Textdatei",
|
||||
"Folder" => "Ordner",
|
||||
"From link" => "Von einem Link",
|
||||
"Trash" => "Papierkorb",
|
||||
"Cancel upload" => "Upload abbrechen",
|
||||
"Nothing in here. Upload something!" => "Alles leer. Lade etwas hoch!",
|
||||
"Download" => "Herunterladen",
|
||||
"Unshare" => "Nicht mehr freigeben",
|
||||
"Upload too large" => "Upload zu groß",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Die Datei überschreitet die Maximalgröße für Uploads auf diesem Server.",
|
||||
"Files are being scanned, please wait." => "Dateien werden gescannt, bitte warten.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Konnte %s nicht verschieben - Datei mit diesem Namen existiert bereits",
|
||||
"Could not move %s" => "Konnte %s nicht verschieben",
|
||||
"Unable to rename file" => "Konnte Datei nicht umbenennen",
|
||||
"No file was uploaded. Unknown error" => "Keine Datei hochgeladen. Unbekannter Fehler",
|
||||
"There is no error, the file uploaded with success" => "Es sind keine Fehler aufgetreten. Die Datei wurde erfolgreich hochgeladen.",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Die hochgeladene Datei überschreitet die upload_max_filesize Vorgabe in php.ini",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Es wurde keine Datei hochgeladen.",
|
||||
"Missing a temporary folder" => "Der temporäre Ordner fehlt.",
|
||||
"Failed to write to disk" => "Fehler beim Schreiben auf die Festplatte",
|
||||
"Not enough storage available" => "Nicht genug Speicher vorhanden.",
|
||||
"Invalid directory." => "Ungültiges Verzeichnis.",
|
||||
"Files" => "Dateien",
|
||||
"Unshare" => "Nicht mehr freigeben",
|
||||
"Delete permanently" => "Entgültig löschen",
|
||||
"Delete" => "Löschen",
|
||||
"Rename" => "Umbenennen",
|
||||
"Pending" => "Ausstehend",
|
||||
"{new_name} already exists" => "{new_name} existiert bereits",
|
||||
"replace" => "ersetzen",
|
||||
"suggest name" => "Name vorschlagen",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Ihre Datei kann nicht hochgeladen werden, da sie entweder ein Verzeichnis oder 0 Bytes groß ist.",
|
||||
"Upload Error" => "Fehler beim Upload",
|
||||
"Close" => "Schließen",
|
||||
"Pending" => "Ausstehend",
|
||||
"1 file uploading" => "1 Datei wird hochgeladen",
|
||||
"{count} files uploading" => "{count} Dateien wurden hochgeladen",
|
||||
"Upload cancelled." => "Upload abgebrochen.",
|
||||
|
@ -57,10 +60,10 @@
|
|||
"Text file" => "Textdatei",
|
||||
"Folder" => "Ordner",
|
||||
"From link" => "Von einem Link",
|
||||
"Trash" => "Abfall",
|
||||
"Cancel upload" => "Upload abbrechen",
|
||||
"Nothing in here. Upload something!" => "Alles leer. Bitte laden Sie etwas hoch!",
|
||||
"Download" => "Herunterladen",
|
||||
"Unshare" => "Nicht mehr freigeben",
|
||||
"Upload too large" => "Der Upload ist zu groß",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Die Datei überschreitet die Maximalgröße für Uploads auf diesem Server.",
|
||||
"Files are being scanned, please wait." => "Dateien werden gescannt, bitte warten.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Αδυναμία μετακίνησης του %s - υπάρχει ήδη αρχείο με αυτό το όνομα",
|
||||
"Could not move %s" => "Αδυναμία μετακίνησης του %s",
|
||||
"Unable to rename file" => "Αδυναμία μετονομασίας αρχείου",
|
||||
"No file was uploaded. Unknown error" => "Δεν ανέβηκε κάποιο αρχείο. Άγνωστο σφάλμα",
|
||||
"There is no error, the file uploaded with success" => "Δεν υπάρχει σφάλμα, το αρχείο εστάλει επιτυχώς",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Το απεσταλμένο αρχείο ξεπερνά την οδηγία upload_max_filesize στο php.ini:",
|
||||
|
@ -7,11 +10,13 @@
|
|||
"No file was uploaded" => "Κανένα αρχείο δεν στάλθηκε",
|
||||
"Missing a temporary folder" => "Λείπει ο προσωρινός φάκελος",
|
||||
"Failed to write to disk" => "Αποτυχία εγγραφής στο δίσκο",
|
||||
"Not enough storage available" => "Μη επαρκής διαθέσιμος αποθηκευτικός χώρος",
|
||||
"Invalid directory." => "Μη έγκυρος φάκελος.",
|
||||
"Files" => "Αρχεία",
|
||||
"Unshare" => "Διακοπή κοινής χρήσης",
|
||||
"Delete permanently" => "Μόνιμη διαγραφή",
|
||||
"Delete" => "Διαγραφή",
|
||||
"Rename" => "Μετονομασία",
|
||||
"Pending" => "Εκκρεμεί",
|
||||
"{new_name} already exists" => "{new_name} υπάρχει ήδη",
|
||||
"replace" => "αντικατέστησε",
|
||||
"suggest name" => "συνιστώμενο όνομα",
|
||||
|
@ -19,6 +24,7 @@
|
|||
"replaced {new_name}" => "{new_name} αντικαταστάθηκε",
|
||||
"undo" => "αναίρεση",
|
||||
"replaced {new_name} with {old_name}" => "αντικαταστάθηκε το {new_name} με {old_name}",
|
||||
"perform delete operation" => "εκτέλεση διαδικασία διαγραφής",
|
||||
"'.' is an invalid file name." => "'.' είναι μη έγκυρο όνομα αρχείου.",
|
||||
"File name cannot be empty." => "Το όνομα αρχείου δεν πρέπει να είναι κενό.",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Μη έγκυρο όνομα, '\\', '/', '<', '>', ':', '\"', '|', '?' και '*' δεν επιτρέπονται.",
|
||||
|
@ -28,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Αδυναμία στην αποστολή του αρχείου σας αφού είναι φάκελος ή έχει 0 bytes",
|
||||
"Upload Error" => "Σφάλμα Αποστολής",
|
||||
"Close" => "Κλείσιμο",
|
||||
"Pending" => "Εκκρεμεί",
|
||||
"1 file uploading" => "1 αρχείο ανεβαίνει",
|
||||
"{count} files uploading" => "{count} αρχεία ανεβαίνουν",
|
||||
"Upload cancelled." => "Η αποστολή ακυρώθηκε.",
|
||||
|
@ -58,8 +63,10 @@
|
|||
"Cancel upload" => "Ακύρωση αποστολής",
|
||||
"Nothing in here. Upload something!" => "Δεν υπάρχει τίποτα εδώ. Ανέβασε κάτι!",
|
||||
"Download" => "Λήψη",
|
||||
"Unshare" => "Διακοπή κοινής χρήσης",
|
||||
"Upload too large" => "Πολύ μεγάλο αρχείο προς αποστολή",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Τα αρχεία που προσπαθείτε να ανεβάσετε υπερβαίνουν το μέγιστο μέγεθος αποστολής αρχείων σε αυτόν τον διακομιστή.",
|
||||
"Files are being scanned, please wait." => "Τα αρχεία σαρώνονται, παρακαλώ περιμένετε",
|
||||
"Current scanning" => "Τρέχουσα αναζήτηση "
|
||||
"Current scanning" => "Τρέχουσα αναζήτηση ",
|
||||
"Upgrading filesystem cache..." => "Αναβάθμιση μνήμης cache του συστήματος αρχείων..."
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Ne eblis movi %s: dosiero kun ĉi tiu nomo jam ekzistas",
|
||||
"Could not move %s" => "Ne eblis movi %s",
|
||||
"Unable to rename file" => "Ne eblis alinomigi dosieron",
|
||||
"No file was uploaded. Unknown error" => "Neniu dosiero alŝutiĝis. Nekonata eraro.",
|
||||
"There is no error, the file uploaded with success" => "Ne estas eraro, la dosiero alŝutiĝis sukcese",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "La dosiero alŝutita superas la regulon upload_max_filesize el php.ini: ",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "Malsukcesis skribo al disko",
|
||||
"Invalid directory." => "Nevalida dosierujo.",
|
||||
"Files" => "Dosieroj",
|
||||
"Unshare" => "Malkunhavigi",
|
||||
"Delete" => "Forigi",
|
||||
"Rename" => "Alinomigi",
|
||||
"Pending" => "Traktotaj",
|
||||
"{new_name} already exists" => "{new_name} jam ekzistas",
|
||||
"replace" => "anstataŭigi",
|
||||
"suggest name" => "sugesti nomon",
|
||||
|
@ -26,7 +29,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Ne eblis alŝuti vian dosieron ĉar ĝi estas dosierujo aŭ havas 0 duumokojn",
|
||||
"Upload Error" => "Alŝuta eraro",
|
||||
"Close" => "Fermi",
|
||||
"Pending" => "Traktotaj",
|
||||
"1 file uploading" => "1 dosiero estas alŝutata",
|
||||
"{count} files uploading" => "{count} dosieroj alŝutatas",
|
||||
"Upload cancelled." => "La alŝuto nuliĝis.",
|
||||
|
@ -56,6 +58,7 @@
|
|||
"Cancel upload" => "Nuligi alŝuton",
|
||||
"Nothing in here. Upload something!" => "Nenio estas ĉi tie. Alŝutu ion!",
|
||||
"Download" => "Elŝuti",
|
||||
"Unshare" => "Malkunhavigi",
|
||||
"Upload too large" => "Elŝuto tro larĝa",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "La dosieroj, kiujn vi provas alŝuti, transpasas la maksimuman grandon por dosieralŝutoj en ĉi tiu servilo.",
|
||||
"Files are being scanned, please wait." => "Dosieroj estas skanataj, bonvolu atendi.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "No se puede mover %s - Ya existe un archivo con ese nombre",
|
||||
"Could not move %s" => "No se puede mover %s",
|
||||
"Unable to rename file" => "No se puede renombrar el archivo",
|
||||
"No file was uploaded. Unknown error" => "Fallo no se subió el fichero",
|
||||
"There is no error, the file uploaded with success" => "No se ha producido ningún error, el archivo se ha subido con éxito",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "El archivo que intentas subir sobrepasa el tamaño definido por la variable upload_max_filesize en php.ini",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "No se ha subido ningún archivo",
|
||||
"Missing a temporary folder" => "Falta un directorio temporal",
|
||||
"Failed to write to disk" => "La escritura en disco ha fallado",
|
||||
"Not enough storage available" => "No hay suficiente espacio disponible",
|
||||
"Invalid directory." => "Directorio invalido.",
|
||||
"Files" => "Archivos",
|
||||
"Unshare" => "Dejar de compartir",
|
||||
"Delete permanently" => "Eliminar permanentemente",
|
||||
"Delete" => "Eliminar",
|
||||
"Rename" => "Renombrar",
|
||||
"Pending" => "Pendiente",
|
||||
"{new_name} already exists" => "{new_name} ya existe",
|
||||
"replace" => "reemplazar",
|
||||
"suggest name" => "sugerir nombre",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "No ha sido posible subir tu archivo porque es un directorio o tiene 0 bytes",
|
||||
"Upload Error" => "Error al subir el archivo",
|
||||
"Close" => "cerrrar",
|
||||
"Pending" => "Pendiente",
|
||||
"1 file uploading" => "subiendo 1 archivo",
|
||||
"{count} files uploading" => "Subiendo {count} archivos",
|
||||
"Upload cancelled." => "Subida cancelada.",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "Archivo de texto",
|
||||
"Folder" => "Carpeta",
|
||||
"From link" => "Desde el enlace",
|
||||
"Trash" => "Basura",
|
||||
"Trash bin" => "Papelera de reciclaje",
|
||||
"Cancel upload" => "Cancelar subida",
|
||||
"Nothing in here. Upload something!" => "Aquí no hay nada. ¡Sube algo!",
|
||||
"Download" => "Descargar",
|
||||
"Unshare" => "Dejar de compartir",
|
||||
"Upload too large" => "El archivo es demasiado grande",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Los archivos que estás intentando subir sobrepasan el tamaño máximo permitido por este servidor.",
|
||||
"Files are being scanned, please wait." => "Se están escaneando los archivos, por favor espere.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "No se pudo mover %s - Un archivo con este nombre ya existe",
|
||||
"Could not move %s" => "No se pudo mover %s ",
|
||||
"Unable to rename file" => "No fue posible cambiar el nombre al archivo",
|
||||
"No file was uploaded. Unknown error" => "El archivo no fue subido. Error desconocido",
|
||||
"There is no error, the file uploaded with success" => "No se han producido errores, el archivo se ha subido con éxito",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "El archivo que intentás subir excede el tamaño definido por upload_max_filesize en el php.ini:",
|
||||
|
@ -7,11 +10,12 @@
|
|||
"No file was uploaded" => "El archivo no fue subido",
|
||||
"Missing a temporary folder" => "Falta un directorio temporal",
|
||||
"Failed to write to disk" => "Error al escribir en el disco",
|
||||
"Not enough storage available" => "No hay suficiente capacidad de almacenamiento",
|
||||
"Invalid directory." => "Directorio invalido.",
|
||||
"Files" => "Archivos",
|
||||
"Unshare" => "Dejar de compartir",
|
||||
"Delete" => "Borrar",
|
||||
"Rename" => "Cambiar nombre",
|
||||
"Pending" => "Pendiente",
|
||||
"{new_name} already exists" => "{new_name} ya existe",
|
||||
"replace" => "reemplazar",
|
||||
"suggest name" => "sugerir nombre",
|
||||
|
@ -29,7 +33,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "No fue posible subir el archivo porque es un directorio o porque su tamaño es 0 bytes",
|
||||
"Upload Error" => "Error al subir el archivo",
|
||||
"Close" => "Cerrar",
|
||||
"Pending" => "Pendiente",
|
||||
"1 file uploading" => "Subiendo 1 archivo",
|
||||
"{count} files uploading" => "Subiendo {count} archivos",
|
||||
"Upload cancelled." => "La subida fue cancelada",
|
||||
|
@ -56,10 +59,10 @@
|
|||
"Text file" => "Archivo de texto",
|
||||
"Folder" => "Carpeta",
|
||||
"From link" => "Desde enlace",
|
||||
"Trash" => "Papelera",
|
||||
"Cancel upload" => "Cancelar subida",
|
||||
"Nothing in here. Upload something!" => "No hay nada. ¡Subí contenido!",
|
||||
"Download" => "Descargar",
|
||||
"Unshare" => "Dejar de compartir",
|
||||
"Upload too large" => "El archivo es demasiado grande",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Los archivos que intentás subir sobrepasan el tamaño máximo ",
|
||||
"Files are being scanned, please wait." => "Se están escaneando los archivos, por favor esperá.",
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"Missing a temporary folder" => "Ajutiste failide kaust puudub",
|
||||
"Failed to write to disk" => "Kettale kirjutamine ebaõnnestus",
|
||||
"Files" => "Failid",
|
||||
"Unshare" => "Lõpeta jagamine",
|
||||
"Delete" => "Kustuta",
|
||||
"Rename" => "ümber",
|
||||
"Pending" => "Ootel",
|
||||
"{new_name} already exists" => "{new_name} on juba olemas",
|
||||
"replace" => "asenda",
|
||||
"suggest name" => "soovita nime",
|
||||
|
@ -21,7 +21,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Sinu faili üleslaadimine ebaõnnestus, kuna see on kaust või selle suurus on 0 baiti",
|
||||
"Upload Error" => "Üleslaadimise viga",
|
||||
"Close" => "Sulge",
|
||||
"Pending" => "Ootel",
|
||||
"1 file uploading" => "1 faili üleslaadimisel",
|
||||
"{count} files uploading" => "{count} faili üleslaadimist",
|
||||
"Upload cancelled." => "Üleslaadimine tühistati.",
|
||||
|
@ -50,6 +49,7 @@
|
|||
"Cancel upload" => "Tühista üleslaadimine",
|
||||
"Nothing in here. Upload something!" => "Siin pole midagi. Lae midagi üles!",
|
||||
"Download" => "Lae alla",
|
||||
"Unshare" => "Lõpeta jagamine",
|
||||
"Upload too large" => "Üleslaadimine on liiga suur",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Failid, mida sa proovid üles laadida, ületab serveri poolt üleslaetavatele failidele määratud maksimaalse suuruse.",
|
||||
"Files are being scanned, please wait." => "Faile skannitakse, palun oota",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Ezin da %s mugitu - Izen hau duen fitxategia dagoeneko existitzen da",
|
||||
"Could not move %s" => "Ezin dira fitxategiak mugitu %s",
|
||||
"Unable to rename file" => "Ezin izan da fitxategia berrizendatu",
|
||||
"No file was uploaded. Unknown error" => "Ez da fitxategirik igo. Errore ezezaguna",
|
||||
"There is no error, the file uploaded with success" => "Ez da arazorik izan, fitxategia ongi igo da",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Igotako fitxategiak php.ini fitxategian ezarritako upload_max_filesize muga gainditu du:",
|
||||
|
@ -7,11 +10,12 @@
|
|||
"No file was uploaded" => "Ez da fitxategirik igo",
|
||||
"Missing a temporary folder" => "Aldi baterako karpeta falta da",
|
||||
"Failed to write to disk" => "Errore bat izan da diskoan idazterakoan",
|
||||
"Not enough storage available" => "Ez dago behar aina leku erabilgarri,",
|
||||
"Invalid directory." => "Baliogabeko karpeta.",
|
||||
"Files" => "Fitxategiak",
|
||||
"Unshare" => "Ez elkarbanatu",
|
||||
"Delete" => "Ezabatu",
|
||||
"Rename" => "Berrizendatu",
|
||||
"Pending" => "Zain",
|
||||
"{new_name} already exists" => "{new_name} dagoeneko existitzen da",
|
||||
"replace" => "ordeztu",
|
||||
"suggest name" => "aholkatu izena",
|
||||
|
@ -28,7 +32,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Ezin da zure fitxategia igo, karpeta bat da edo 0 byt ditu",
|
||||
"Upload Error" => "Igotzean errore bat suertatu da",
|
||||
"Close" => "Itxi",
|
||||
"Pending" => "Zain",
|
||||
"1 file uploading" => "fitxategi 1 igotzen",
|
||||
"{count} files uploading" => "{count} fitxategi igotzen",
|
||||
"Upload cancelled." => "Igoera ezeztatuta",
|
||||
|
@ -58,6 +61,7 @@
|
|||
"Cancel upload" => "Ezeztatu igoera",
|
||||
"Nothing in here. Upload something!" => "Ez dago ezer. Igo zerbait!",
|
||||
"Download" => "Deskargatu",
|
||||
"Unshare" => "Ez elkarbanatu",
|
||||
"Upload too large" => "Igotakoa handiegia da",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Igotzen saiatzen ari zaren fitxategiak zerbitzari honek igotzeko onartzen duena baino handiagoak dira.",
|
||||
"Files are being scanned, please wait." => "Fitxategiak eskaneatzen ari da, itxoin mezedez.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "%s نمی تواند حرکت کند - در حال حاضر پرونده با این نام وجود دارد. ",
|
||||
"Could not move %s" => "%s نمی تواند حرکت کند ",
|
||||
"Unable to rename file" => "قادر به تغییر نام پرونده نیست.",
|
||||
"No file was uploaded. Unknown error" => "هیچ فایلی آپلود نشد.خطای ناشناس",
|
||||
"There is no error, the file uploaded with success" => "هیچ خطایی وجود ندارد فایل با موفقیت بار گذاری شد",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "پرونده آپلود شده بیش ازدستور ماکزیمم_حجم فایل_برای آپلود در php.ini استفاده کرده است.",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "نوشتن بر روی دیسک سخت ناموفق بود",
|
||||
"Invalid directory." => "فهرست راهنما نامعتبر می باشد.",
|
||||
"Files" => "فایل ها",
|
||||
"Unshare" => "لغو اشتراک",
|
||||
"Delete" => "پاک کردن",
|
||||
"Rename" => "تغییرنام",
|
||||
"Pending" => "در انتظار",
|
||||
"{new_name} already exists" => "{نام _جدید} در حال حاضر وجود دارد.",
|
||||
"replace" => "جایگزین",
|
||||
"suggest name" => "پیشنهاد نام",
|
||||
|
@ -26,7 +29,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "ناتوان در بارگذاری یا فایل یک پوشه است یا 0بایت دارد",
|
||||
"Upload Error" => "خطا در بار گذاری",
|
||||
"Close" => "بستن",
|
||||
"Pending" => "در انتظار",
|
||||
"1 file uploading" => "1 پرونده آپلود شد.",
|
||||
"{count} files uploading" => "{ شمار } فایل های در حال آپلود",
|
||||
"Upload cancelled." => "بار گذاری لغو شد",
|
||||
|
@ -56,6 +58,7 @@
|
|||
"Cancel upload" => "متوقف کردن بار گذاری",
|
||||
"Nothing in here. Upload something!" => "اینجا هیچ چیز نیست.",
|
||||
"Download" => "بارگیری",
|
||||
"Unshare" => "لغو اشتراک",
|
||||
"Upload too large" => "حجم بارگذاری بسیار زیاد است",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "فایلها بیش از حد تعیین شده در این سرور هستند\nمترجم:با تغییر فایل php,ini میتوان این محدودیت را برطرف کرد",
|
||||
"Files are being scanned, please wait." => "پرونده ها در حال بازرسی هستند لطفا صبر کنید",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Kohteen %s siirto ei onnistunut - Tiedosto samalla nimellä on jo olemassa",
|
||||
"Could not move %s" => "Kohteen %s siirto ei onnistunut",
|
||||
"Unable to rename file" => "Tiedoston nimeäminen uudelleen ei onnistunut",
|
||||
"No file was uploaded. Unknown error" => "Tiedostoa ei lähetetty. Tuntematon virhe",
|
||||
"There is no error, the file uploaded with success" => "Ei virheitä, tiedosto lähetettiin onnistuneesti",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Lähetetty tiedosto ylittää HTML-lomakkeessa määritetyn MAX_FILE_SIZE-arvon ylärajan",
|
||||
|
@ -6,11 +9,13 @@
|
|||
"No file was uploaded" => "Yhtäkään tiedostoa ei lähetetty",
|
||||
"Missing a temporary folder" => "Väliaikaiskansiota ei ole olemassa",
|
||||
"Failed to write to disk" => "Levylle kirjoitus epäonnistui",
|
||||
"Not enough storage available" => "Tallennustilaa ei ole riittävästi käytettävissä",
|
||||
"Invalid directory." => "Virheellinen kansio.",
|
||||
"Files" => "Tiedostot",
|
||||
"Unshare" => "Peru jakaminen",
|
||||
"Delete permanently" => "Poista pysyvästi",
|
||||
"Delete" => "Poista",
|
||||
"Rename" => "Nimeä uudelleen",
|
||||
"Pending" => "Odottaa",
|
||||
"{new_name} already exists" => "{new_name} on jo olemassa",
|
||||
"replace" => "korvaa",
|
||||
"suggest name" => "ehdota nimeä",
|
||||
|
@ -26,7 +31,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Tiedoston lähetys epäonnistui, koska sen koko on 0 tavua tai kyseessä on kansio",
|
||||
"Upload Error" => "Lähetysvirhe.",
|
||||
"Close" => "Sulje",
|
||||
"Pending" => "Odottaa",
|
||||
"Upload cancelled." => "Lähetys peruttu.",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "Tiedoston lähetys on meneillään. Sivulta poistuminen nyt peruu tiedoston lähetyksen.",
|
||||
"URL cannot be empty." => "Verkko-osoite ei voi olla tyhjä",
|
||||
|
@ -50,10 +54,11 @@
|
|||
"Text file" => "Tekstitiedosto",
|
||||
"Folder" => "Kansio",
|
||||
"From link" => "Linkistä",
|
||||
"Trash" => "Roskakori",
|
||||
"Trash bin" => "Roskakori",
|
||||
"Cancel upload" => "Peru lähetys",
|
||||
"Nothing in here. Upload something!" => "Täällä ei ole mitään. Lähetä tänne jotakin!",
|
||||
"Download" => "Lataa",
|
||||
"Unshare" => "Peru jakaminen",
|
||||
"Upload too large" => "Lähetettävä tiedosto on liian suuri",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Lähetettäväksi valitsemasi tiedostot ylittävät palvelimen salliman tiedostokoon rajan.",
|
||||
"Files are being scanned, please wait." => "Tiedostoja tarkistetaan, odota hetki.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Impossible de déplacer %s - Un fichier possédant ce nom existe déjà",
|
||||
"Could not move %s" => "Impossible de déplacer %s",
|
||||
"Unable to rename file" => "Impossible de renommer le fichier",
|
||||
"No file was uploaded. Unknown error" => "Aucun fichier n'a été chargé. Erreur inconnue",
|
||||
"There is no error, the file uploaded with success" => "Aucune erreur, le fichier a été téléversé avec succès",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Le fichier envoyé dépasse la valeur upload_max_filesize située dans le fichier php.ini:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Aucun fichier n'a été téléversé",
|
||||
"Missing a temporary folder" => "Il manque un répertoire temporaire",
|
||||
"Failed to write to disk" => "Erreur d'écriture sur le disque",
|
||||
"Not enough storage available" => "Plus assez d'espace de stockage disponible",
|
||||
"Invalid directory." => "Dossier invalide.",
|
||||
"Files" => "Fichiers",
|
||||
"Unshare" => "Ne plus partager",
|
||||
"Delete permanently" => "Supprimer de façon définitive",
|
||||
"Delete" => "Supprimer",
|
||||
"Rename" => "Renommer",
|
||||
"Pending" => "En cours",
|
||||
"{new_name} already exists" => "{new_name} existe déjà",
|
||||
"replace" => "remplacer",
|
||||
"suggest name" => "Suggérer un nom",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Impossible de charger vos fichiers car il s'agit d'un dossier ou le fichier fait 0 octet.",
|
||||
"Upload Error" => "Erreur de chargement",
|
||||
"Close" => "Fermer",
|
||||
"Pending" => "En cours",
|
||||
"1 file uploading" => "1 fichier en cours de téléchargement",
|
||||
"{count} files uploading" => "{count} fichiers téléversés",
|
||||
"Upload cancelled." => "Chargement annulé.",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "Fichier texte",
|
||||
"Folder" => "Dossier",
|
||||
"From link" => "Depuis le lien",
|
||||
"Trash" => "Corbeille",
|
||||
"Trash bin" => "Corbeille",
|
||||
"Cancel upload" => "Annuler l'envoi",
|
||||
"Nothing in here. Upload something!" => "Il n'y a rien ici ! Envoyez donc quelque chose :)",
|
||||
"Download" => "Télécharger",
|
||||
"Unshare" => "Ne plus partager",
|
||||
"Upload too large" => "Fichier trop volumineux",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Les fichiers que vous essayez d'envoyer dépassent la taille maximale permise par ce serveur.",
|
||||
"Files are being scanned, please wait." => "Les fichiers sont en cours d'analyse, veuillez patienter.",
|
||||
|
|
|
@ -1,37 +1,45 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"No file was uploaded. Unknown error" => "Non se subiu ningún ficheiro. Erro descoñecido.",
|
||||
"There is no error, the file uploaded with success" => "Non hai erros. O ficheiro enviouse correctamente",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "O ficheiro subido excede a directiva indicada polo tamaño_máximo_de_subida de php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "O ficheiro enviado supera a directiva MAX_FILE_SIZE que foi indicada no formulario HTML",
|
||||
"Could not move %s - File with this name already exists" => "Non se moveu %s - Xa existe un ficheiro con ese nome.",
|
||||
"Could not move %s" => "Non foi posíbel mover %s",
|
||||
"Unable to rename file" => "Non é posíbel renomear o ficheiro",
|
||||
"No file was uploaded. Unknown error" => "Non foi enviado ningún ficheiro. Produciuse un erro descoñecido.",
|
||||
"There is no error, the file uploaded with success" => "Non se produciu ningún erro. O ficheiro enviouse correctamente",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "O ficheiro enviado excede a directiva indicada por upload_max_filesize de php.ini:",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "O ficheiro enviado excede a directiva MAX_FILE_SIZE que foi indicada no formulario HTML",
|
||||
"The uploaded file was only partially uploaded" => "O ficheiro enviado foi só parcialmente enviado",
|
||||
"No file was uploaded" => "Non se enviou ningún ficheiro",
|
||||
"Missing a temporary folder" => "Falta un cartafol temporal",
|
||||
"Failed to write to disk" => "Erro ao escribir no disco",
|
||||
"Failed to write to disk" => "Produciuse un erro ao escribir no disco",
|
||||
"Not enough storage available" => "Non hai espazo de almacenamento abondo",
|
||||
"Invalid directory." => "O directorio é incorrecto.",
|
||||
"Files" => "Ficheiros",
|
||||
"Unshare" => "Deixar de compartir",
|
||||
"Delete permanently" => "Eliminar permanentemente",
|
||||
"Delete" => "Eliminar",
|
||||
"Rename" => "Mudar o nome",
|
||||
"Rename" => "Renomear",
|
||||
"Pending" => "Pendentes",
|
||||
"{new_name} already exists" => "xa existe un {new_name}",
|
||||
"replace" => "substituír",
|
||||
"suggest name" => "suxerir nome",
|
||||
"cancel" => "cancelar",
|
||||
"replaced {new_name}" => "substituír {new_name}",
|
||||
"undo" => "desfacer",
|
||||
"replaced {new_name} with {old_name}" => "substituír {new_name} polo {old_name}",
|
||||
"'.' is an invalid file name." => "'.' é un nonme de ficheiro non válido",
|
||||
"File name cannot be empty." => "O nome de ficheiro non pode estar baldeiro",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Nome non válido, '\\', '/', '<', '>', ':', '\"', '|', '?' e '*' non se permiten.",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "Non se puido subir o ficheiro pois ou é un directorio ou ten 0 bytes",
|
||||
"Upload Error" => "Erro na subida",
|
||||
"replaced {new_name} with {old_name}" => "substituír {new_name} por {old_name}",
|
||||
"perform delete operation" => "realizar a operación de eliminación",
|
||||
"'.' is an invalid file name." => "«.» é un nome de ficheiro incorrecto",
|
||||
"File name cannot be empty." => "O nome de ficheiro non pode estar baleiro",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Nome incorrecto, non se permite «\\», «/», «<», «>», «:», «\"», «|», «?» e «*».",
|
||||
"Your storage is full, files can not be updated or synced anymore!" => "O seu espazo de almacenamento está cheo, non é posíbel actualizar ou sincronizar máis os ficheiros!",
|
||||
"Your storage is almost full ({usedSpacePercent}%)" => "O seu espazo de almacenamento está case cheo ({usedSpacePercent}%)",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "Está a prepararse a súa descarga. Isto pode levar bastante tempo se os ficheiros son grandes.",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "Non foi posíbel enviar o ficheiro pois ou é un directorio ou ten 0 bytes",
|
||||
"Upload Error" => "Produciuse un erro no envío",
|
||||
"Close" => "Pechar",
|
||||
"Pending" => "Pendentes",
|
||||
"1 file uploading" => "1 ficheiro subíndose",
|
||||
"{count} files uploading" => "{count} ficheiros subíndose",
|
||||
"Upload cancelled." => "Subida cancelada.",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "A subida do ficheiro está en curso. Saír agora da páxina cancelará a subida.",
|
||||
"URL cannot be empty." => "URL non pode quedar baleiro.",
|
||||
"Invalid folder name. Usage of 'Shared' is reserved by Owncloud" => "Nome de cartafol non válido. O uso de 'Shared' está reservado por Owncloud",
|
||||
"1 file uploading" => "Enviándose 1 ficheiro",
|
||||
"{count} files uploading" => "Enviandose {count} ficheiros",
|
||||
"Upload cancelled." => "Envío cancelado.",
|
||||
"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 baleiro.",
|
||||
"Invalid folder name. Usage of 'Shared' is reserved by Owncloud" => "Nome de cartafol incorrecto. O uso de «Shared» está reservado por Owncloud",
|
||||
"Name" => "Nome",
|
||||
"Size" => "Tamaño",
|
||||
"Modified" => "Modificado",
|
||||
|
@ -41,22 +49,25 @@
|
|||
"{count} files" => "{count} ficheiros",
|
||||
"Upload" => "Enviar",
|
||||
"File handling" => "Manexo de ficheiro",
|
||||
"Maximum upload size" => "Tamaño máximo de envío",
|
||||
"max. possible: " => "máx. posible: ",
|
||||
"Maximum upload size" => "Tamaño máximo do envío",
|
||||
"max. possible: " => "máx. posíbel: ",
|
||||
"Needed for multi-file and folder downloads." => "Precísase para a descarga de varios ficheiros e cartafoles.",
|
||||
"Enable ZIP-download" => "Habilitar a descarga-ZIP",
|
||||
"0 is unlimited" => "0 significa ilimitado",
|
||||
"Maximum input size for ZIP files" => "Tamaño máximo de descarga para os ZIP",
|
||||
"Maximum input size for ZIP files" => "Tamaño máximo de descarga para os ficheiros ZIP",
|
||||
"Save" => "Gardar",
|
||||
"New" => "Novo",
|
||||
"Text file" => "Ficheiro de texto",
|
||||
"Folder" => "Cartafol",
|
||||
"From link" => "Dende a ligazón",
|
||||
"Cancel upload" => "Cancelar a subida",
|
||||
"Nothing in here. Upload something!" => "Nada por aquí. Envía algo.",
|
||||
"From link" => "Desde a ligazón",
|
||||
"Trash bin" => "Cesto do lixo",
|
||||
"Cancel upload" => "Cancelar o envío",
|
||||
"Nothing in here. Upload something!" => "Aquí non hai nada por aquí. Envíe algo.",
|
||||
"Download" => "Descargar",
|
||||
"Unshare" => "Deixar de compartir",
|
||||
"Upload too large" => "Envío demasiado grande",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Os ficheiros que trata de subir superan o tamaño máximo permitido neste servidor",
|
||||
"Files are being scanned, please wait." => "Estanse analizando os ficheiros. Agarda.",
|
||||
"Current scanning" => "Análise actual"
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Os ficheiros que tenta enviar exceden do tamaño máximo permitido neste servidor",
|
||||
"Files are being scanned, please wait." => "Estanse analizando os ficheiros. Agarde.",
|
||||
"Current scanning" => "Análise actual",
|
||||
"Upgrading filesystem cache..." => "Anovando a caché do sistema de ficheiros..."
|
||||
);
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
"Missing a temporary folder" => "תיקייה זמנית חסרה",
|
||||
"Failed to write to disk" => "הכתיבה לכונן נכשלה",
|
||||
"Files" => "קבצים",
|
||||
"Unshare" => "הסר שיתוף",
|
||||
"Delete" => "מחיקה",
|
||||
"Rename" => "שינוי שם",
|
||||
"Pending" => "ממתין",
|
||||
"{new_name} already exists" => "{new_name} כבר קיים",
|
||||
"replace" => "החלפה",
|
||||
"suggest name" => "הצעת שם",
|
||||
|
@ -22,7 +22,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "לא יכול להעלות את הקובץ מכיוון שזו תקיה או שמשקל הקובץ 0 בתים",
|
||||
"Upload Error" => "שגיאת העלאה",
|
||||
"Close" => "סגירה",
|
||||
"Pending" => "ממתין",
|
||||
"1 file uploading" => "קובץ אחד נשלח",
|
||||
"{count} files uploading" => "{count} קבצים נשלחים",
|
||||
"Upload cancelled." => "ההעלאה בוטלה.",
|
||||
|
@ -51,6 +50,7 @@
|
|||
"Cancel upload" => "ביטול ההעלאה",
|
||||
"Nothing in here. Upload something!" => "אין כאן שום דבר. אולי ברצונך להעלות משהו?",
|
||||
"Download" => "הורדה",
|
||||
"Unshare" => "הסר שיתוף",
|
||||
"Upload too large" => "העלאה גדולה מידי",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "הקבצים שניסית להעלות חרגו מהגודל המקסימלי להעלאת קבצים על שרת זה.",
|
||||
"Files are being scanned, please wait." => "הקבצים נסרקים, נא להמתין.",
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
"Missing a temporary folder" => "Nedostaje privremena mapa",
|
||||
"Failed to write to disk" => "Neuspjelo pisanje na disk",
|
||||
"Files" => "Datoteke",
|
||||
"Unshare" => "Prekini djeljenje",
|
||||
"Delete" => "Briši",
|
||||
"Rename" => "Promjeni ime",
|
||||
"Pending" => "U tijeku",
|
||||
"replace" => "zamjeni",
|
||||
"suggest name" => "predloži ime",
|
||||
"cancel" => "odustani",
|
||||
|
@ -16,7 +16,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Nemoguće poslati datoteku jer je prazna ili je direktorij",
|
||||
"Upload Error" => "Pogreška pri slanju",
|
||||
"Close" => "Zatvori",
|
||||
"Pending" => "U tijeku",
|
||||
"1 file uploading" => "1 datoteka se učitava",
|
||||
"Upload cancelled." => "Slanje poništeno.",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "Učitavanje datoteke. Napuštanjem stranice će prekinuti učitavanje.",
|
||||
|
@ -38,6 +37,7 @@
|
|||
"Cancel upload" => "Prekini upload",
|
||||
"Nothing in here. Upload something!" => "Nema ničega u ovoj mapi. Pošalji nešto!",
|
||||
"Download" => "Preuzmi",
|
||||
"Unshare" => "Prekini djeljenje",
|
||||
"Upload too large" => "Prijenos je preobiman",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Datoteke koje pokušavate prenijeti prelaze maksimalnu veličinu za prijenos datoteka na ovom poslužitelju.",
|
||||
"Files are being scanned, please wait." => "Datoteke se skeniraju, molimo pričekajte.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "%s áthelyezése nem sikerült - már létezik másik fájl ezzel a névvel",
|
||||
"Could not move %s" => "Nem sikerült %s áthelyezése",
|
||||
"Unable to rename file" => "Nem lehet átnevezni a fájlt",
|
||||
"No file was uploaded. Unknown error" => "Nem történt feltöltés. Ismeretlen hiba",
|
||||
"There is no error, the file uploaded with success" => "A fájlt sikerült feltölteni",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "A feltöltött fájl mérete meghaladja a php.ini állományban megadott upload_max_filesize paraméter értékét.",
|
||||
|
@ -7,11 +10,12 @@
|
|||
"No file was uploaded" => "Nem töltődött fel semmi",
|
||||
"Missing a temporary folder" => "Hiányzik egy ideiglenes mappa",
|
||||
"Failed to write to disk" => "Nem sikerült a lemezre történő írás",
|
||||
"Not enough storage available" => "Nincs elég szabad hely.",
|
||||
"Invalid directory." => "Érvénytelen mappa.",
|
||||
"Files" => "Fájlok",
|
||||
"Unshare" => "Megosztás visszavonása",
|
||||
"Delete" => "Törlés",
|
||||
"Rename" => "Átnevezés",
|
||||
"Pending" => "Folyamatban",
|
||||
"{new_name} already exists" => "{new_name} már létezik",
|
||||
"replace" => "írjuk fölül",
|
||||
"suggest name" => "legyen más neve",
|
||||
|
@ -28,7 +32,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Nem tölthető fel, mert mappa volt, vagy 0 byte méretű",
|
||||
"Upload Error" => "Feltöltési hiba",
|
||||
"Close" => "Bezárás",
|
||||
"Pending" => "Folyamatban",
|
||||
"1 file uploading" => "1 fájl töltődik föl",
|
||||
"{count} files uploading" => "{count} fájl töltődik föl",
|
||||
"Upload cancelled." => "A feltöltést megszakítottuk.",
|
||||
|
@ -58,6 +61,7 @@
|
|||
"Cancel upload" => "A feltöltés megszakítása",
|
||||
"Nothing in here. Upload something!" => "Itt nincs semmi. Töltsön fel valamit!",
|
||||
"Download" => "Letöltés",
|
||||
"Unshare" => "Megosztás visszavonása",
|
||||
"Upload too large" => "A feltöltés túl nagy",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "A feltöltendő állományok mérete meghaladja a kiszolgálón megengedett maximális méretet.",
|
||||
"Files are being scanned, please wait." => "A fájllista ellenőrzése zajlik, kis türelmet!",
|
||||
|
|
|
@ -6,15 +6,14 @@
|
|||
"Missing a temporary folder" => "Kehilangan folder temporer",
|
||||
"Failed to write to disk" => "Gagal menulis ke disk",
|
||||
"Files" => "Berkas",
|
||||
"Unshare" => "batalkan berbagi",
|
||||
"Delete" => "Hapus",
|
||||
"Pending" => "Menunggu",
|
||||
"replace" => "mengganti",
|
||||
"cancel" => "batalkan",
|
||||
"undo" => "batal dikerjakan",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "Gagal mengunggah berkas anda karena berupa direktori atau mempunyai ukuran 0 byte",
|
||||
"Upload Error" => "Terjadi Galat Pengunggahan",
|
||||
"Close" => "tutup",
|
||||
"Pending" => "Menunggu",
|
||||
"Upload cancelled." => "Pengunggahan dibatalkan.",
|
||||
"URL cannot be empty." => "tautan tidak boleh kosong",
|
||||
"Name" => "Nama",
|
||||
|
@ -35,6 +34,7 @@
|
|||
"Cancel upload" => "Batal mengunggah",
|
||||
"Nothing in here. Upload something!" => "Tidak ada apa-apa di sini. Unggah sesuatu!",
|
||||
"Download" => "Unduh",
|
||||
"Unshare" => "batalkan berbagi",
|
||||
"Upload too large" => "Unggahan terlalu besar",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Berkas yang anda coba unggah melebihi ukuran maksimum untuk pengunggahan berkas di server ini.",
|
||||
"Files are being scanned, please wait." => "Berkas sedang dipindai, silahkan tunggu.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Gat ekki fært %s - Skrá með þessu nafni er þegar til",
|
||||
"Could not move %s" => "Gat ekki fært %s",
|
||||
"Unable to rename file" => "Gat ekki endurskýrt skrá",
|
||||
"No file was uploaded. Unknown error" => "Engin skrá var send inn. Óþekkt villa.",
|
||||
"There is no error, the file uploaded with success" => "Engin villa, innsending heppnaðist",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Innsend skrá er stærri en upload_max stillingin í php.ini:",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "Tókst ekki að skrifa á disk",
|
||||
"Invalid directory." => "Ógild mappa.",
|
||||
"Files" => "Skrár",
|
||||
"Unshare" => "Hætta deilingu",
|
||||
"Delete" => "Eyða",
|
||||
"Rename" => "Endurskýra",
|
||||
"Pending" => "Bíður",
|
||||
"{new_name} already exists" => "{new_name} er þegar til",
|
||||
"replace" => "yfirskrifa",
|
||||
"suggest name" => "stinga upp á nafni",
|
||||
|
@ -25,7 +28,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Innsending á skrá mistókst, hugsanlega sendir þú möppu eða skráin er 0 bæti.",
|
||||
"Upload Error" => "Villa við innsendingu",
|
||||
"Close" => "Loka",
|
||||
"Pending" => "Bíður",
|
||||
"1 file uploading" => "1 skrá innsend",
|
||||
"{count} files uploading" => "{count} skrár innsendar",
|
||||
"Upload cancelled." => "Hætt við innsendingu.",
|
||||
|
@ -55,6 +57,7 @@
|
|||
"Cancel upload" => "Hætta við innsendingu",
|
||||
"Nothing in here. Upload something!" => "Ekkert hér. Settu eitthvað inn!",
|
||||
"Download" => "Niðurhal",
|
||||
"Unshare" => "Hætta deilingu",
|
||||
"Upload too large" => "Innsend skrá er of stór",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Skrárnar sem þú ert að senda inn eru stærri en hámarks innsendingarstærð á þessum netþjóni.",
|
||||
"Files are being scanned, please wait." => "Verið er að skima skrár, vinsamlegast hinkraðu.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Impossibile spostare %s - un file con questo nome esiste già",
|
||||
"Could not move %s" => "Impossibile spostare %s",
|
||||
"Unable to rename file" => "Impossibile rinominare il file",
|
||||
"No file was uploaded. Unknown error" => "Nessun file è stato inviato. Errore sconosciuto",
|
||||
"There is no error, the file uploaded with success" => "Non ci sono errori, file caricato con successo",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Il file caricato supera la direttiva upload_max_filesize in php.ini:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Nessun file è stato caricato",
|
||||
"Missing a temporary folder" => "Cartella temporanea mancante",
|
||||
"Failed to write to disk" => "Scrittura su disco non riuscita",
|
||||
"Not enough storage available" => "Spazio di archiviazione insufficiente",
|
||||
"Invalid directory." => "Cartella non valida.",
|
||||
"Files" => "File",
|
||||
"Unshare" => "Rimuovi condivisione",
|
||||
"Delete permanently" => "Elimina definitivamente",
|
||||
"Delete" => "Elimina",
|
||||
"Rename" => "Rinomina",
|
||||
"Pending" => "In corso",
|
||||
"{new_name} already exists" => "{new_name} esiste già",
|
||||
"replace" => "sostituisci",
|
||||
"suggest name" => "suggerisci nome",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Impossibile inviare il file poiché è una cartella o ha dimensione 0 byte",
|
||||
"Upload Error" => "Errore di invio",
|
||||
"Close" => "Chiudi",
|
||||
"Pending" => "In corso",
|
||||
"1 file uploading" => "1 file in fase di caricamento",
|
||||
"{count} files uploading" => "{count} file in fase di caricamentoe",
|
||||
"Upload cancelled." => "Invio annullato",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "File di testo",
|
||||
"Folder" => "Cartella",
|
||||
"From link" => "Da collegamento",
|
||||
"Trash" => "Cestino",
|
||||
"Trash bin" => "Cestino",
|
||||
"Cancel upload" => "Annulla invio",
|
||||
"Nothing in here. Upload something!" => "Non c'è niente qui. Carica qualcosa!",
|
||||
"Download" => "Scarica",
|
||||
"Unshare" => "Rimuovi condivisione",
|
||||
"Upload too large" => "Il file caricato è troppo grande",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "I file che stai provando a caricare superano la dimensione massima consentita su questo server.",
|
||||
"Files are being scanned, please wait." => "Scansione dei file in corso, attendi",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "%s を移動できませんでした ― この名前のファイルはすでに存在します",
|
||||
"Could not move %s" => "%s を移動できませんでした",
|
||||
"Unable to rename file" => "ファイル名の変更ができません",
|
||||
"No file was uploaded. Unknown error" => "ファイルは何もアップロードされていません。不明なエラー",
|
||||
"There is no error, the file uploaded with success" => "エラーはありません。ファイルのアップロードは成功しました",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "アップロードされたファイルはphp.ini の upload_max_filesize に設定されたサイズを超えています:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "ファイルはアップロードされませんでした",
|
||||
"Missing a temporary folder" => "テンポラリフォルダが見つかりません",
|
||||
"Failed to write to disk" => "ディスクへの書き込みに失敗しました",
|
||||
"Not enough storage available" => "ストレージに十分な空き容量がありません",
|
||||
"Invalid directory." => "無効なディレクトリです。",
|
||||
"Files" => "ファイル",
|
||||
"Unshare" => "共有しない",
|
||||
"Delete permanently" => "完全に削除する",
|
||||
"Delete" => "削除",
|
||||
"Rename" => "名前の変更",
|
||||
"Pending" => "保留",
|
||||
"{new_name} already exists" => "{new_name} はすでに存在しています",
|
||||
"replace" => "置き換え",
|
||||
"suggest name" => "推奨名称",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "ディレクトリもしくは0バイトのファイルはアップロードできません",
|
||||
"Upload Error" => "アップロードエラー",
|
||||
"Close" => "閉じる",
|
||||
"Pending" => "保留",
|
||||
"1 file uploading" => "ファイルを1つアップロード中",
|
||||
"{count} files uploading" => "{count} ファイルをアップロード中",
|
||||
"Upload cancelled." => "アップロードはキャンセルされました。",
|
||||
|
@ -57,10 +60,10 @@
|
|||
"Text file" => "テキストファイル",
|
||||
"Folder" => "フォルダ",
|
||||
"From link" => "リンク",
|
||||
"Trash" => "ゴミ箱",
|
||||
"Cancel upload" => "アップロードをキャンセル",
|
||||
"Nothing in here. Upload something!" => "ここには何もありません。何かアップロードしてください。",
|
||||
"Download" => "ダウンロード",
|
||||
"Unshare" => "共有しない",
|
||||
"Upload too large" => "ファイルサイズが大きすぎます",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "アップロードしようとしているファイルは、サーバで規定された最大サイズを超えています。",
|
||||
"Files are being scanned, please wait." => "ファイルをスキャンしています、しばらくお待ちください。",
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
"Missing a temporary folder" => "დროებითი საქაღალდე არ არსებობს",
|
||||
"Failed to write to disk" => "შეცდომა დისკზე ჩაწერისას",
|
||||
"Files" => "ფაილები",
|
||||
"Unshare" => "გაზიარების მოხსნა",
|
||||
"Delete" => "წაშლა",
|
||||
"Rename" => "გადარქმევა",
|
||||
"Pending" => "მოცდის რეჟიმში",
|
||||
"{new_name} already exists" => "{new_name} უკვე არსებობს",
|
||||
"replace" => "შეცვლა",
|
||||
"suggest name" => "სახელის შემოთავაზება",
|
||||
|
@ -19,7 +19,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "თქვენი ფაილის ატვირთვა ვერ მოხერხდა. ის არის საქაღალდე და შეიცავს 0 ბაიტს",
|
||||
"Upload Error" => "შეცდომა ატვირთვისას",
|
||||
"Close" => "დახურვა",
|
||||
"Pending" => "მოცდის რეჟიმში",
|
||||
"1 file uploading" => "1 ფაილის ატვირთვა",
|
||||
"{count} files uploading" => "{count} ფაილი იტვირთება",
|
||||
"Upload cancelled." => "ატვირთვა შეჩერებულ იქნა.",
|
||||
|
@ -46,6 +45,7 @@
|
|||
"Cancel upload" => "ატვირთვის გაუქმება",
|
||||
"Nothing in here. Upload something!" => "აქ არაფერი არ არის. ატვირთე რამე!",
|
||||
"Download" => "ჩამოტვირთვა",
|
||||
"Unshare" => "გაზიარების მოხსნა",
|
||||
"Upload too large" => "ასატვირთი ფაილი ძალიან დიდია",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "ფაილის ზომა რომლის ატვირთვასაც თქვენ აპირებთ, აჭარბებს სერვერზე დაშვებულ მაქსიმუმს.",
|
||||
"Files are being scanned, please wait." => "მიმდინარეობს ფაილების სკანირება, გთხოვთ დაელოდოთ.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "%s 항목을 이동시키지 못하였음 - 파일 이름이 이미 존재함",
|
||||
"Could not move %s" => "%s 항목을 이딩시키지 못하였음",
|
||||
"Unable to rename file" => "파일 이름바꾸기 할 수 없음",
|
||||
"No file was uploaded. Unknown error" => "파일이 업로드되지 않았습니다. 알 수 없는 오류입니다",
|
||||
"There is no error, the file uploaded with success" => "업로드에 성공하였습니다.",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "업로드한 파일이 php.ini의 upload_max_filesize보다 큽니다:",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "디스크에 쓰지 못했습니다",
|
||||
"Invalid directory." => "올바르지 않은 디렉터리입니다.",
|
||||
"Files" => "파일",
|
||||
"Unshare" => "공유 해제",
|
||||
"Delete" => "삭제",
|
||||
"Rename" => "이름 바꾸기",
|
||||
"Pending" => "보류 중",
|
||||
"{new_name} already exists" => "{new_name}이(가) 이미 존재함",
|
||||
"replace" => "바꾸기",
|
||||
"suggest name" => "이름 제안",
|
||||
|
@ -28,7 +31,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "이 파일은 디렉터리이거나 비어 있기 때문에 업로드할 수 없습니다",
|
||||
"Upload Error" => "업로드 오류",
|
||||
"Close" => "닫기",
|
||||
"Pending" => "보류 중",
|
||||
"1 file uploading" => "파일 1개 업로드 중",
|
||||
"{count} files uploading" => "파일 {count}개 업로드 중",
|
||||
"Upload cancelled." => "업로드가 취소되었습니다.",
|
||||
|
@ -58,6 +60,7 @@
|
|||
"Cancel upload" => "업로드 취소",
|
||||
"Nothing in here. Upload something!" => "내용이 없습니다. 업로드할 수 있습니다!",
|
||||
"Download" => "다운로드",
|
||||
"Unshare" => "공유 해제",
|
||||
"Upload too large" => "업로드 용량 초과",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "이 파일이 서버에서 허용하는 최대 업로드 가능 용량보다 큽니다.",
|
||||
"Files are being scanned, please wait." => "파일을 검색하고 있습니다. 기다려 주십시오.",
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
"Missing a temporary folder" => "Et feelt en temporären Dossier",
|
||||
"Failed to write to disk" => "Konnt net op den Disk schreiwen",
|
||||
"Files" => "Dateien",
|
||||
"Unshare" => "Net méi deelen",
|
||||
"Delete" => "Läschen",
|
||||
"replace" => "ersetzen",
|
||||
"cancel" => "ofbriechen",
|
||||
|
@ -34,6 +33,7 @@
|
|||
"Cancel upload" => "Upload ofbriechen",
|
||||
"Nothing in here. Upload something!" => "Hei ass näischt. Lued eppes rop!",
|
||||
"Download" => "Eroflueden",
|
||||
"Unshare" => "Net méi deelen",
|
||||
"Upload too large" => "Upload ze grouss",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Déi Dateien déi Dir probéiert erop ze lueden sinn méi grouss wei déi Maximal Gréisst déi op dësem Server erlaabt ass.",
|
||||
"Files are being scanned, please wait." => "Fichieren gi gescannt, war weg.",
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
"Missing a temporary folder" => "Nėra laikinojo katalogo",
|
||||
"Failed to write to disk" => "Nepavyko įrašyti į diską",
|
||||
"Files" => "Failai",
|
||||
"Unshare" => "Nebesidalinti",
|
||||
"Delete" => "Ištrinti",
|
||||
"Rename" => "Pervadinti",
|
||||
"Pending" => "Laukiantis",
|
||||
"{new_name} already exists" => "{new_name} jau egzistuoja",
|
||||
"replace" => "pakeisti",
|
||||
"suggest name" => "pasiūlyti pavadinimą",
|
||||
|
@ -19,7 +19,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Neįmanoma įkelti failo - jo dydis gali būti 0 bitų arba tai katalogas",
|
||||
"Upload Error" => "Įkėlimo klaida",
|
||||
"Close" => "Užverti",
|
||||
"Pending" => "Laukiantis",
|
||||
"1 file uploading" => "įkeliamas 1 failas",
|
||||
"{count} files uploading" => "{count} įkeliami failai",
|
||||
"Upload cancelled." => "Įkėlimas atšauktas.",
|
||||
|
@ -46,6 +45,7 @@
|
|||
"Cancel upload" => "Atšaukti siuntimą",
|
||||
"Nothing in here. Upload something!" => "Čia tuščia. Įkelkite ką nors!",
|
||||
"Download" => "Atsisiųsti",
|
||||
"Unshare" => "Nebesidalinti",
|
||||
"Upload too large" => "Įkėlimui failas per didelis",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Bandomų įkelti failų dydis viršija maksimalų leidžiamą šiame serveryje",
|
||||
"Files are being scanned, please wait." => "Skenuojami failai, prašome palaukti.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Nevarēja pārvietot %s — jau eksistē datne ar tādu nosaukumu",
|
||||
"Could not move %s" => "Nevarēja pārvietot %s",
|
||||
"Unable to rename file" => "Nevarēja pārsaukt datni",
|
||||
"No file was uploaded. Unknown error" => "Netika augšupielādēta neviena datne. Nezināma kļūda",
|
||||
"There is no error, the file uploaded with success" => "Augšupielāde pabeigta bez kļūdām",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Augšupielādētā datne pārsniedz upload_max_filesize norādījumu php.ini datnē:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Neviena datne netika augšupielādēta",
|
||||
"Missing a temporary folder" => "Trūkst pagaidu mapes",
|
||||
"Failed to write to disk" => "Neizdevās saglabāt diskā",
|
||||
"Not enough storage available" => "Nav pietiekami daudz vietas",
|
||||
"Invalid directory." => "Nederīga direktorija.",
|
||||
"Files" => "Datnes",
|
||||
"Unshare" => "Pārtraukt dalīšanos",
|
||||
"Delete permanently" => "Dzēst pavisam",
|
||||
"Delete" => "Dzēst",
|
||||
"Rename" => "Pārsaukt",
|
||||
"Pending" => "Gaida savu kārtu",
|
||||
"{new_name} already exists" => "{new_name} jau eksistē",
|
||||
"replace" => "aizvietot",
|
||||
"suggest name" => "ieteiktais nosaukums",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Nevar augšupielādēt jūsu datni, jo tā ir direktorija vai arī tās izmērs ir 0 baiti",
|
||||
"Upload Error" => "Kļūda augšupielādējot",
|
||||
"Close" => "Aizvērt",
|
||||
"Pending" => "Gaida savu kārtu",
|
||||
"1 file uploading" => "Augšupielādē 1 datni",
|
||||
"{count} files uploading" => "augšupielādē {count} datnes",
|
||||
"Upload cancelled." => "Augšupielāde ir atcelta.",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "Teksta datne",
|
||||
"Folder" => "Mape",
|
||||
"From link" => "No saites",
|
||||
"Trash" => "Miskaste",
|
||||
"Trash bin" => "Miskaste",
|
||||
"Cancel upload" => "Atcelt augšupielādi",
|
||||
"Nothing in here. Upload something!" => "Te vēl nekas nav. Rīkojies, sāc augšupielādēt!",
|
||||
"Download" => "Lejupielādēt",
|
||||
"Unshare" => "Pārtraukt dalīšanos",
|
||||
"Upload too large" => "Datne ir par lielu, lai to augšupielādētu",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Augšupielādējamās datnes pārsniedz servera pieļaujamo datņu augšupielādes apjomu",
|
||||
"Files are being scanned, please wait." => "Datnes šobrīd tiek caurskatītas, lūdzu, uzgaidiet.",
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
"Missing a temporary folder" => "Не постои привремена папка",
|
||||
"Failed to write to disk" => "Неуспеав да запишам на диск",
|
||||
"Files" => "Датотеки",
|
||||
"Unshare" => "Не споделувај",
|
||||
"Delete" => "Избриши",
|
||||
"Rename" => "Преименувај",
|
||||
"Pending" => "Чека",
|
||||
"{new_name} already exists" => "{new_name} веќе постои",
|
||||
"replace" => "замени",
|
||||
"suggest name" => "предложи име",
|
||||
|
@ -22,7 +22,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Не може да се преземе вашата датотека бидејќи фолдерот во кој се наоѓа фајлот има големина од 0 бајти",
|
||||
"Upload Error" => "Грешка при преземање",
|
||||
"Close" => "Затвои",
|
||||
"Pending" => "Чека",
|
||||
"1 file uploading" => "1 датотека се подига",
|
||||
"{count} files uploading" => "{count} датотеки се подигаат",
|
||||
"Upload cancelled." => "Преземањето е прекинато.",
|
||||
|
@ -51,6 +50,7 @@
|
|||
"Cancel upload" => "Откажи прикачување",
|
||||
"Nothing in here. Upload something!" => "Тука нема ништо. Снимете нешто!",
|
||||
"Download" => "Преземи",
|
||||
"Unshare" => "Не споделувај",
|
||||
"Upload too large" => "Датотеката е премногу голема",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Датотеките кои се обидувате да ги подигнете ја надминуваат максималната големина за подигнување датотеки на овој сервер.",
|
||||
"Files are being scanned, please wait." => "Се скенираат датотеки, ве молам почекајте.",
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
"Failed to write to disk" => "Gagal untuk disimpan",
|
||||
"Files" => "fail",
|
||||
"Delete" => "Padam",
|
||||
"Pending" => "Dalam proses",
|
||||
"replace" => "ganti",
|
||||
"cancel" => "Batal",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "Tidak boleh memuatnaik fail anda kerana mungkin ianya direktori atau saiz fail 0 bytes",
|
||||
"Upload Error" => "Muat naik ralat",
|
||||
"Close" => "Tutup",
|
||||
"Pending" => "Dalam proses",
|
||||
"Upload cancelled." => "Muatnaik dibatalkan.",
|
||||
"Name" => "Nama ",
|
||||
"Size" => "Saiz",
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"Missing a temporary folder" => "Mangler en midlertidig mappe",
|
||||
"Failed to write to disk" => "Klarte ikke å skrive til disk",
|
||||
"Files" => "Filer",
|
||||
"Unshare" => "Avslutt deling",
|
||||
"Delete" => "Slett",
|
||||
"Rename" => "Omdøp",
|
||||
"Pending" => "Ventende",
|
||||
"{new_name} already exists" => "{new_name} finnes allerede",
|
||||
"replace" => "erstatt",
|
||||
"suggest name" => "foreslå navn",
|
||||
|
@ -21,7 +21,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Kan ikke laste opp filen din siden det er en mappe eller den har 0 bytes",
|
||||
"Upload Error" => "Opplasting feilet",
|
||||
"Close" => "Lukk",
|
||||
"Pending" => "Ventende",
|
||||
"1 file uploading" => "1 fil lastes opp",
|
||||
"{count} files uploading" => "{count} filer laster opp",
|
||||
"Upload cancelled." => "Opplasting avbrutt.",
|
||||
|
@ -50,6 +49,7 @@
|
|||
"Cancel upload" => "Avbryt opplasting",
|
||||
"Nothing in here. Upload something!" => "Ingenting her. Last opp noe!",
|
||||
"Download" => "Last ned",
|
||||
"Unshare" => "Avslutt deling",
|
||||
"Upload too large" => "Opplasting for stor",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Filene du prøver å laste opp er for store for å laste opp til denne serveren.",
|
||||
"Files are being scanned, please wait." => "Skanner etter filer, vennligst vent.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Kon %s niet verplaatsen - Er bestaat al een bestand met deze naam",
|
||||
"Could not move %s" => "Kon %s niet verplaatsen",
|
||||
"Unable to rename file" => "Kan bestand niet hernoemen",
|
||||
"No file was uploaded. Unknown error" => "Er was geen bestand geladen. Onbekende fout",
|
||||
"There is no error, the file uploaded with success" => "Geen fout opgetreden, bestand successvol geupload.",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Het geüploade bestand overscheidt de upload_max_filesize optie in php.ini:",
|
||||
|
@ -9,10 +12,10 @@
|
|||
"Failed to write to disk" => "Schrijven naar schijf mislukt",
|
||||
"Invalid directory." => "Ongeldige directory.",
|
||||
"Files" => "Bestanden",
|
||||
"Unshare" => "Stop delen",
|
||||
"Delete permanently" => "Verwijder definitief",
|
||||
"Delete" => "Verwijder",
|
||||
"Rename" => "Hernoem",
|
||||
"Pending" => "Wachten",
|
||||
"{new_name} already exists" => "{new_name} bestaat al",
|
||||
"replace" => "vervang",
|
||||
"suggest name" => "Stel een naam voor",
|
||||
|
@ -30,7 +33,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "uploaden van de file mislukt, het is of een directory of de bestandsgrootte is 0 bytes",
|
||||
"Upload Error" => "Upload Fout",
|
||||
"Close" => "Sluit",
|
||||
"Pending" => "Wachten",
|
||||
"1 file uploading" => "1 bestand wordt ge-upload",
|
||||
"{count} files uploading" => "{count} bestanden aan het uploaden",
|
||||
"Upload cancelled." => "Uploaden geannuleerd.",
|
||||
|
@ -57,10 +59,10 @@
|
|||
"Text file" => "Tekstbestand",
|
||||
"Folder" => "Map",
|
||||
"From link" => "Vanaf link",
|
||||
"Trash" => "Verwijderen",
|
||||
"Cancel upload" => "Upload afbreken",
|
||||
"Nothing in here. Upload something!" => "Er bevindt zich hier niets. Upload een bestand!",
|
||||
"Download" => "Download",
|
||||
"Unshare" => "Stop delen",
|
||||
"Upload too large" => "Bestanden te groot",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "De bestanden die u probeert te uploaden zijn groter dan de maximaal toegestane bestandsgrootte voor deze server.",
|
||||
"Files are being scanned, please wait." => "Bestanden worden gescand, even wachten.",
|
||||
|
|
|
@ -6,16 +6,15 @@
|
|||
"Missing a temporary folder" => "Un dorsièr temporari manca",
|
||||
"Failed to write to disk" => "L'escriptura sul disc a fracassat",
|
||||
"Files" => "Fichièrs",
|
||||
"Unshare" => "Non parteja",
|
||||
"Delete" => "Escafa",
|
||||
"Rename" => "Torna nomenar",
|
||||
"Pending" => "Al esperar",
|
||||
"replace" => "remplaça",
|
||||
"suggest name" => "nom prepausat",
|
||||
"cancel" => "anulla",
|
||||
"undo" => "defar",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "Impossible d'amontcargar lo teu fichièr qu'es un repertòri o que ten pas que 0 octet.",
|
||||
"Upload Error" => "Error d'amontcargar",
|
||||
"Pending" => "Al esperar",
|
||||
"1 file uploading" => "1 fichièr al amontcargar",
|
||||
"Upload cancelled." => "Amontcargar anullat.",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "Un amontcargar es a se far. Daissar aquesta pagina ara tamparà lo cargament. ",
|
||||
|
@ -37,6 +36,7 @@
|
|||
"Cancel upload" => " Anulla l'amontcargar",
|
||||
"Nothing in here. Upload something!" => "Pas res dedins. Amontcarga qualquaren",
|
||||
"Download" => "Avalcarga",
|
||||
"Unshare" => "Non parteja",
|
||||
"Upload too large" => "Amontcargament tròp gròs",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Los fichièrs que sias a amontcargar son tròp pesucs per la talha maxi pel servidor.",
|
||||
"Files are being scanned, please wait." => "Los fiichièrs son a èsser explorats, ",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Nie można było przenieść %s - Plik o takiej nazwie już istnieje",
|
||||
"Could not move %s" => "Nie można było przenieść %s",
|
||||
"Unable to rename file" => "Nie można zmienić nazwy pliku",
|
||||
"No file was uploaded. Unknown error" => "Plik nie został załadowany. Nieznany błąd",
|
||||
"There is no error, the file uploaded with success" => "Przesłano plik",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Wgrany plik przekracza wartość upload_max_filesize zdefiniowaną w php.ini: ",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "Błąd zapisu na dysk",
|
||||
"Invalid directory." => "Zła ścieżka.",
|
||||
"Files" => "Pliki",
|
||||
"Unshare" => "Nie udostępniaj",
|
||||
"Delete" => "Usuwa element",
|
||||
"Rename" => "Zmień nazwę",
|
||||
"Pending" => "Oczekujące",
|
||||
"{new_name} already exists" => "{new_name} już istnieje",
|
||||
"replace" => "zastap",
|
||||
"suggest name" => "zasugeruj nazwę",
|
||||
|
@ -25,7 +28,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Nie można wczytać pliku jeśli jest katalogiem lub ma 0 bajtów",
|
||||
"Upload Error" => "Błąd wczytywania",
|
||||
"Close" => "Zamknij",
|
||||
"Pending" => "Oczekujące",
|
||||
"1 file uploading" => "1 plik wczytany",
|
||||
"{count} files uploading" => "{count} przesyłanie plików",
|
||||
"Upload cancelled." => "Wczytywanie anulowane.",
|
||||
|
@ -55,6 +57,7 @@
|
|||
"Cancel upload" => "Przestań wysyłać",
|
||||
"Nothing in here. Upload something!" => "Brak zawartości. Proszę wysłać pliki!",
|
||||
"Download" => "Pobiera element",
|
||||
"Unshare" => "Nie udostępniaj",
|
||||
"Upload too large" => "Wysyłany plik ma za duży rozmiar",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Pliki które próbujesz przesłać, przekraczają maksymalną, dopuszczalną wielkość.",
|
||||
"Files are being scanned, please wait." => "Skanowanie plików, proszę czekać.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Não possível mover %s - Um arquivo com este nome já existe",
|
||||
"Could not move %s" => "Não possível mover %s",
|
||||
"Unable to rename file" => "Impossível renomear arquivo",
|
||||
"No file was uploaded. Unknown error" => "Nenhum arquivo foi transferido. Erro desconhecido",
|
||||
"There is no error, the file uploaded with success" => "Não houve nenhum erro, o arquivo foi transferido com sucesso",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "O arquivo enviado excede a diretiva upload_max_filesize no php.ini: ",
|
||||
|
@ -7,11 +10,12 @@
|
|||
"No file was uploaded" => "Nenhum arquivo foi transferido",
|
||||
"Missing a temporary folder" => "Pasta temporária não encontrada",
|
||||
"Failed to write to disk" => "Falha ao escrever no disco",
|
||||
"Not enough storage available" => "Espaço de armazenamento insuficiente",
|
||||
"Invalid directory." => "Diretório inválido.",
|
||||
"Files" => "Arquivos",
|
||||
"Unshare" => "Descompartilhar",
|
||||
"Delete" => "Excluir",
|
||||
"Rename" => "Renomear",
|
||||
"Pending" => "Pendente",
|
||||
"{new_name} already exists" => "{new_name} já existe",
|
||||
"replace" => "substituir",
|
||||
"suggest name" => "sugerir nome",
|
||||
|
@ -26,7 +30,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Impossível enviar seus arquivo como diretório ou ele tem 0 bytes.",
|
||||
"Upload Error" => "Erro de envio",
|
||||
"Close" => "Fechar",
|
||||
"Pending" => "Pendente",
|
||||
"1 file uploading" => "enviando 1 arquivo",
|
||||
"{count} files uploading" => "Enviando {count} arquivos",
|
||||
"Upload cancelled." => "Envio cancelado.",
|
||||
|
@ -56,6 +59,7 @@
|
|||
"Cancel upload" => "Cancelar upload",
|
||||
"Nothing in here. Upload something!" => "Nada aqui.Carrege alguma coisa!",
|
||||
"Download" => "Baixar",
|
||||
"Unshare" => "Descompartilhar",
|
||||
"Upload too large" => "Arquivo muito grande",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Os arquivos que você está tentando carregar excedeu o tamanho máximo para arquivos no servidor.",
|
||||
"Files are being scanned, please wait." => "Arquivos sendo escaneados, por favor aguarde.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Não foi possível mover o ficheiro %s - Já existe um ficheiro com esse nome",
|
||||
"Could not move %s" => "Não foi possível move o ficheiro %s",
|
||||
"Unable to rename file" => "Não foi possível renomear o ficheiro",
|
||||
"No file was uploaded. Unknown error" => "Nenhum ficheiro foi carregado. Erro desconhecido",
|
||||
"There is no error, the file uploaded with success" => "Sem erro, ficheiro enviado com sucesso",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "O ficheiro enviado excede o limite permitido na directiva do php.ini upload_max_filesize",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Não foi enviado nenhum ficheiro",
|
||||
"Missing a temporary folder" => "Falta uma pasta temporária",
|
||||
"Failed to write to disk" => "Falhou a escrita no disco",
|
||||
"Not enough storage available" => "Não há espaço suficiente em disco",
|
||||
"Invalid directory." => "Directório Inválido",
|
||||
"Files" => "Ficheiros",
|
||||
"Unshare" => "Deixar de partilhar",
|
||||
"Delete permanently" => "Eliminar permanentemente",
|
||||
"Delete" => "Apagar",
|
||||
"Rename" => "Renomear",
|
||||
"Pending" => "Pendente",
|
||||
"{new_name} already exists" => "O nome {new_name} já existe",
|
||||
"replace" => "substituir",
|
||||
"suggest name" => "sugira um nome",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Não é possível fazer o envio do ficheiro devido a ser uma pasta ou ter 0 bytes",
|
||||
"Upload Error" => "Erro no envio",
|
||||
"Close" => "Fechar",
|
||||
"Pending" => "Pendente",
|
||||
"1 file uploading" => "A enviar 1 ficheiro",
|
||||
"{count} files uploading" => "A carregar {count} ficheiros",
|
||||
"Upload cancelled." => "Envio cancelado.",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "Ficheiro de texto",
|
||||
"Folder" => "Pasta",
|
||||
"From link" => "Da ligação",
|
||||
"Trash" => "Lixo",
|
||||
"Trash bin" => "Reciclagem",
|
||||
"Cancel upload" => "Cancelar envio",
|
||||
"Nothing in here. Upload something!" => "Vazio. Envie alguma coisa!",
|
||||
"Download" => "Transferir",
|
||||
"Unshare" => "Deixar de partilhar",
|
||||
"Upload too large" => "Envio muito grande",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Os ficheiros que está a tentar enviar excedem o tamanho máximo de envio permitido neste servidor.",
|
||||
"Files are being scanned, please wait." => "Os ficheiros estão a ser analisados, por favor aguarde.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Nu se poate de mutat %s - Fișier cu acest nume deja există",
|
||||
"Could not move %s" => "Nu s-a putut muta %s",
|
||||
"Unable to rename file" => "Nu s-a putut redenumi fișierul",
|
||||
"No file was uploaded. Unknown error" => "Nici un fișier nu a fost încărcat. Eroare necunoscută",
|
||||
"There is no error, the file uploaded with success" => "Nicio eroare, fișierul a fost încărcat cu succes",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Fisierul incarcat depaseste upload_max_filesize permisi in php.ini: ",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "Eroare la scriere pe disc",
|
||||
"Invalid directory." => "Director invalid.",
|
||||
"Files" => "Fișiere",
|
||||
"Unshare" => "Anulează partajarea",
|
||||
"Delete" => "Șterge",
|
||||
"Rename" => "Redenumire",
|
||||
"Pending" => "În așteptare",
|
||||
"{new_name} already exists" => "{new_name} deja exista",
|
||||
"replace" => "înlocuire",
|
||||
"suggest name" => "sugerează nume",
|
||||
|
@ -26,7 +29,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Nu s-a putut încărca fișierul tău deoarece pare să fie un director sau are 0 bytes.",
|
||||
"Upload Error" => "Eroare la încărcare",
|
||||
"Close" => "Închide",
|
||||
"Pending" => "În așteptare",
|
||||
"1 file uploading" => "un fișier se încarcă",
|
||||
"{count} files uploading" => "{count} fisiere incarcate",
|
||||
"Upload cancelled." => "Încărcare anulată.",
|
||||
|
@ -56,6 +58,7 @@
|
|||
"Cancel upload" => "Anulează încărcarea",
|
||||
"Nothing in here. Upload something!" => "Nimic aici. Încarcă ceva!",
|
||||
"Download" => "Descarcă",
|
||||
"Unshare" => "Anulează partajarea",
|
||||
"Upload too large" => "Fișierul încărcat este prea mare",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Fișierul care l-ai încărcat a depășită limita maximă admisă la încărcare pe acest server.",
|
||||
"Files are being scanned, please wait." => "Fișierele sunt scanate, te rog așteptă.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Невозможно переместить %s - файл с таким именем уже существует",
|
||||
"Could not move %s" => "Невозможно переместить %s",
|
||||
"Unable to rename file" => "Невозможно переименовать файл",
|
||||
"No file was uploaded. Unknown error" => "Файл не был загружен. Неизвестная ошибка",
|
||||
"There is no error, the file uploaded with success" => "Файл успешно загружен",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Файл превышает размер установленный upload_max_filesize в php.ini:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Файл не был загружен",
|
||||
"Missing a temporary folder" => "Невозможно найти временную папку",
|
||||
"Failed to write to disk" => "Ошибка записи на диск",
|
||||
"Not enough storage available" => "Недостаточно доступного места в хранилище",
|
||||
"Invalid directory." => "Неправильный каталог.",
|
||||
"Files" => "Файлы",
|
||||
"Unshare" => "Отменить публикацию",
|
||||
"Delete permanently" => "Удалено навсегда",
|
||||
"Delete" => "Удалить",
|
||||
"Rename" => "Переименовать",
|
||||
"Pending" => "Ожидание",
|
||||
"{new_name} already exists" => "{new_name} уже существует",
|
||||
"replace" => "заменить",
|
||||
"suggest name" => "предложить название",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Не удается загрузить файл размером 0 байт в каталог",
|
||||
"Upload Error" => "Ошибка загрузки",
|
||||
"Close" => "Закрыть",
|
||||
"Pending" => "Ожидание",
|
||||
"1 file uploading" => "загружается 1 файл",
|
||||
"{count} files uploading" => "{count} файлов загружается",
|
||||
"Upload cancelled." => "Загрузка отменена.",
|
||||
|
@ -57,10 +60,10 @@
|
|||
"Text file" => "Текстовый файл",
|
||||
"Folder" => "Папка",
|
||||
"From link" => "Из ссылки",
|
||||
"Trash" => "Корзина",
|
||||
"Cancel upload" => "Отмена загрузки",
|
||||
"Nothing in here. Upload something!" => "Здесь ничего нет. Загрузите что-нибудь!",
|
||||
"Download" => "Скачать",
|
||||
"Unshare" => "Отменить публикацию",
|
||||
"Upload too large" => "Файл слишком большой",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Файлы, которые Вы пытаетесь загрузить, превышают лимит для файлов на этом сервере.",
|
||||
"Files are being scanned, please wait." => "Подождите, файлы сканируются.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Неполучается перенести %s - Файл с таким именем уже существует",
|
||||
"Could not move %s" => "Неполучается перенести %s ",
|
||||
"Unable to rename file" => "Невозможно переименовать файл",
|
||||
"No file was uploaded. Unknown error" => "Файл не был загружен. Неизвестная ошибка",
|
||||
"There is no error, the file uploaded with success" => "Ошибка отсутствует, файл загружен успешно.",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Размер загружаемого файла превышает upload_max_filesize директиву в php.ini:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Файл не был загружен",
|
||||
"Missing a temporary folder" => "Отсутствует временная папка",
|
||||
"Failed to write to disk" => "Не удалось записать на диск",
|
||||
"Not enough storage available" => "Недостаточно места в хранилище",
|
||||
"Invalid directory." => "Неверный каталог.",
|
||||
"Files" => "Файлы",
|
||||
"Unshare" => "Скрыть",
|
||||
"Delete permanently" => "Удалить навсегда",
|
||||
"Delete" => "Удалить",
|
||||
"Rename" => "Переименовать",
|
||||
"Pending" => "Ожидающий решения",
|
||||
"{new_name} already exists" => "{новое_имя} уже существует",
|
||||
"replace" => "отмена",
|
||||
"suggest name" => "подобрать название",
|
||||
|
@ -30,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Невозможно загрузить файл,\n так как он имеет нулевой размер или является директорией",
|
||||
"Upload Error" => "Ошибка загрузки",
|
||||
"Close" => "Закрыть",
|
||||
"Pending" => "Ожидающий решения",
|
||||
"1 file uploading" => "загрузка 1 файла",
|
||||
"{count} files uploading" => "{количество} загружено файлов",
|
||||
"Upload cancelled." => "Загрузка отменена",
|
||||
|
@ -57,10 +60,11 @@
|
|||
"Text file" => "Текстовый файл",
|
||||
"Folder" => "Папка",
|
||||
"From link" => "По ссылке",
|
||||
"Trash" => "Корзина",
|
||||
"Trash bin" => "Корзина",
|
||||
"Cancel upload" => "Отмена загрузки",
|
||||
"Nothing in here. Upload something!" => "Здесь ничего нет. Загрузите что-нибудь!",
|
||||
"Download" => "Загрузить",
|
||||
"Unshare" => "Скрыть",
|
||||
"Upload too large" => "Загрузка слишком велика",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Размер файлов, которые Вы пытаетесь загрузить, превышает максимально допустимый размер для загрузки на данный сервер.",
|
||||
"Files are being scanned, please wait." => "Файлы сканируются, пожалуйста, подождите.",
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
"Missing a temporary folder" => "තාවකාලික ෆොල්ඩරයක් සොයාගත නොහැක",
|
||||
"Failed to write to disk" => "තැටිගත කිරීම අසාර්ථකයි",
|
||||
"Files" => "ගොනු",
|
||||
"Unshare" => "නොබෙදු",
|
||||
"Delete" => "මකන්න",
|
||||
"Rename" => "නැවත නම් කරන්න",
|
||||
"replace" => "ප්රතිස්ථාපනය කරන්න",
|
||||
|
@ -41,6 +40,7 @@
|
|||
"Cancel upload" => "උඩුගත කිරීම අත් හරින්න",
|
||||
"Nothing in here. Upload something!" => "මෙහි කිසිවක් නොමැත. යමක් උඩුගත කරන්න",
|
||||
"Download" => "බාගත කිරීම",
|
||||
"Unshare" => "නොබෙදු",
|
||||
"Upload too large" => "උඩුගත කිරීම විශාල වැඩිය",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "ඔබ උඩුගත කිරීමට තැත් කරන ගොනු මෙම සේවාදායකයා උඩුගත කිරීමට ඉඩදී ඇති උපරිම ගොනු විශාලත්වයට වඩා වැඩිය",
|
||||
"Files are being scanned, please wait." => "ගොනු පරික්ෂා කෙරේ. මඳක් රැඳී සිටින්න",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Nie je možné presunúť %s - súbor s týmto menom už existuje",
|
||||
"Could not move %s" => "Nie je možné presunúť %s",
|
||||
"Unable to rename file" => "Nemožno premenovať súbor",
|
||||
"No file was uploaded. Unknown error" => "Žiaden súbor nebol odoslaný. Neznáma chyba",
|
||||
"There is no error, the file uploaded with success" => "Nenastala žiadna chyba, súbor bol úspešne nahraný",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Nahraný súbor predčil konfiguračnú direktívu upload_max_filesize v súbore php.ini:",
|
||||
|
@ -7,12 +10,13 @@
|
|||
"No file was uploaded" => "Žiaden súbor nebol nahraný",
|
||||
"Missing a temporary folder" => "Chýbajúci dočasný priečinok",
|
||||
"Failed to write to disk" => "Zápis na disk sa nepodaril",
|
||||
"Invalid directory." => "Neplatný adresár",
|
||||
"Not enough storage available" => "Nedostatok dostupného úložného priestoru",
|
||||
"Invalid directory." => "Neplatný priečinok",
|
||||
"Files" => "Súbory",
|
||||
"Unshare" => "Nezdielať",
|
||||
"Delete permanently" => "Zmazať trvalo",
|
||||
"Delete" => "Odstrániť",
|
||||
"Rename" => "Premenovať",
|
||||
"Pending" => "Čaká sa",
|
||||
"{new_name} already exists" => "{new_name} už existuje",
|
||||
"replace" => "nahradiť",
|
||||
"suggest name" => "pomôcť s menom",
|
||||
|
@ -30,13 +34,12 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Nemôžem nahrať súbor lebo je to priečinok alebo má 0 bajtov.",
|
||||
"Upload Error" => "Chyba odosielania",
|
||||
"Close" => "Zavrieť",
|
||||
"Pending" => "Čaká sa",
|
||||
"1 file uploading" => "1 súbor sa posiela ",
|
||||
"{count} files uploading" => "{count} súborov odosielaných",
|
||||
"Upload cancelled." => "Odosielanie zrušené",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "Opustenie stránky zruší práve prebiehajúce odosielanie súboru.",
|
||||
"URL cannot be empty." => "URL nemôže byť prázdne",
|
||||
"Invalid folder name. Usage of 'Shared' is reserved by Owncloud" => "Neplatné meno adresára. Používanie mena 'Shared' je vyhradené len pre Owncloud",
|
||||
"Invalid folder name. Usage of 'Shared' is reserved by Owncloud" => "Neplatné meno priečinka. Používanie mena 'Shared' je vyhradené len pre Owncloud",
|
||||
"Name" => "Meno",
|
||||
"Size" => "Veľkosť",
|
||||
"Modified" => "Upravené",
|
||||
|
@ -45,10 +48,10 @@
|
|||
"1 file" => "1 súbor",
|
||||
"{count} files" => "{count} súborov",
|
||||
"Upload" => "Odoslať",
|
||||
"File handling" => "Nastavenie správanie k súborom",
|
||||
"File handling" => "Nastavenie správania sa k súborom",
|
||||
"Maximum upload size" => "Maximálna veľkosť odosielaného súboru",
|
||||
"max. possible: " => "najväčšie možné:",
|
||||
"Needed for multi-file and folder downloads." => "Vyžadované pre sťahovanie viacerých súborov a adresárov.",
|
||||
"Needed for multi-file and folder downloads." => "Vyžadované pre sťahovanie viacerých súborov a priečinkov.",
|
||||
"Enable ZIP-download" => "Povoliť sťahovanie ZIP súborov",
|
||||
"0 is unlimited" => "0 znamená neobmedzené",
|
||||
"Maximum input size for ZIP files" => "Najväčšia veľkosť ZIP súborov",
|
||||
|
@ -57,13 +60,14 @@
|
|||
"Text file" => "Textový súbor",
|
||||
"Folder" => "Priečinok",
|
||||
"From link" => "Z odkazu",
|
||||
"Trash" => "Kôš",
|
||||
"Trash bin" => "Kôš",
|
||||
"Cancel upload" => "Zrušiť odosielanie",
|
||||
"Nothing in here. Upload something!" => "Žiadny súbor. Nahrajte niečo!",
|
||||
"Download" => "Stiahnuť",
|
||||
"Unshare" => "Nezdielať",
|
||||
"Upload too large" => "Odosielaný súbor je príliš veľký",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Súbory, ktoré sa snažíte nahrať, presahujú maximálnu veľkosť pre nahratie súborov na tento server.",
|
||||
"Files are being scanned, please wait." => "Čakajte, súbory sú prehľadávané.",
|
||||
"Current scanning" => "Práve prehliadané",
|
||||
"Current scanning" => "Práve prezerané",
|
||||
"Upgrading filesystem cache..." => "Aktualizujem medzipamäť súborového systému..."
|
||||
);
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
"Missing a temporary folder" => "Manjka začasna mapa",
|
||||
"Failed to write to disk" => "Pisanje na disk je spodletelo",
|
||||
"Files" => "Datoteke",
|
||||
"Unshare" => "Odstrani iz souporabe",
|
||||
"Delete" => "Izbriši",
|
||||
"Rename" => "Preimenuj",
|
||||
"Pending" => "V čakanju ...",
|
||||
"{new_name} already exists" => "{new_name} že obstaja",
|
||||
"replace" => "zamenjaj",
|
||||
"suggest name" => "predlagaj ime",
|
||||
|
@ -22,7 +22,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Pošiljanje ni mogoče, saj gre za mapo, ali pa je datoteka velikosti 0 bajtov.",
|
||||
"Upload Error" => "Napaka med nalaganjem",
|
||||
"Close" => "Zapri",
|
||||
"Pending" => "V čakanju ...",
|
||||
"1 file uploading" => "Pošiljanje 1 datoteke",
|
||||
"{count} files uploading" => "nalagam {count} datotek",
|
||||
"Upload cancelled." => "Pošiljanje je preklicano.",
|
||||
|
@ -51,6 +50,7 @@
|
|||
"Cancel upload" => "Prekliči pošiljanje",
|
||||
"Nothing in here. Upload something!" => "Tukaj ni ničesar. Naložite kaj!",
|
||||
"Download" => "Prejmi",
|
||||
"Unshare" => "Odstrani iz souporabe",
|
||||
"Upload too large" => "Nalaganje ni mogoče, ker je preveliko",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Datoteke, ki jih želite naložiti, presegajo največjo dovoljeno velikost na tem strežniku.",
|
||||
"Files are being scanned, please wait." => "Poteka preučevanje datotek, počakajte ...",
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"Missing a temporary folder" => "Недостаје привремена фасцикла",
|
||||
"Failed to write to disk" => "Не могу да пишем на диск",
|
||||
"Files" => "Датотеке",
|
||||
"Unshare" => "Укини дељење",
|
||||
"Delete" => "Обриши",
|
||||
"Rename" => "Преименуј",
|
||||
"Pending" => "На чекању",
|
||||
"{new_name} already exists" => "{new_name} већ постоји",
|
||||
"replace" => "замени",
|
||||
"suggest name" => "предложи назив",
|
||||
|
@ -21,7 +21,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Не могу да отпремим датотеку као фасциклу или она има 0 бајтова",
|
||||
"Upload Error" => "Грешка при отпремању",
|
||||
"Close" => "Затвори",
|
||||
"Pending" => "На чекању",
|
||||
"1 file uploading" => "Отпремам 1 датотеку",
|
||||
"{count} files uploading" => "Отпремам {count} датотеке/а",
|
||||
"Upload cancelled." => "Отпремање је прекинуто.",
|
||||
|
@ -49,6 +48,7 @@
|
|||
"Cancel upload" => "Прекини отпремање",
|
||||
"Nothing in here. Upload something!" => "Овде нема ничег. Отпремите нешто!",
|
||||
"Download" => "Преузми",
|
||||
"Unshare" => "Укини дељење",
|
||||
"Upload too large" => "Датотека је превелика",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Датотеке које желите да отпремите прелазе ограничење у величини.",
|
||||
"Files are being scanned, please wait." => "Скенирам датотеке…",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Kunde inte flytta %s - Det finns redan en fil med detta namn",
|
||||
"Could not move %s" => "Kan inte flytta %s",
|
||||
"Unable to rename file" => "Kan inte byta namn på filen",
|
||||
"No file was uploaded. Unknown error" => "Ingen fil uppladdad. Okänt fel",
|
||||
"There is no error, the file uploaded with success" => "Inga fel uppstod. Filen laddades upp utan problem",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "Den uppladdade filen överskrider upload_max_filesize direktivet php.ini:",
|
||||
|
@ -7,11 +10,13 @@
|
|||
"No file was uploaded" => "Ingen fil blev uppladdad",
|
||||
"Missing a temporary folder" => "Saknar en tillfällig mapp",
|
||||
"Failed to write to disk" => "Misslyckades spara till disk",
|
||||
"Not enough storage available" => "Inte tillräckligt med lagringsutrymme tillgängligt",
|
||||
"Invalid directory." => "Felaktig mapp.",
|
||||
"Files" => "Filer",
|
||||
"Unshare" => "Sluta dela",
|
||||
"Delete permanently" => "Radera permanent",
|
||||
"Delete" => "Radera",
|
||||
"Rename" => "Byt namn",
|
||||
"Pending" => "Väntar",
|
||||
"{new_name} already exists" => "{new_name} finns redan",
|
||||
"replace" => "ersätt",
|
||||
"suggest name" => "föreslå namn",
|
||||
|
@ -29,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Kunde inte ladda upp dina filer eftersom det antingen är en mapp eller har 0 bytes.",
|
||||
"Upload Error" => "Uppladdningsfel",
|
||||
"Close" => "Stäng",
|
||||
"Pending" => "Väntar",
|
||||
"1 file uploading" => "1 filuppladdning",
|
||||
"{count} files uploading" => "{count} filer laddas upp",
|
||||
"Upload cancelled." => "Uppladdning avbruten.",
|
||||
|
@ -56,10 +60,11 @@
|
|||
"Text file" => "Textfil",
|
||||
"Folder" => "Mapp",
|
||||
"From link" => "Från länk",
|
||||
"Trash" => "Papperskorgen",
|
||||
"Trash bin" => "Papperskorg",
|
||||
"Cancel upload" => "Avbryt uppladdning",
|
||||
"Nothing in here. Upload something!" => "Ingenting här. Ladda upp något!",
|
||||
"Download" => "Ladda ner",
|
||||
"Unshare" => "Sluta dela",
|
||||
"Upload too large" => "För stor uppladdning",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Filerna du försöker ladda upp överstiger den maximala storleken för filöverföringar på servern.",
|
||||
"Files are being scanned, please wait." => "Filer skannas, var god vänta",
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"Missing a temporary folder" => "ஒரு தற்காலிகமான கோப்புறையை காணவில்லை",
|
||||
"Failed to write to disk" => "வட்டில் எழுத முடியவில்லை",
|
||||
"Files" => "கோப்புகள்",
|
||||
"Unshare" => "பகிரப்படாதது",
|
||||
"Delete" => "அழிக்க",
|
||||
"Rename" => "பெயர்மாற்றம்",
|
||||
"Pending" => "நிலுவையிலுள்ள",
|
||||
"{new_name} already exists" => "{new_name} ஏற்கனவே உள்ளது",
|
||||
"replace" => "மாற்றிடுக",
|
||||
"suggest name" => "பெயரை பரிந்துரைக்க",
|
||||
|
@ -21,7 +21,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "அடைவு அல்லது 0 bytes ஐ கொண்டுள்ளதால் உங்களுடைய கோப்பை பதிவேற்ற முடியவில்லை",
|
||||
"Upload Error" => "பதிவேற்றல் வழு",
|
||||
"Close" => "மூடுக",
|
||||
"Pending" => "நிலுவையிலுள்ள",
|
||||
"1 file uploading" => "1 கோப்பு பதிவேற்றப்படுகிறது",
|
||||
"{count} files uploading" => "{எண்ணிக்கை} கோப்புகள் பதிவேற்றப்படுகின்றது",
|
||||
"Upload cancelled." => "பதிவேற்றல் இரத்து செய்யப்பட்டுள்ளது",
|
||||
|
@ -50,6 +49,7 @@
|
|||
"Cancel upload" => "பதிவேற்றலை இரத்து செய்க",
|
||||
"Nothing in here. Upload something!" => "இங்கு ஒன்றும் இல்லை. ஏதாவது பதிவேற்றுக!",
|
||||
"Download" => "பதிவிறக்குக",
|
||||
"Unshare" => "பகிரப்படாதது",
|
||||
"Upload too large" => "பதிவேற்றல் மிகப்பெரியது",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "நீங்கள் பதிவேற்ற முயற்சிக்கும் கோப்புகளானது இந்த சேவையகத்தில் கோப்பு பதிவேற்றக்கூடிய ஆகக்கூடிய அளவிலும் கூடியது.",
|
||||
"Files are being scanned, please wait." => "கோப்புகள் வருடப்படுகின்றன, தயவுசெய்து காத்திருங்கள்.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "ไม่สามารถย้าย %s ได้ - ไฟล์ที่ใช้ชื่อนี้มีอยู่แล้ว",
|
||||
"Could not move %s" => "ไม่สามารถย้าย %s ได้",
|
||||
"Unable to rename file" => "ไม่สามารถเปลี่ยนชื่อไฟล์ได้",
|
||||
"No file was uploaded. Unknown error" => "ยังไม่มีไฟล์ใดที่ถูกอัพโหลด เกิดข้อผิดพลาดที่ไม่ทราบสาเหตุ",
|
||||
"There is no error, the file uploaded with success" => "ไม่มีข้อผิดพลาดใดๆ ไฟล์ถูกอัพโหลดเรียบร้อยแล้ว",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "ขนาดไฟล์ที่อัพโหลดมีขนาดเกิน upload_max_filesize ที่ระบุไว้ใน php.ini",
|
||||
|
@ -7,11 +10,12 @@
|
|||
"No file was uploaded" => "ยังไม่มีไฟล์ที่ถูกอัพโหลด",
|
||||
"Missing a temporary folder" => "แฟ้มเอกสารชั่วคราวเกิดการสูญหาย",
|
||||
"Failed to write to disk" => "เขียนข้อมูลลงแผ่นดิสก์ล้มเหลว",
|
||||
"Not enough storage available" => "เหลือพื้นที่ไม่เพียงสำหรับใช้งาน",
|
||||
"Invalid directory." => "ไดเร็กทอรี่ไม่ถูกต้อง",
|
||||
"Files" => "ไฟล์",
|
||||
"Unshare" => "ยกเลิกการแชร์ข้อมูล",
|
||||
"Delete" => "ลบ",
|
||||
"Rename" => "เปลี่ยนชื่อ",
|
||||
"Pending" => "อยู่ระหว่างดำเนินการ",
|
||||
"{new_name} already exists" => "{new_name} มีอยู่แล้วในระบบ",
|
||||
"replace" => "แทนที่",
|
||||
"suggest name" => "แนะนำชื่อ",
|
||||
|
@ -29,7 +33,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "ไม่สามารถอัพโหลดไฟล์ของคุณได้ เนื่องจากไฟล์ดังกล่าวเป็นไดเร็กทอรี่หรือมีขนาด 0 ไบต์",
|
||||
"Upload Error" => "เกิดข้อผิดพลาดในการอัพโหลด",
|
||||
"Close" => "ปิด",
|
||||
"Pending" => "อยู่ระหว่างดำเนินการ",
|
||||
"1 file uploading" => "กำลังอัพโหลดไฟล์ 1 ไฟล์",
|
||||
"{count} files uploading" => "กำลังอัพโหลด {count} ไฟล์",
|
||||
"Upload cancelled." => "การอัพโหลดถูกยกเลิก",
|
||||
|
@ -56,10 +59,10 @@
|
|||
"Text file" => "ไฟล์ข้อความ",
|
||||
"Folder" => "แฟ้มเอกสาร",
|
||||
"From link" => "จากลิงก์",
|
||||
"Trash" => "ถังขยะ",
|
||||
"Cancel upload" => "ยกเลิกการอัพโหลด",
|
||||
"Nothing in here. Upload something!" => "ยังไม่มีไฟล์ใดๆอยู่ที่นี่ กรุณาอัพโหลดไฟล์!",
|
||||
"Download" => "ดาวน์โหลด",
|
||||
"Unshare" => "ยกเลิกการแชร์ข้อมูล",
|
||||
"Upload too large" => "ไฟล์ที่อัพโหลดมีขนาดใหญ่เกินไป",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "ไฟล์ที่คุณพยายามที่จะอัพโหลดมีขนาดเกินกว่าขนาดสูงสุดที่กำหนดไว้ให้อัพโหลดได้สำหรับเซิร์ฟเวอร์นี้",
|
||||
"Files are being scanned, please wait." => "ไฟล์กำลังอยู่ระหว่างการสแกน, กรุณารอสักครู่.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "%s taşınamadı. Bu isimde dosya zaten var.",
|
||||
"Could not move %s" => "%s taşınamadı",
|
||||
"Unable to rename file" => "Dosya adı değiştirilemedi",
|
||||
"No file was uploaded. Unknown error" => "Dosya yüklenmedi. Bilinmeyen hata",
|
||||
"There is no error, the file uploaded with success" => "Bir hata yok, dosya başarıyla yüklendi",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "php.ini dosyasında upload_max_filesize ile belirtilen dosya yükleme sınırı aşıldı.",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "Diske yazılamadı",
|
||||
"Invalid directory." => "Geçersiz dizin.",
|
||||
"Files" => "Dosyalar",
|
||||
"Unshare" => "Paylaşılmayan",
|
||||
"Delete" => "Sil",
|
||||
"Rename" => "İsim değiştir.",
|
||||
"Pending" => "Bekliyor",
|
||||
"{new_name} already exists" => "{new_name} zaten mevcut",
|
||||
"replace" => "değiştir",
|
||||
"suggest name" => "Öneri ad",
|
||||
|
@ -26,7 +29,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Dosyanızın boyutu 0 byte olduğundan veya bir dizin olduğundan yüklenemedi",
|
||||
"Upload Error" => "Yükleme hatası",
|
||||
"Close" => "Kapat",
|
||||
"Pending" => "Bekliyor",
|
||||
"1 file uploading" => "1 dosya yüklendi",
|
||||
"{count} files uploading" => "{count} dosya yükleniyor",
|
||||
"Upload cancelled." => "Yükleme iptal edildi.",
|
||||
|
@ -56,6 +58,7 @@
|
|||
"Cancel upload" => "Yüklemeyi iptal et",
|
||||
"Nothing in here. Upload something!" => "Burada hiçbir şey yok. Birşeyler yükleyin!",
|
||||
"Download" => "İndir",
|
||||
"Unshare" => "Paylaşılmayan",
|
||||
"Upload too large" => "Yüklemeniz çok büyük",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Yüklemeye çalıştığınız dosyalar bu sunucudaki maksimum yükleme boyutunu aşıyor.",
|
||||
"Files are being scanned, please wait." => "Dosyalar taranıyor, lütfen bekleyin.",
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"Failed to write to disk" => "Невдалося записати на диск",
|
||||
"Invalid directory." => "Невірний каталог.",
|
||||
"Files" => "Файли",
|
||||
"Unshare" => "Заборонити доступ",
|
||||
"Delete permanently" => "Видалити назавжди",
|
||||
"Delete" => "Видалити",
|
||||
"Rename" => "Перейменувати",
|
||||
"Pending" => "Очікування",
|
||||
"{new_name} already exists" => "{new_name} вже існує",
|
||||
"replace" => "заміна",
|
||||
"suggest name" => "запропонуйте назву",
|
||||
|
@ -30,7 +30,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "Неможливо завантажити ваш файл тому, що він тека або файл розміром 0 байт",
|
||||
"Upload Error" => "Помилка завантаження",
|
||||
"Close" => "Закрити",
|
||||
"Pending" => "Очікування",
|
||||
"1 file uploading" => "1 файл завантажується",
|
||||
"{count} files uploading" => "{count} файлів завантажується",
|
||||
"Upload cancelled." => "Завантаження перервано.",
|
||||
|
@ -57,10 +56,10 @@
|
|||
"Text file" => "Текстовий файл",
|
||||
"Folder" => "Папка",
|
||||
"From link" => "З посилання",
|
||||
"Trash" => "Смітник",
|
||||
"Cancel upload" => "Перервати завантаження",
|
||||
"Nothing in here. Upload something!" => "Тут нічого немає. Відвантажте що-небудь!",
|
||||
"Download" => "Завантажити",
|
||||
"Unshare" => "Заборонити доступ",
|
||||
"Upload too large" => "Файл занадто великий",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Файли,що ви намагаєтесь відвантажити перевищують максимальний дозволений розмір файлів на цьому сервері.",
|
||||
"Files are being scanned, please wait." => "Файли скануються, зачекайте, будь-ласка.",
|
||||
|
|
|
@ -1,15 +1,22 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "Không thể di chuyển %s - Đã có tên file này trên hệ thống",
|
||||
"Could not move %s" => "Không thể di chuyển %s",
|
||||
"Unable to rename file" => "Không thể đổi tên file",
|
||||
"No file was uploaded. Unknown error" => "Không có tập tin nào được tải lên. Lỗi không xác định",
|
||||
"There is no error, the file uploaded with success" => "Không có lỗi, các tập tin đã được tải lên thành công",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "The uploaded file exceeds the upload_max_filesize directive in php.ini: ",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Kích thước những tập tin tải lên vượt quá MAX_FILE_SIZE đã được quy định",
|
||||
"The uploaded file was only partially uploaded" => "Tập tin tải lên mới chỉ tải lên được một phần",
|
||||
"No file was uploaded" => "Không có tập tin nào được tải lên",
|
||||
"Missing a temporary folder" => "Không tìm thấy thư mục tạm",
|
||||
"Failed to write to disk" => "Không thể ghi ",
|
||||
"Not enough storage available" => "Không đủ không gian lưu trữ",
|
||||
"Invalid directory." => "Thư mục không hợp lệ",
|
||||
"Files" => "Tập tin",
|
||||
"Unshare" => "Không chia sẽ",
|
||||
"Delete permanently" => "Xóa vĩnh vễn",
|
||||
"Delete" => "Xóa",
|
||||
"Rename" => "Sửa tên",
|
||||
"Pending" => "Chờ",
|
||||
"{new_name} already exists" => "{new_name} đã tồn tại",
|
||||
"replace" => "thay thế",
|
||||
"suggest name" => "tên gợi ý",
|
||||
|
@ -17,16 +24,22 @@
|
|||
"replaced {new_name}" => "đã thay thế {new_name}",
|
||||
"undo" => "lùi lại",
|
||||
"replaced {new_name} with {old_name}" => "đã thay thế {new_name} bằng {old_name}",
|
||||
"perform delete operation" => "thực hiện việc xóa",
|
||||
"'.' is an invalid file name." => "'.' là một tên file không hợp lệ",
|
||||
"File name cannot be empty." => "Tên file không được rỗng",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Tên không hợp lệ, '\\', '/', '<', '>', ':', '\"', '|', '?' và '*' thì không được phép dùng.",
|
||||
"Your storage is full, files can not be updated or synced anymore!" => "Your storage is full, files can not be updated or synced anymore!",
|
||||
"Your storage is almost full ({usedSpacePercent}%)" => "Your storage is almost full ({usedSpacePercent}%)",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "Your download is being prepared. This might take some time if the files are big.",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "Không thể tải lên tập tin này do nó là một thư mục hoặc kích thước tập tin bằng 0 byte",
|
||||
"Upload Error" => "Tải lên lỗi",
|
||||
"Close" => "Đóng",
|
||||
"Pending" => "Chờ",
|
||||
"1 file uploading" => "1 tệp tin đang được tải lên",
|
||||
"{count} files uploading" => "{count} tập tin đang tải lên",
|
||||
"Upload cancelled." => "Hủy tải lên",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "Tập tin tải lên đang được xử lý. Nếu bạn rời khỏi trang bây giờ sẽ hủy quá trình này.",
|
||||
"URL cannot be empty." => "URL không được để trống.",
|
||||
"Invalid folder name. Usage of 'Shared' is reserved by Owncloud" => "Invalid folder name. Usage of 'Shared' is reserved by Owncloud",
|
||||
"Name" => "Tên",
|
||||
"Size" => "Kích cỡ",
|
||||
"Modified" => "Thay đổi",
|
||||
|
@ -50,8 +63,10 @@
|
|||
"Cancel upload" => "Hủy upload",
|
||||
"Nothing in here. Upload something!" => "Không có gì ở đây .Hãy tải lên một cái gì đó !",
|
||||
"Download" => "Tải xuống",
|
||||
"Unshare" => "Không chia sẽ",
|
||||
"Upload too large" => "Tập tin tải lên quá lớn",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Các tập tin bạn đang tải lên vượt quá kích thước tối đa cho phép trên máy chủ .",
|
||||
"Files are being scanned, please wait." => "Tập tin đang được quét ,vui lòng chờ.",
|
||||
"Current scanning" => "Hiện tại đang quét"
|
||||
"Current scanning" => "Hiện tại đang quét",
|
||||
"Upgrading filesystem cache..." => "Upgrading filesystem cache..."
|
||||
);
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"Missing a temporary folder" => "丢失了一个临时文件夹",
|
||||
"Failed to write to disk" => "写磁盘失败",
|
||||
"Files" => "文件",
|
||||
"Unshare" => "取消共享",
|
||||
"Delete" => "删除",
|
||||
"Rename" => "重命名",
|
||||
"Pending" => "Pending",
|
||||
"{new_name} already exists" => "{new_name} 已存在",
|
||||
"replace" => "替换",
|
||||
"suggest name" => "推荐名称",
|
||||
|
@ -20,7 +20,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "不能上传你指定的文件,可能因为它是个文件夹或者大小为0",
|
||||
"Upload Error" => "上传错误",
|
||||
"Close" => "关闭",
|
||||
"Pending" => "Pending",
|
||||
"1 file uploading" => "1 个文件正在上传",
|
||||
"{count} files uploading" => "{count} 个文件正在上传",
|
||||
"Upload cancelled." => "上传取消了",
|
||||
|
@ -49,6 +48,7 @@
|
|||
"Cancel upload" => "取消上传",
|
||||
"Nothing in here. Upload something!" => "这里没有东西.上传点什么!",
|
||||
"Download" => "下载",
|
||||
"Unshare" => "取消共享",
|
||||
"Upload too large" => "上传的文件太大了",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "你正在试图上传的文件超过了此服务器支持的最大的文件大小.",
|
||||
"Files are being scanned, please wait." => "正在扫描文件,请稍候.",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "无法移动 %s - 同名文件已存在",
|
||||
"Could not move %s" => "无法移动 %s",
|
||||
"Unable to rename file" => "无法重命名文件",
|
||||
"No file was uploaded. Unknown error" => "没有文件被上传。未知错误",
|
||||
"There is no error, the file uploaded with success" => "没有发生错误,文件上传成功。",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "上传文件大小已超过php.ini中upload_max_filesize所规定的值",
|
||||
|
@ -9,9 +12,9 @@
|
|||
"Failed to write to disk" => "写入磁盘失败",
|
||||
"Invalid directory." => "无效文件夹。",
|
||||
"Files" => "文件",
|
||||
"Unshare" => "取消分享",
|
||||
"Delete" => "删除",
|
||||
"Rename" => "重命名",
|
||||
"Pending" => "操作等待中",
|
||||
"{new_name} already exists" => "{new_name} 已存在",
|
||||
"replace" => "替换",
|
||||
"suggest name" => "建议名称",
|
||||
|
@ -26,7 +29,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "无法上传文件,因为它是一个目录或者大小为 0 字节",
|
||||
"Upload Error" => "上传错误",
|
||||
"Close" => "关闭",
|
||||
"Pending" => "操作等待中",
|
||||
"1 file uploading" => "1个文件上传中",
|
||||
"{count} files uploading" => "{count} 个文件上传中",
|
||||
"Upload cancelled." => "上传已取消",
|
||||
|
@ -56,6 +58,7 @@
|
|||
"Cancel upload" => "取消上传",
|
||||
"Nothing in here. Upload something!" => "这里还什么都没有。上传些东西吧!",
|
||||
"Download" => "下载",
|
||||
"Unshare" => "取消分享",
|
||||
"Upload too large" => "上传文件过大",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "您正尝试上传的文件超过了此服务器可以上传的最大容量限制",
|
||||
"Files are being scanned, please wait." => "文件正在被扫描,请稍候。",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s - File with this name already exists" => "無法移動 %s - 同名的檔案已經存在",
|
||||
"Could not move %s" => "無法移動 %s",
|
||||
"Unable to rename file" => "無法重新命名檔案",
|
||||
"No file was uploaded. Unknown error" => "沒有檔案被上傳。未知的錯誤。",
|
||||
"There is no error, the file uploaded with success" => "無錯誤,檔案上傳成功",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "上傳的檔案大小超過 php.ini 當中 upload_max_filesize 參數的設定:",
|
||||
|
@ -7,11 +10,13 @@
|
|||
"No file was uploaded" => "無已上傳檔案",
|
||||
"Missing a temporary folder" => "遺失暫存資料夾",
|
||||
"Failed to write to disk" => "寫入硬碟失敗",
|
||||
"Not enough storage available" => "儲存空間不足",
|
||||
"Invalid directory." => "無效的資料夾。",
|
||||
"Files" => "檔案",
|
||||
"Unshare" => "取消共享",
|
||||
"Delete permanently" => "永久刪除",
|
||||
"Delete" => "刪除",
|
||||
"Rename" => "重新命名",
|
||||
"Pending" => "等候中",
|
||||
"{new_name} already exists" => "{new_name} 已經存在",
|
||||
"replace" => "取代",
|
||||
"suggest name" => "建議檔名",
|
||||
|
@ -29,7 +34,6 @@
|
|||
"Unable to upload your file as it is a directory or has 0 bytes" => "無法上傳您的檔案因為它可能是一個目錄或檔案大小為0",
|
||||
"Upload Error" => "上傳發生錯誤",
|
||||
"Close" => "關閉",
|
||||
"Pending" => "等候中",
|
||||
"1 file uploading" => "1 個檔案正在上傳",
|
||||
"{count} files uploading" => "{count} 個檔案正在上傳",
|
||||
"Upload cancelled." => "上傳取消",
|
||||
|
@ -56,10 +60,11 @@
|
|||
"Text file" => "文字檔",
|
||||
"Folder" => "資料夾",
|
||||
"From link" => "從連結",
|
||||
"Trash" => "回收筒",
|
||||
"Trash bin" => "回收筒",
|
||||
"Cancel upload" => "取消上傳",
|
||||
"Nothing in here. Upload something!" => "沒有任何東西。請上傳內容!",
|
||||
"Download" => "下載",
|
||||
"Unshare" => "取消共享",
|
||||
"Upload too large" => "上傳過大",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "您試圖上傳的檔案已超過伺服器的最大檔案大小限制。 ",
|
||||
"Files are being scanned, please wait." => "正在掃描檔案,請稍等。",
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
<div id="emptyfolder"><?php echo $l->t('Nothing in here. Upload something!')?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<table class="hascontrols">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th id='headerName'>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php if(count($_["breadcrumb"])):?>
|
||||
<div class="crumb">
|
||||
<a href="<?php echo $_['baseURL']; ?>">
|
||||
<img src="<?php echo OCP\image_path('core','places/home.svg');?>" />
|
||||
<img src="<?php echo OCP\image_path('core','places/home.svg');?>" class="svg" />
|
||||
</a>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
|
|
@ -40,7 +40,7 @@ class Hooks {
|
|||
|
||||
// Manually initialise Filesystem{} singleton with correct
|
||||
// fake root path, in order to avoid fatal webdav errors
|
||||
\OC\Files\Filesystem::init( $params['uid'] . '/' . 'files' . '/' );
|
||||
\OC\Files\Filesystem::init( $params['uid'], $params['uid'] . '/' . 'files' . '/' );
|
||||
|
||||
$view = new \OC_FilesystemView( '/' );
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Connecteu-vos al client ownCloud i canvieu la contrasenya d'encriptació per completar la conversió.",
|
||||
"switched to client side encryption" => "s'ha commutat a l'encriptació per part del client",
|
||||
"Change encryption password to login password" => "Canvia la contrasenya d'encriptació per la d'accés",
|
||||
"Please check your passwords and try again." => "Comproveu les contrasenyes i proveu-ho de nou.",
|
||||
"Could not change your file encryption password to your login password" => "No s'ha pogut canviar la contrasenya d'encriptació de fitxers per la d'accés",
|
||||
"Encryption" => "Encriptatge",
|
||||
"File encryption is enabled." => "L'encriptació de fitxers està activada.",
|
||||
"The following file types will not be encrypted:" => "Els tipus de fitxers següents no s'encriptaran:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Prosím přejděte na svého klienta ownCloud a nastavte šifrovací heslo pro dokončení konverze.",
|
||||
"switched to client side encryption" => "přepnuto na šifrování na straně klienta",
|
||||
"Change encryption password to login password" => "Změnit šifrovací heslo na přihlašovací",
|
||||
"Please check your passwords and try again." => "Zkontrolujte, prosím, své heslo a zkuste to znovu.",
|
||||
"Could not change your file encryption password to your login password" => "Nelze změnit šifrovací heslo na přihlašovací.",
|
||||
"Encryption" => "Šifrování",
|
||||
"File encryption is enabled." => "Šifrování je povoleno.",
|
||||
"The following file types will not be encrypted:" => "Následující typy souborů nebudou šifrovány:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Skift venligst til din ownCloud-klient og skift krypteringskoden for at fuldføre konverteringen.",
|
||||
"switched to client side encryption" => "skiftet til kryptering på klientsiden",
|
||||
"Change encryption password to login password" => "Udskift krypteringskode til login-adgangskode",
|
||||
"Please check your passwords and try again." => "Check adgangskoder og forsøg igen.",
|
||||
"Could not change your file encryption password to your login password" => "Kunne ikke udskifte krypteringskode med login-adgangskode",
|
||||
"Encryption" => "Kryptering",
|
||||
"None" => "Ingen"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Bitte wechseln Sie nun zum ownCloud Client und ändern Sie ihr Verschlüsselungspasswort um die Konvertierung abzuschließen.",
|
||||
"switched to client side encryption" => "Zur Clientseitigen Verschlüsselung gewechselt",
|
||||
"Change encryption password to login password" => "Ändern des Verschlüsselungspasswortes zum Anmeldepasswort",
|
||||
"Please check your passwords and try again." => "Bitte überprüfen sie Ihr Passwort und versuchen Sie es erneut.",
|
||||
"Could not change your file encryption password to your login password" => "Ihr Verschlüsselungspasswort konnte nicht als Anmeldepasswort gesetzt werden.",
|
||||
"Encryption" => "Verschlüsselung",
|
||||
"None" => "Keine"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Bitte wechseln Sie nun zum ownCloud Client und ändern Sie ihr Verschlüsselungspasswort um die Konvertierung abzuschließen.",
|
||||
"switched to client side encryption" => "Zur Clientseitigen Verschlüsselung gewechselt",
|
||||
"Change encryption password to login password" => "Ändern des Verschlüsselungspasswortes zum Anmeldepasswort",
|
||||
"Please check your passwords and try again." => "Bitte überprüfen sie Ihr Passwort und versuchen Sie es erneut.",
|
||||
"Could not change your file encryption password to your login password" => "Ihr Verschlüsselungspasswort konnte nicht als Anmeldepasswort gesetzt werden.",
|
||||
"Encryption" => "Verschlüsselung",
|
||||
"File encryption is enabled." => "Datei-Verschlüsselung ist aktiviert",
|
||||
"The following file types will not be encrypted:" => "Die folgenden Datei-Typen werden nicht verschlüsselt:",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Change encryption password to login password" => "Αλλαγή συνθηματικού κρυπτογράφησης στο συνθηματικό εισόδου ",
|
||||
"Please check your passwords and try again." => "Παρακαλώ ελέγξτε το συνθηματικό σας και προσπαθήστε ξανά.",
|
||||
"Could not change your file encryption password to your login password" => "Αδυναμία αλλαγής συνθηματικού κρυπτογράφησης αρχείων στο συνθηματικό εισόδου σας",
|
||||
"Encryption" => "Κρυπτογράφηση",
|
||||
"File encryption is enabled." => "Η κρυπτογράφηση αρχείων είναι ενεργή.",
|
||||
"The following file types will not be encrypted:" => "Οι παρακάτω τύποι αρχείων δεν θα κρυπτογραφηθούν:",
|
||||
"Exclude the following file types from encryption:" => "Εξαίρεση των παρακάτω τύπων αρχείων από την κρυπτογράφηση:",
|
||||
"None" => "Καμία"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Por favor, cambie su cliente de ownCloud y cambie su clave de cifrado para completar la conversión.",
|
||||
"switched to client side encryption" => "Cambiar a cifrado del lado del cliente",
|
||||
"Change encryption password to login password" => "Cambie la clave de cifrado para su contraseña de inicio de sesión",
|
||||
"Please check your passwords and try again." => "Por favor revise su contraseña e intentelo de nuevo.",
|
||||
"Could not change your file encryption password to your login password" => "No se pudo cambiar la contraseña de cifrado de archivos de su contraseña de inicio de sesión",
|
||||
"Encryption" => "Cifrado",
|
||||
"File encryption is enabled." => "La encriptacion de archivo esta activada.",
|
||||
"The following file types will not be encrypted:" => "Los siguientes tipos de archivo no seran encriptados:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Por favor, cambiá uu cliente de ownCloud y cambiá tu clave de encriptado para completar la conversión.",
|
||||
"switched to client side encryption" => "Cambiado a encriptación por parte del cliente",
|
||||
"Change encryption password to login password" => "Cambiá la clave de encriptado para tu contraseña de inicio de sesión",
|
||||
"Please check your passwords and try again." => "Por favor, revisá tu contraseña e intentalo de nuevo.",
|
||||
"Could not change your file encryption password to your login password" => "No se pudo cambiar la contraseña de encriptación de archivos de tu contraseña de inicio de sesión",
|
||||
"Encryption" => "Encriptación",
|
||||
"None" => "Ninguno"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please check your passwords and try again." => "Mesedez egiaztatu zure pasahitza eta saia zaitez berriro:",
|
||||
"Encryption" => "Enkriptazioa",
|
||||
"None" => "Bat ere ez"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please check your passwords and try again." => "لطفا گذرواژه خود را بررسی کنید و دوباره امتحان کنید.",
|
||||
"Encryption" => "رمزگذاری",
|
||||
"None" => "هیچکدام"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please check your passwords and try again." => "Tarkista salasanasi ja yritä uudelleen.",
|
||||
"Encryption" => "Salaus",
|
||||
"None" => "Ei mitään"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Veuillez vous connecter depuis votre client de synchronisation ownCloud et changer votre mot de passe de chiffrement pour finaliser la conversion.",
|
||||
"switched to client side encryption" => "Mode de chiffrement changé en chiffrement côté client",
|
||||
"Change encryption password to login password" => "Convertir le mot de passe de chiffrement en mot de passe de connexion",
|
||||
"Please check your passwords and try again." => "Veuillez vérifier vos mots de passe et réessayer.",
|
||||
"Could not change your file encryption password to your login password" => "Impossible de convertir votre mot de passe de chiffrement en mot de passe de connexion",
|
||||
"Encryption" => "Chiffrement",
|
||||
"File encryption is enabled." => "Le chiffrement des fichiers est activé",
|
||||
"The following file types will not be encrypted:" => "Les fichiers de types suivants ne seront pas chiffrés :",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Cifrado",
|
||||
"None" => "Nada"
|
||||
"File encryption is enabled." => "O cifrado de ficheiros está activado",
|
||||
"The following file types will not be encrypted:" => "Os seguintes tipos de ficheiros non van seren cifrados:",
|
||||
"Exclude the following file types from encryption:" => "Excluír os seguintes tipos de ficheiros do cifrado:",
|
||||
"None" => "Ningún"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Kérjük, hogy váltson át az ownCloud kliensére, és változtassa meg a titkosítási jelszót az átalakítás befejezéséhez.",
|
||||
"switched to client side encryption" => "átváltva a kliens oldalai titkosításra",
|
||||
"Change encryption password to login password" => "Titkosítási jelszó módosítása a bejelentkezési jelszóra",
|
||||
"Please check your passwords and try again." => "Kérjük, ellenőrizze a jelszavait, és próbálja meg újra.",
|
||||
"Could not change your file encryption password to your login password" => "Nem módosíthatja a fájltitkosítási jelszavát a bejelentkezési jelszavára",
|
||||
"Encryption" => "Titkosítás",
|
||||
"None" => "Egyik sem"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Passa al tuo client ownCloud e cambia la password di cifratura per completare la conversione.",
|
||||
"switched to client side encryption" => "passato alla cifratura lato client",
|
||||
"Change encryption password to login password" => "Converti la password di cifratura nella password di accesso",
|
||||
"Please check your passwords and try again." => "Controlla la password e prova ancora.",
|
||||
"Could not change your file encryption password to your login password" => "Impossibile convertire la password di cifratura nella password di accesso",
|
||||
"Encryption" => "Cifratura",
|
||||
"File encryption is enabled." => "La cifratura dei file è abilitata.",
|
||||
"The following file types will not be encrypted:" => "I seguenti tipi di file non saranno cifrati:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "変換を完了するために、ownCloud クライアントに切り替えて、暗号化パスワードを変更してください。",
|
||||
"switched to client side encryption" => "クライアントサイドの暗号化に切り替えました",
|
||||
"Change encryption password to login password" => "暗号化パスワードをログインパスワードに変更",
|
||||
"Please check your passwords and try again." => "パスワードを確認してもう一度行なってください。",
|
||||
"Could not change your file encryption password to your login password" => "ファイル暗号化パスワードをログインパスワードに変更できませんでした。",
|
||||
"Encryption" => "暗号化",
|
||||
"File encryption is enabled." => "ファイルの暗号化は有効です。",
|
||||
"The following file types will not be encrypted:" => "次のファイルタイプは暗号化されません:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "ownCloud로 전환한 다음 암호화에 사용할 암호를 변경하면 변환이 완료됩니다.",
|
||||
"switched to client side encryption" => "클라이언트 암호화로 변경됨",
|
||||
"Change encryption password to login password" => "암호화 암호를 로그인 암호로 변경",
|
||||
"Please check your passwords and try again." => "암호를 확인한 다음 다시 시도하십시오.",
|
||||
"Could not change your file encryption password to your login password" => "암호화 암호를 로그인 암호로 변경할 수 없습니다",
|
||||
"Encryption" => "암호화",
|
||||
"None" => "없음"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Lūdzu, pārslēdzieties uz savu ownCloud klientu un maniet savu šifrēšanas paroli, lai pabeigtu pārveidošanu.",
|
||||
"switched to client side encryption" => "Pārslēdzās uz klienta puses šifrēšanu",
|
||||
"Change encryption password to login password" => "Mainīt šifrēšanas paroli uz ierakstīšanās paroli",
|
||||
"Please check your passwords and try again." => "Lūdzu, pārbaudiet savas paroles un mēģiniet vēlreiz.",
|
||||
"Could not change your file encryption password to your login password" => "Nevarēja mainīt datņu šifrēšanas paroli uz ierakstīšanās paroli",
|
||||
"Encryption" => "Šifrēšana",
|
||||
"File encryption is enabled." => "Datņu šifrēšana ir aktivēta.",
|
||||
"The following file types will not be encrypted:" => "Sekojošās datnes netiks šifrētas:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Schakel om naar uw eigen ownCloud client en wijzig uw versleutelwachtwoord om de conversie af te ronden.",
|
||||
"switched to client side encryption" => "overgeschakeld naar client side encryptie",
|
||||
"Change encryption password to login password" => "Verander encryptie wachtwoord naar login wachtwoord",
|
||||
"Please check your passwords and try again." => "Controleer uw wachtwoorden en probeer het opnieuw.",
|
||||
"Could not change your file encryption password to your login password" => "Kon het bestandsencryptie wachtwoord niet veranderen naar het login wachtwoord",
|
||||
"Encryption" => "Versleuteling",
|
||||
"File encryption is enabled." => "Bestandsversleuteling geactiveerd.",
|
||||
"The following file types will not be encrypted:" => "De volgende bestandstypen zullen niet worden versleuteld:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Por favor, vá ao seu cliente ownCloud e mude sua criptografia de senha para completar a conversão.",
|
||||
"switched to client side encryption" => "alterado para criptografia por parte do cliente",
|
||||
"Change encryption password to login password" => "Mudar senha de criptografia para senha de login",
|
||||
"Please check your passwords and try again." => "Por favor, verifique suas senhas e tente novamente.",
|
||||
"Could not change your file encryption password to your login password" => "Não foi possível mudar sua senha de criptografia de arquivos para sua senha de login",
|
||||
"Encryption" => "Criptografia",
|
||||
"None" => "Nenhuma"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Por favor, use o seu cliente de sincronização do ownCloud e altere a sua password de encriptação para concluír a conversão.",
|
||||
"switched to client side encryption" => "Alterado para encriptação do lado do cliente",
|
||||
"Change encryption password to login password" => "Alterar a password de encriptação para a password de login",
|
||||
"Please check your passwords and try again." => "Por favor verifique as suas paswords e tente de novo.",
|
||||
"Could not change your file encryption password to your login password" => "Não foi possível alterar a password de encriptação de ficheiros para a sua password de login",
|
||||
"Encryption" => "Encriptação",
|
||||
"File encryption is enabled." => "A encriptação de ficheiros está ligada",
|
||||
"The following file types will not be encrypted:" => "Os seguintes ficheiros não serão encriptados:",
|
||||
"Exclude the following file types from encryption:" => "Excluir da encriptação os seguintes tipos de ficheiro:",
|
||||
"None" => "Nenhum"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Te rugăm să mergi în clientul ownCloud și să schimbi parola pentru a finisa conversia",
|
||||
"switched to client side encryption" => "setat la encriptare locală",
|
||||
"Change encryption password to login password" => "Schimbă parola de ecriptare în parolă de acces",
|
||||
"Please check your passwords and try again." => "Verifică te rog parolele și înceracă din nou.",
|
||||
"Could not change your file encryption password to your login password" => "Nu s-a putut schimba parola de encripție a fișierelor ca parolă de acces",
|
||||
"Encryption" => "Încriptare",
|
||||
"None" => "Niciuna"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Пожалуйста переключитесь на Ваш клиент ownCloud и поменяйте пароль шиврования для завершения преобразования.",
|
||||
"switched to client side encryption" => "переключён на шифрование со стороны клиента",
|
||||
"Change encryption password to login password" => "Изменить пароль шифрования для пароля входа",
|
||||
"Please check your passwords and try again." => "Пожалуйста проверьте пароли и попробуйте снова.",
|
||||
"Could not change your file encryption password to your login password" => "Невозможно изменить Ваш пароль файла шифрования для пароля входа",
|
||||
"Encryption" => "Шифрование",
|
||||
"File encryption is enabled." => "Шифрование файла включено.",
|
||||
"The following file types will not be encrypted:" => "Следующие типы файлов не будут зашифрованы:",
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Пожалуйста, переключитесь на ownCloud-клиент и измените Ваш пароль шифрования для завершения конвертации.",
|
||||
"switched to client side encryption" => "переключено на шифрование на клиентской стороне",
|
||||
"Please check your passwords and try again." => "Пожалуйста, проверьте Ваш пароль и попробуйте снова",
|
||||
"Encryption" => "Шифрование",
|
||||
"None" => "Ни один"
|
||||
);
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Prosím, prejdite do svojho klienta ownCloud a zmente šifrovacie heslo na dokončenie konverzie.",
|
||||
"switched to client side encryption" => "prepnuté na šifrovanie prostredníctvom klienta",
|
||||
"Change encryption password to login password" => "Zmeniť šifrovacie heslo na prihlasovacie",
|
||||
"Please check your passwords and try again." => "Skontrolujte si heslo a skúste to znovu.",
|
||||
"Could not change your file encryption password to your login password" => "Nie je možné zmeniť šifrovacie heslo na prihlasovacie",
|
||||
"Encryption" => "Šifrovanie",
|
||||
"File encryption is enabled." => "Kryptovanie súborov nastavené.",
|
||||
"The following file types will not be encrypted:" => "Uvedené typy súborov nebudú kryptované:",
|
||||
"Exclude the following file types from encryption:" => "Nekryptovať uvedené typy súborov",
|
||||
"File encryption is enabled." => "Šifrovanie súborov nastavené.",
|
||||
"The following file types will not be encrypted:" => "Uvedené typy súborov nebudú šifrované:",
|
||||
"Exclude the following file types from encryption:" => "Nešifrovať uvedené typy súborov",
|
||||
"None" => "Žiadne"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "Vänligen växla till ownCloud klienten och ändra ditt krypteringslösenord för att slutföra omvandlingen.",
|
||||
"switched to client side encryption" => "Bytte till kryptering på klientsidan",
|
||||
"Change encryption password to login password" => "Ändra krypteringslösenord till loginlösenord",
|
||||
"Please check your passwords and try again." => "Kontrollera dina lösenord och försök igen.",
|
||||
"Could not change your file encryption password to your login password" => "Kunde inte ändra ditt filkrypteringslösenord till ditt loginlösenord",
|
||||
"Encryption" => "Kryptering",
|
||||
"File encryption is enabled." => "Filkryptering är aktiverat.",
|
||||
"The following file types will not be encrypted:" => "Följande filtyper kommer inte att krypteras:",
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "กรุณาสลับไปที่โปรแกรมไคลเอนต์ ownCloud ของคุณ แล้วเปลี่ยนรหัสผ่านสำหรับการเข้ารหัสเพื่อแปลงข้อมูลให้เสร็จสมบูรณ์",
|
||||
"switched to client side encryption" => "สลับไปใช้การเข้ารหัสจากโปรแกรมไคลเอนต์",
|
||||
"Change encryption password to login password" => "เปลี่ยนรหัสผ่านสำหรับเข้ารหัสไปเป็นรหัสผ่านสำหรับการเข้าสู่ระบบ",
|
||||
"Please check your passwords and try again." => "กรุณาตรวจสอบรหัสผ่านของคุณแล้วลองใหม่อีกครั้ง",
|
||||
"Could not change your file encryption password to your login password" => "ไม่สามารถเปลี่ยนรหัสผ่านสำหรับการเข้ารหัสไฟล์ของคุณไปเป็นรหัสผ่านสำหรับการเข้าสู่ระบบของคุณได้",
|
||||
"Encryption" => "การเข้ารหัส",
|
||||
"None" => "ไม่ต้อง"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Mã hóa",
|
||||
"File encryption is enabled." => "Mã hóa file đã mở",
|
||||
"The following file types will not be encrypted:" => "Loại file sau sẽ không được mã hóa",
|
||||
"Exclude the following file types from encryption:" => "Việc mã hóa không bao gồm loại file sau",
|
||||
"None" => "Không có gì hết"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Please switch to your ownCloud client and change your encryption password to complete the conversion." => "請至您的 ownCloud 客戶端程式修改您的加密密碼以完成轉換。",
|
||||
"switched to client side encryption" => "已切換為客戶端加密",
|
||||
"Change encryption password to login password" => "將加密密碼修改為登入密碼",
|
||||
"Please check your passwords and try again." => "請檢查您的密碼並再試一次。",
|
||||
"Could not change your file encryption password to your login password" => "無法變更您的檔案加密密碼為登入密碼",
|
||||
"Encryption" => "加密",
|
||||
"None" => "無"
|
||||
);
|
||||
|
|
3
apps/files_external/3rdparty/phpseclib/AUTHORS
vendored
Normal file
3
apps/files_external/3rdparty/phpseclib/AUTHORS
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
phpseclib Lead Developer: TerraFrost (Jim Wigginton)
|
||||
|
||||
phpseclib Developers: monnerat (Patrick Monnerat)
|
21
apps/files_external/3rdparty/phpseclib/LICENSE
vendored
Normal file
21
apps/files_external/3rdparty/phpseclib/LICENSE
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
Copyright 2007-2012 TerraFrost and other contributors
|
||||
http://phpseclib.sourceforge.net/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
16
apps/files_external/3rdparty/phpseclib/README.md
vendored
Normal file
16
apps/files_external/3rdparty/phpseclib/README.md
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
# phpseclib - PHP Secure Communications Library
|
||||
|
||||
[![Build Status](https://secure.travis-ci.org/phpseclib/phpseclib.png?branch=master)](http://travis-ci.org/phpseclib/phpseclib)
|
||||
|
||||
MIT-licensed pure-PHP implementations of an arbitrary-precision integer
|
||||
arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael,
|
||||
AES, SSH-1, SSH-2, SFTP, and X.509
|
||||
|
||||
* [Download (0.3.1)](http://sourceforge.net/projects/phpseclib/files/phpseclib0.3.1.zip/download)
|
||||
* [Browse Git](https://github.com/phpseclib/phpseclib)
|
||||
* [Documentation](http://phpseclib.sourceforge.net/)
|
||||
* [Support](http://www.frostjedi.com/phpbb/viewforum.php?f=46)
|
||||
* [Code Coverage Report](http://phpseclib.bantux.org/code_coverage/latest/)
|
||||
|
||||
<img src="http://phpseclib.sourceforge.net/pear-icon.png" alt="PEAR Channel" width="16" height="16">
|
||||
PEAR Channel: [phpseclib.sourceforge.net](http://phpseclib.sourceforge.net/pear.htm)
|
48
apps/files_external/3rdparty/phpseclib/composer.json
vendored
Normal file
48
apps/files_external/3rdparty/phpseclib/composer.json
vendored
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"name": "phpseclib/phpseclib",
|
||||
"type": "library",
|
||||
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
|
||||
"keywords": [
|
||||
"security",
|
||||
"crypto",
|
||||
"cryptography",
|
||||
"encryption",
|
||||
"signature",
|
||||
"signing",
|
||||
"rsa",
|
||||
"aes",
|
||||
"ssh",
|
||||
"sftp",
|
||||
"x509",
|
||||
"x.509",
|
||||
"asn1",
|
||||
"asn.1",
|
||||
"BigInteger"
|
||||
],
|
||||
"homepage": "http://phpseclib.sourceforge.net",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jim Wigginton",
|
||||
"email": "terrafrost@php.net",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.0.0"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a wide variety of cryptographic operations.",
|
||||
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
|
||||
"pear-pear/PHP_Compat": "Install PHP_Compat to get phpseclib working on PHP >= 4.3.3."
|
||||
},
|
||||
"include-path": ["phpseclib/"],
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Crypt": "phpseclib/",
|
||||
"File": "phpseclib/",
|
||||
"Math": "phpseclib/",
|
||||
"Net": "phpseclib/"
|
||||
}
|
||||
}
|
||||
}
|
946
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/AES.php
vendored
Normal file
946
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/AES.php
vendored
Normal file
|
@ -0,0 +1,946 @@
|
|||
<?php
|
||||
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
|
||||
|
||||
/**
|
||||
* Pure-PHP implementation of AES.
|
||||
*
|
||||
* Uses mcrypt, if available, and an internal implementation, otherwise.
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* If {@link Crypt_AES::setKeyLength() setKeyLength()} isn't called, it'll be calculated from
|
||||
* {@link Crypt_AES::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's 136-bits
|
||||
* it'll be null-padded to 160-bits and 160 bits will be the key length until {@link Crypt_Rijndael::setKey() setKey()}
|
||||
* is called, again, at which point, it'll be recalculated.
|
||||
*
|
||||
* Since Crypt_AES extends Crypt_Rijndael, some functions are available to be called that, in the context of AES, don't
|
||||
* make a whole lot of sense. {@link Crypt_AES::setBlockLength() setBlockLength()}, for instance. Calling that function,
|
||||
* however possible, won't do anything (AES has a fixed block length whereas Rijndael has a variable one).
|
||||
*
|
||||
* Here's a short example of how to use this library:
|
||||
* <code>
|
||||
* <?php
|
||||
* include('Crypt/AES.php');
|
||||
*
|
||||
* $aes = new Crypt_AES();
|
||||
*
|
||||
* $aes->setKey('abcdefghijklmnop');
|
||||
*
|
||||
* $size = 10 * 1024;
|
||||
* $plaintext = '';
|
||||
* for ($i = 0; $i < $size; $i++) {
|
||||
* $plaintext.= 'a';
|
||||
* }
|
||||
*
|
||||
* echo $aes->decrypt($aes->encrypt($plaintext));
|
||||
* ?>
|
||||
* </code>
|
||||
*
|
||||
* LICENSE: Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @category Crypt
|
||||
* @package Crypt_AES
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @copyright MMVIII Jim Wigginton
|
||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||
* @version $Id: AES.php,v 1.7 2010/02/09 06:10:25 terrafrost Exp $
|
||||
* @link http://phpseclib.sourceforge.net
|
||||
*/
|
||||
|
||||
/**
|
||||
* Include Crypt_Rijndael
|
||||
*/
|
||||
if (!class_exists('Crypt_Rijndael')) {
|
||||
require_once 'Rijndael.php';
|
||||
}
|
||||
|
||||
/**#@+
|
||||
* @access public
|
||||
* @see Crypt_AES::encrypt()
|
||||
* @see Crypt_AES::decrypt()
|
||||
*/
|
||||
/**
|
||||
* Encrypt / decrypt using the Counter mode.
|
||||
*
|
||||
* Set to -1 since that's what Crypt/Random.php uses to index the CTR mode.
|
||||
*
|
||||
* @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Counter_.28CTR.29
|
||||
*/
|
||||
define('CRYPT_AES_MODE_CTR', -1);
|
||||
/**
|
||||
* Encrypt / decrypt using the Electronic Code Book mode.
|
||||
*
|
||||
* @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29
|
||||
*/
|
||||
define('CRYPT_AES_MODE_ECB', 1);
|
||||
/**
|
||||
* Encrypt / decrypt using the Code Book Chaining mode.
|
||||
*
|
||||
* @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher-block_chaining_.28CBC.29
|
||||
*/
|
||||
define('CRYPT_AES_MODE_CBC', 2);
|
||||
/**
|
||||
* Encrypt / decrypt using the Cipher Feedback mode.
|
||||
*
|
||||
* @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher_feedback_.28CFB.29
|
||||
*/
|
||||
define('CRYPT_AES_MODE_CFB', 3);
|
||||
/**
|
||||
* Encrypt / decrypt using the Cipher Feedback mode.
|
||||
*
|
||||
* @link http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Output_feedback_.28OFB.29
|
||||
*/
|
||||
define('CRYPT_AES_MODE_OFB', 4);
|
||||
/**#@-*/
|
||||
|
||||
/**#@+
|
||||
* @access private
|
||||
* @see Crypt_AES::Crypt_AES()
|
||||
*/
|
||||
/**
|
||||
* Toggles the internal implementation
|
||||
*/
|
||||
define('CRYPT_AES_MODE_INTERNAL', 1);
|
||||
/**
|
||||
* Toggles the mcrypt implementation
|
||||
*/
|
||||
define('CRYPT_AES_MODE_MCRYPT', 2);
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Pure-PHP implementation of AES.
|
||||
*
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @version 0.1.0
|
||||
* @access public
|
||||
* @package Crypt_AES
|
||||
*/
|
||||
class Crypt_AES extends Crypt_Rijndael {
|
||||
/**
|
||||
* mcrypt resource for encryption
|
||||
*
|
||||
* The mcrypt resource can be recreated every time something needs to be created or it can be created just once.
|
||||
* Since mcrypt operates in continuous mode, by default, it'll need to be recreated when in non-continuous mode.
|
||||
*
|
||||
* @see Crypt_AES::encrypt()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $enmcrypt;
|
||||
|
||||
/**
|
||||
* mcrypt resource for decryption
|
||||
*
|
||||
* The mcrypt resource can be recreated every time something needs to be created or it can be created just once.
|
||||
* Since mcrypt operates in continuous mode, by default, it'll need to be recreated when in non-continuous mode.
|
||||
*
|
||||
* @see Crypt_AES::decrypt()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $demcrypt;
|
||||
|
||||
/**
|
||||
* mcrypt resource for CFB mode
|
||||
*
|
||||
* @see Crypt_AES::encrypt()
|
||||
* @see Crypt_AES::decrypt()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $ecb;
|
||||
|
||||
/**
|
||||
* The SubByte S-Box
|
||||
*
|
||||
* @see Crypt_AES::_encryptBlock()
|
||||
* @var Array
|
||||
* @access intern
|
||||
*/
|
||||
var $sbox = array(
|
||||
0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76,
|
||||
0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0,
|
||||
0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3F, 0xF7, 0xCC, 0x34, 0xA5, 0xE5, 0xF1, 0x71, 0xD8, 0x31, 0x15,
|
||||
0x04, 0xC7, 0x23, 0xC3, 0x18, 0x96, 0x05, 0x9A, 0x07, 0x12, 0x80, 0xE2, 0xEB, 0x27, 0xB2, 0x75,
|
||||
0x09, 0x83, 0x2C, 0x1A, 0x1B, 0x6E, 0x5A, 0xA0, 0x52, 0x3B, 0xD6, 0xB3, 0x29, 0xE3, 0x2F, 0x84,
|
||||
0x53, 0xD1, 0x00, 0xED, 0x20, 0xFC, 0xB1, 0x5B, 0x6A, 0xCB, 0xBE, 0x39, 0x4A, 0x4C, 0x58, 0xCF,
|
||||
0xD0, 0xEF, 0xAA, 0xFB, 0x43, 0x4D, 0x33, 0x85, 0x45, 0xF9, 0x02, 0x7F, 0x50, 0x3C, 0x9F, 0xA8,
|
||||
0x51, 0xA3, 0x40, 0x8F, 0x92, 0x9D, 0x38, 0xF5, 0xBC, 0xB6, 0xDA, 0x21, 0x10, 0xFF, 0xF3, 0xD2,
|
||||
0xCD, 0x0C, 0x13, 0xEC, 0x5F, 0x97, 0x44, 0x17, 0xC4, 0xA7, 0x7E, 0x3D, 0x64, 0x5D, 0x19, 0x73,
|
||||
0x60, 0x81, 0x4F, 0xDC, 0x22, 0x2A, 0x90, 0x88, 0x46, 0xEE, 0xB8, 0x14, 0xDE, 0x5E, 0x0B, 0xDB,
|
||||
0xE0, 0x32, 0x3A, 0x0A, 0x49, 0x06, 0x24, 0x5C, 0xC2, 0xD3, 0xAC, 0x62, 0x91, 0x95, 0xE4, 0x79,
|
||||
0xE7, 0xC8, 0x37, 0x6D, 0x8D, 0xD5, 0x4E, 0xA9, 0x6C, 0x56, 0xF4, 0xEA, 0x65, 0x7A, 0xAE, 0x08,
|
||||
0xBA, 0x78, 0x25, 0x2E, 0x1C, 0xA6, 0xB4, 0xC6, 0xE8, 0xDD, 0x74, 0x1F, 0x4B, 0xBD, 0x8B, 0x8A,
|
||||
0x70, 0x3E, 0xB5, 0x66, 0x48, 0x03, 0xF6, 0x0E, 0x61, 0x35, 0x57, 0xB9, 0x86, 0xC1, 0x1D, 0x9E,
|
||||
0xE1, 0xF8, 0x98, 0x11, 0x69, 0xD9, 0x8E, 0x94, 0x9B, 0x1E, 0x87, 0xE9, 0xCE, 0x55, 0x28, 0xDF,
|
||||
0x8C, 0xA1, 0x89, 0x0D, 0xBF, 0xE6, 0x42, 0x68, 0x41, 0x99, 0x2D, 0x0F, 0xB0, 0x54, 0xBB, 0x16
|
||||
);
|
||||
|
||||
/**
|
||||
* The inverse SubByte S-Box
|
||||
*
|
||||
* @see Crypt_AES::_decryptBlock()
|
||||
* @var Array
|
||||
* @access intern
|
||||
*/
|
||||
var $isbox = array(
|
||||
0x52, 0x09, 0x6A, 0xD5, 0x30, 0x36, 0xA5, 0x38, 0xBF, 0x40, 0xA3, 0x9E, 0x81, 0xF3, 0xD7, 0xFB,
|
||||
0x7C, 0xE3, 0x39, 0x82, 0x9B, 0x2F, 0xFF, 0x87, 0x34, 0x8E, 0x43, 0x44, 0xC4, 0xDE, 0xE9, 0xCB,
|
||||
0x54, 0x7B, 0x94, 0x32, 0xA6, 0xC2, 0x23, 0x3D, 0xEE, 0x4C, 0x95, 0x0B, 0x42, 0xFA, 0xC3, 0x4E,
|
||||
0x08, 0x2E, 0xA1, 0x66, 0x28, 0xD9, 0x24, 0xB2, 0x76, 0x5B, 0xA2, 0x49, 0x6D, 0x8B, 0xD1, 0x25,
|
||||
0x72, 0xF8, 0xF6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xD4, 0xA4, 0x5C, 0xCC, 0x5D, 0x65, 0xB6, 0x92,
|
||||
0x6C, 0x70, 0x48, 0x50, 0xFD, 0xED, 0xB9, 0xDA, 0x5E, 0x15, 0x46, 0x57, 0xA7, 0x8D, 0x9D, 0x84,
|
||||
0x90, 0xD8, 0xAB, 0x00, 0x8C, 0xBC, 0xD3, 0x0A, 0xF7, 0xE4, 0x58, 0x05, 0xB8, 0xB3, 0x45, 0x06,
|
||||
0xD0, 0x2C, 0x1E, 0x8F, 0xCA, 0x3F, 0x0F, 0x02, 0xC1, 0xAF, 0xBD, 0x03, 0x01, 0x13, 0x8A, 0x6B,
|
||||
0x3A, 0x91, 0x11, 0x41, 0x4F, 0x67, 0xDC, 0xEA, 0x97, 0xF2, 0xCF, 0xCE, 0xF0, 0xB4, 0xE6, 0x73,
|
||||
0x96, 0xAC, 0x74, 0x22, 0xE7, 0xAD, 0x35, 0x85, 0xE2, 0xF9, 0x37, 0xE8, 0x1C, 0x75, 0xDF, 0x6E,
|
||||
0x47, 0xF1, 0x1A, 0x71, 0x1D, 0x29, 0xC5, 0x89, 0x6F, 0xB7, 0x62, 0x0E, 0xAA, 0x18, 0xBE, 0x1B,
|
||||
0xFC, 0x56, 0x3E, 0x4B, 0xC6, 0xD2, 0x79, 0x20, 0x9A, 0xDB, 0xC0, 0xFE, 0x78, 0xCD, 0x5A, 0xF4,
|
||||
0x1F, 0xDD, 0xA8, 0x33, 0x88, 0x07, 0xC7, 0x31, 0xB1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xEC, 0x5F,
|
||||
0x60, 0x51, 0x7F, 0xA9, 0x19, 0xB5, 0x4A, 0x0D, 0x2D, 0xE5, 0x7A, 0x9F, 0x93, 0xC9, 0x9C, 0xEF,
|
||||
0xA0, 0xE0, 0x3B, 0x4D, 0xAE, 0x2A, 0xF5, 0xB0, 0xC8, 0xEB, 0xBB, 0x3C, 0x83, 0x53, 0x99, 0x61,
|
||||
0x17, 0x2B, 0x04, 0x7E, 0xBA, 0x77, 0xD6, 0x26, 0xE1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0C, 0x7D
|
||||
);
|
||||
|
||||
/**
|
||||
* Default Constructor.
|
||||
*
|
||||
* Determines whether or not the mcrypt extension should be used. $mode should only, at present, be
|
||||
* CRYPT_AES_MODE_ECB or CRYPT_AES_MODE_CBC. If not explictly set, CRYPT_AES_MODE_CBC will be used.
|
||||
*
|
||||
* @param optional Integer $mode
|
||||
* @return Crypt_AES
|
||||
* @access public
|
||||
*/
|
||||
function Crypt_AES($mode = CRYPT_AES_MODE_CBC)
|
||||
{
|
||||
if ( !defined('CRYPT_AES_MODE') ) {
|
||||
switch (true) {
|
||||
case extension_loaded('mcrypt') && in_array('rijndael-128', mcrypt_list_algorithms()):
|
||||
define('CRYPT_AES_MODE', CRYPT_AES_MODE_MCRYPT);
|
||||
break;
|
||||
default:
|
||||
define('CRYPT_AES_MODE', CRYPT_AES_MODE_INTERNAL);
|
||||
}
|
||||
}
|
||||
|
||||
switch ( CRYPT_AES_MODE ) {
|
||||
case CRYPT_AES_MODE_MCRYPT:
|
||||
switch ($mode) {
|
||||
case CRYPT_AES_MODE_ECB:
|
||||
$this->paddable = true;
|
||||
$this->mode = MCRYPT_MODE_ECB;
|
||||
break;
|
||||
case CRYPT_AES_MODE_CTR:
|
||||
// ctr doesn't have a constant associated with it even though it appears to be fairly widely
|
||||
// supported. in lieu of knowing just how widely supported it is, i've, for now, opted not to
|
||||
// include a compatibility layer. the layer has been implemented but, for now, is commented out.
|
||||
$this->mode = 'ctr';
|
||||
//$this->mode = in_array('ctr', mcrypt_list_modes()) ? 'ctr' : CRYPT_AES_MODE_CTR;
|
||||
break;
|
||||
case CRYPT_AES_MODE_CFB:
|
||||
$this->mode = 'ncfb';
|
||||
break;
|
||||
case CRYPT_AES_MODE_OFB:
|
||||
$this->mode = MCRYPT_MODE_NOFB;
|
||||
break;
|
||||
case CRYPT_AES_MODE_CBC:
|
||||
default:
|
||||
$this->paddable = true;
|
||||
$this->mode = MCRYPT_MODE_CBC;
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
switch ($mode) {
|
||||
case CRYPT_AES_MODE_ECB:
|
||||
$this->paddable = true;
|
||||
$this->mode = CRYPT_RIJNDAEL_MODE_ECB;
|
||||
break;
|
||||
case CRYPT_AES_MODE_CTR:
|
||||
$this->mode = CRYPT_RIJNDAEL_MODE_CTR;
|
||||
break;
|
||||
case CRYPT_AES_MODE_CFB:
|
||||
$this->mode = CRYPT_RIJNDAEL_MODE_CFB;
|
||||
break;
|
||||
case CRYPT_AES_MODE_OFB:
|
||||
$this->mode = CRYPT_RIJNDAEL_MODE_OFB;
|
||||
break;
|
||||
case CRYPT_AES_MODE_CBC:
|
||||
default:
|
||||
$this->paddable = true;
|
||||
$this->mode = CRYPT_RIJNDAEL_MODE_CBC;
|
||||
}
|
||||
}
|
||||
|
||||
if (CRYPT_AES_MODE == CRYPT_AES_MODE_INTERNAL) {
|
||||
parent::Crypt_Rijndael($this->mode);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Extended Crypt_Rijndael::_setup()
|
||||
*
|
||||
* Optimizing the key schedule arrays ($w, $dw) for _encryptBlock() and _decryptBlock() after Crypt_Rijndael::_setup()
|
||||
*
|
||||
* @see Crypt_Rijndael::_setup()
|
||||
* @access private
|
||||
*/
|
||||
function _setup()
|
||||
{
|
||||
if (!$this->changed) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->w = $this->dw = array();
|
||||
parent::_setup();
|
||||
|
||||
$this->dw = array_reverse($this->dw);
|
||||
$w = array_pop($this->w);
|
||||
$dw = array_pop($this->dw);
|
||||
foreach ($this->w as $r => $wr) {
|
||||
foreach ($wr as $c => $wc) {
|
||||
$w[] = $wc;
|
||||
$dw[] = $this->dw[$r][$c];
|
||||
}
|
||||
}
|
||||
$this->w = $w;
|
||||
$this->dw = $dw;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy function
|
||||
*
|
||||
* Since Crypt_AES extends Crypt_Rijndael, this function is, technically, available, but it doesn't do anything.
|
||||
*
|
||||
* @access public
|
||||
* @param Integer $length
|
||||
*/
|
||||
function setBlockLength($length)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the initialization vector. (optional)
|
||||
*
|
||||
* SetIV is not required when CRYPT_RIJNDAEL_MODE_ECB is being used. If not explictly set, it'll be assumed
|
||||
* to be all zero's.
|
||||
*
|
||||
* @access public
|
||||
* @param String $iv
|
||||
*/
|
||||
function setIV($iv)
|
||||
{
|
||||
parent::setIV($iv);
|
||||
if ( CRYPT_AES_MODE == CRYPT_AES_MODE_MCRYPT ) {
|
||||
$this->changed = true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a message.
|
||||
*
|
||||
* $plaintext will be padded with up to 16 additional bytes. Other AES implementations may or may not pad in the
|
||||
* same manner. Other common approaches to padding and the reasons why it's necessary are discussed in the following
|
||||
* URL:
|
||||
*
|
||||
* {@link http://www.di-mgt.com.au/cryptopad.html http://www.di-mgt.com.au/cryptopad.html}
|
||||
*
|
||||
* An alternative to padding is to, separately, send the length of the file. This is what SSH, in fact, does.
|
||||
* strlen($plaintext) will still need to be a multiple of 16, however, arbitrary values can be added to make it that
|
||||
* length.
|
||||
*
|
||||
* @see Crypt_AES::decrypt()
|
||||
* @access public
|
||||
* @param String $plaintext
|
||||
*/
|
||||
function encrypt($plaintext)
|
||||
{
|
||||
if ( CRYPT_AES_MODE == CRYPT_AES_MODE_MCRYPT ) {
|
||||
$this->_mcryptSetup();
|
||||
|
||||
// re: http://phpseclib.sourceforge.net/cfb-demo.phps
|
||||
// using mcrypt's default handing of CFB the above would output two different things. using phpseclib's
|
||||
// rewritten CFB implementation the above outputs the same thing twice.
|
||||
if ($this->mode == 'ncfb' && $this->continuousBuffer) {
|
||||
$iv = &$this->encryptIV;
|
||||
$pos = &$this->enbuffer['pos'];
|
||||
$len = strlen($plaintext);
|
||||
$ciphertext = '';
|
||||
$i = 0;
|
||||
if ($pos) {
|
||||
$orig_pos = $pos;
|
||||
$max = 16 - $pos;
|
||||
if ($len >= $max) {
|
||||
$i = $max;
|
||||
$len-= $max;
|
||||
$pos = 0;
|
||||
} else {
|
||||
$i = $len;
|
||||
$pos+= $len;
|
||||
$len = 0;
|
||||
}
|
||||
$ciphertext = substr($iv, $orig_pos) ^ $plaintext;
|
||||
$iv = substr_replace($iv, $ciphertext, $orig_pos, $i);
|
||||
$this->enbuffer['enmcrypt_init'] = true;
|
||||
}
|
||||
if ($len >= 16) {
|
||||
if ($this->enbuffer['enmcrypt_init'] === false || $len > 280) {
|
||||
if ($this->enbuffer['enmcrypt_init'] === true) {
|
||||
mcrypt_generic_init($this->enmcrypt, $this->key, $iv);
|
||||
$this->enbuffer['enmcrypt_init'] = false;
|
||||
}
|
||||
$ciphertext.= mcrypt_generic($this->enmcrypt, substr($plaintext, $i, $len - $len % 16));
|
||||
$iv = substr($ciphertext, -16);
|
||||
$len%= 16;
|
||||
} else {
|
||||
while ($len >= 16) {
|
||||
$iv = mcrypt_generic($this->ecb, $iv) ^ substr($plaintext, $i, 16);
|
||||
$ciphertext.= $iv;
|
||||
$len-= 16;
|
||||
$i+= 16;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($len) {
|
||||
$iv = mcrypt_generic($this->ecb, $iv);
|
||||
$block = $iv ^ substr($plaintext, -$len);
|
||||
$iv = substr_replace($iv, $block, 0, $len);
|
||||
$ciphertext.= $block;
|
||||
$pos = $len;
|
||||
}
|
||||
|
||||
return $ciphertext;
|
||||
}
|
||||
|
||||
if ($this->paddable) {
|
||||
$plaintext = $this->_pad($plaintext);
|
||||
}
|
||||
|
||||
$ciphertext = mcrypt_generic($this->enmcrypt, $plaintext);
|
||||
|
||||
if (!$this->continuousBuffer) {
|
||||
mcrypt_generic_init($this->enmcrypt, $this->key, $this->iv);
|
||||
}
|
||||
|
||||
return $ciphertext;
|
||||
}
|
||||
|
||||
return parent::encrypt($plaintext);
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a message.
|
||||
*
|
||||
* If strlen($ciphertext) is not a multiple of 16, null bytes will be added to the end of the string until it is.
|
||||
*
|
||||
* @see Crypt_AES::encrypt()
|
||||
* @access public
|
||||
* @param String $ciphertext
|
||||
*/
|
||||
function decrypt($ciphertext)
|
||||
{
|
||||
if ( CRYPT_AES_MODE == CRYPT_AES_MODE_MCRYPT ) {
|
||||
$this->_mcryptSetup();
|
||||
|
||||
if ($this->mode == 'ncfb' && $this->continuousBuffer) {
|
||||
$iv = &$this->decryptIV;
|
||||
$pos = &$this->debuffer['pos'];
|
||||
$len = strlen($ciphertext);
|
||||
$plaintext = '';
|
||||
$i = 0;
|
||||
if ($pos) {
|
||||
$orig_pos = $pos;
|
||||
$max = 16 - $pos;
|
||||
if ($len >= $max) {
|
||||
$i = $max;
|
||||
$len-= $max;
|
||||
$pos = 0;
|
||||
} else {
|
||||
$i = $len;
|
||||
$pos+= $len;
|
||||
$len = 0;
|
||||
}
|
||||
// ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize
|
||||
$plaintext = substr($iv, $orig_pos) ^ $ciphertext;
|
||||
$iv = substr_replace($iv, substr($ciphertext, 0, $i), $orig_pos, $i);
|
||||
}
|
||||
if ($len >= 16) {
|
||||
$cb = substr($ciphertext, $i, $len - $len % 16);
|
||||
$plaintext.= mcrypt_generic($this->ecb, $iv . $cb) ^ $cb;
|
||||
$iv = substr($cb, -16);
|
||||
$len%= 16;
|
||||
}
|
||||
if ($len) {
|
||||
$iv = mcrypt_generic($this->ecb, $iv);
|
||||
$plaintext.= $iv ^ substr($ciphertext, -$len);
|
||||
$iv = substr_replace($iv, substr($ciphertext, -$len), 0, $len);
|
||||
$pos = $len;
|
||||
}
|
||||
|
||||
return $plaintext;
|
||||
}
|
||||
|
||||
if ($this->paddable) {
|
||||
// we pad with chr(0) since that's what mcrypt_generic does. to quote from http://php.net/function.mcrypt-generic :
|
||||
// "The data is padded with "\0" to make sure the length of the data is n * blocksize."
|
||||
$ciphertext = str_pad($ciphertext, (strlen($ciphertext) + 15) & 0xFFFFFFF0, chr(0));
|
||||
}
|
||||
|
||||
$plaintext = mdecrypt_generic($this->demcrypt, $ciphertext);
|
||||
|
||||
if (!$this->continuousBuffer) {
|
||||
mcrypt_generic_init($this->demcrypt, $this->key, $this->iv);
|
||||
}
|
||||
|
||||
return $this->paddable ? $this->_unpad($plaintext) : $plaintext;
|
||||
}
|
||||
|
||||
return parent::decrypt($ciphertext);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup mcrypt
|
||||
*
|
||||
* Validates all the variables.
|
||||
*
|
||||
* @access private
|
||||
*/
|
||||
function _mcryptSetup()
|
||||
{
|
||||
if (!$this->changed) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$this->explicit_key_length) {
|
||||
// this just copied from Crypt_Rijndael::_setup()
|
||||
$length = strlen($this->key) >> 2;
|
||||
if ($length > 8) {
|
||||
$length = 8;
|
||||
} else if ($length < 4) {
|
||||
$length = 4;
|
||||
}
|
||||
$this->Nk = $length;
|
||||
$this->key_size = $length << 2;
|
||||
}
|
||||
|
||||
switch ($this->Nk) {
|
||||
case 4: // 128
|
||||
$this->key_size = 16;
|
||||
break;
|
||||
case 5: // 160
|
||||
case 6: // 192
|
||||
$this->key_size = 24;
|
||||
break;
|
||||
case 7: // 224
|
||||
case 8: // 256
|
||||
$this->key_size = 32;
|
||||
}
|
||||
|
||||
$this->key = str_pad(substr($this->key, 0, $this->key_size), $this->key_size, chr(0));
|
||||
$this->encryptIV = $this->decryptIV = $this->iv = str_pad(substr($this->iv, 0, 16), 16, chr(0));
|
||||
|
||||
if (!isset($this->enmcrypt)) {
|
||||
$mode = $this->mode;
|
||||
//$mode = $this->mode == CRYPT_AES_MODE_CTR ? MCRYPT_MODE_ECB : $this->mode;
|
||||
|
||||
$this->demcrypt = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', $mode, '');
|
||||
$this->enmcrypt = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', $mode, '');
|
||||
|
||||
if ($mode == 'ncfb') {
|
||||
$this->ecb = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', MCRYPT_MODE_ECB, '');
|
||||
}
|
||||
|
||||
} // else should mcrypt_generic_deinit be called?
|
||||
|
||||
mcrypt_generic_init($this->demcrypt, $this->key, $this->iv);
|
||||
mcrypt_generic_init($this->enmcrypt, $this->key, $this->iv);
|
||||
|
||||
if ($this->mode == 'ncfb') {
|
||||
mcrypt_generic_init($this->ecb, $this->key, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
|
||||
}
|
||||
|
||||
$this->changed = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a block
|
||||
*
|
||||
* Optimized over Crypt_Rijndael's implementation by means of loop unrolling.
|
||||
*
|
||||
* @see Crypt_Rijndael::_encryptBlock()
|
||||
* @access private
|
||||
* @param String $in
|
||||
* @return String
|
||||
*/
|
||||
function _encryptBlock($in)
|
||||
{
|
||||
$state = unpack('N*', $in);
|
||||
|
||||
$sbox = $this->sbox;
|
||||
$w = $this->w;
|
||||
$t0 = $this->t0;
|
||||
$t1 = $this->t1;
|
||||
$t2 = $this->t2;
|
||||
$t3 = $this->t3;
|
||||
|
||||
// addRoundKey
|
||||
$s0 = $state[1] ^ $w[4];
|
||||
$s1 = $state[2] ^ $w[5];
|
||||
$s2 = $state[3] ^ $w[6];
|
||||
$s3 = $state[4] ^ $w[7];
|
||||
|
||||
// shiftRows + subWord + mixColumns + addRoundKey
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[8];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[9];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[10];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[11];
|
||||
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[12];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[13];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[14];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[15];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[16];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[17];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[18];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[19];
|
||||
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[20];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[21];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[22];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[23];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[24];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[25];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[26];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[27];
|
||||
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[28];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[29];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[30];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[31];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[32];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[33];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[34];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[35];
|
||||
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[36];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[37];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[38];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[39];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[40];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[41];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[42];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[43];
|
||||
|
||||
switch ($this->Nr) {
|
||||
case 10:
|
||||
break;
|
||||
|
||||
case 14:
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[44];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[45];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[46];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[47];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[48];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[49];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[50];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[51];
|
||||
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[52];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[53];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[54];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[55];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[56];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[57];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[58];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[59];
|
||||
break;
|
||||
|
||||
case 12:
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[44];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[45];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[46];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[47];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[48];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[49];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[50];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[51];
|
||||
break;
|
||||
|
||||
case 13:
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[44];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[45];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[46];
|
||||
$s3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[47];
|
||||
|
||||
$e0 = $t0[($s0 >> 24) & 0xff] ^ $t1[($s1 >> 16) & 0xff] ^ $t2[($s2 >> 8) & 0xff] ^ $t3[$s3 & 0xff] ^ $w[48];
|
||||
$e1 = $t0[($s1 >> 24) & 0xff] ^ $t1[($s2 >> 16) & 0xff] ^ $t2[($s3 >> 8) & 0xff] ^ $t3[$s0 & 0xff] ^ $w[49];
|
||||
$e2 = $t0[($s2 >> 24) & 0xff] ^ $t1[($s3 >> 16) & 0xff] ^ $t2[($s0 >> 8) & 0xff] ^ $t3[$s1 & 0xff] ^ $w[50];
|
||||
$e3 = $t0[($s3 >> 24) & 0xff] ^ $t1[($s0 >> 16) & 0xff] ^ $t2[($s1 >> 8) & 0xff] ^ $t3[$s2 & 0xff] ^ $w[51];
|
||||
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[52];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[53];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[54];
|
||||
$e3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[55];
|
||||
// Note: Here we skip $s3 but using $e3
|
||||
|
||||
$e0 = $s0;
|
||||
$e1 = $s1;
|
||||
$e2 = $s2;
|
||||
// $e3 = $s3;
|
||||
break;
|
||||
|
||||
default: // 11
|
||||
$s0 = $t0[($e0 >> 24) & 0xff] ^ $t1[($e1 >> 16) & 0xff] ^ $t2[($e2 >> 8) & 0xff] ^ $t3[$e3 & 0xff] ^ $w[44];
|
||||
$s1 = $t0[($e1 >> 24) & 0xff] ^ $t1[($e2 >> 16) & 0xff] ^ $t2[($e3 >> 8) & 0xff] ^ $t3[$e0 & 0xff] ^ $w[45];
|
||||
$s2 = $t0[($e2 >> 24) & 0xff] ^ $t1[($e3 >> 16) & 0xff] ^ $t2[($e0 >> 8) & 0xff] ^ $t3[$e1 & 0xff] ^ $w[46];
|
||||
$e3 = $t0[($e3 >> 24) & 0xff] ^ $t1[($e0 >> 16) & 0xff] ^ $t2[($e1 >> 8) & 0xff] ^ $t3[$e2 & 0xff] ^ $w[47];
|
||||
// Note: Here we skip $s3 but using $e3
|
||||
|
||||
$e0 = $s0;
|
||||
$e1 = $s1;
|
||||
$e2 = $s2;
|
||||
// $e3 = $s3;
|
||||
}
|
||||
|
||||
// subWord
|
||||
$e0 = $sbox[$e0 & 0xff] | ($sbox[($e0 >> 8) & 0xff] << 8) | ($sbox[($e0 >> 16) & 0xff] << 16) | ($sbox[($e0 >> 24) & 0xff] << 24);
|
||||
$e1 = $sbox[$e1 & 0xff] | ($sbox[($e1 >> 8) & 0xff] << 8) | ($sbox[($e1 >> 16) & 0xff] << 16) | ($sbox[($e1 >> 24) & 0xff] << 24);
|
||||
$e2 = $sbox[$e2 & 0xff] | ($sbox[($e2 >> 8) & 0xff] << 8) | ($sbox[($e2 >> 16) & 0xff] << 16) | ($sbox[($e2 >> 24) & 0xff] << 24);
|
||||
$e3 = $sbox[$e3 & 0xff] | ($sbox[($e3 >> 8) & 0xff] << 8) | ($sbox[($e3 >> 16) & 0xff] << 16) | ($sbox[($e3 >> 24) & 0xff] << 24);
|
||||
|
||||
// shiftRows + addRoundKey
|
||||
return pack('N*',
|
||||
($e0 & 0xFF000000) ^ ($e1 & 0x00FF0000) ^ ($e2 & 0x0000FF00) ^ ($e3 & 0x000000FF) ^ $w[0],
|
||||
($e1 & 0xFF000000) ^ ($e2 & 0x00FF0000) ^ ($e3 & 0x0000FF00) ^ ($e0 & 0x000000FF) ^ $w[1],
|
||||
($e2 & 0xFF000000) ^ ($e3 & 0x00FF0000) ^ ($e0 & 0x0000FF00) ^ ($e1 & 0x000000FF) ^ $w[2],
|
||||
($e3 & 0xFF000000) ^ ($e0 & 0x00FF0000) ^ ($e1 & 0x0000FF00) ^ ($e2 & 0x000000FF) ^ $w[3]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a block
|
||||
*
|
||||
* Optimized over Crypt_Rijndael's implementation by means of loop unrolling.
|
||||
*
|
||||
* @see Crypt_Rijndael::_decryptBlock()
|
||||
* @access private
|
||||
* @param String $in
|
||||
* @return String
|
||||
*/
|
||||
function _decryptBlock($in)
|
||||
{
|
||||
$state = unpack('N*', $in);
|
||||
|
||||
$sbox = $this->isbox;
|
||||
$dw = $this->dw;
|
||||
$dt0 = $this->dt0;
|
||||
$dt1 = $this->dt1;
|
||||
$dt2 = $this->dt2;
|
||||
$dt3 = $this->dt3;
|
||||
|
||||
// addRoundKey
|
||||
$s0 = $state[1] ^ $dw[4];
|
||||
$s1 = $state[2] ^ $dw[5];
|
||||
$s2 = $state[3] ^ $dw[6];
|
||||
$s3 = $state[4] ^ $dw[7];
|
||||
|
||||
// invShiftRows + invSubBytes + invMixColumns + addRoundKey
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[8];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[9];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[10];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[11];
|
||||
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[12];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[13];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[14];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[15];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[16];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[17];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[18];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[19];
|
||||
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[20];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[21];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[22];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[23];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[24];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[25];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[26];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[27];
|
||||
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[28];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[29];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[30];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[31];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[32];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[33];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[34];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[35];
|
||||
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[36];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[37];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[38];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[39];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[40];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[41];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[42];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[43];
|
||||
|
||||
switch ($this->Nr) {
|
||||
case 10:
|
||||
break;
|
||||
|
||||
case 14:
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[44];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[45];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[46];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[47];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[48];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[49];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[50];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[51];
|
||||
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[52];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[53];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[54];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[55];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[56];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[57];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[58];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[59];
|
||||
break;
|
||||
|
||||
case 12:
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[44];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[45];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[46];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[47];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[48];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[49];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[50];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[51];
|
||||
break;
|
||||
|
||||
case 13:
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[44];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[45];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[46];
|
||||
$s3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[47];
|
||||
|
||||
$e0 = $dt0[($s0 >> 24) & 0xff] ^ $dt1[($s3 >> 16) & 0xff] ^ $dt2[($s2 >> 8) & 0xff] ^ $dt3[$s1 & 0xff] ^ $dw[48];
|
||||
$e1 = $dt0[($s1 >> 24) & 0xff] ^ $dt1[($s0 >> 16) & 0xff] ^ $dt2[($s3 >> 8) & 0xff] ^ $dt3[$s2 & 0xff] ^ $dw[49];
|
||||
$e2 = $dt0[($s2 >> 24) & 0xff] ^ $dt1[($s1 >> 16) & 0xff] ^ $dt2[($s0 >> 8) & 0xff] ^ $dt3[$s3 & 0xff] ^ $dw[50];
|
||||
$e3 = $dt0[($s3 >> 24) & 0xff] ^ $dt1[($s2 >> 16) & 0xff] ^ $dt2[($s1 >> 8) & 0xff] ^ $dt3[$s0 & 0xff] ^ $dw[51];
|
||||
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[52];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[53];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[54];
|
||||
$e3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[55];
|
||||
// Note: Here we skip $s3 but using $e3
|
||||
|
||||
$e0 = $s0;
|
||||
$e1 = $s1;
|
||||
$e2 = $s2;
|
||||
// $e3 = $s3;
|
||||
break;
|
||||
|
||||
default: // 11
|
||||
$s0 = $dt0[($e0 >> 24) & 0xff] ^ $dt1[($e3 >> 16) & 0xff] ^ $dt2[($e2 >> 8) & 0xff] ^ $dt3[$e1 & 0xff] ^ $dw[44];
|
||||
$s1 = $dt0[($e1 >> 24) & 0xff] ^ $dt1[($e0 >> 16) & 0xff] ^ $dt2[($e3 >> 8) & 0xff] ^ $dt3[$e2 & 0xff] ^ $dw[45];
|
||||
$s2 = $dt0[($e2 >> 24) & 0xff] ^ $dt1[($e1 >> 16) & 0xff] ^ $dt2[($e0 >> 8) & 0xff] ^ $dt3[$e3 & 0xff] ^ $dw[46];
|
||||
$e3 = $dt0[($e3 >> 24) & 0xff] ^ $dt1[($e2 >> 16) & 0xff] ^ $dt2[($e1 >> 8) & 0xff] ^ $dt3[$e0 & 0xff] ^ $dw[47];
|
||||
// Note: Here we skip $s3 but using $e3
|
||||
|
||||
$e0 = $s0;
|
||||
$e1 = $s1;
|
||||
$e2 = $s2;
|
||||
// $e3 = $s3;
|
||||
}
|
||||
|
||||
// invSubWord
|
||||
$e0 = $sbox[$e0 & 0xff] | ($sbox[($e0 >> 8) & 0xff] << 8) | ($sbox[($e0 >> 16) & 0xff] << 16) | ($sbox[($e0 >> 24) & 0xff] << 24);
|
||||
$e1 = $sbox[$e1 & 0xff] | ($sbox[($e1 >> 8) & 0xff] << 8) | ($sbox[($e1 >> 16) & 0xff] << 16) | ($sbox[($e1 >> 24) & 0xff] << 24);
|
||||
$e2 = $sbox[$e2 & 0xff] | ($sbox[($e2 >> 8) & 0xff] << 8) | ($sbox[($e2 >> 16) & 0xff] << 16) | ($sbox[($e2 >> 24) & 0xff] << 24);
|
||||
$e3 = $sbox[$e3 & 0xff] | ($sbox[($e3 >> 8) & 0xff] << 8) | ($sbox[($e3 >> 16) & 0xff] << 16) | ($sbox[($e3 >> 24) & 0xff] << 24);
|
||||
|
||||
// invShiftRows + addRoundKey
|
||||
return pack('N*',
|
||||
($e0 & 0xFF000000) ^ ($e3 & 0x00FF0000) ^ ($e2 & 0x0000FF00) ^ ($e1 & 0x000000FF) ^ $dw[0],
|
||||
($e1 & 0xFF000000) ^ ($e0 & 0x00FF0000) ^ ($e3 & 0x0000FF00) ^ ($e2 & 0x000000FF) ^ $dw[1],
|
||||
($e2 & 0xFF000000) ^ ($e1 & 0x00FF0000) ^ ($e0 & 0x0000FF00) ^ ($e3 & 0x000000FF) ^ $dw[2],
|
||||
($e3 & 0xFF000000) ^ ($e2 & 0x00FF0000) ^ ($e1 & 0x0000FF00) ^ ($e0 & 0x000000FF) ^ $dw[3]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Treat consecutive "packets" as if they are a continuous buffer.
|
||||
*
|
||||
* The default behavior.
|
||||
*
|
||||
* @see Crypt_Rijndael::disableContinuousBuffer()
|
||||
* @access public
|
||||
*/
|
||||
function enableContinuousBuffer()
|
||||
{
|
||||
parent::enableContinuousBuffer();
|
||||
|
||||
if (CRYPT_AES_MODE == CRYPT_AES_MODE_MCRYPT) {
|
||||
$this->enbuffer['enmcrypt_init'] = true;
|
||||
$this->debuffer['demcrypt_init'] = true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Treat consecutive packets as if they are a discontinuous buffer.
|
||||
*
|
||||
* The default behavior.
|
||||
*
|
||||
* @see Crypt_Rijndael::enableContinuousBuffer()
|
||||
* @access public
|
||||
*/
|
||||
function disableContinuousBuffer()
|
||||
{
|
||||
parent::disableContinuousBuffer();
|
||||
|
||||
if (CRYPT_AES_MODE == CRYPT_AES_MODE_MCRYPT) {
|
||||
mcrypt_generic_init($this->enmcrypt, $this->key, $this->iv);
|
||||
mcrypt_generic_init($this->demcrypt, $this->key, $this->iv);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// vim: ts=4:sw=4:et:
|
||||
// vim6: fdl=1:
|
1334
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/DES.php
vendored
Normal file
1334
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/DES.php
vendored
Normal file
File diff suppressed because it is too large
Load diff
825
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/Hash.php
vendored
Normal file
825
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/Hash.php
vendored
Normal file
|
@ -0,0 +1,825 @@
|
|||
<?php
|
||||
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
|
||||
|
||||
/**
|
||||
* Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
|
||||
*
|
||||
* Uses hash() or mhash() if available and an internal implementation, otherwise. Currently supports the following:
|
||||
*
|
||||
* md2, md5, md5-96, sha1, sha1-96, sha256, sha384, and sha512
|
||||
*
|
||||
* If {@link Crypt_Hash::setKey() setKey()} is called, {@link Crypt_Hash::hash() hash()} will return the HMAC as opposed to
|
||||
* the hash. If no valid algorithm is provided, sha1 will be used.
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* {@internal The variable names are the same as those in
|
||||
* {@link http://tools.ietf.org/html/rfc2104#section-2 RFC2104}.}}
|
||||
*
|
||||
* Here's a short example of how to use this library:
|
||||
* <code>
|
||||
* <?php
|
||||
* include('Crypt/Hash.php');
|
||||
*
|
||||
* $hash = new Crypt_Hash('sha1');
|
||||
*
|
||||
* $hash->setKey('abcdefg');
|
||||
*
|
||||
* echo base64_encode($hash->hash('abcdefg'));
|
||||
* ?>
|
||||
* </code>
|
||||
*
|
||||
* LICENSE: Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @category Crypt
|
||||
* @package Crypt_Hash
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @copyright MMVII Jim Wigginton
|
||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||
* @version $Id: Hash.php,v 1.6 2009/11/23 23:37:07 terrafrost Exp $
|
||||
* @link http://phpseclib.sourceforge.net
|
||||
*/
|
||||
|
||||
/**#@+
|
||||
* @access private
|
||||
* @see Crypt_Hash::Crypt_Hash()
|
||||
*/
|
||||
/**
|
||||
* Toggles the internal implementation
|
||||
*/
|
||||
define('CRYPT_HASH_MODE_INTERNAL', 1);
|
||||
/**
|
||||
* Toggles the mhash() implementation, which has been deprecated on PHP 5.3.0+.
|
||||
*/
|
||||
define('CRYPT_HASH_MODE_MHASH', 2);
|
||||
/**
|
||||
* Toggles the hash() implementation, which works on PHP 5.1.2+.
|
||||
*/
|
||||
define('CRYPT_HASH_MODE_HASH', 3);
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
|
||||
*
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @version 0.1.0
|
||||
* @access public
|
||||
* @package Crypt_Hash
|
||||
*/
|
||||
class Crypt_Hash {
|
||||
/**
|
||||
* Byte-length of compression blocks / key (Internal HMAC)
|
||||
*
|
||||
* @see Crypt_Hash::setAlgorithm()
|
||||
* @var Integer
|
||||
* @access private
|
||||
*/
|
||||
var $b;
|
||||
|
||||
/**
|
||||
* Byte-length of hash output (Internal HMAC)
|
||||
*
|
||||
* @see Crypt_Hash::setHash()
|
||||
* @var Integer
|
||||
* @access private
|
||||
*/
|
||||
var $l = false;
|
||||
|
||||
/**
|
||||
* Hash Algorithm
|
||||
*
|
||||
* @see Crypt_Hash::setHash()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $hash;
|
||||
|
||||
/**
|
||||
* Key
|
||||
*
|
||||
* @see Crypt_Hash::setKey()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $key = false;
|
||||
|
||||
/**
|
||||
* Outer XOR (Internal HMAC)
|
||||
*
|
||||
* @see Crypt_Hash::setKey()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $opad;
|
||||
|
||||
/**
|
||||
* Inner XOR (Internal HMAC)
|
||||
*
|
||||
* @see Crypt_Hash::setKey()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $ipad;
|
||||
|
||||
/**
|
||||
* Default Constructor.
|
||||
*
|
||||
* @param optional String $hash
|
||||
* @return Crypt_Hash
|
||||
* @access public
|
||||
*/
|
||||
function Crypt_Hash($hash = 'sha1')
|
||||
{
|
||||
if ( !defined('CRYPT_HASH_MODE') ) {
|
||||
switch (true) {
|
||||
case extension_loaded('hash'):
|
||||
define('CRYPT_HASH_MODE', CRYPT_HASH_MODE_HASH);
|
||||
break;
|
||||
case extension_loaded('mhash'):
|
||||
define('CRYPT_HASH_MODE', CRYPT_HASH_MODE_MHASH);
|
||||
break;
|
||||
default:
|
||||
define('CRYPT_HASH_MODE', CRYPT_HASH_MODE_INTERNAL);
|
||||
}
|
||||
}
|
||||
|
||||
$this->setHash($hash);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the key for HMACs
|
||||
*
|
||||
* Keys can be of any length.
|
||||
*
|
||||
* @access public
|
||||
* @param String $key
|
||||
*/
|
||||
function setKey($key = false)
|
||||
{
|
||||
$this->key = $key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the hash function.
|
||||
*
|
||||
* @access public
|
||||
* @param String $hash
|
||||
*/
|
||||
function setHash($hash)
|
||||
{
|
||||
$hash = strtolower($hash);
|
||||
switch ($hash) {
|
||||
case 'md5-96':
|
||||
case 'sha1-96':
|
||||
$this->l = 12; // 96 / 8 = 12
|
||||
break;
|
||||
case 'md2':
|
||||
case 'md5':
|
||||
$this->l = 16;
|
||||
break;
|
||||
case 'sha1':
|
||||
$this->l = 20;
|
||||
break;
|
||||
case 'sha256':
|
||||
$this->l = 32;
|
||||
break;
|
||||
case 'sha384':
|
||||
$this->l = 48;
|
||||
break;
|
||||
case 'sha512':
|
||||
$this->l = 64;
|
||||
}
|
||||
|
||||
switch ($hash) {
|
||||
case 'md2':
|
||||
$mode = CRYPT_HASH_MODE == CRYPT_HASH_MODE_HASH && in_array('md2', hash_algos()) ?
|
||||
CRYPT_HASH_MODE_HASH : CRYPT_HASH_MODE_INTERNAL;
|
||||
break;
|
||||
case 'sha384':
|
||||
case 'sha512':
|
||||
$mode = CRYPT_HASH_MODE == CRYPT_HASH_MODE_MHASH ? CRYPT_HASH_MODE_INTERNAL : CRYPT_HASH_MODE;
|
||||
break;
|
||||
default:
|
||||
$mode = CRYPT_HASH_MODE;
|
||||
}
|
||||
|
||||
switch ( $mode ) {
|
||||
case CRYPT_HASH_MODE_MHASH:
|
||||
switch ($hash) {
|
||||
case 'md5':
|
||||
case 'md5-96':
|
||||
$this->hash = MHASH_MD5;
|
||||
break;
|
||||
case 'sha256':
|
||||
$this->hash = MHASH_SHA256;
|
||||
break;
|
||||
case 'sha1':
|
||||
case 'sha1-96':
|
||||
default:
|
||||
$this->hash = MHASH_SHA1;
|
||||
}
|
||||
return;
|
||||
case CRYPT_HASH_MODE_HASH:
|
||||
switch ($hash) {
|
||||
case 'md5':
|
||||
case 'md5-96':
|
||||
$this->hash = 'md5';
|
||||
return;
|
||||
case 'md2':
|
||||
case 'sha256':
|
||||
case 'sha384':
|
||||
case 'sha512':
|
||||
$this->hash = $hash;
|
||||
return;
|
||||
case 'sha1':
|
||||
case 'sha1-96':
|
||||
default:
|
||||
$this->hash = 'sha1';
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
switch ($hash) {
|
||||
case 'md2':
|
||||
$this->b = 16;
|
||||
$this->hash = array($this, '_md2');
|
||||
break;
|
||||
case 'md5':
|
||||
case 'md5-96':
|
||||
$this->b = 64;
|
||||
$this->hash = array($this, '_md5');
|
||||
break;
|
||||
case 'sha256':
|
||||
$this->b = 64;
|
||||
$this->hash = array($this, '_sha256');
|
||||
break;
|
||||
case 'sha384':
|
||||
case 'sha512':
|
||||
$this->b = 128;
|
||||
$this->hash = array($this, '_sha512');
|
||||
break;
|
||||
case 'sha1':
|
||||
case 'sha1-96':
|
||||
default:
|
||||
$this->b = 64;
|
||||
$this->hash = array($this, '_sha1');
|
||||
}
|
||||
|
||||
$this->ipad = str_repeat(chr(0x36), $this->b);
|
||||
$this->opad = str_repeat(chr(0x5C), $this->b);
|
||||
}
|
||||
|
||||
/**
|
||||
* Compute the HMAC.
|
||||
*
|
||||
* @access public
|
||||
* @param String $text
|
||||
* @return String
|
||||
*/
|
||||
function hash($text)
|
||||
{
|
||||
$mode = is_array($this->hash) ? CRYPT_HASH_MODE_INTERNAL : CRYPT_HASH_MODE;
|
||||
|
||||
if (!empty($this->key) || is_string($this->key)) {
|
||||
switch ( $mode ) {
|
||||
case CRYPT_HASH_MODE_MHASH:
|
||||
$output = mhash($this->hash, $text, $this->key);
|
||||
break;
|
||||
case CRYPT_HASH_MODE_HASH:
|
||||
$output = hash_hmac($this->hash, $text, $this->key, true);
|
||||
break;
|
||||
case CRYPT_HASH_MODE_INTERNAL:
|
||||
/* "Applications that use keys longer than B bytes will first hash the key using H and then use the
|
||||
resultant L byte string as the actual key to HMAC."
|
||||
|
||||
-- http://tools.ietf.org/html/rfc2104#section-2 */
|
||||
$key = strlen($this->key) > $this->b ? call_user_func($this->hash, $this->key) : $this->key;
|
||||
|
||||
$key = str_pad($key, $this->b, chr(0)); // step 1
|
||||
$temp = $this->ipad ^ $key; // step 2
|
||||
$temp .= $text; // step 3
|
||||
$temp = call_user_func($this->hash, $temp); // step 4
|
||||
$output = $this->opad ^ $key; // step 5
|
||||
$output.= $temp; // step 6
|
||||
$output = call_user_func($this->hash, $output); // step 7
|
||||
}
|
||||
} else {
|
||||
switch ( $mode ) {
|
||||
case CRYPT_HASH_MODE_MHASH:
|
||||
$output = mhash($this->hash, $text);
|
||||
break;
|
||||
case CRYPT_HASH_MODE_HASH:
|
||||
$output = hash($this->hash, $text, true);
|
||||
break;
|
||||
case CRYPT_HASH_MODE_INTERNAL:
|
||||
$output = call_user_func($this->hash, $text);
|
||||
}
|
||||
}
|
||||
|
||||
return substr($output, 0, $this->l);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the hash length (in bytes)
|
||||
*
|
||||
* @access public
|
||||
* @return Integer
|
||||
*/
|
||||
function getLength()
|
||||
{
|
||||
return $this->l;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for MD5
|
||||
*
|
||||
* @access private
|
||||
* @param String $text
|
||||
*/
|
||||
function _md5($m)
|
||||
{
|
||||
return pack('H*', md5($m));
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for SHA1
|
||||
*
|
||||
* @access private
|
||||
* @param String $text
|
||||
*/
|
||||
function _sha1($m)
|
||||
{
|
||||
return pack('H*', sha1($m));
|
||||
}
|
||||
|
||||
/**
|
||||
* Pure-PHP implementation of MD2
|
||||
*
|
||||
* See {@link http://tools.ietf.org/html/rfc1319 RFC1319}.
|
||||
*
|
||||
* @access private
|
||||
* @param String $text
|
||||
*/
|
||||
function _md2($m)
|
||||
{
|
||||
static $s = array(
|
||||
41, 46, 67, 201, 162, 216, 124, 1, 61, 54, 84, 161, 236, 240, 6,
|
||||
19, 98, 167, 5, 243, 192, 199, 115, 140, 152, 147, 43, 217, 188,
|
||||
76, 130, 202, 30, 155, 87, 60, 253, 212, 224, 22, 103, 66, 111, 24,
|
||||
138, 23, 229, 18, 190, 78, 196, 214, 218, 158, 222, 73, 160, 251,
|
||||
245, 142, 187, 47, 238, 122, 169, 104, 121, 145, 21, 178, 7, 63,
|
||||
148, 194, 16, 137, 11, 34, 95, 33, 128, 127, 93, 154, 90, 144, 50,
|
||||
39, 53, 62, 204, 231, 191, 247, 151, 3, 255, 25, 48, 179, 72, 165,
|
||||
181, 209, 215, 94, 146, 42, 172, 86, 170, 198, 79, 184, 56, 210,
|
||||
150, 164, 125, 182, 118, 252, 107, 226, 156, 116, 4, 241, 69, 157,
|
||||
112, 89, 100, 113, 135, 32, 134, 91, 207, 101, 230, 45, 168, 2, 27,
|
||||
96, 37, 173, 174, 176, 185, 246, 28, 70, 97, 105, 52, 64, 126, 15,
|
||||
85, 71, 163, 35, 221, 81, 175, 58, 195, 92, 249, 206, 186, 197,
|
||||
234, 38, 44, 83, 13, 110, 133, 40, 132, 9, 211, 223, 205, 244, 65,
|
||||
129, 77, 82, 106, 220, 55, 200, 108, 193, 171, 250, 36, 225, 123,
|
||||
8, 12, 189, 177, 74, 120, 136, 149, 139, 227, 99, 232, 109, 233,
|
||||
203, 213, 254, 59, 0, 29, 57, 242, 239, 183, 14, 102, 88, 208, 228,
|
||||
166, 119, 114, 248, 235, 117, 75, 10, 49, 68, 80, 180, 143, 237,
|
||||
31, 26, 219, 153, 141, 51, 159, 17, 131, 20
|
||||
);
|
||||
|
||||
// Step 1. Append Padding Bytes
|
||||
$pad = 16 - (strlen($m) & 0xF);
|
||||
$m.= str_repeat(chr($pad), $pad);
|
||||
|
||||
$length = strlen($m);
|
||||
|
||||
// Step 2. Append Checksum
|
||||
$c = str_repeat(chr(0), 16);
|
||||
$l = chr(0);
|
||||
for ($i = 0; $i < $length; $i+= 16) {
|
||||
for ($j = 0; $j < 16; $j++) {
|
||||
// RFC1319 incorrectly states that C[j] should be set to S[c xor L]
|
||||
//$c[$j] = chr($s[ord($m[$i + $j] ^ $l)]);
|
||||
// per <http://www.rfc-editor.org/errata_search.php?rfc=1319>, however, C[j] should be set to S[c xor L] xor C[j]
|
||||
$c[$j] = chr($s[ord($m[$i + $j] ^ $l)] ^ ord($c[$j]));
|
||||
$l = $c[$j];
|
||||
}
|
||||
}
|
||||
$m.= $c;
|
||||
|
||||
$length+= 16;
|
||||
|
||||
// Step 3. Initialize MD Buffer
|
||||
$x = str_repeat(chr(0), 48);
|
||||
|
||||
// Step 4. Process Message in 16-Byte Blocks
|
||||
for ($i = 0; $i < $length; $i+= 16) {
|
||||
for ($j = 0; $j < 16; $j++) {
|
||||
$x[$j + 16] = $m[$i + $j];
|
||||
$x[$j + 32] = $x[$j + 16] ^ $x[$j];
|
||||
}
|
||||
$t = chr(0);
|
||||
for ($j = 0; $j < 18; $j++) {
|
||||
for ($k = 0; $k < 48; $k++) {
|
||||
$x[$k] = $t = $x[$k] ^ chr($s[ord($t)]);
|
||||
//$t = $x[$k] = $x[$k] ^ chr($s[ord($t)]);
|
||||
}
|
||||
$t = chr(ord($t) + $j);
|
||||
}
|
||||
}
|
||||
|
||||
// Step 5. Output
|
||||
return substr($x, 0, 16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Pure-PHP implementation of SHA256
|
||||
*
|
||||
* See {@link http://en.wikipedia.org/wiki/SHA_hash_functions#SHA-256_.28a_SHA-2_variant.29_pseudocode SHA-256 (a SHA-2 variant) pseudocode - Wikipedia}.
|
||||
*
|
||||
* @access private
|
||||
* @param String $text
|
||||
*/
|
||||
function _sha256($m)
|
||||
{
|
||||
if (extension_loaded('suhosin')) {
|
||||
return pack('H*', sha256($m));
|
||||
}
|
||||
|
||||
// Initialize variables
|
||||
$hash = array(
|
||||
0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19
|
||||
);
|
||||
// Initialize table of round constants
|
||||
// (first 32 bits of the fractional parts of the cube roots of the first 64 primes 2..311)
|
||||
static $k = array(
|
||||
0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
|
||||
0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
|
||||
0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
|
||||
0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
|
||||
0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
|
||||
0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
|
||||
0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
|
||||
0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2
|
||||
);
|
||||
|
||||
// Pre-processing
|
||||
$length = strlen($m);
|
||||
// to round to nearest 56 mod 64, we'll add 64 - (length + (64 - 56)) % 64
|
||||
$m.= str_repeat(chr(0), 64 - (($length + 8) & 0x3F));
|
||||
$m[$length] = chr(0x80);
|
||||
// we don't support hashing strings 512MB long
|
||||
$m.= pack('N2', 0, $length << 3);
|
||||
|
||||
// Process the message in successive 512-bit chunks
|
||||
$chunks = str_split($m, 64);
|
||||
foreach ($chunks as $chunk) {
|
||||
$w = array();
|
||||
for ($i = 0; $i < 16; $i++) {
|
||||
extract(unpack('Ntemp', $this->_string_shift($chunk, 4)));
|
||||
$w[] = $temp;
|
||||
}
|
||||
|
||||
// Extend the sixteen 32-bit words into sixty-four 32-bit words
|
||||
for ($i = 16; $i < 64; $i++) {
|
||||
$s0 = $this->_rightRotate($w[$i - 15], 7) ^
|
||||
$this->_rightRotate($w[$i - 15], 18) ^
|
||||
$this->_rightShift( $w[$i - 15], 3);
|
||||
$s1 = $this->_rightRotate($w[$i - 2], 17) ^
|
||||
$this->_rightRotate($w[$i - 2], 19) ^
|
||||
$this->_rightShift( $w[$i - 2], 10);
|
||||
$w[$i] = $this->_add($w[$i - 16], $s0, $w[$i - 7], $s1);
|
||||
|
||||
}
|
||||
|
||||
// Initialize hash value for this chunk
|
||||
list($a, $b, $c, $d, $e, $f, $g, $h) = $hash;
|
||||
|
||||
// Main loop
|
||||
for ($i = 0; $i < 64; $i++) {
|
||||
$s0 = $this->_rightRotate($a, 2) ^
|
||||
$this->_rightRotate($a, 13) ^
|
||||
$this->_rightRotate($a, 22);
|
||||
$maj = ($a & $b) ^
|
||||
($a & $c) ^
|
||||
($b & $c);
|
||||
$t2 = $this->_add($s0, $maj);
|
||||
|
||||
$s1 = $this->_rightRotate($e, 6) ^
|
||||
$this->_rightRotate($e, 11) ^
|
||||
$this->_rightRotate($e, 25);
|
||||
$ch = ($e & $f) ^
|
||||
($this->_not($e) & $g);
|
||||
$t1 = $this->_add($h, $s1, $ch, $k[$i], $w[$i]);
|
||||
|
||||
$h = $g;
|
||||
$g = $f;
|
||||
$f = $e;
|
||||
$e = $this->_add($d, $t1);
|
||||
$d = $c;
|
||||
$c = $b;
|
||||
$b = $a;
|
||||
$a = $this->_add($t1, $t2);
|
||||
}
|
||||
|
||||
// Add this chunk's hash to result so far
|
||||
$hash = array(
|
||||
$this->_add($hash[0], $a),
|
||||
$this->_add($hash[1], $b),
|
||||
$this->_add($hash[2], $c),
|
||||
$this->_add($hash[3], $d),
|
||||
$this->_add($hash[4], $e),
|
||||
$this->_add($hash[5], $f),
|
||||
$this->_add($hash[6], $g),
|
||||
$this->_add($hash[7], $h)
|
||||
);
|
||||
}
|
||||
|
||||
// Produce the final hash value (big-endian)
|
||||
return pack('N8', $hash[0], $hash[1], $hash[2], $hash[3], $hash[4], $hash[5], $hash[6], $hash[7]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Pure-PHP implementation of SHA384 and SHA512
|
||||
*
|
||||
* @access private
|
||||
* @param String $text
|
||||
*/
|
||||
function _sha512($m)
|
||||
{
|
||||
if (!class_exists('Math_BigInteger')) {
|
||||
require_once('Math/BigInteger.php');
|
||||
}
|
||||
|
||||
static $init384, $init512, $k;
|
||||
|
||||
if (!isset($k)) {
|
||||
// Initialize variables
|
||||
$init384 = array( // initial values for SHA384
|
||||
'cbbb9d5dc1059ed8', '629a292a367cd507', '9159015a3070dd17', '152fecd8f70e5939',
|
||||
'67332667ffc00b31', '8eb44a8768581511', 'db0c2e0d64f98fa7', '47b5481dbefa4fa4'
|
||||
);
|
||||
$init512 = array( // initial values for SHA512
|
||||
'6a09e667f3bcc908', 'bb67ae8584caa73b', '3c6ef372fe94f82b', 'a54ff53a5f1d36f1',
|
||||
'510e527fade682d1', '9b05688c2b3e6c1f', '1f83d9abfb41bd6b', '5be0cd19137e2179'
|
||||
);
|
||||
|
||||
for ($i = 0; $i < 8; $i++) {
|
||||
$init384[$i] = new Math_BigInteger($init384[$i], 16);
|
||||
$init384[$i]->setPrecision(64);
|
||||
$init512[$i] = new Math_BigInteger($init512[$i], 16);
|
||||
$init512[$i]->setPrecision(64);
|
||||
}
|
||||
|
||||
// Initialize table of round constants
|
||||
// (first 64 bits of the fractional parts of the cube roots of the first 80 primes 2..409)
|
||||
$k = array(
|
||||
'428a2f98d728ae22', '7137449123ef65cd', 'b5c0fbcfec4d3b2f', 'e9b5dba58189dbbc',
|
||||
'3956c25bf348b538', '59f111f1b605d019', '923f82a4af194f9b', 'ab1c5ed5da6d8118',
|
||||
'd807aa98a3030242', '12835b0145706fbe', '243185be4ee4b28c', '550c7dc3d5ffb4e2',
|
||||
'72be5d74f27b896f', '80deb1fe3b1696b1', '9bdc06a725c71235', 'c19bf174cf692694',
|
||||
'e49b69c19ef14ad2', 'efbe4786384f25e3', '0fc19dc68b8cd5b5', '240ca1cc77ac9c65',
|
||||
'2de92c6f592b0275', '4a7484aa6ea6e483', '5cb0a9dcbd41fbd4', '76f988da831153b5',
|
||||
'983e5152ee66dfab', 'a831c66d2db43210', 'b00327c898fb213f', 'bf597fc7beef0ee4',
|
||||
'c6e00bf33da88fc2', 'd5a79147930aa725', '06ca6351e003826f', '142929670a0e6e70',
|
||||
'27b70a8546d22ffc', '2e1b21385c26c926', '4d2c6dfc5ac42aed', '53380d139d95b3df',
|
||||
'650a73548baf63de', '766a0abb3c77b2a8', '81c2c92e47edaee6', '92722c851482353b',
|
||||
'a2bfe8a14cf10364', 'a81a664bbc423001', 'c24b8b70d0f89791', 'c76c51a30654be30',
|
||||
'd192e819d6ef5218', 'd69906245565a910', 'f40e35855771202a', '106aa07032bbd1b8',
|
||||
'19a4c116b8d2d0c8', '1e376c085141ab53', '2748774cdf8eeb99', '34b0bcb5e19b48a8',
|
||||
'391c0cb3c5c95a63', '4ed8aa4ae3418acb', '5b9cca4f7763e373', '682e6ff3d6b2b8a3',
|
||||
'748f82ee5defb2fc', '78a5636f43172f60', '84c87814a1f0ab72', '8cc702081a6439ec',
|
||||
'90befffa23631e28', 'a4506cebde82bde9', 'bef9a3f7b2c67915', 'c67178f2e372532b',
|
||||
'ca273eceea26619c', 'd186b8c721c0c207', 'eada7dd6cde0eb1e', 'f57d4f7fee6ed178',
|
||||
'06f067aa72176fba', '0a637dc5a2c898a6', '113f9804bef90dae', '1b710b35131c471b',
|
||||
'28db77f523047d84', '32caab7b40c72493', '3c9ebe0a15c9bebc', '431d67c49c100d4c',
|
||||
'4cc5d4becb3e42b6', '597f299cfc657e2a', '5fcb6fab3ad6faec', '6c44198c4a475817'
|
||||
);
|
||||
|
||||
for ($i = 0; $i < 80; $i++) {
|
||||
$k[$i] = new Math_BigInteger($k[$i], 16);
|
||||
}
|
||||
}
|
||||
|
||||
$hash = $this->l == 48 ? $init384 : $init512;
|
||||
|
||||
// Pre-processing
|
||||
$length = strlen($m);
|
||||
// to round to nearest 112 mod 128, we'll add 128 - (length + (128 - 112)) % 128
|
||||
$m.= str_repeat(chr(0), 128 - (($length + 16) & 0x7F));
|
||||
$m[$length] = chr(0x80);
|
||||
// we don't support hashing strings 512MB long
|
||||
$m.= pack('N4', 0, 0, 0, $length << 3);
|
||||
|
||||
// Process the message in successive 1024-bit chunks
|
||||
$chunks = str_split($m, 128);
|
||||
foreach ($chunks as $chunk) {
|
||||
$w = array();
|
||||
for ($i = 0; $i < 16; $i++) {
|
||||
$temp = new Math_BigInteger($this->_string_shift($chunk, 8), 256);
|
||||
$temp->setPrecision(64);
|
||||
$w[] = $temp;
|
||||
}
|
||||
|
||||
// Extend the sixteen 32-bit words into eighty 32-bit words
|
||||
for ($i = 16; $i < 80; $i++) {
|
||||
$temp = array(
|
||||
$w[$i - 15]->bitwise_rightRotate(1),
|
||||
$w[$i - 15]->bitwise_rightRotate(8),
|
||||
$w[$i - 15]->bitwise_rightShift(7)
|
||||
);
|
||||
$s0 = $temp[0]->bitwise_xor($temp[1]);
|
||||
$s0 = $s0->bitwise_xor($temp[2]);
|
||||
$temp = array(
|
||||
$w[$i - 2]->bitwise_rightRotate(19),
|
||||
$w[$i - 2]->bitwise_rightRotate(61),
|
||||
$w[$i - 2]->bitwise_rightShift(6)
|
||||
);
|
||||
$s1 = $temp[0]->bitwise_xor($temp[1]);
|
||||
$s1 = $s1->bitwise_xor($temp[2]);
|
||||
$w[$i] = $w[$i - 16]->copy();
|
||||
$w[$i] = $w[$i]->add($s0);
|
||||
$w[$i] = $w[$i]->add($w[$i - 7]);
|
||||
$w[$i] = $w[$i]->add($s1);
|
||||
}
|
||||
|
||||
// Initialize hash value for this chunk
|
||||
$a = $hash[0]->copy();
|
||||
$b = $hash[1]->copy();
|
||||
$c = $hash[2]->copy();
|
||||
$d = $hash[3]->copy();
|
||||
$e = $hash[4]->copy();
|
||||
$f = $hash[5]->copy();
|
||||
$g = $hash[6]->copy();
|
||||
$h = $hash[7]->copy();
|
||||
|
||||
// Main loop
|
||||
for ($i = 0; $i < 80; $i++) {
|
||||
$temp = array(
|
||||
$a->bitwise_rightRotate(28),
|
||||
$a->bitwise_rightRotate(34),
|
||||
$a->bitwise_rightRotate(39)
|
||||
);
|
||||
$s0 = $temp[0]->bitwise_xor($temp[1]);
|
||||
$s0 = $s0->bitwise_xor($temp[2]);
|
||||
$temp = array(
|
||||
$a->bitwise_and($b),
|
||||
$a->bitwise_and($c),
|
||||
$b->bitwise_and($c)
|
||||
);
|
||||
$maj = $temp[0]->bitwise_xor($temp[1]);
|
||||
$maj = $maj->bitwise_xor($temp[2]);
|
||||
$t2 = $s0->add($maj);
|
||||
|
||||
$temp = array(
|
||||
$e->bitwise_rightRotate(14),
|
||||
$e->bitwise_rightRotate(18),
|
||||
$e->bitwise_rightRotate(41)
|
||||
);
|
||||
$s1 = $temp[0]->bitwise_xor($temp[1]);
|
||||
$s1 = $s1->bitwise_xor($temp[2]);
|
||||
$temp = array(
|
||||
$e->bitwise_and($f),
|
||||
$g->bitwise_and($e->bitwise_not())
|
||||
);
|
||||
$ch = $temp[0]->bitwise_xor($temp[1]);
|
||||
$t1 = $h->add($s1);
|
||||
$t1 = $t1->add($ch);
|
||||
$t1 = $t1->add($k[$i]);
|
||||
$t1 = $t1->add($w[$i]);
|
||||
|
||||
$h = $g->copy();
|
||||
$g = $f->copy();
|
||||
$f = $e->copy();
|
||||
$e = $d->add($t1);
|
||||
$d = $c->copy();
|
||||
$c = $b->copy();
|
||||
$b = $a->copy();
|
||||
$a = $t1->add($t2);
|
||||
}
|
||||
|
||||
// Add this chunk's hash to result so far
|
||||
$hash = array(
|
||||
$hash[0]->add($a),
|
||||
$hash[1]->add($b),
|
||||
$hash[2]->add($c),
|
||||
$hash[3]->add($d),
|
||||
$hash[4]->add($e),
|
||||
$hash[5]->add($f),
|
||||
$hash[6]->add($g),
|
||||
$hash[7]->add($h)
|
||||
);
|
||||
}
|
||||
|
||||
// Produce the final hash value (big-endian)
|
||||
// (Crypt_Hash::hash() trims the output for hashes but not for HMACs. as such, we trim the output here)
|
||||
$temp = $hash[0]->toBytes() . $hash[1]->toBytes() . $hash[2]->toBytes() . $hash[3]->toBytes() .
|
||||
$hash[4]->toBytes() . $hash[5]->toBytes();
|
||||
if ($this->l != 48) {
|
||||
$temp.= $hash[6]->toBytes() . $hash[7]->toBytes();
|
||||
}
|
||||
|
||||
return $temp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Right Rotate
|
||||
*
|
||||
* @access private
|
||||
* @param Integer $int
|
||||
* @param Integer $amt
|
||||
* @see _sha256()
|
||||
* @return Integer
|
||||
*/
|
||||
function _rightRotate($int, $amt)
|
||||
{
|
||||
$invamt = 32 - $amt;
|
||||
$mask = (1 << $invamt) - 1;
|
||||
return (($int << $invamt) & 0xFFFFFFFF) | (($int >> $amt) & $mask);
|
||||
}
|
||||
|
||||
/**
|
||||
* Right Shift
|
||||
*
|
||||
* @access private
|
||||
* @param Integer $int
|
||||
* @param Integer $amt
|
||||
* @see _sha256()
|
||||
* @return Integer
|
||||
*/
|
||||
function _rightShift($int, $amt)
|
||||
{
|
||||
$mask = (1 << (32 - $amt)) - 1;
|
||||
return ($int >> $amt) & $mask;
|
||||
}
|
||||
|
||||
/**
|
||||
* Not
|
||||
*
|
||||
* @access private
|
||||
* @param Integer $int
|
||||
* @see _sha256()
|
||||
* @return Integer
|
||||
*/
|
||||
function _not($int)
|
||||
{
|
||||
return ~$int & 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add
|
||||
*
|
||||
* _sha256() adds multiple unsigned 32-bit integers. Since PHP doesn't support unsigned integers and since the
|
||||
* possibility of overflow exists, care has to be taken. Math_BigInteger() could be used but this should be faster.
|
||||
*
|
||||
* @param String $string
|
||||
* @param optional Integer $index
|
||||
* @return String
|
||||
* @see _sha256()
|
||||
* @access private
|
||||
*/
|
||||
function _add()
|
||||
{
|
||||
static $mod;
|
||||
if (!isset($mod)) {
|
||||
$mod = pow(2, 32);
|
||||
}
|
||||
|
||||
$result = 0;
|
||||
$arguments = func_get_args();
|
||||
foreach ($arguments as $argument) {
|
||||
$result+= $argument < 0 ? ($argument & 0x7FFFFFFF) + 0x80000000 : $argument;
|
||||
}
|
||||
|
||||
return fmod($result, $mod);
|
||||
}
|
||||
|
||||
/**
|
||||
* String Shift
|
||||
*
|
||||
* Inspired by array_shift
|
||||
*
|
||||
* @param String $string
|
||||
* @param optional Integer $index
|
||||
* @return String
|
||||
* @access private
|
||||
*/
|
||||
function _string_shift(&$string, $index = 1)
|
||||
{
|
||||
$substr = substr($string, 0, $index);
|
||||
$string = substr($string, $index);
|
||||
return $substr;
|
||||
}
|
||||
}
|
519
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/RC4.php
vendored
Normal file
519
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/RC4.php
vendored
Normal file
|
@ -0,0 +1,519 @@
|
|||
<?php
|
||||
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
|
||||
|
||||
/**
|
||||
* Pure-PHP implementation of RC4.
|
||||
*
|
||||
* Uses mcrypt, if available, and an internal implementation, otherwise.
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* Useful resources are as follows:
|
||||
*
|
||||
* - {@link http://www.mozilla.org/projects/security/pki/nss/draft-kaukonen-cipher-arcfour-03.txt ARCFOUR Algorithm}
|
||||
* - {@link http://en.wikipedia.org/wiki/RC4 - Wikipedia: RC4}
|
||||
*
|
||||
* RC4 is also known as ARCFOUR or ARC4. The reason is elaborated upon at Wikipedia. This class is named RC4 and not
|
||||
* ARCFOUR or ARC4 because RC4 is how it is refered to in the SSH1 specification.
|
||||
*
|
||||
* Here's a short example of how to use this library:
|
||||
* <code>
|
||||
* <?php
|
||||
* include('Crypt/RC4.php');
|
||||
*
|
||||
* $rc4 = new Crypt_RC4();
|
||||
*
|
||||
* $rc4->setKey('abcdefgh');
|
||||
*
|
||||
* $size = 10 * 1024;
|
||||
* $plaintext = '';
|
||||
* for ($i = 0; $i < $size; $i++) {
|
||||
* $plaintext.= 'a';
|
||||
* }
|
||||
*
|
||||
* echo $rc4->decrypt($rc4->encrypt($plaintext));
|
||||
* ?>
|
||||
* </code>
|
||||
*
|
||||
* LICENSE: Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @category Crypt
|
||||
* @package Crypt_RC4
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @copyright MMVII Jim Wigginton
|
||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||
* @version $Id: RC4.php,v 1.8 2009/06/09 04:00:38 terrafrost Exp $
|
||||
* @link http://phpseclib.sourceforge.net
|
||||
*/
|
||||
|
||||
/**#@+
|
||||
* @access private
|
||||
* @see Crypt_RC4::Crypt_RC4()
|
||||
*/
|
||||
/**
|
||||
* Toggles the internal implementation
|
||||
*/
|
||||
define('CRYPT_RC4_MODE_INTERNAL', 1);
|
||||
/**
|
||||
* Toggles the mcrypt implementation
|
||||
*/
|
||||
define('CRYPT_RC4_MODE_MCRYPT', 2);
|
||||
/**#@-*/
|
||||
|
||||
/**#@+
|
||||
* @access private
|
||||
* @see Crypt_RC4::_crypt()
|
||||
*/
|
||||
define('CRYPT_RC4_ENCRYPT', 0);
|
||||
define('CRYPT_RC4_DECRYPT', 1);
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Pure-PHP implementation of RC4.
|
||||
*
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @version 0.1.0
|
||||
* @access public
|
||||
* @package Crypt_RC4
|
||||
*/
|
||||
class Crypt_RC4 {
|
||||
/**
|
||||
* The Key
|
||||
*
|
||||
* @see Crypt_RC4::setKey()
|
||||
* @var String
|
||||
* @access private
|
||||
*/
|
||||
var $key = "\0";
|
||||
|
||||
/**
|
||||
* The Key Stream for encryption
|
||||
*
|
||||
* If CRYPT_RC4_MODE == CRYPT_RC4_MODE_MCRYPT, this will be equal to the mcrypt object
|
||||
*
|
||||
* @see Crypt_RC4::setKey()
|
||||
* @var Array
|
||||
* @access private
|
||||
*/
|
||||
var $encryptStream = false;
|
||||
|
||||
/**
|
||||
* The Key Stream for decryption
|
||||
*
|
||||
* If CRYPT_RC4_MODE == CRYPT_RC4_MODE_MCRYPT, this will be equal to the mcrypt object
|
||||
*
|
||||
* @see Crypt_RC4::setKey()
|
||||
* @var Array
|
||||
* @access private
|
||||
*/
|
||||
var $decryptStream = false;
|
||||
|
||||
/**
|
||||
* The $i and $j indexes for encryption
|
||||
*
|
||||
* @see Crypt_RC4::_crypt()
|
||||
* @var Integer
|
||||
* @access private
|
||||
*/
|
||||
var $encryptIndex = 0;
|
||||
|
||||
/**
|
||||
* The $i and $j indexes for decryption
|
||||
*
|
||||
* @see Crypt_RC4::_crypt()
|
||||
* @var Integer
|
||||
* @access private
|
||||
*/
|
||||
var $decryptIndex = 0;
|
||||
|
||||
/**
|
||||
* The Encryption Algorithm
|
||||
*
|
||||
* Only used if CRYPT_RC4_MODE == CRYPT_RC4_MODE_MCRYPT. Only possible values are MCRYPT_RC4 or MCRYPT_ARCFOUR.
|
||||
*
|
||||
* @see Crypt_RC4::Crypt_RC4()
|
||||
* @var Integer
|
||||
* @access private
|
||||
*/
|
||||
var $mode;
|
||||
|
||||
/**
|
||||
* Continuous Buffer status
|
||||
*
|
||||
* @see Crypt_RC4::enableContinuousBuffer()
|
||||
* @var Boolean
|
||||
* @access private
|
||||
*/
|
||||
var $continuousBuffer = false;
|
||||
|
||||
/**
|
||||
* Default Constructor.
|
||||
*
|
||||
* Determines whether or not the mcrypt extension should be used.
|
||||
*
|
||||
* @return Crypt_RC4
|
||||
* @access public
|
||||
*/
|
||||
function Crypt_RC4()
|
||||
{
|
||||
if ( !defined('CRYPT_RC4_MODE') ) {
|
||||
switch (true) {
|
||||
case extension_loaded('mcrypt') && (defined('MCRYPT_ARCFOUR') || defined('MCRYPT_RC4')) && in_array('arcfour', mcrypt_list_algorithms()):
|
||||
define('CRYPT_RC4_MODE', CRYPT_RC4_MODE_MCRYPT);
|
||||
break;
|
||||
default:
|
||||
define('CRYPT_RC4_MODE', CRYPT_RC4_MODE_INTERNAL);
|
||||
}
|
||||
}
|
||||
|
||||
switch ( CRYPT_RC4_MODE ) {
|
||||
case CRYPT_RC4_MODE_MCRYPT:
|
||||
switch (true) {
|
||||
case defined('MCRYPT_ARCFOUR'):
|
||||
$this->mode = MCRYPT_ARCFOUR;
|
||||
break;
|
||||
case defined('MCRYPT_RC4');
|
||||
$this->mode = MCRYPT_RC4;
|
||||
}
|
||||
$this->encryptStream = mcrypt_module_open($this->mode, '', MCRYPT_MODE_STREAM, '');
|
||||
$this->decryptStream = mcrypt_module_open($this->mode, '', MCRYPT_MODE_STREAM, '');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the key.
|
||||
*
|
||||
* Keys can be between 1 and 256 bytes long. If they are longer then 256 bytes, the first 256 bytes will
|
||||
* be used. If no key is explicitly set, it'll be assumed to be a single null byte.
|
||||
*
|
||||
* @access public
|
||||
* @param String $key
|
||||
*/
|
||||
function setKey($key)
|
||||
{
|
||||
$this->key = $key;
|
||||
|
||||
if ( CRYPT_RC4_MODE == CRYPT_RC4_MODE_MCRYPT ) {
|
||||
mcrypt_generic_init($this->encryptStream, $this->key, '');
|
||||
mcrypt_generic_init($this->decryptStream, $this->key, '');
|
||||
return;
|
||||
}
|
||||
|
||||
$keyLength = strlen($key);
|
||||
$keyStream = array();
|
||||
for ($i = 0; $i < 256; $i++) {
|
||||
$keyStream[$i] = $i;
|
||||
}
|
||||
$j = 0;
|
||||
for ($i = 0; $i < 256; $i++) {
|
||||
$j = ($j + $keyStream[$i] + ord($key[$i % $keyLength])) & 255;
|
||||
$temp = $keyStream[$i];
|
||||
$keyStream[$i] = $keyStream[$j];
|
||||
$keyStream[$j] = $temp;
|
||||
}
|
||||
|
||||
$this->encryptIndex = $this->decryptIndex = array(0, 0);
|
||||
$this->encryptStream = $this->decryptStream = $keyStream;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the password.
|
||||
*
|
||||
* Depending on what $method is set to, setPassword()'s (optional) parameters are as follows:
|
||||
* {@link http://en.wikipedia.org/wiki/PBKDF2 pbkdf2}:
|
||||
* $hash, $salt, $count, $dkLen
|
||||
*
|
||||
* @param String $password
|
||||
* @param optional String $method
|
||||
* @access public
|
||||
*/
|
||||
function setPassword($password, $method = 'pbkdf2')
|
||||
{
|
||||
$key = '';
|
||||
|
||||
switch ($method) {
|
||||
default: // 'pbkdf2'
|
||||
list(, , $hash, $salt, $count) = func_get_args();
|
||||
if (!isset($hash)) {
|
||||
$hash = 'sha1';
|
||||
}
|
||||
// WPA and WPA2 use the SSID as the salt
|
||||
if (!isset($salt)) {
|
||||
$salt = 'phpseclib/salt';
|
||||
}
|
||||
// RFC2898#section-4.2 uses 1,000 iterations by default
|
||||
// WPA and WPA2 use 4,096.
|
||||
if (!isset($count)) {
|
||||
$count = 1000;
|
||||
}
|
||||
if (!isset($dkLen)) {
|
||||
$dkLen = 128;
|
||||
}
|
||||
|
||||
if (!class_exists('Crypt_Hash')) {
|
||||
require_once('Crypt/Hash.php');
|
||||
}
|
||||
|
||||
$i = 1;
|
||||
while (strlen($key) < $dkLen) {
|
||||
//$dk.= $this->_pbkdf($password, $salt, $count, $i++);
|
||||
$hmac = new Crypt_Hash();
|
||||
$hmac->setHash($hash);
|
||||
$hmac->setKey($password);
|
||||
$f = $u = $hmac->hash($salt . pack('N', $i++));
|
||||
for ($j = 2; $j <= $count; $j++) {
|
||||
$u = $hmac->hash($u);
|
||||
$f^= $u;
|
||||
}
|
||||
$key.= $f;
|
||||
}
|
||||
}
|
||||
|
||||
$this->setKey(substr($key, 0, $dkLen));
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy function.
|
||||
*
|
||||
* Some protocols, such as WEP, prepend an "initialization vector" to the key, effectively creating a new key [1].
|
||||
* If you need to use an initialization vector in this manner, feel free to prepend it to the key, yourself, before
|
||||
* calling setKey().
|
||||
*
|
||||
* [1] WEP's initialization vectors (IV's) are used in a somewhat insecure way. Since, in that protocol,
|
||||
* the IV's are relatively easy to predict, an attack described by
|
||||
* {@link http://www.drizzle.com/~aboba/IEEE/rc4_ksaproc.pdf Scott Fluhrer, Itsik Mantin, and Adi Shamir}
|
||||
* can be used to quickly guess at the rest of the key. The following links elaborate:
|
||||
*
|
||||
* {@link http://www.rsa.com/rsalabs/node.asp?id=2009 http://www.rsa.com/rsalabs/node.asp?id=2009}
|
||||
* {@link http://en.wikipedia.org/wiki/Related_key_attack http://en.wikipedia.org/wiki/Related_key_attack}
|
||||
*
|
||||
* @param String $iv
|
||||
* @see Crypt_RC4::setKey()
|
||||
* @access public
|
||||
*/
|
||||
function setIV($iv)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a message.
|
||||
*
|
||||
* @see Crypt_RC4::_crypt()
|
||||
* @access public
|
||||
* @param String $plaintext
|
||||
*/
|
||||
function encrypt($plaintext)
|
||||
{
|
||||
return $this->_crypt($plaintext, CRYPT_RC4_ENCRYPT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a message.
|
||||
*
|
||||
* $this->decrypt($this->encrypt($plaintext)) == $this->encrypt($this->encrypt($plaintext)).
|
||||
* Atleast if the continuous buffer is disabled.
|
||||
*
|
||||
* @see Crypt_RC4::_crypt()
|
||||
* @access public
|
||||
* @param String $ciphertext
|
||||
*/
|
||||
function decrypt($ciphertext)
|
||||
{
|
||||
return $this->_crypt($ciphertext, CRYPT_RC4_DECRYPT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts or decrypts a message.
|
||||
*
|
||||
* @see Crypt_RC4::encrypt()
|
||||
* @see Crypt_RC4::decrypt()
|
||||
* @access private
|
||||
* @param String $text
|
||||
* @param Integer $mode
|
||||
*/
|
||||
function _crypt($text, $mode)
|
||||
{
|
||||
if ( CRYPT_RC4_MODE == CRYPT_RC4_MODE_MCRYPT ) {
|
||||
$keyStream = $mode == CRYPT_RC4_ENCRYPT ? 'encryptStream' : 'decryptStream';
|
||||
|
||||
if (!$this->continuousBuffer) {
|
||||
mcrypt_generic_init($this->$keyStream, $this->key, '');
|
||||
}
|
||||
|
||||
return mcrypt_generic($this->$keyStream, $text);
|
||||
}
|
||||
|
||||
if ($this->encryptStream === false) {
|
||||
$this->setKey($this->key);
|
||||
}
|
||||
|
||||
switch ($mode) {
|
||||
case CRYPT_RC4_ENCRYPT:
|
||||
$keyStream = $this->encryptStream;
|
||||
list($i, $j) = $this->encryptIndex;
|
||||
break;
|
||||
case CRYPT_RC4_DECRYPT:
|
||||
$keyStream = $this->decryptStream;
|
||||
list($i, $j) = $this->decryptIndex;
|
||||
}
|
||||
|
||||
$newText = '';
|
||||
for ($k = 0; $k < strlen($text); $k++) {
|
||||
$i = ($i + 1) & 255;
|
||||
$j = ($j + $keyStream[$i]) & 255;
|
||||
$temp = $keyStream[$i];
|
||||
$keyStream[$i] = $keyStream[$j];
|
||||
$keyStream[$j] = $temp;
|
||||
$temp = $keyStream[($keyStream[$i] + $keyStream[$j]) & 255];
|
||||
$newText.= chr(ord($text[$k]) ^ $temp);
|
||||
}
|
||||
|
||||
if ($this->continuousBuffer) {
|
||||
switch ($mode) {
|
||||
case CRYPT_RC4_ENCRYPT:
|
||||
$this->encryptStream = $keyStream;
|
||||
$this->encryptIndex = array($i, $j);
|
||||
break;
|
||||
case CRYPT_RC4_DECRYPT:
|
||||
$this->decryptStream = $keyStream;
|
||||
$this->decryptIndex = array($i, $j);
|
||||
}
|
||||
}
|
||||
|
||||
return $newText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Treat consecutive "packets" as if they are a continuous buffer.
|
||||
*
|
||||
* Say you have a 16-byte plaintext $plaintext. Using the default behavior, the two following code snippets
|
||||
* will yield different outputs:
|
||||
*
|
||||
* <code>
|
||||
* echo $rc4->encrypt(substr($plaintext, 0, 8));
|
||||
* echo $rc4->encrypt(substr($plaintext, 8, 8));
|
||||
* </code>
|
||||
* <code>
|
||||
* echo $rc4->encrypt($plaintext);
|
||||
* </code>
|
||||
*
|
||||
* The solution is to enable the continuous buffer. Although this will resolve the above discrepancy, it creates
|
||||
* another, as demonstrated with the following:
|
||||
*
|
||||
* <code>
|
||||
* $rc4->encrypt(substr($plaintext, 0, 8));
|
||||
* echo $rc4->decrypt($des->encrypt(substr($plaintext, 8, 8)));
|
||||
* </code>
|
||||
* <code>
|
||||
* echo $rc4->decrypt($des->encrypt(substr($plaintext, 8, 8)));
|
||||
* </code>
|
||||
*
|
||||
* With the continuous buffer disabled, these would yield the same output. With it enabled, they yield different
|
||||
* outputs. The reason is due to the fact that the initialization vector's change after every encryption /
|
||||
* decryption round when the continuous buffer is enabled. When it's disabled, they remain constant.
|
||||
*
|
||||
* Put another way, when the continuous buffer is enabled, the state of the Crypt_DES() object changes after each
|
||||
* encryption / decryption round, whereas otherwise, it'd remain constant. For this reason, it's recommended that
|
||||
* continuous buffers not be used. They do offer better security and are, in fact, sometimes required (SSH uses them),
|
||||
* however, they are also less intuitive and more likely to cause you problems.
|
||||
*
|
||||
* @see Crypt_RC4::disableContinuousBuffer()
|
||||
* @access public
|
||||
*/
|
||||
function enableContinuousBuffer()
|
||||
{
|
||||
if ( CRYPT_RC4_MODE == CRYPT_RC4_MODE_MCRYPT ) {
|
||||
mcrypt_generic_init($this->encryptStream, $this->key, '');
|
||||
mcrypt_generic_init($this->decryptStream, $this->key, '');
|
||||
}
|
||||
|
||||
$this->continuousBuffer = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Treat consecutive packets as if they are a discontinuous buffer.
|
||||
*
|
||||
* The default behavior.
|
||||
*
|
||||
* @see Crypt_RC4::enableContinuousBuffer()
|
||||
* @access public
|
||||
*/
|
||||
function disableContinuousBuffer()
|
||||
{
|
||||
if ( CRYPT_RC4_MODE == CRYPT_RC4_MODE_INTERNAL ) {
|
||||
$this->encryptIndex = $this->decryptIndex = array(0, 0);
|
||||
$this->encryptStream = $this->decryptStream = false;
|
||||
}
|
||||
|
||||
$this->continuousBuffer = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy function.
|
||||
*
|
||||
* Since RC4 is a stream cipher and not a block cipher, no padding is necessary. The only reason this function is
|
||||
* included is so that you can switch between a block cipher and a stream cipher transparently.
|
||||
*
|
||||
* @see Crypt_RC4::disablePadding()
|
||||
* @access public
|
||||
*/
|
||||
function enablePadding()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy function.
|
||||
*
|
||||
* @see Crypt_RC4::enablePadding()
|
||||
* @access public
|
||||
*/
|
||||
function disablePadding()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Class destructor.
|
||||
*
|
||||
* Will be called, automatically, if you're using PHP5. If you're using PHP4, call it yourself. Only really
|
||||
* needs to be called if mcrypt is being used.
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function __destruct()
|
||||
{
|
||||
if ( CRYPT_RC4_MODE == CRYPT_RC4_MODE_MCRYPT ) {
|
||||
$this->_closeMCrypt();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Properly close the MCrypt objects.
|
||||
*
|
||||
* @access prviate
|
||||
*/
|
||||
function _closeMCrypt()
|
||||
{
|
||||
mcrypt_module_close($this->encryptStream);
|
||||
mcrypt_module_close($this->decryptStream);
|
||||
}
|
||||
}
|
||||
|
||||
// vim: ts=4:sw=4:et:
|
||||
// vim6: fdl=1:
|
2646
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/RSA.php
vendored
Normal file
2646
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/RSA.php
vendored
Normal file
File diff suppressed because it is too large
Load diff
243
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/Random.php
vendored
Normal file
243
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/Random.php
vendored
Normal file
|
@ -0,0 +1,243 @@
|
|||
<?php
|
||||
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
|
||||
|
||||
/**
|
||||
* Random Number Generator
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* Here's a short example of how to use this library:
|
||||
* <code>
|
||||
* <?php
|
||||
* include('Crypt/Random.php');
|
||||
*
|
||||
* echo bin2hex(crypt_random_string(8));
|
||||
* ?>
|
||||
* </code>
|
||||
*
|
||||
* LICENSE: Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @category Crypt
|
||||
* @package Crypt_Random
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @copyright MMVII Jim Wigginton
|
||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||
* @version $Id: Random.php,v 1.9 2010/04/24 06:40:48 terrafrost Exp $
|
||||
* @link http://phpseclib.sourceforge.net
|
||||
*/
|
||||
|
||||
/**
|
||||
* Generate a random string.
|
||||
*
|
||||
* Although microoptimizations are generally discouraged as they impair readability this function is ripe with
|
||||
* microoptimizations because this function has the potential of being called a huge number of times.
|
||||
* eg. for RSA key generation.
|
||||
*
|
||||
* @param Integer $length
|
||||
* @return String
|
||||
* @access public
|
||||
*/
|
||||
function crypt_random_string($length) {
|
||||
// PHP_OS & "\xDF\xDF\xDF" == strtoupper(substr(PHP_OS, 0, 3)), but a lot faster
|
||||
if ((PHP_OS & "\xDF\xDF\xDF") === 'WIN') {
|
||||
// method 1. prior to PHP 5.3 this would call rand() on windows hence the function_exists('class_alias') call.
|
||||
// ie. class_alias is a function that was introduced in PHP 5.3
|
||||
if (function_exists('mcrypt_create_iv') && function_exists('class_alias')) {
|
||||
return mcrypt_create_iv($length);
|
||||
}
|
||||
// method 2. openssl_random_pseudo_bytes was introduced in PHP 5.3.0 but prior to PHP 5.3.4 there was,
|
||||
// to quote <http://php.net/ChangeLog-5.php#5.3.4>, "possible blocking behavior". as of 5.3.4
|
||||
// openssl_random_pseudo_bytes and mcrypt_create_iv do the exact same thing on Windows. ie. they both
|
||||
// call php_win32_get_random_bytes():
|
||||
//
|
||||
// https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/openssl/openssl.c#L5008
|
||||
// https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1392
|
||||
//
|
||||
// php_win32_get_random_bytes() is defined thusly:
|
||||
//
|
||||
// https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/win32/winutil.c#L80
|
||||
//
|
||||
// we're calling it, all the same, in the off chance that the mcrypt extension is not available
|
||||
if (function_exists('openssl_random_pseudo_bytes') && version_compare(PHP_VERSION, '5.3.4', '>=')) {
|
||||
return openssl_random_pseudo_bytes($length);
|
||||
}
|
||||
} else {
|
||||
// method 1. the fastest
|
||||
if (function_exists('openssl_random_pseudo_bytes')) {
|
||||
return openssl_random_pseudo_bytes($length);
|
||||
}
|
||||
// method 2
|
||||
static $fp = true;
|
||||
if ($fp === true) {
|
||||
// warning's will be output unles the error suppression operator is used. errors such as
|
||||
// "open_basedir restriction in effect", "Permission denied", "No such file or directory", etc.
|
||||
$fp = @fopen('/dev/urandom', 'rb');
|
||||
}
|
||||
if ($fp !== true && $fp !== false) { // surprisingly faster than !is_bool() or is_resource()
|
||||
return fread($fp, $length);
|
||||
}
|
||||
// method 3. pretty much does the same thing as method 2 per the following url:
|
||||
// https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1391
|
||||
// surprisingly slower than method 2. maybe that's because mcrypt_create_iv does a bunch of error checking that we're
|
||||
// not doing. regardless, this'll only be called if this PHP script couldn't open /dev/urandom due to open_basedir
|
||||
// restrictions or some such
|
||||
if (function_exists('mcrypt_create_iv')) {
|
||||
return mcrypt_create_iv($length, MCRYPT_DEV_URANDOM);
|
||||
}
|
||||
}
|
||||
// at this point we have no choice but to use a pure-PHP CSPRNG
|
||||
|
||||
// cascade entropy across multiple PHP instances by fixing the session and collecting all
|
||||
// environmental variables, including the previous session data and the current session
|
||||
// data.
|
||||
//
|
||||
// mt_rand seeds itself by looking at the PID and the time, both of which are (relatively)
|
||||
// easy to guess at. linux uses mouse clicks, keyboard timings, etc, as entropy sources, but
|
||||
// PHP isn't low level to be able to use those as sources and on a web server there's not likely
|
||||
// going to be a ton of keyboard or mouse action. web servers do have one thing that we can use
|
||||
// however. a ton of people visiting the website. obviously you don't want to base your seeding
|
||||
// soley on parameters a potential attacker sends but (1) not everything in $_SERVER is controlled
|
||||
// by the user and (2) this isn't just looking at the data sent by the current user - it's based
|
||||
// on the data sent by all users. one user requests the page and a hash of their info is saved.
|
||||
// another user visits the page and the serialization of their data is utilized along with the
|
||||
// server envirnment stuff and a hash of the previous http request data (which itself utilizes
|
||||
// a hash of the session data before that). certainly an attacker should be assumed to have
|
||||
// full control over his own http requests. he, however, is not going to have control over
|
||||
// everyone's http requests.
|
||||
static $crypto = false, $v;
|
||||
if ($crypto === false) {
|
||||
// save old session data
|
||||
$old_session_id = session_id();
|
||||
$old_use_cookies = ini_get('session.use_cookies');
|
||||
$old_session_cache_limiter = session_cache_limiter();
|
||||
if (isset($_SESSION)) {
|
||||
$_OLD_SESSION = $_SESSION;
|
||||
}
|
||||
if ($old_session_id != '') {
|
||||
session_write_close();
|
||||
}
|
||||
|
||||
session_id(1);
|
||||
ini_set('session.use_cookies', 0);
|
||||
session_cache_limiter('');
|
||||
session_start();
|
||||
|
||||
$v = $seed = $_SESSION['seed'] = pack('H*', sha1(
|
||||
serialize($_SERVER) .
|
||||
serialize($_POST) .
|
||||
serialize($_GET) .
|
||||
serialize($_COOKIE) .
|
||||
serialize($_GLOBAL) .
|
||||
serialize($_SESSION) .
|
||||
serialize($_OLD_SESSION)
|
||||
));
|
||||
if (!isset($_SESSION['count'])) {
|
||||
$_SESSION['count'] = 0;
|
||||
}
|
||||
$_SESSION['count']++;
|
||||
|
||||
session_write_close();
|
||||
|
||||
// restore old session data
|
||||
if ($old_session_id != '') {
|
||||
session_id($old_session_id);
|
||||
session_start();
|
||||
ini_set('session.use_cookies', $old_use_cookies);
|
||||
session_cache_limiter($old_session_cache_limiter);
|
||||
} else {
|
||||
if (isset($_OLD_SESSION)) {
|
||||
$_SESSION = $_OLD_SESSION;
|
||||
unset($_OLD_SESSION);
|
||||
} else {
|
||||
unset($_SESSION);
|
||||
}
|
||||
}
|
||||
|
||||
// in SSH2 a shared secret and an exchange hash are generated through the key exchange process.
|
||||
// the IV client to server is the hash of that "nonce" with the letter A and for the encryption key it's the letter C.
|
||||
// if the hash doesn't produce enough a key or an IV that's long enough concat successive hashes of the
|
||||
// original hash and the current hash. we'll be emulating that. for more info see the following URL:
|
||||
//
|
||||
// http://tools.ietf.org/html/rfc4253#section-7.2
|
||||
//
|
||||
// see the is_string($crypto) part for an example of how to expand the keys
|
||||
$key = pack('H*', sha1($seed . 'A'));
|
||||
$iv = pack('H*', sha1($seed . 'C'));
|
||||
|
||||
// ciphers are used as per the nist.gov link below. also, see this link:
|
||||
//
|
||||
// http://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator#Designs_based_on_cryptographic_primitives
|
||||
switch (true) {
|
||||
case class_exists('Crypt_AES'):
|
||||
$crypto = new Crypt_AES(CRYPT_AES_MODE_CTR);
|
||||
break;
|
||||
case class_exists('Crypt_TripleDES'):
|
||||
$crypto = new Crypt_TripleDES(CRYPT_DES_MODE_CTR);
|
||||
break;
|
||||
case class_exists('Crypt_DES'):
|
||||
$crypto = new Crypt_DES(CRYPT_DES_MODE_CTR);
|
||||
break;
|
||||
case class_exists('Crypt_RC4'):
|
||||
$crypto = new Crypt_RC4();
|
||||
break;
|
||||
default:
|
||||
$crypto = $seed;
|
||||
return crypt_random_string($length);
|
||||
}
|
||||
|
||||
$crypto->setKey($key);
|
||||
$crypto->setIV($iv);
|
||||
$crypto->enableContinuousBuffer();
|
||||
}
|
||||
|
||||
if (is_string($crypto)) {
|
||||
// the following is based off of ANSI X9.31:
|
||||
//
|
||||
// http://csrc.nist.gov/groups/STM/cavp/documents/rng/931rngext.pdf
|
||||
//
|
||||
// OpenSSL uses that same standard for it's random numbers:
|
||||
//
|
||||
// http://www.opensource.apple.com/source/OpenSSL/OpenSSL-38/openssl/fips-1.0/rand/fips_rand.c
|
||||
// (do a search for "ANS X9.31 A.2.4")
|
||||
//
|
||||
// ANSI X9.31 recommends ciphers be used and phpseclib does use them if they're available (see
|
||||
// later on in the code) but if they're not we'll use sha1
|
||||
$result = '';
|
||||
while (strlen($result) < $length) { // each loop adds 20 bytes
|
||||
// microtime() isn't packed as "densely" as it could be but then neither is that the idea.
|
||||
// the idea is simply to ensure that each "block" has a unique element to it.
|
||||
$i = pack('H*', sha1(microtime()));
|
||||
$r = pack('H*', sha1($i ^ $v));
|
||||
$v = pack('H*', sha1($r ^ $i));
|
||||
$result.= $r;
|
||||
}
|
||||
return substr($result, 0, $length);
|
||||
}
|
||||
|
||||
//return $crypto->encrypt(str_repeat("\0", $length));
|
||||
|
||||
$result = '';
|
||||
while (strlen($result) < $length) {
|
||||
$i = $crypto->encrypt(microtime());
|
||||
$r = $crypto->encrypt($i ^ $v);
|
||||
$v = $crypto->encrypt($r ^ $i);
|
||||
$result.= $r;
|
||||
}
|
||||
return substr($result, 0, $length);
|
||||
}
|
1525
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/Rijndael.php
vendored
Normal file
1525
apps/files_external/3rdparty/phpseclib/phpseclib/Crypt/Rijndael.php
vendored
Normal file
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue