Merge branch 'master' into fix-googledrive
This commit is contained in:
commit
325746ae45
|
@ -87,9 +87,14 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:.3em 0
|
|||
table td.filename .nametext { overflow:hidden; text-overflow:ellipsis; }
|
||||
table td.filename .uploadtext { font-weight:normal; margin-left:.5em; }
|
||||
table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
|
||||
|
||||
/* File checkboxes */
|
||||
#fileList tr td.filename>input[type="checkbox"]:first-child { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; float:left; margin:.7em 0 0 1em; /* bigger clickable area doesn’t work in FF width:2.8em; height:2.4em;*/ -webkit-transition:opacity 200ms; -moz-transition:opacity 200ms; -o-transition:opacity 200ms; transition:opacity 200ms; }
|
||||
#fileList tr td.filename>input[type="checkbox"]:hover:first-child { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; }
|
||||
/* Always show checkbox when selected */
|
||||
#fileList tr td.filename>input[type="checkbox"]:checked:first-child { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
|
||||
#fileList tr.selected td.filename>input[type="checkbox"]:first-child { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
|
||||
|
||||
#fileList tr td.filename {
|
||||
position:relative; width:100%;
|
||||
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
var prefix,
|
||||
property,
|
||||
// In Opera, `'onfocusin' in document == true`, hence the extra `hasFocus` check to detect IE-like behavior
|
||||
// In Opera, `'onfocusin' in document == true`, hence the extra `hasFocus` check to detect IE-like behavior
|
||||
eventName = 'onfocusin' in document && 'hasFocus' in document ? 'focusin focusout' : 'focus blur',
|
||||
prefixes = ['', 'moz', 'ms', 'o', 'webkit'],
|
||||
$support = $.support,
|
||||
|
@ -19,12 +19,11 @@
|
|||
|
||||
$(/blur$/.test(eventName) ? window : document).on(eventName, function (event) {
|
||||
var type = event.type,
|
||||
originalEvent = event.originalEvent,
|
||||
toElement = originalEvent.toElement;
|
||||
// If it’s a `{focusin,focusout}` event (IE), `fromElement` and `toElement` should both be `null` or `undefined`;
|
||||
// else, the page visibility hasn’t changed, but the user just clicked somewhere in the doc.
|
||||
// In IE9, we need to check the `relatedTarget` property instead.
|
||||
if (!/^focus./.test(type) || (toElement == undefined && originalEvent.fromElement == undefined && originalEvent.relatedTarget == undefined)) {
|
||||
originalEvent = event.originalEvent;
|
||||
// If it’s a `{focusin,focusout}` event (IE), `fromElement` and `toElement` should both be `null` or `undefined`;
|
||||
// else, the page visibility hasn’t changed, but the user just clicked somewhere in the doc.
|
||||
// In IE9, we need to check the `relatedTarget` property instead.
|
||||
if (!/^focus./.test(type) || originalEvent == undefined || (originalEvent.toElement == undefined && originalEvent.fromElement == undefined && originalEvent.relatedTarget == undefined)) {
|
||||
$event.trigger((property && document[property] || /^(?:blur|focusout)$/.test(type) ? 'hide' : 'show') + '.visibility');
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,22 +1,32 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Missing a temporary folder" => "Липсва временна папка",
|
||||
"Failed to write to disk" => "Възникна проблем при запис в диска",
|
||||
"Invalid directory." => "Невалидна директория.",
|
||||
"Files" => "Файлове",
|
||||
"Delete" => "Изтриване",
|
||||
"Rename" => "Преименуване",
|
||||
"Pending" => "Чакащо",
|
||||
"replace" => "препокриване",
|
||||
"cancel" => "отказ",
|
||||
"undo" => "възтановяване",
|
||||
"Upload Error" => "Възникна грешка при качването",
|
||||
"Close" => "Затвори",
|
||||
"Upload cancelled." => "Качването е спряно.",
|
||||
"Name" => "Име",
|
||||
"Size" => "Размер",
|
||||
"Modified" => "Променено",
|
||||
"1 folder" => "1 папка",
|
||||
"{count} folders" => "{count} папки",
|
||||
"1 file" => "1 файл",
|
||||
"{count} files" => "{count} файла",
|
||||
"Upload" => "Качване",
|
||||
"Maximum upload size" => "Максимален размер за качване",
|
||||
"0 is unlimited" => "Ползвайте 0 за без ограничения",
|
||||
"Save" => "Запис",
|
||||
"New" => "Ново",
|
||||
"Text file" => "Текстов файл",
|
||||
"Folder" => "Папка",
|
||||
"Cancel upload" => "Спри качването",
|
||||
"Nothing in here. Upload something!" => "Няма нищо тук. Качете нещо.",
|
||||
"Download" => "Изтегляне",
|
||||
"Upload too large" => "Файлът който сте избрали за качване е прекалено голям"
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
"Text file" => "Fitxer de text",
|
||||
"Folder" => "Carpeta",
|
||||
"From link" => "Des d'enllaç",
|
||||
"Trash bin" => "Paperera",
|
||||
"Deleted files" => "Fitxers esborrats",
|
||||
"Cancel upload" => "Cancel·la la pujada",
|
||||
"Nothing in here. Upload something!" => "Res per aquí. Pugeu alguna cosa!",
|
||||
"Download" => "Baixa",
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
"Text file" => "Textový soubor",
|
||||
"Folder" => "Složka",
|
||||
"From link" => "Z odkazu",
|
||||
"Trash bin" => "Koš",
|
||||
"Deleted files" => "Odstraněné soubory",
|
||||
"Cancel upload" => "Zrušit odesílání",
|
||||
"Nothing in here. Upload something!" => "Žádný obsah. Nahrajte něco.",
|
||||
"Download" => "Stáhnout",
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"Not enough storage available" => "Der er ikke nok plads til rådlighed",
|
||||
"Invalid directory." => "Ugyldig mappe.",
|
||||
"Files" => "Filer",
|
||||
"Delete permanently" => "Slet permanent",
|
||||
"Delete" => "Slet",
|
||||
"Rename" => "Omdøb",
|
||||
"Pending" => "Afventer",
|
||||
|
@ -23,6 +24,7 @@
|
|||
"replaced {new_name}" => "erstattede {new_name}",
|
||||
"undo" => "fortryd",
|
||||
"replaced {new_name} with {old_name}" => "erstattede {new_name} med {old_name}",
|
||||
"perform delete operation" => "udfør slet operation",
|
||||
"'.' is an invalid file name." => "'.' er et ugyldigt filnavn.",
|
||||
"File name cannot be empty." => "Filnavnet kan ikke stå tomt.",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Ugyldigt navn, '\\', '/', '<', '>', ':' | '?', '\"', '', og '*' er ikke tilladt.",
|
||||
|
@ -65,5 +67,6 @@
|
|||
"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.",
|
||||
"Current scanning" => "Indlæser"
|
||||
"Current scanning" => "Indlæser",
|
||||
"Upgrading filesystem cache..." => "Opgraderer filsystems cachen..."
|
||||
);
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"Not enough storage available" => "Nicht genug Speicherplatz verfügbar",
|
||||
"Invalid directory." => "Ungültiges Verzeichnis.",
|
||||
"Files" => "Dateien",
|
||||
"Delete permanently" => "Permanent löschen",
|
||||
"Delete" => "Löschen",
|
||||
"Rename" => "Umbenennen",
|
||||
"Pending" => "Ausstehend",
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
"Text file" => "Textdatei",
|
||||
"Folder" => "Ordner",
|
||||
"From link" => "Von einem Link",
|
||||
"Deleted files" => "Gelöschte Dateien",
|
||||
"Cancel upload" => "Upload abbrechen",
|
||||
"Nothing in here. Upload something!" => "Alles leer. Bitte laden Sie etwas hoch!",
|
||||
"Download" => "Herunterladen",
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
"Text file" => "Archivo de texto",
|
||||
"Folder" => "Carpeta",
|
||||
"From link" => "Desde el enlace",
|
||||
"Trash bin" => "Papelera de reciclaje",
|
||||
"Cancel upload" => "Cancelar subida",
|
||||
"Nothing in here. Upload something!" => "Aquí no hay nada. ¡Sube algo!",
|
||||
"Download" => "Descargar",
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"Not enough storage available" => "No hay suficiente capacidad de almacenamiento",
|
||||
"Invalid directory." => "Directorio invalido.",
|
||||
"Files" => "Archivos",
|
||||
"Delete permanently" => "Borrar de manera permanente",
|
||||
"Delete" => "Borrar",
|
||||
"Rename" => "Cambiar nombre",
|
||||
"Pending" => "Pendiente",
|
||||
|
@ -59,6 +60,7 @@
|
|||
"Text file" => "Archivo de texto",
|
||||
"Folder" => "Carpeta",
|
||||
"From link" => "Desde enlace",
|
||||
"Deleted files" => "Archivos Borrados",
|
||||
"Cancel upload" => "Cancelar subida",
|
||||
"Nothing in here. Upload something!" => "No hay nada. ¡Subí contenido!",
|
||||
"Download" => "Descargar",
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not move %s" => "%s liigutamine ebaõnnestus",
|
||||
"Unable to rename file" => "Faili ümbernimetamine ebaõnnestus",
|
||||
"No file was uploaded. Unknown error" => "Ühtegi faili ei laetud üles. Tundmatu viga",
|
||||
"There is no error, the file uploaded with success" => "Ühtegi viga pole, fail on üles laetud",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Üles laetud faili suurus ületab HTML vormis määratud upload_max_filesize suuruse",
|
||||
|
@ -6,7 +8,10 @@
|
|||
"No file was uploaded" => "Ühtegi faili ei laetud üles",
|
||||
"Missing a temporary folder" => "Ajutiste failide kaust puudub",
|
||||
"Failed to write to disk" => "Kettale kirjutamine ebaõnnestus",
|
||||
"Not enough storage available" => "Saadaval pole piisavalt ruumi",
|
||||
"Invalid directory." => "Vigane kaust.",
|
||||
"Files" => "Failid",
|
||||
"Delete permanently" => "Kustuta jäädavalt",
|
||||
"Delete" => "Kustuta",
|
||||
"Rename" => "ümber",
|
||||
"Pending" => "Ootel",
|
||||
|
@ -17,6 +22,8 @@
|
|||
"replaced {new_name}" => "asendatud nimega {new_name}",
|
||||
"undo" => "tagasi",
|
||||
"replaced {new_name} with {old_name}" => "asendas nime {old_name} nimega {new_name}",
|
||||
"'.' is an invalid file name." => "'.' on vigane failinimi.",
|
||||
"File name cannot be empty." => "Faili nimi ei saa olla tühi.",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Vigane nimi, '\\', '/', '<', '>', ':', '\"', '|', '?' ja '*' pole lubatud.",
|
||||
"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",
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"Not enough storage available" => "Ez dago behar aina leku erabilgarri,",
|
||||
"Invalid directory." => "Baliogabeko karpeta.",
|
||||
"Files" => "Fitxategiak",
|
||||
"Delete permanently" => "Ezabatu betirako",
|
||||
"Delete" => "Ezabatu",
|
||||
"Rename" => "Berrizendatu",
|
||||
"Pending" => "Zain",
|
||||
|
@ -23,6 +24,7 @@
|
|||
"replaced {new_name}" => "ordezkatua {new_name}",
|
||||
"undo" => "desegin",
|
||||
"replaced {new_name} with {old_name}" => " {new_name}-k {old_name} ordezkatu du",
|
||||
"perform delete operation" => "Ezabatu",
|
||||
"'.' is an invalid file name." => "'.' ez da fitxategi izen baliogarria.",
|
||||
"File name cannot be empty." => "Fitxategi izena ezin da hutsa izan.",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "IZen aliogabea, '\\', '/', '<', '>', ':', '\"', '|', '?' eta '*' ez daude baimenduta.",
|
||||
|
@ -65,5 +67,6 @@
|
|||
"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.",
|
||||
"Current scanning" => "Orain eskaneatzen ari da"
|
||||
"Current scanning" => "Orain eskaneatzen ari da",
|
||||
"Upgrading filesystem cache..." => "Fitxategi sistemaren katxea eguneratzen..."
|
||||
);
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"Text file" => "Tekstitiedosto",
|
||||
"Folder" => "Kansio",
|
||||
"From link" => "Linkistä",
|
||||
"Trash bin" => "Roskakori",
|
||||
"Deleted files" => "Poistetut tiedostot",
|
||||
"Cancel upload" => "Peru lähetys",
|
||||
"Nothing in here. Upload something!" => "Täällä ei ole mitään. Lähetä tänne jotakin!",
|
||||
"Download" => "Lataa",
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
"Text file" => "Fichier texte",
|
||||
"Folder" => "Dossier",
|
||||
"From link" => "Depuis le lien",
|
||||
"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",
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"Delete" => "Eliminar",
|
||||
"Rename" => "Renomear",
|
||||
"Pending" => "Pendentes",
|
||||
"{new_name} already exists" => "xa existe un {new_name}",
|
||||
"{new_name} already exists" => "Xa existe un {new_name}",
|
||||
"replace" => "substituír",
|
||||
"suggest name" => "suxerir nome",
|
||||
"cancel" => "cancelar",
|
||||
|
@ -60,9 +60,9 @@
|
|||
"Text file" => "Ficheiro de texto",
|
||||
"Folder" => "Cartafol",
|
||||
"From link" => "Desde a ligazón",
|
||||
"Trash bin" => "Cesto do lixo",
|
||||
"Deleted files" => "Ficheiros eliminados",
|
||||
"Cancel upload" => "Cancelar o envío",
|
||||
"Nothing in here. Upload something!" => "Aquí non hai nada por aquí. Envíe algo.",
|
||||
"Nothing in here. Upload something!" => "Aquí non hai nada. Envíe algo.",
|
||||
"Download" => "Descargar",
|
||||
"Unshare" => "Deixar de compartir",
|
||||
"Upload too large" => "Envío demasiado grande",
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"Not enough storage available" => "Nincs elég szabad hely.",
|
||||
"Invalid directory." => "Érvénytelen mappa.",
|
||||
"Files" => "Fájlok",
|
||||
"Delete permanently" => "Végleges törlés",
|
||||
"Delete" => "Törlés",
|
||||
"Rename" => "Átnevezés",
|
||||
"Pending" => "Folyamatban",
|
||||
|
@ -23,6 +24,7 @@
|
|||
"replaced {new_name}" => "a(z) {new_name} állományt kicseréltük",
|
||||
"undo" => "visszavonás",
|
||||
"replaced {new_name} with {old_name}" => "{new_name} fájlt kicseréltük ezzel: {old_name}",
|
||||
"perform delete operation" => "a törlés végrehajtása",
|
||||
"'.' is an invalid file name." => "'.' fájlnév érvénytelen.",
|
||||
"File name cannot be empty." => "A fájlnév nem lehet semmi.",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Érvénytelen elnevezés. Ezek a karakterek nem használhatók: '\\', '/', '<', '>', ':', '\"', '|', '?' és '*'",
|
||||
|
@ -65,5 +67,6 @@
|
|||
"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!",
|
||||
"Current scanning" => "Ellenőrzés alatt"
|
||||
"Current scanning" => "Ellenőrzés alatt",
|
||||
"Upgrading filesystem cache..." => "A fájlrendszer gyorsítótárának frissítése zajlik..."
|
||||
);
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
"Text file" => "File di testo",
|
||||
"Folder" => "Cartella",
|
||||
"From link" => "Da collegamento",
|
||||
"Trash bin" => "Cestino",
|
||||
"Deleted files" => "File eliminati",
|
||||
"Cancel upload" => "Annulla invio",
|
||||
"Nothing in here. Upload something!" => "Non c'è niente qui. Carica qualcosa!",
|
||||
"Download" => "Scarica",
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
"Text file" => "テキストファイル",
|
||||
"Folder" => "フォルダ",
|
||||
"From link" => "リンク",
|
||||
"Deleted files" => "削除ファイル",
|
||||
"Cancel upload" => "アップロードをキャンセル",
|
||||
"Nothing in here. Upload something!" => "ここには何もありません。何かアップロードしてください。",
|
||||
"Download" => "ダウンロード",
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
"Text file" => "Teksta datne",
|
||||
"Folder" => "Mape",
|
||||
"From link" => "No saites",
|
||||
"Trash bin" => "Miskaste",
|
||||
"Deleted files" => "Dzēstās datnes",
|
||||
"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",
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"No file was uploaded" => "Geen bestand geüpload",
|
||||
"Missing a temporary folder" => "Een tijdelijke map mist",
|
||||
"Failed to write to disk" => "Schrijven naar schijf mislukt",
|
||||
"Not enough storage available" => "Niet genoeg opslagruimte beschikbaar",
|
||||
"Invalid directory." => "Ongeldige directory.",
|
||||
"Files" => "Bestanden",
|
||||
"Delete permanently" => "Verwijder definitief",
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"Not enough storage available" => "Espaço de armazenamento insuficiente",
|
||||
"Invalid directory." => "Diretório inválido.",
|
||||
"Files" => "Arquivos",
|
||||
"Delete permanently" => "Excluir permanentemente",
|
||||
"Delete" => "Excluir",
|
||||
"Rename" => "Renomear",
|
||||
"Pending" => "Pendente",
|
||||
|
@ -23,9 +24,12 @@
|
|||
"replaced {new_name}" => "substituído {new_name}",
|
||||
"undo" => "desfazer",
|
||||
"replaced {new_name} with {old_name}" => "Substituído {old_name} por {new_name} ",
|
||||
"perform delete operation" => "realizar operação de exclusão",
|
||||
"'.' is an invalid file name." => "'.' é um nome de arquivo inválido.",
|
||||
"File name cannot be empty." => "O nome do arquivo não pode estar vazio.",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Nome inválido, '\\', '/', '<', '>', ':', '\"', '|', '?' e '*' não são permitidos.",
|
||||
"Your storage is full, files can not be updated or synced anymore!" => "Seu armazenamento está cheio, arquivos não serão mais atualizados nem sincronizados!",
|
||||
"Your storage is almost full ({usedSpacePercent}%)" => "Seu armazenamento está quase cheio ({usedSpacePercent}%)",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "Seu download está sendo preparado. Isto pode levar algum tempo se os arquivos forem grandes.",
|
||||
"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",
|
||||
|
@ -63,5 +67,6 @@
|
|||
"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.",
|
||||
"Current scanning" => "Scanning atual"
|
||||
"Current scanning" => "Scanning atual",
|
||||
"Upgrading filesystem cache..." => "Aprimorando cache do sistema de arquivos..."
|
||||
);
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
"Text file" => "Ficheiro de texto",
|
||||
"Folder" => "Pasta",
|
||||
"From link" => "Da ligação",
|
||||
"Trash bin" => "Reciclagem",
|
||||
"Deleted files" => "Ficheiros eliminados",
|
||||
"Cancel upload" => "Cancelar envio",
|
||||
"Nothing in here. Upload something!" => "Vazio. Envie alguma coisa!",
|
||||
"Download" => "Transferir",
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
"Text file" => "Текстовый файл",
|
||||
"Folder" => "Папка",
|
||||
"From link" => "Из ссылки",
|
||||
"Deleted files" => "Удалённые файлы",
|
||||
"Cancel upload" => "Отмена загрузки",
|
||||
"Nothing in here. Upload something!" => "Здесь ничего нет. Загрузите что-нибудь!",
|
||||
"Download" => "Скачать",
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
"Text file" => "Текстовый файл",
|
||||
"Folder" => "Папка",
|
||||
"From link" => "По ссылке",
|
||||
"Trash bin" => "Корзина",
|
||||
"Cancel upload" => "Отмена загрузки",
|
||||
"Nothing in here. Upload something!" => "Здесь ничего нет. Загрузите что-нибудь!",
|
||||
"Download" => "Загрузить",
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
"Text file" => "Textový súbor",
|
||||
"Folder" => "Priečinok",
|
||||
"From link" => "Z odkazu",
|
||||
"Trash bin" => "Kôš",
|
||||
"Deleted files" => "Zmazané súbory",
|
||||
"Cancel upload" => "Zrušiť odosielanie",
|
||||
"Nothing in here. Upload something!" => "Žiadny súbor. Nahrajte niečo!",
|
||||
"Download" => "Stiahnuť",
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
"Text file" => "Textfil",
|
||||
"Folder" => "Mapp",
|
||||
"From link" => "Från länk",
|
||||
"Trash bin" => "Papperskorg",
|
||||
"Cancel upload" => "Avbryt uppladdning",
|
||||
"Nothing in here. Upload something!" => "Ingenting här. Ladda upp något!",
|
||||
"Download" => "Ladda ner",
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
"Text file" => "Tập tin văn bản",
|
||||
"Folder" => "Thư mục",
|
||||
"From link" => "Từ liên kết",
|
||||
"Deleted files" => "File đã bị xóa",
|
||||
"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",
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
"Text file" => "文字檔",
|
||||
"Folder" => "資料夾",
|
||||
"From link" => "從連結",
|
||||
"Trash bin" => "回收筒",
|
||||
"Cancel upload" => "取消上傳",
|
||||
"Nothing in here. Upload something!" => "沒有任何東西。請上傳內容!",
|
||||
"Download" => "下載",
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</div>
|
||||
<?php if ($_['trash'] ): ?>
|
||||
<div id="trash" class="button">
|
||||
<a><?php echo $l->t('Trash bin');?></a>
|
||||
<a><?php echo $l->t('Deleted files');?></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="uploadprogresswrapper">
|
||||
|
|
|
@ -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');?>" class="svg" />
|
||||
<img src="<?php echo OCP\image_path('core', 'places/home.svg');?>" class="svg" />
|
||||
</a>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
|
|
@ -12,7 +12,7 @@ OC_FileProxy::register( new OCA\Encryption\Proxy() );
|
|||
|
||||
// User-related hooks
|
||||
OCP\Util::connectHook( 'OC_User', 'post_login', 'OCA\Encryption\Hooks', 'login' );
|
||||
OCP\Util::connectHook( 'OC_User', 'pre_setPassword','OCA\Encryption\Hooks', 'setPassphrase' );
|
||||
OCP\Util::connectHook( 'OC_User', 'pre_setPassword', 'OCA\Encryption\Hooks', 'setPassphrase' );
|
||||
|
||||
// Sharing-related hooks
|
||||
OCP\Util::connectHook( 'OCP\Share', 'post_shared', 'OCA\Encryption\Hooks', 'postShared' );
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Kryptering",
|
||||
"File encryption is enabled." => "Fil kryptering aktiveret.",
|
||||
"The following file types will not be encrypted:" => "De følgende filtyper vil ikke blive krypteret:",
|
||||
"Exclude the following file types from encryption:" => "Ekskluder de følgende fil typer fra kryptering:",
|
||||
"None" => "Ingen"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Verschlüsselung",
|
||||
"File encryption is enabled." => "Dateiverschlüsselung ist aktiviert",
|
||||
"The following file types will not be encrypted:" => "Die folgenden Dateitypen werden nicht verschlüsselt:",
|
||||
"Exclude the following file types from encryption:" => "Schließe die folgenden Dateitypen von der Verschlüsselung aus:",
|
||||
"None" => "Keine"
|
||||
);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"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:",
|
||||
"Exclude the following file types from encryption:" => "Die folgenden Datei-Typen von der Verschlüsselung ausnehmen:",
|
||||
"The following file types will not be encrypted:" => "Die folgenden Dateitypen werden nicht verschlüsselt:",
|
||||
"Exclude the following file types from encryption:" => "Die folgenden Dateitypen von der Verschlüsselung ausnehmen:",
|
||||
"None" => "Keine"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Encriptación",
|
||||
"File encryption is enabled." => "La encriptación de archivos no está habilitada",
|
||||
"The following file types will not be encrypted:" => "Los siguientes tipos de archivos no serán encriptados",
|
||||
"Exclude the following file types from encryption:" => "Excluir los siguientes tipos de archivos de encriptación:",
|
||||
"None" => "Ninguno"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Krüpteerimine",
|
||||
"File encryption is enabled." => "Faili krüpteerimine on sisse lülitatud.",
|
||||
"The following file types will not be encrypted:" => "Järgnevaid failitüüpe ei krüpteerita:",
|
||||
"Exclude the following file types from encryption:" => "Järgnevaid failitüüpe ei krüpteerita:",
|
||||
"None" => "Pole"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Enkriptazioa",
|
||||
"File encryption is enabled." => "Fitxategien enkriptazioa gaituta dago.",
|
||||
"The following file types will not be encrypted:" => "Hurrengo fitxategi motak ez dira enkriptatuko:",
|
||||
"Exclude the following file types from encryption:" => "Baztertu hurrengo fitxategi motak enkriptatzetik:",
|
||||
"None" => "Bat ere ez"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Salaus",
|
||||
"File encryption is enabled." => "Tiedostojen salaus on käytössä.",
|
||||
"The following file types will not be encrypted:" => "Seuraavia tiedostotyyppejä ei salata:",
|
||||
"Exclude the following file types from encryption:" => "Älä salaa seuravia tiedostotyyppejä:",
|
||||
"None" => "Ei mitään"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Titkosítás",
|
||||
"File encryption is enabled." => "Az állományok titkosítása be van kapcsolva.",
|
||||
"The following file types will not be encrypted:" => "A következő fájltípusok nem kerülnek titkosításra:",
|
||||
"Exclude the following file types from encryption:" => "Zárjuk ki a titkosításból a következő fájltípusokat:",
|
||||
"None" => "Egyik sem"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Szyfrowanie",
|
||||
"File encryption is enabled." => "Szyfrowanie plików jest włączone",
|
||||
"The following file types will not be encrypted:" => "Poniższe typy plików nie będą szyfrowane:",
|
||||
"Exclude the following file types from encryption:" => "Wyłącz poniższe typy plików z szyfrowania:",
|
||||
"None" => "Brak"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Criptografia",
|
||||
"File encryption is enabled." => "A criptografia de arquivos está ativada.",
|
||||
"The following file types will not be encrypted:" => "Os seguintes tipos de arquivo não serão criptografados:",
|
||||
"Exclude the following file types from encryption:" => "Excluir os seguintes tipos de arquivo da criptografia:",
|
||||
"None" => "Nenhuma"
|
||||
);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
OCP\JSON::checkAppEnabled('files_external');
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
if ( ! ($filename = $_FILES['rootcert_import']['name']) ) {
|
||||
header("Location: settings/personal.php");
|
||||
|
@ -13,7 +14,7 @@ fclose($fh);
|
|||
$filename = $_FILES['rootcert_import']['name'];
|
||||
|
||||
$view = new \OC\Files\View('/'.\OCP\User::getUser().'/files_external/uploads');
|
||||
if (!$view->file_exists('')){
|
||||
if (!$view->file_exists('')) {
|
||||
$view->mkdir('');
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ require_once 'Dropbox/autoload.php';
|
|||
|
||||
OCP\JSON::checkAppEnabled('files_external');
|
||||
OCP\JSON::checkLoggedIn();
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
if (isset($_POST['app_key']) && isset($_POST['app_secret'])) {
|
||||
$oauth = new Dropbox_OAuth_Curl($_POST['app_key'], $_POST['app_secret']);
|
||||
if (isset($_POST['step'])) {
|
||||
|
|
|
@ -4,6 +4,8 @@ require_once 'Google/common.inc.php';
|
|||
|
||||
OCP\JSON::checkAppEnabled('files_external');
|
||||
OCP\JSON::checkLoggedIn();
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
$consumer = new OAuthConsumer('anonymous', 'anonymous');
|
||||
$sigMethod = new OAuthSignatureMethod_HMAC_SHA1();
|
||||
if (isset($_POST['step'])) {
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
OCP\JSON::checkAppEnabled('files_external');
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
if (!isset($_POST['isPersonal']))
|
||||
return;
|
||||
if (!isset($_POST['mountPoint']))
|
||||
return;
|
||||
if (!isset($_POST['mountType']))
|
||||
return;
|
||||
if (!isset($_POST['applicable']))
|
||||
return;
|
||||
|
||||
if ($_POST['isPersonal'] == 'true') {
|
||||
OCP\JSON::checkLoggedIn();
|
||||
$isPersonal = true;
|
||||
|
@ -10,4 +19,5 @@ if ($_POST['isPersonal'] == 'true') {
|
|||
OCP\JSON::checkAdminUser();
|
||||
$isPersonal = false;
|
||||
}
|
||||
|
||||
OC_Mount_Config::removeMountPoint($_POST['mountPoint'], $_POST['mountType'], $_POST['applicable'], $isPersonal);
|
||||
|
|
|
@ -47,7 +47,7 @@ OC.MountConfig={
|
|||
oldUsers.splice($.inArray(applicable, oldUsers), 1);
|
||||
}
|
||||
}
|
||||
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, class: backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
||||
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, 'class': backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
||||
});
|
||||
var mountType = 'group';
|
||||
$.each(oldGroups, function(index, applicable) {
|
||||
|
@ -61,7 +61,7 @@ OC.MountConfig={
|
|||
var isPersonal = true;
|
||||
var mountType = 'user';
|
||||
var applicable = OC.currentUser;
|
||||
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, class: backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
||||
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, 'class': backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"Error configuring Dropbox storage" => "Virhe Dropbox levyn asetuksia tehtäessä",
|
||||
"Grant access" => "Salli pääsy",
|
||||
"Fill out all required fields" => "Täytä kaikki vaaditut kentät",
|
||||
"Please provide a valid Dropbox app key and secret." => "Anna kelvollinen Dropbox-sovellusavain ja salainen vastaus.",
|
||||
"Error configuring Google Drive storage" => "Virhe Google Drive levyn asetuksia tehtäessä",
|
||||
"<b>Warning:</b> \"smbclient\" is not installed. Mounting of CIFS/SMB shares is not possible. Please ask your system administrator to install it." => "<b>Varoitus:</b> \"smbclient\" ei ole asennettuna. CIFS-/SMB-jakojen liittäminen ei ole mahdollista. Pyydä järjestelmän ylläpitäjää asentamaan smbclient.",
|
||||
"<b>Warning:</b> The FTP support in PHP is not enabled or installed. Mounting of FTP shares is not possible. Please ask your system administrator to install it." => "<b>Varoitus:</b> PHP:n FTP-tuki ei ole käytössä tai sitä ei ole asennettu. FTP-jakojen liittäminen ei ole mahdollista. Pyydä järjestelmän ylläpitäjää ottamaan FTP-tuki käyttöön.",
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Users" => "उपयोगकर्ता"
|
||||
);
|
|
@ -310,7 +310,7 @@ class OC_Mount_Config {
|
|||
foreach ($data[self::MOUNT_TYPE_GROUP] as $group => $mounts) {
|
||||
$content .= "\t\t'".$group."' => array (\n";
|
||||
foreach ($mounts as $mountPoint => $mount) {
|
||||
$content .= "\t\t\t'".addcslashes($mountPoint,"'")."' => ".str_replace("\n", '', var_export($mount, true)).", \n";
|
||||
$content .= "\t\t\t'".addcslashes($mountPoint, "'")."' => ".str_replace("\n", '', var_export($mount, true)).", \n";
|
||||
|
||||
}
|
||||
$content .= "\t\t),\n";
|
||||
|
@ -322,7 +322,7 @@ class OC_Mount_Config {
|
|||
foreach ($data[self::MOUNT_TYPE_USER] as $user => $mounts) {
|
||||
$content .= "\t\t'".$user."' => array (\n";
|
||||
foreach ($mounts as $mountPoint => $mount) {
|
||||
$content .= "\t\t\t'".addcslashes($mountPoint,"'")."' => ".str_replace("\n", '', var_export($mount, true)).",\n";
|
||||
$content .= "\t\t\t'".addcslashes($mountPoint, "'")."' => ".str_replace("\n", '', var_export($mount, true)).",\n";
|
||||
}
|
||||
$content .= "\t\t),\n";
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ class FTP extends \OC\Files\Storage\StreamWrapper{
|
|||
case 'ab':
|
||||
//these are supported by the wrapper
|
||||
$context = stream_context_create(array('ftp' => array('overwrite' => true)));
|
||||
return fopen($this->constructUrl($path),$mode, false,$context);
|
||||
return fopen($this->constructUrl($path), $mode, false, $context);
|
||||
case 'r+':
|
||||
case 'w+':
|
||||
case 'wb+':
|
||||
|
@ -89,7 +89,7 @@ class FTP extends \OC\Files\Storage\StreamWrapper{
|
|||
$this->getFile($path, $tmpFile);
|
||||
}
|
||||
self::$tempFiles[$tmpFile]=$path;
|
||||
return fopen('close://'.$tmpFile,$mode);
|
||||
return fopen('close://'.$tmpFile, $mode);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
|
|||
$this->share='/'.$this->share;
|
||||
}
|
||||
if(substr($this->share, -1, 1)=='/') {
|
||||
$this->share = substr($this->share,0,-1);
|
||||
$this->share = substr($this->share, 0, -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,10 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
|
|||
if (substr($path, -1)=='/') {
|
||||
$path=substr($path, 0, -1);
|
||||
}
|
||||
return 'smb://'.$this->user.':'.$this->password.'@'.$this->host.$this->share.$this->root.$path;
|
||||
$path = urlencode($path);
|
||||
$user = urlencode($this->user);
|
||||
$pass = urlencode($this->password);
|
||||
return 'smb://'.$user.':'.$pass.'@'.$this->host.$this->share.$this->root.$path;
|
||||
}
|
||||
|
||||
public function stat($path) {
|
||||
|
@ -59,11 +62,6 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
|
|||
}
|
||||
}
|
||||
|
||||
public function filetype($path) {
|
||||
// using opendir causes the same amount of requests and caches the content of the folder in one go
|
||||
return (bool)@$this->opendir($path) ? 'dir' : 'file';
|
||||
}
|
||||
|
||||
/**
|
||||
* check if a file or folder has been updated since $time
|
||||
* @param string $path
|
||||
|
|
|
@ -12,7 +12,7 @@ abstract class StreamWrapper extends \OC\Files\Storage\Common{
|
|||
private $ready = false;
|
||||
|
||||
protected function init(){
|
||||
if($this->ready){
|
||||
if($this->ready) {
|
||||
return;
|
||||
}
|
||||
$this->ready = true;
|
||||
|
@ -71,39 +71,39 @@ abstract class StreamWrapper extends \OC\Files\Storage\Common{
|
|||
return $succes;
|
||||
}
|
||||
|
||||
public function fopen($path,$mode) {
|
||||
public function fopen($path, $mode) {
|
||||
$this->init();
|
||||
return fopen($this->constructUrl($path),$mode);
|
||||
return fopen($this->constructUrl($path), $mode);
|
||||
}
|
||||
|
||||
public function free_space($path) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public function touch($path,$mtime=null) {
|
||||
public function touch($path, $mtime=null) {
|
||||
$this->init();
|
||||
if(is_null($mtime)) {
|
||||
$fh = $this->fopen($path,'a');
|
||||
fwrite($fh,'');
|
||||
$fh = $this->fopen($path, 'a');
|
||||
fwrite($fh, '');
|
||||
fclose($fh);
|
||||
} else {
|
||||
return false;//not supported
|
||||
}
|
||||
}
|
||||
|
||||
public function getFile($path,$target) {
|
||||
public function getFile($path, $target) {
|
||||
$this->init();
|
||||
return copy($this->constructUrl($path),$target);
|
||||
return copy($this->constructUrl($path), $target);
|
||||
}
|
||||
|
||||
public function uploadFile($path,$target) {
|
||||
public function uploadFile($path, $target) {
|
||||
$this->init();
|
||||
return copy($path,$this->constructUrl($target));
|
||||
return copy($path, $this->constructUrl($target));
|
||||
}
|
||||
|
||||
public function rename($path1,$path2) {
|
||||
public function rename($path1, $path2) {
|
||||
$this->init();
|
||||
return rename($this->constructUrl($path1),$this->constructUrl($path2));
|
||||
return rename($this->constructUrl($path1), $this->constructUrl($path2));
|
||||
}
|
||||
|
||||
public function stat($path) {
|
||||
|
|
|
@ -210,7 +210,7 @@ class SWIFT extends \OC\Files\Storage\Common{
|
|||
return false;
|
||||
} else {
|
||||
$fh=fopen($tmpFile, 'a');
|
||||
fwrite($fh,$name . "\n");
|
||||
fwrite($fh, $name . "\n");
|
||||
}
|
||||
} catch(\Exception $e) {
|
||||
file_put_contents($tmpFile, $name . "\n");
|
||||
|
@ -290,7 +290,7 @@ class SWIFT extends \OC\Files\Storage\Common{
|
|||
}
|
||||
|
||||
private function init(){
|
||||
if($this->ready){
|
||||
if($this->ready) {
|
||||
return;
|
||||
}
|
||||
$this->ready = true;
|
||||
|
|
|
@ -49,7 +49,7 @@ class DAV extends \OC\Files\Storage\Common{
|
|||
}
|
||||
|
||||
private function init(){
|
||||
if($this->ready){
|
||||
if($this->ready) {
|
||||
return;
|
||||
}
|
||||
$this->ready = true;
|
||||
|
@ -153,10 +153,10 @@ class DAV extends \OC\Files\Storage\Common{
|
|||
|
||||
public function unlink($path) {
|
||||
$this->init();
|
||||
return $this->simpleResponse('DELETE', $path, null ,204);
|
||||
return $this->simpleResponse('DELETE', $path, null, 204);
|
||||
}
|
||||
|
||||
public function fopen($path,$mode) {
|
||||
public function fopen($path, $mode) {
|
||||
$this->init();
|
||||
$path=$this->cleanPath($path);
|
||||
switch($mode) {
|
||||
|
@ -235,13 +235,13 @@ class DAV extends \OC\Files\Storage\Common{
|
|||
$this->client->proppatch($path, array('{DAV:}lastmodified' => $mtime));
|
||||
}
|
||||
|
||||
public function getFile($path,$target) {
|
||||
public function getFile($path, $target) {
|
||||
$this->init();
|
||||
$source=$this->fopen($path,'r');
|
||||
file_put_contents($target,$source);
|
||||
$source=$this->fopen($path, 'r');
|
||||
file_put_contents($target, $source);
|
||||
}
|
||||
|
||||
public function uploadFile($path,$target) {
|
||||
public function uploadFile($path, $target) {
|
||||
$this->init();
|
||||
$source=fopen($path, 'r');
|
||||
|
||||
|
@ -256,7 +256,7 @@ class DAV extends \OC\Files\Storage\Common{
|
|||
curl_close ($curl);
|
||||
}
|
||||
|
||||
public function rename($path1,$path2) {
|
||||
public function rename($path1, $path2) {
|
||||
$this->init();
|
||||
$path1=$this->cleanPath($path1);
|
||||
$path2=$this->root.$this->cleanPath($path2);
|
||||
|
@ -268,7 +268,7 @@ class DAV extends \OC\Files\Storage\Common{
|
|||
}
|
||||
}
|
||||
|
||||
public function copy($path1,$path2) {
|
||||
public function copy($path1, $path2) {
|
||||
$this->init();
|
||||
$path1=$this->cleanPath($path1);
|
||||
$path2=$this->root.$this->cleanPath($path2);
|
||||
|
@ -321,7 +321,7 @@ class DAV extends \OC\Files\Storage\Common{
|
|||
}
|
||||
}
|
||||
|
||||
private function simpleResponse($method,$path,$body,$expected) {
|
||||
private function simpleResponse($method, $path, $body, $expected) {
|
||||
$path=$this->cleanPath($path);
|
||||
try {
|
||||
$response=$this->client->request($method, $path, $body);
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<select class="chzn-select"
|
||||
multiple style="width:20em;"
|
||||
data-placeholder="<?php echo $l->t('None set'); ?>">
|
||||
<option value="all"><?php echo $l->t('All Users'); ?></option>
|
||||
<option value="all" <?php if (isset($mount['applicable']['users']) && in_array('all', $mount['applicable']['users'])) echo 'selected="selected"';?> ><?php echo $l->t('All Users'); ?></option>
|
||||
<optgroup label="<?php echo $l->t('Groups'); ?>">
|
||||
<?php foreach ($_['groups'] as $group): ?>
|
||||
<option value="<?php echo $group; ?>(group)"
|
||||
|
@ -149,6 +149,7 @@
|
|||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="hidden" name="requesttoken" value="<?php echo $_['requesttoken']; ?>">
|
||||
<input type="file" id="rootcert_import" name="rootcert_import" style="width:230px;">
|
||||
<input type="submit" name="cert_import" value="<?php echo $l->t('Import Root Certificate'); ?>" />
|
||||
</fieldset>
|
||||
|
|
|
@ -71,4 +71,5 @@ p.info a {
|
|||
|
||||
thead{
|
||||
background-color: white;
|
||||
padding-left:0 !important; /* fixes multiselect bar offset on shared page */
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ if ( $error ) {
|
|||
$filelist .= $e.', ';
|
||||
}
|
||||
$l = OC_L10N::get('files_trashbin');
|
||||
$message = $l->t("Couldn't restore %s", array(rtrim($filelist,', ')));
|
||||
$message = $l->t("Couldn't restore %s", array(rtrim($filelist, ', ')));
|
||||
OCP\JSON::error(array("data" => array("message" => $message,
|
||||
"success" => $success, "error" => $error)));
|
||||
} else {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0"?>
|
||||
<info>
|
||||
<id>files_trashbin</id>
|
||||
<name>Trash</name>
|
||||
<description>Trash bin</description>
|
||||
<name>Trash bin</name>
|
||||
<description>Keep a copy of deleted files so that they can be restored if needed</description>
|
||||
<licence>AGPL</licence>
|
||||
<author>Bjoern Schiessle</author>
|
||||
<shipped>true</shipped>
|
||||
|
|
|
@ -27,7 +27,7 @@ if ($dir) {
|
|||
$pos = strpos($dir.'/', '/', 1);
|
||||
$tmp = substr($dir, 0, $pos);
|
||||
$pos = strrpos($tmp, '.d');
|
||||
$timestamp = substr($tmp,$pos+2);
|
||||
$timestamp = substr($tmp, $pos+2);
|
||||
$result[] = array(
|
||||
'id' => $entryName,
|
||||
'timestamp' => $timestamp,
|
||||
|
|
|
@ -1,4 +1,14 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Невъзможно изтриване на %s завинаги",
|
||||
"Couldn't restore %s" => "Невъзможно възтановяване на %s",
|
||||
"perform restore operation" => "извършване на действие по възтановяване",
|
||||
"delete file permanently" => "изтриване на файла завинаги",
|
||||
"Name" => "Име",
|
||||
"Deleted" => "Изтрито",
|
||||
"1 folder" => "1 папка",
|
||||
"{count} folders" => "{count} папки",
|
||||
"1 file" => "1 файл",
|
||||
"{count} files" => "{count} файла",
|
||||
"Nothing in here. Your trash bin is empty!" => "Няма нищо. Кофата е празна!",
|
||||
"Restore" => "Възтановяване"
|
||||
);
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Kunne ikke slette %s permanent",
|
||||
"Couldn't restore %s" => "Kunne ikke gendanne %s",
|
||||
"perform restore operation" => "udfør gendannelsesoperation",
|
||||
"delete file permanently" => "slet fil permanent",
|
||||
"Name" => "Navn",
|
||||
"Deleted" => "Slettet",
|
||||
"1 folder" => "1 mappe",
|
||||
"{count} folders" => "{count} mapper",
|
||||
"1 file" => "1 fil",
|
||||
"{count} files" => "{count} filer",
|
||||
"Nothing in here. Your trash bin is empty!" => "Intet at se her. Din papirkurv er tom!",
|
||||
"Restore" => "Gendan"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Konnte %s nicht permanent löschen",
|
||||
"Couldn't restore %s" => "Konnte %s nicht wiederherstellen",
|
||||
"perform restore operation" => "Wiederherstellung ausführen",
|
||||
"delete file permanently" => "Datei permanent löschen",
|
||||
"Name" => "Name",
|
||||
"Deleted" => "gelöscht",
|
||||
"1 folder" => "1 Ordner",
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"perform restore operation" => "Führe die Wiederherstellung aus",
|
||||
"Couldn't delete %s permanently" => "Konnte %s nicht entgültig löschen",
|
||||
"Couldn't restore %s" => "Konnte %s nicht wiederherstellen",
|
||||
"perform restore operation" => "Wiederherstellung ausführen",
|
||||
"delete file permanently" => "Datei entgültig löschen",
|
||||
"Name" => "Name",
|
||||
"Deleted" => "Gelöscht",
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "No fue posible borrar %s de manera permanente",
|
||||
"Couldn't restore %s" => "No se pudo restaurar %s",
|
||||
"perform restore operation" => "Restaurar",
|
||||
"delete file permanently" => "Borrar archivo de manera permanente",
|
||||
"Name" => "Nombre",
|
||||
"Deleted" => "Borrado",
|
||||
"1 folder" => "1 directorio",
|
||||
"{count} folders" => "{count} directorios",
|
||||
"1 file" => "1 archivo",
|
||||
"{count} files" => "{count} archivos",
|
||||
"Nothing in here. Your trash bin is empty!" => "No hay nada acá. ¡La papelera está vacía!",
|
||||
"Restore" => "Recuperar"
|
||||
);
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "%s jäädavalt kustutamine ebaõnnestus",
|
||||
"Couldn't restore %s" => "%s ei saa taastada",
|
||||
"perform restore operation" => "soorita taastamine",
|
||||
"delete file permanently" => "kustuta fail jäädavalt",
|
||||
"Name" => "Nimi",
|
||||
"Deleted" => "Kustutatud",
|
||||
"1 folder" => "1 kaust",
|
||||
"{count} folders" => "{count} kausta",
|
||||
"1 file" => "1 fail",
|
||||
"{count} files" => "{count} faili"
|
||||
"{count} files" => "{count} faili",
|
||||
"Nothing in here. Your trash bin is empty!" => "Siin pole midagi. Sinu prügikast on tühi!",
|
||||
"Restore" => "Taasta"
|
||||
);
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Ezin izan da %s betirako ezabatu",
|
||||
"Couldn't restore %s" => "Ezin izan da %s berreskuratu",
|
||||
"perform restore operation" => "berreskuratu",
|
||||
"delete file permanently" => "ezabatu fitxategia betirako",
|
||||
"Name" => "Izena",
|
||||
"Deleted" => "Ezabatuta",
|
||||
"1 folder" => "karpeta bat",
|
||||
"{count} folders" => "{count} karpeta",
|
||||
"1 file" => "fitxategi bat",
|
||||
"{count} files" => "{count} fitxategi",
|
||||
"Nothing in here. Your trash bin is empty!" => "Ez dago ezer ez. Zure zakarrontzia hutsik dago!",
|
||||
"Restore" => "Berrezarri"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Kohdetta %s ei voitu poistaa pysyvästi",
|
||||
"Couldn't restore %s" => "Kohteen %s palautus epäonnistui",
|
||||
"perform restore operation" => "suorita palautustoiminto",
|
||||
"delete file permanently" => "poista tiedosto pysyvästi",
|
||||
"Name" => "Nimi",
|
||||
"Deleted" => "Poistettu",
|
||||
"1 folder" => "1 kansio",
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Nem sikerült %s végleges törlése",
|
||||
"Couldn't restore %s" => "Nem sikerült %s visszaállítása",
|
||||
"perform restore operation" => "a visszaállítás végrehajtása",
|
||||
"delete file permanently" => "az állomány végleges törlése",
|
||||
"Name" => "Név",
|
||||
"Deleted" => "Törölve",
|
||||
"1 folder" => "1 mappa",
|
||||
"{count} folders" => "{count} mappa",
|
||||
"1 file" => "1 fájl",
|
||||
"{count} files" => "{count} fájl",
|
||||
"Nothing in here. Your trash bin is empty!" => "Itt nincs semmi. Az Ön szemetes mappája üres!",
|
||||
"Restore" => "Visszaállítás"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Kon %s niet permanent verwijderen",
|
||||
"Couldn't restore %s" => "Kon %s niet herstellen",
|
||||
"perform restore operation" => "uitvoeren restore operatie",
|
||||
"delete file permanently" => "verwijder bestanden definitief",
|
||||
"Name" => "Naam",
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Não foi possível excluir %s permanentemente",
|
||||
"Couldn't restore %s" => "Não foi possível restaurar %s",
|
||||
"perform restore operation" => "realizar operação de restauração",
|
||||
"delete file permanently" => "excluir arquivo permanentemente",
|
||||
"Name" => "Nome",
|
||||
"Deleted" => "Excluído",
|
||||
"1 folder" => "1 pasta",
|
||||
|
|
|
@ -80,7 +80,7 @@ class Trashbin {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
\OC_Log::write('files_trashbin', 'Couldn\'t move '.$file_path.' to the trash bin' , \OC_log::ERROR);
|
||||
\OC_Log::write('files_trashbin', 'Couldn\'t move '.$file_path.' to the trash bin', \OC_log::ERROR);
|
||||
}
|
||||
|
||||
// get available disk space for user
|
||||
|
@ -188,7 +188,7 @@ class Trashbin {
|
|||
\OCP\Config::setAppValue('files_trashbin', 'size', $trashbinSize);
|
||||
return true;
|
||||
} else {
|
||||
\OC_Log::write('files_trashbin', 'Couldn\'t restore file from trash bin, '.$filename , \OC_log::ERROR);
|
||||
\OC_Log::write('files_trashbin', 'Couldn\'t restore file from trash bin, '.$filename, \OC_log::ERROR);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@ -349,7 +349,7 @@ class Trashbin {
|
|||
$versionsName = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($filename);
|
||||
$versions = array();
|
||||
if ($timestamp ) {
|
||||
// fetch for old versions
|
||||
// fetch for old versions
|
||||
$matches = glob( $versionsName.'.v*.d'.$timestamp );
|
||||
$offset = -strlen($timestamp)-2;
|
||||
} else {
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Kunne ikke genskabe: %s",
|
||||
"success" => "success",
|
||||
"File %s was reverted to version %s" => "Filen %s blev genskabt til version: %s",
|
||||
"failure" => "fejl",
|
||||
"File %s could not be reverted to version %s" => "Filen %s blev genskabt til version: %s",
|
||||
"No old versions available" => "Ingen gamle version tilgængelige",
|
||||
"No path specified" => "Ingen sti specificeret",
|
||||
"History" => "Historik",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Genskab en fil til en tidligere version ved at klikke på denne genskab knap.",
|
||||
"Files Versioning" => "Versionering af filer",
|
||||
"Enable" => "Aktiver"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Konnte %s nicht zurücksetzen",
|
||||
"success" => "Erfolgreich",
|
||||
"File %s was reverted to version %s" => "Datei %s wurde auf Version %s zurückgesetzt",
|
||||
"failure" => "Fehlgeschlagen",
|
||||
"File %s could not be reverted to version %s" => "Datei %s konnte nicht auf Version %s zurückgesetzt werden",
|
||||
"No old versions available" => "Keine älteren Versionen verfügbar",
|
||||
"No path specified" => "Kein Pfad angegeben",
|
||||
"History" => "Historie",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Setzen Sie eine Datei durch klicken auf den Zurücksetzen Button zurück",
|
||||
"Files Versioning" => "Dateiversionierung",
|
||||
"Enable" => "Aktivieren"
|
||||
);
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Konnte %s nicht zurücksetzen",
|
||||
"success" => "Erfolgreich",
|
||||
"File %s was reverted to version %s" => "Die Datei %s wurde zur Version %s zurückgesetzt",
|
||||
"failure" => "Fehlgeschlagen",
|
||||
"No old versions available" => "keine älteren Versionen verfügbar",
|
||||
"File %s could not be reverted to version %s" => "Die Datei %s konnte nicht zur Version %s zurückgesetzt werden",
|
||||
"No old versions available" => "Keine älteren Versionen verfügbar",
|
||||
"No path specified" => "Kein Pfad angegeben",
|
||||
"History" => "Historie",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Setze eine Datei durch Klicken auf den Zurücksetzen-Button auf eine frühere Version zurück",
|
||||
"Files Versioning" => "Dateiversionierung",
|
||||
"Enable" => "Aktivieren"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "No se pudo revertir: %s ",
|
||||
"success" => "Éxito",
|
||||
"File %s was reverted to version %s" => "El archivo %s fue revertido a la versión %s",
|
||||
"failure" => "error",
|
||||
"File %s could not be reverted to version %s" => "El archivo %s no pudo ser revertido a la versión %s",
|
||||
"No old versions available" => "No hay versiones antiguas disponibles",
|
||||
"No path specified" => "Ruta de acceso no especificada",
|
||||
"History" => "Historia",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Revertí un archivo a una versión anterior haciendo click en su botón de \"revertir\"",
|
||||
"Files Versioning" => "Versionado de archivos",
|
||||
"Enable" => "Activar"
|
||||
);
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"success" => "korras",
|
||||
"failure" => "ebaõnnestus",
|
||||
"No old versions available" => "Vanu versioone pole saadaval",
|
||||
"No path specified" => "Asukohta pole määratud",
|
||||
"History" => "Ajalugu",
|
||||
"Files Versioning" => "Failide versioonihaldus",
|
||||
"Enable" => "Luba"
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Ezin izan da leheneratu: %s",
|
||||
"success" => "arrakasta",
|
||||
"File %s was reverted to version %s" => "%s fitxategia %s bertsiora leheneratu da",
|
||||
"failure" => "errorea",
|
||||
"File %s could not be reverted to version %s" => "%s fitxategia ezin da %s bertsiora leheneratu",
|
||||
"No old versions available" => "Ez dago bertsio zaharrik eskuragarri",
|
||||
"No path specified" => "Ez da bidea zehaztu",
|
||||
"History" => "Historia",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Itzuli fitxategi bat aurreko bertsio batera leheneratu bere leheneratu botoia sakatuz",
|
||||
"Files Versioning" => "Fitxategien Bertsioak",
|
||||
"Enable" => "Gaitu"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Palautus epäonnistui: %s",
|
||||
"success" => "onnistui",
|
||||
"File %s was reverted to version %s" => "Tiedosto %s palautettiin versioon %s",
|
||||
"failure" => "epäonnistui",
|
||||
"File %s could not be reverted to version %s" => "Tiedoston %s palautus versioon %s epäonnistui",
|
||||
"No old versions available" => "Vanhoja ei ole saatavilla",
|
||||
"No path specified" => "Polkua ei ole määritetty",
|
||||
"History" => "Historia",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Palauta tiedoston edellinen versio napsauttamalla palautuspainiketta",
|
||||
"Files Versioning" => "Tiedostojen versiointi",
|
||||
"Enable" => "Käytä"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Non foi posíbel reverter: %s",
|
||||
"success" => "feito",
|
||||
"File %s was reverted to version %s" => "O ficheiro %s foi revertido á versión %s",
|
||||
"failure" => "produciuse un fallo",
|
||||
"File %s could not be reverted to version %s" => "Non foi posíbel reverter o ficheiro %s á versión %s",
|
||||
"No old versions available" => "Non hai versións antigas dispoñíbeis",
|
||||
"No path specified" => "Non foi indicada a ruta",
|
||||
"History" => "Historial",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Reverta un ficheiro a unha versión anterior premendo no botón reversión",
|
||||
"Files Versioning" => "Sistema de versión de ficheiros",
|
||||
"Enable" => "Activar"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Nem sikerült átállni a változatra: %s",
|
||||
"success" => "sikerült",
|
||||
"File %s was reverted to version %s" => "%s állományt átállítottuk erre a változatra: %s",
|
||||
"failure" => "nem sikerült",
|
||||
"File %s could not be reverted to version %s" => "%s állományt nem sikerült átállítani erre a változatra: %s",
|
||||
"No old versions available" => "Nincs régebbi változat",
|
||||
"No path specified" => "Nincs megadva az útvonal",
|
||||
"History" => "Korábbi változatok",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Az állomány átállítható egy régebbi változatra, ha a gombra kattint",
|
||||
"Files Versioning" => "Az állományok verzionálása",
|
||||
"Enable" => "engedélyezve"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Kon niet terugdraaien: %s",
|
||||
"success" => "succes",
|
||||
"File %s was reverted to version %s" => "Bestand %s is teruggedraaid naar versie %s",
|
||||
"failure" => "mislukking",
|
||||
"File %s could not be reverted to version %s" => "Bestand %s kon niet worden teruggedraaid naar versie %s",
|
||||
"No old versions available" => "Geen oudere versies beschikbaar",
|
||||
"No path specified" => "Geen pad opgegeven",
|
||||
"History" => "Geschiedenis",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Draai een bestand terug naar een voorgaande versie door te klikken op de terugdraai knop",
|
||||
"Files Versioning" => "Bestand versies",
|
||||
"Enable" => "Activeer"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Nie można było przywrócić: %s",
|
||||
"success" => "sukces",
|
||||
"File %s was reverted to version %s" => "Plik %s został przywrócony do wersji %s",
|
||||
"failure" => "porażka",
|
||||
"File %s could not be reverted to version %s" => "Plik %s nie mógł być przywrócony do wersji %s",
|
||||
"No old versions available" => "Nie są dostępne żadne starsze wersje",
|
||||
"No path specified" => "Nie podano ścieżki",
|
||||
"History" => "Historia",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Przywróć plik do poprzedniej wersji klikając w jego przycisk przywrócenia",
|
||||
"Files Versioning" => "Wersjonowanie plików",
|
||||
"Enable" => "Włącz"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Could not revert: %s" => "Não foi possível reverter: %s",
|
||||
"success" => "sucesso",
|
||||
"File %s was reverted to version %s" => "Arquivo %s revertido à versão %s",
|
||||
"failure" => "falha",
|
||||
"File %s could not be reverted to version %s" => "Arquivo %s não pôde ser revertido à versão %s",
|
||||
"No old versions available" => "Nenhuma versão antiga disponível",
|
||||
"No path specified" => "Nenhum caminho especificado",
|
||||
"History" => "Histórico",
|
||||
"Revert a file to a previous version by clicking on its revert button" => "Reverta um arquivo a uma versão anterior clicando no botão reverter",
|
||||
"Files Versioning" => "Versionamento de Arquivos",
|
||||
"Enable" => "Habilitar"
|
||||
);
|
||||
|
|
|
@ -94,7 +94,7 @@ class Storage {
|
|||
// expire old revisions if necessary
|
||||
$newSize = self::expire($filename, $versionsSize);
|
||||
|
||||
if ( $newSize != $versionsSize ) {
|
||||
if ( $newSize != $versionsSize ) {
|
||||
\OCP\Config::setAppValue('files_versions', 'size', $versionsSize);
|
||||
}
|
||||
}
|
||||
|
@ -191,6 +191,10 @@ class Storage {
|
|||
// fetch for old versions
|
||||
$matches = glob( $versionsName.'.v*' );
|
||||
|
||||
if ( !$matches ) {
|
||||
return $versions;
|
||||
}
|
||||
|
||||
sort( $matches );
|
||||
|
||||
$files_view = new \OC_FilesystemView('/'.$uid.'/files');
|
||||
|
|
|
@ -27,7 +27,7 @@ OCP\JSON::checkAppEnabled('user_ldap');
|
|||
OCP\JSON::callCheck();
|
||||
|
||||
$prefix = $_POST['ldap_serverconfig_chooser'];
|
||||
if(\OCA\user_ldap\lib\Helper::deleteServerConfiguration($prefix)){
|
||||
if(\OCA\user_ldap\lib\Helper::deleteServerConfiguration($prefix)) {
|
||||
OCP\JSON::success();
|
||||
} else {
|
||||
$l=OC_L10N::get('user_ldap');
|
||||
|
|
|
@ -1,8 +1,20 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "Löschen der Serverkonfiguration fehlgeschlagen",
|
||||
"The configuration is valid and the connection could be established!" => "Die Konfiguration war erfolgreich, die Verbindung konnte hergestellt werden!",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "Die Konfiguration ist gültig aber die Verbindung ist fehlgeschlagen. Bitte überprüfen Sie die Servereinstellungen und die Anmeldeinformationen.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "Die Konfiguration ist ungültig, bitte sehen Sie für weitere Details im ownCloud Log nach",
|
||||
"Deletion failed" => "Löschen fehlgeschlagen",
|
||||
"Take over settings from recent server configuration?" => "Einstellungen von letzter Konfiguration übernehmen?",
|
||||
"Keep settings?" => "Einstellungen beibehalten?",
|
||||
"Cannot add server configuration" => "Serverkonfiguration konnte nicht hinzugefügt werden.",
|
||||
"Connection test succeeded" => "Verbindungstest erfolgreich",
|
||||
"Connection test failed" => "Verbindungstest fehlgeschlagen",
|
||||
"Do you really want to delete the current Server Configuration?" => "Wollen Sie die aktuelle Serverkonfiguration wirklich löschen?",
|
||||
"Confirm Deletion" => "Löschung bestätigen",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>Warnung:</b> Die Anwendungen user_ldap und user_webdavauth sind inkompatibel. Es kann demzufolge zu unerwarteten Verhalten kommen. Bitte Deinen Systemadministator eine der beiden Anwendungen zu deaktivieren.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>Warnung:</b> Da das PHP-Modul für LDAP nicht installiert ist, wird das Backend nicht funktionieren. Bitten Sie Ihren Systemadministrator das Modul zu installieren.",
|
||||
"Server configuration" => "Serverkonfiguration",
|
||||
"Add Server Configuration" => "Serverkonfiguration hinzufügen",
|
||||
"Host" => "Host",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Du kannst das Protokoll auslassen, außer wenn Du SSL benötigst. Beginne dann mit ldaps://",
|
||||
"Base DN" => "Basis-DN",
|
||||
|
@ -21,22 +33,36 @@
|
|||
"Group Filter" => "Gruppen-Filter",
|
||||
"Defines the filter to apply, when retrieving groups." => "Definiert den Filter für die Anfrage der Gruppen.",
|
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "ohne Platzhalter, z.B.: \"objectClass=posixGroup\"",
|
||||
"Connection Settings" => "Verbindungseinstellungen",
|
||||
"Configuration Active" => "Konfiguration aktiv",
|
||||
"When unchecked, this configuration will be skipped." => "Konfiguration wird übersprungen wenn deaktiviert",
|
||||
"Port" => "Port",
|
||||
"Backup (Replica) Host" => "Backup Host (Kopie)",
|
||||
"Give an optional backup host. It must be a replica of the main LDAP/AD server." => "Gib einen optionalen Backup Host an. Es muss sich um eine kopie des Haupt LDAP/AD Servers handeln.",
|
||||
"Backup (Replica) Port" => "Backup Port",
|
||||
"Disable Main Server" => "Hauptserver deaktivieren",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Wenn aktiviert wird ownCloud ausschließlich den Backupserver verwenden",
|
||||
"Use TLS" => "Nutze TLS",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "Benutze es nicht zusätzlich für LDAPS Verbindungen, es wird scheitern.",
|
||||
"Case insensitve LDAP server (Windows)" => "LDAP-Server (Windows: Groß- und Kleinschreibung bleibt unbeachtet)",
|
||||
"Turn off SSL certificate validation." => "Schalte die SSL-Zertifikatsprüfung aus.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Falls die Verbindung es erfordert, muss das SSL-Zertifikat des LDAP-Server importiert werden.",
|
||||
"Not recommended, use for testing only." => "Nicht empfohlen, nur zu Testzwecken.",
|
||||
"in seconds. A change empties the cache." => "in Sekunden. Eine Änderung leert den Cache.",
|
||||
"Directory Settings" => "Ordnereinstellungen",
|
||||
"User Display Name Field" => "Feld für den Anzeigenamen des Benutzers",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "Das LDAP-Attribut für die Generierung des Benutzernamens in ownCloud. ",
|
||||
"Base User Tree" => "Basis-Benutzerbaum",
|
||||
"One User Base DN per line" => "Ein Benutzer Base DN pro Zeile",
|
||||
"User Search Attributes" => "Benutzersucheigenschaften",
|
||||
"Optional; one attribute per line" => "Optional, eine Eigenschaft pro Zeile",
|
||||
"Group Display Name Field" => "Feld für den Anzeigenamen der Gruppe",
|
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "Das LDAP-Attribut für die Generierung des Gruppennamens in ownCloud. ",
|
||||
"Base Group Tree" => "Basis-Gruppenbaum",
|
||||
"One Group Base DN per line" => "Ein Gruppen Base DN pro Zeile",
|
||||
"Group Search Attributes" => "Gruppensucheigenschaften",
|
||||
"Group-Member association" => "Assoziation zwischen Gruppe und Benutzer",
|
||||
"Special Attributes" => "Spezielle Eigenschaften",
|
||||
"in bytes" => "in Bytes",
|
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "Ohne Eingabe wird der Benutzername (Standard) verwendet. Anderenfall trage ein LDAP/AD-Attribut ein.",
|
||||
"Help" => "Hilfe"
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "Das Löschen der Server-Konfiguration schlug fehl",
|
||||
"The configuration is valid and the connection could be established!" => "Die Konfiguration ist valide und eine Verbindung konnte hergestellt werden!",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "Die Konfiguration ist valide, aber das Herstellen einer Verbindung schlug fehl. Bitte überprüfen Sie die Server-Einstellungen und Zertifikate.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "Die Konfiguration ist nicht valide. Weitere Details können Sie im ownCloud-Log nachlesen.",
|
||||
"The configuration is valid and the connection could be established!" => "Die Konfiguration ist gültig und die Verbindung konnte hergestellt werden!",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "Die Konfiguration ist gültig, aber das Herstellen der Verbindung schlug fehl. Bitte überprüfen Sie die Server-Einstellungen und Zertifikate.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "Die Konfiguration ist ungültig. Weitere Details können Sie im ownCloud-Log nachlesen.",
|
||||
"Deletion failed" => "Löschen fehlgeschlagen",
|
||||
"Take over settings from recent server configuration?" => "Sollen die Einstellungen der letzten Server-Konfiguration übernommen werden?",
|
||||
"Take over settings from recent server configuration?" => "Sollen die Einstellungen der letzten Serverkonfiguration übernommen werden?",
|
||||
"Keep settings?" => "Einstellungen behalten?",
|
||||
"Cannot add server configuration" => "Das Hinzufügen der Server-Konfiguration schlug fehl",
|
||||
"Connection test succeeded" => "Verbindungs-Test erfolgreich",
|
||||
"Connection test failed" => "Verbindungs-Test fehlgeschlagen",
|
||||
"Do you really want to delete the current Server Configuration?" => "Möchten Sie wirklich die Server-Konfiguration löschen?",
|
||||
"Cannot add server configuration" => "Das Hinzufügen der Serverkonfiguration schlug fehl",
|
||||
"Connection test succeeded" => "Verbindungstest erfolgreich",
|
||||
"Connection test failed" => "Verbindungstest fehlgeschlagen",
|
||||
"Do you really want to delete the current Server Configuration?" => "Möchten Sie die Serverkonfiguration wirklich löschen?",
|
||||
"Confirm Deletion" => "Löschung bestätigen",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>Warnung:</b> Die Anwendungen user_ldap und user_webdavauth sind inkompatibel. Es kann demzufolge zu unerwarteten Verhalten kommen. Bitten Sie Ihren Systemadministator eine der beiden Anwendungen zu deaktivieren.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>Warnung:</b> Da das PHP-Modul für LDAP ist nicht installiert, das Backend wird nicht funktionieren. Bitten Sie Ihren Systemadministrator das Modul zu installieren.",
|
||||
"Server configuration" => "Server-Konfiguration",
|
||||
"Add Server Configuration" => "Server-Konfiguration hinzufügen",
|
||||
"Server configuration" => "Serverkonfiguration",
|
||||
"Add Server Configuration" => "Serverkonfiguration hinzufügen",
|
||||
"Host" => "Host",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Sie können das Protokoll auslassen, außer wenn Sie SSL benötigen. Beginnen Sie dann mit ldaps://",
|
||||
"Base DN" => "Basis-DN",
|
||||
|
@ -33,7 +33,7 @@
|
|||
"Group Filter" => "Gruppen-Filter",
|
||||
"Defines the filter to apply, when retrieving groups." => "Definiert den Filter für die Anfrage der Gruppen.",
|
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "ohne Platzhalter, z.B.: \"objectClass=posixGroup\"",
|
||||
"Connection Settings" => "Verbindungs-Einstellungen",
|
||||
"Connection Settings" => "Verbindungseinstellungen",
|
||||
"Configuration Active" => "Konfiguration aktiv",
|
||||
"When unchecked, this configuration will be skipped." => "Wenn nicht angehakt, wird diese Konfiguration übersprungen.",
|
||||
"Port" => "Port",
|
||||
|
@ -41,14 +41,15 @@
|
|||
"Give an optional backup host. It must be a replica of the main LDAP/AD server." => "Optionaler Backup Host. Es muss ein Replikat des eigentlichen LDAP/AD Servers sein.",
|
||||
"Backup (Replica) Port" => "Back-Up (Replikation) Port",
|
||||
"Disable Main Server" => "Hauptserver deaktivieren",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Wenn eingeschaltet wird sich ownCloud nur mit dem Replilat-Server verbinden.",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Wenn eingeschaltet wird sich ownCloud nur mit dem Replikat-Server verbinden.",
|
||||
"Use TLS" => "Nutze TLS",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "Benutze es nicht zusätzlich für LDAPS Verbindungen, es wird scheitern.",
|
||||
"Case insensitve LDAP server (Windows)" => "LDAP-Server (Windows: Groß- und Kleinschreibung bleibt unbeachtet)",
|
||||
"Turn off SSL certificate validation." => "Schalten Sie die SSL-Zertifikatsprüfung aus.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Falls die Verbindung es erfordert, muss das SSL-Zertifikat des LDAP-Server importiert werden.",
|
||||
"Not recommended, use for testing only." => "Nicht empfohlen, nur zu Testzwecken.",
|
||||
"in seconds. A change empties the cache." => "in Sekunden. Eine Änderung leert den Cache.",
|
||||
"Directory Settings" => "Verzeichnis-Einstellungen",
|
||||
"Directory Settings" => "Verzeichniseinstellungen",
|
||||
"User Display Name Field" => "Feld für den Anzeigenamen des Benutzers",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "Das LDAP-Attribut für die Generierung des Benutzernamens in ownCloud. ",
|
||||
"Base User Tree" => "Basis-Benutzerbaum",
|
||||
|
@ -61,7 +62,7 @@
|
|||
"One Group Base DN per line" => "Ein Gruppen Base DN pro Zeile",
|
||||
"Group Search Attributes" => "Gruppen-Suche Eigenschaften",
|
||||
"Group-Member association" => "Assoziation zwischen Gruppe und Benutzer",
|
||||
"Special Attributes" => "besondere Eigenschaften",
|
||||
"Special Attributes" => "Besondere Eigenschaften",
|
||||
"in bytes" => "in Bytes",
|
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "Ohne Eingabe wird der Benutzername (Standard) verwendet. Anderenfall trage ein LDAP/AD-Attribut ein.",
|
||||
"Help" => "Hilfe"
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "Fallo al borrar la configuración del servidor",
|
||||
"The configuration is valid and the connection could be established!" => "La configuración es valida y la conexión pudo ser establecida.",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "La configuración es válida, pero el enlace falló. Por favor, comprobá la configuración del servidor y las credenciales.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "La configuración no es válida. Por favor, buscá en el log de ownCloud más detalles.",
|
||||
"Deletion failed" => "Error al borrar",
|
||||
"Take over settings from recent server configuration?" => "Tomar los valores de la anterior configuración de servidor?",
|
||||
"Keep settings?" => "¿Mantener preferencias?",
|
||||
"Cannot add server configuration" => "No se pudo añadir la configuración del servidor",
|
||||
"Connection test succeeded" => "El este de conexión ha sido completado satisfactoriamente",
|
||||
|
@ -32,9 +35,15 @@
|
|||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "Sin ninguna plantilla, p. ej.: \"objectClass=posixGroup\".",
|
||||
"Connection Settings" => "Configuración de Conección",
|
||||
"Configuration Active" => "Configuración activa",
|
||||
"When unchecked, this configuration will be skipped." => "Si no está seleccionada, esta configuración será omitida.",
|
||||
"Port" => "Puerto",
|
||||
"Backup (Replica) Host" => "Host para copia de seguridad (réplica)",
|
||||
"Give an optional backup host. It must be a replica of the main LDAP/AD server." => "Dar un servidor de copia de seguridad opcional. Debe ser una réplica del servidor principal LDAP/AD.",
|
||||
"Backup (Replica) Port" => "Puerto para copia de seguridad (réplica)",
|
||||
"Disable Main Server" => "Deshabilitar el Servidor Principal",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Al comenzar, ownCloud se conectará únicamente al servidor réplica",
|
||||
"Use TLS" => "Usar TLS",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "No usar adicionalmente para conexiones LDAPS, las mismas fallarán",
|
||||
"Case insensitve LDAP server (Windows)" => "Servidor de LDAP sensible a mayúsculas/minúsculas (Windows)",
|
||||
"Turn off SSL certificate validation." => "Desactivar la validación por certificado SSL.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Si la conexión sólo funciona con esta opción, importá el certificado SSL del servidor LDAP en tu servidor ownCloud.",
|
||||
|
@ -45,10 +54,13 @@
|
|||
"The LDAP attribute to use to generate the user`s ownCloud name." => "El atributo LDAP a usar para generar el nombre de usuario de ownCloud.",
|
||||
"Base User Tree" => "Árbol base de usuario",
|
||||
"One User Base DN per line" => "Una DN base de usuario por línea",
|
||||
"User Search Attributes" => "Atributos de la búsqueda de usuario",
|
||||
"Optional; one attribute per line" => "Opcional; un atributo por linea",
|
||||
"Group Display Name Field" => "Campo de nombre de grupo a mostrar",
|
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "El atributo LDAP a usar para generar el nombre de los grupos de ownCloud.",
|
||||
"Base Group Tree" => "Árbol base de grupo",
|
||||
"One Group Base DN per line" => "Una DN base de grupo por línea",
|
||||
"Group Search Attributes" => "Atributos de búsqueda de grupo",
|
||||
"Group-Member association" => "Asociación Grupo-Miembro",
|
||||
"Special Attributes" => "Atributos Especiales",
|
||||
"in bytes" => "en bytes",
|
||||
|
|
|
@ -1,7 +1,19 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "Zerbitzariaren konfigurazioa ezabatzeak huts egin du",
|
||||
"The configuration is valid and the connection could be established!" => "Konfigurazioa egokia da eta konexioa ezarri daiteke!",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "Konfigurazioa ongi dago, baina Bind-ek huts egin du. Mesedez egiaztatu zerbitzariaren ezarpenak eta kredentzialak.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "Konfigurazioa ez dago ongi. Mesedez ikusi ownCloud-en egunerokoa informazio gehiago eskuratzeko.",
|
||||
"Deletion failed" => "Ezabaketak huts egin du",
|
||||
"Keep settings?" => "Mantendu ezarpenak?",
|
||||
"Cannot add server configuration" => "Ezin da zerbitzariaren konfigurazioa gehitu",
|
||||
"Connection test succeeded" => "Konexio froga ongi burutu da",
|
||||
"Connection test failed" => "Konexio frogak huts egin du",
|
||||
"Do you really want to delete the current Server Configuration?" => "Ziur zaude Zerbitzariaren Konfigurazioa ezabatu nahi duzula?",
|
||||
"Confirm Deletion" => "Baieztatu Ezabatzea",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>Abisua:</b> user_ldap eta user_webdavauth aplikazioak bateraezinak dira. Portaera berezia izan dezakezu. Mesedez eskatu zure sistema kudeatzaileari bietako bat desgaitzeko.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>Abisua:</b> PHPk behar duen LDAP modulua ez dago instalaturik, motorrak ez du funtzionatuko. Mesedez eskatu zure sistema kudeatzaileari instala dezan.",
|
||||
"Server configuration" => "Zerbitzariaren konfigurazioa",
|
||||
"Add Server Configuration" => "Gehitu Zerbitzariaren Konfigurazioa",
|
||||
"Host" => "Hostalaria",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Protokoloa ez da beharrezkoa, SSL behar baldin ez baduzu. Honela bada hasi ldaps://",
|
||||
"Base DN" => "Oinarrizko DN",
|
||||
|
@ -20,22 +32,36 @@
|
|||
"Group Filter" => "Taldeen iragazkia",
|
||||
"Defines the filter to apply, when retrieving groups." => "Taldeak jasotzen direnean ezarriko den iragazkia zehazten du.",
|
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "txantiloirik gabe, adb. \"objectClass=posixGroup\".",
|
||||
"Connection Settings" => "Konexio Ezarpenak",
|
||||
"Configuration Active" => "Konfigurazio Aktiboa",
|
||||
"When unchecked, this configuration will be skipped." => "Markatuta ez dagoenean, konfigurazio hau ez da kontutan hartuko.",
|
||||
"Port" => "Portua",
|
||||
"Backup (Replica) Host" => "Babeskopia (Replica) Ostalaria",
|
||||
"Give an optional backup host. It must be a replica of the main LDAP/AD server." => "Eman babeskopia ostalari gehigarri bat. LDAP/AD zerbitzari nagusiaren replica bat izan behar da.",
|
||||
"Backup (Replica) Port" => "Babeskopia (Replica) Ataka",
|
||||
"Disable Main Server" => "Desgaitu Zerbitzari Nagusia",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Markatuta dagoenean, ownCloud bakarrik replica zerbitzarira konektatuko da.",
|
||||
"Use TLS" => "Erabili TLS",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "Ez erabili LDAPS konexioetarako, huts egingo du.",
|
||||
"Case insensitve LDAP server (Windows)" => "Maiuskulak eta minuskulak ezberditzen ez dituen LDAP zerbitzaria (windows)",
|
||||
"Turn off SSL certificate validation." => "Ezgaitu SSL ziurtagirien egiaztapena.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Konexioa aukera hau ezinbestekoa badu, inportatu LDAP zerbitzariaren SSL ziurtagiria zure ownCloud zerbitzarian.",
|
||||
"Not recommended, use for testing only." => "Ez da aholkatzen, erabili bakarrik frogak egiteko.",
|
||||
"in seconds. A change empties the cache." => "segundutan. Aldaketak katxea husten du.",
|
||||
"Directory Settings" => "Karpetaren Ezarpenak",
|
||||
"User Display Name Field" => "Erabiltzaileen bistaratzeko izena duen eremua",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "ownCloud erabiltzailearen izena sortzeko erabiliko den LDAP atributua",
|
||||
"Base User Tree" => "Oinarrizko Erabiltzaile Zuhaitza",
|
||||
"One User Base DN per line" => "Erabiltzaile DN Oinarri bat lerroko",
|
||||
"User Search Attributes" => "Erabili Bilaketa Atributuak ",
|
||||
"Optional; one attribute per line" => "Aukerakoa; atributu bat lerro bakoitzeko",
|
||||
"Group Display Name Field" => "Taldeen bistaratzeko izena duen eremua",
|
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "ownCloud taldearen izena sortzeko erabiliko den LDAP atributua",
|
||||
"Base Group Tree" => "Oinarrizko Talde Zuhaitza",
|
||||
"One Group Base DN per line" => "Talde DN Oinarri bat lerroko",
|
||||
"Group Search Attributes" => "Taldekatu Bilaketa Atributuak ",
|
||||
"Group-Member association" => "Talde-Kide elkarketak",
|
||||
"Special Attributes" => "Atributu Bereziak",
|
||||
"in bytes" => "bytetan",
|
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "Utzi hutsik erabiltzaile izenarako (lehentsia). Bestela zehaztu LDAP/AD atributua.",
|
||||
"Help" => "Laguntza"
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "عملیات حذف پیکربندی سرور ناموفق ماند",
|
||||
"The configuration is valid and the connection could be established!" => "پیکربندی معتبر است و ارتباط می تواند برقرار شود",
|
||||
"Deletion failed" => "حذف کردن انجام نشد",
|
||||
"Keep settings?" => "آیا تنظیمات ذخیره شود ؟",
|
||||
"Connection test succeeded" => "تست اتصال با موفقیت انجام گردید",
|
||||
"Connection test failed" => "تست اتصال ناموفق بود",
|
||||
"Do you really want to delete the current Server Configuration?" => "آیا واقعا می خواهید پیکربندی کنونی سرور را حذف کنید؟",
|
||||
"Confirm Deletion" => "تایید حذف",
|
||||
"Server configuration" => "پیکربندی سرور",
|
||||
"Add Server Configuration" => "افزودن پیکربندی سرور",
|
||||
"Host" => "میزبانی",
|
||||
"Password" => "رمز عبور",
|
||||
"Port" => "درگاه",
|
||||
"in bytes" => "در بایت",
|
||||
"Help" => "راهنما"
|
||||
);
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Deletion failed" => "Poisto epäonnistui",
|
||||
"Keep settings?" => "Säilytetäänkö asetukset?",
|
||||
"Cannot add server configuration" => "Palvelinasetusten lisäys epäonnistui",
|
||||
"Connection test succeeded" => "Yhteystesti onnistui",
|
||||
"Connection test failed" => "Yhteystesti epäonnistui",
|
||||
"Confirm Deletion" => "Vahvista poisto",
|
||||
"Host" => "Isäntä",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Voit jättää protokollan määrittämättä, paitsi kun vaadit SSL:ää. Aloita silloin ldaps://",
|
||||
"Base DN" => "Oletus DN",
|
||||
|
@ -17,13 +22,16 @@
|
|||
"Group Filter" => "Ryhmien suodatus",
|
||||
"Defines the filter to apply, when retrieving groups." => "Määrittelee käytettävän suodattimen, kun ryhmiä haetaan. ",
|
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "ilman paikanvaraustermiä, ts. \"objectClass=posixGroup\".",
|
||||
"Connection Settings" => "Yhteysasetukset",
|
||||
"Port" => "Portti",
|
||||
"Disable Main Server" => "Poista pääpalvelin käytöstä",
|
||||
"Use TLS" => "Käytä TLS:ää",
|
||||
"Case insensitve LDAP server (Windows)" => "Kirjainkoosta piittamaton LDAP-palvelin (Windows)",
|
||||
"Turn off SSL certificate validation." => "Poista käytöstä SSL-varmenteen vahvistus",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Jos yhteys toimii vain tällä valinnalla, siirrä LDAP-palvelimen SSL-varmenne ownCloud-palvelimellesi.",
|
||||
"Not recommended, use for testing only." => "Ei suositella, käytä vain testausta varten.",
|
||||
"in seconds. A change empties the cache." => "sekunneissa. Muutos tyhjentää välimuistin.",
|
||||
"Directory Settings" => "Hakemistoasetukset",
|
||||
"User Display Name Field" => "Käyttäjän näytettävän nimen kenttä",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "LDAP-attribuutti, jota käytetään käyttäjän ownCloud-käyttäjänimenä ",
|
||||
"Base User Tree" => "Oletuskäyttäjäpuu",
|
||||
|
|
|
@ -1,9 +1,24 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "Non foi posíbel eliminar a configuración do servidor",
|
||||
"The configuration is valid and the connection could be established!" => "A configuración é correcta e pode estabelecerse a conexión.",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "A configuración é correcta, mais a ligazón non. Comprobe a configuración do servidor e as credenciais.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "A configuración non é correcta. Vexa o rexistro de ownCloud para máis detalles",
|
||||
"Deletion failed" => "Fallou o borrado",
|
||||
"Take over settings from recent server configuration?" => "Tomar os recentes axustes de configuración do servidor?",
|
||||
"Keep settings?" => "Manter os axustes?",
|
||||
"Cannot add server configuration" => "Non é posíbel engadir a configuración do servidor",
|
||||
"Connection test succeeded" => "A proba de conexión foi satisfactoria",
|
||||
"Connection test failed" => "A proba de conexión fracasou",
|
||||
"Do you really want to delete the current Server Configuration?" => "Confirma que quere eliminar a configuración actual do servidor?",
|
||||
"Confirm Deletion" => "Confirmar a eliminación",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>Aviso:</b> Os aplicativos user_ldap e user_webdavauth son incompatíbeis. Pode acontecer un comportamento estraño. Consulte co administrador do sistema para desactivar un deles.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>Aviso:</b> O módulo PHP LDAP non está instalado, o servidor non funcionará. Consulte co administrador do sistema para instalalo.",
|
||||
"Server configuration" => "Configuración do servidor",
|
||||
"Add Server Configuration" => "Engadir a configuración do servidor",
|
||||
"Host" => "Servidor",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Pode omitir o protocolo agás que precise de SSL. Nese caso comece con ldaps://",
|
||||
"Base DN" => "DN base",
|
||||
"One Base DN per line" => "Un DN base por liña",
|
||||
"You can specify Base DN for users and groups in the Advanced tab" => "Pode especificar a DN base para usuarios e grupos na lapela de «Avanzado»",
|
||||
"User DN" => "DN do usuario",
|
||||
"The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty." => "O DN do cliente do usuario co que hai que estabelecer unha conexión, p.ex uid=axente, dc=exemplo, dc=com. Para o acceso anónimo deixe o DN e o contrasinal baleiros.",
|
||||
|
@ -18,20 +33,36 @@
|
|||
"Group Filter" => "Filtro de grupo",
|
||||
"Defines the filter to apply, when retrieving groups." => "Define o filtro a aplicar cando se recompilan os grupos.",
|
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "sen ningunha marca de posición, como p.ex «objectClass=grupoPosix».",
|
||||
"Connection Settings" => "Axustes da conexión",
|
||||
"Configuration Active" => "Configuración activa",
|
||||
"When unchecked, this configuration will be skipped." => "Se está sen marcar, omítese esta configuración.",
|
||||
"Port" => "Porto",
|
||||
"Backup (Replica) Host" => "Servidor da copia de seguranza (Réplica)",
|
||||
"Give an optional backup host. It must be a replica of the main LDAP/AD server." => "Indicar un servidor de copia de seguranza opcional. Debe ser unha réplica do servidor principal LDAP/AD.",
|
||||
"Backup (Replica) Port" => "Porto da copia de seguranza (Réplica)",
|
||||
"Disable Main Server" => "Desactivar o servidor principal",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Cando está activado, ownCloud só se conectará ao servidor de réplica.",
|
||||
"Use TLS" => "Usar TLS",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "Non utilizalo ademais para conexións LDAPS xa que fallará.",
|
||||
"Case insensitve LDAP server (Windows)" => "Servidor LDAP que non distingue entre maiúsculas e minúsculas (Windows)",
|
||||
"Turn off SSL certificate validation." => "Desactiva a validación do certificado SSL.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Se a conexión só funciona con esta opción importa o certificado SSL do servidor LDAP no seu servidor ownCloud.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Se a conexión só funciona con esta opción importe o certificado SSL do servidor LDAP no seu servidor ownCloud.",
|
||||
"Not recommended, use for testing only." => "Non se recomenda. Só para probas.",
|
||||
"in seconds. A change empties the cache." => "en segundos. Calquera cambio baleira a caché.",
|
||||
"Directory Settings" => "Axustes do directorio",
|
||||
"User Display Name Field" => "Campo de mostra do nome de usuario",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "O atributo LDAP a empregar para xerar o nome de usuario de ownCloud.",
|
||||
"Base User Tree" => "Base da árbore de usuarios",
|
||||
"One User Base DN per line" => "Un DN base de usuario por liña",
|
||||
"User Search Attributes" => "Atributos de busca do usuario",
|
||||
"Optional; one attribute per line" => "Opcional; un atributo por liña",
|
||||
"Group Display Name Field" => "Campo de mostra do nome de grupo",
|
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "O atributo LDAP úsase para xerar os nomes dos grupos de ownCloud.",
|
||||
"Base Group Tree" => "Base da árbore de grupo",
|
||||
"One Group Base DN per line" => "Un DN base de grupo por liña",
|
||||
"Group Search Attributes" => "Atributos de busca do grupo",
|
||||
"Group-Member association" => "Asociación de grupos e membros",
|
||||
"Special Attributes" => "Atributos especiais",
|
||||
"in bytes" => "en bytes",
|
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "Deixar baleiro para o nome de usuario (predeterminado). Noutro caso, especifique un atributo LDAP/AD.",
|
||||
"Help" => "Axuda"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Help" => "सहयोग"
|
||||
);
|
|
@ -1,7 +1,20 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "Nem sikerült törölni a kiszolgáló konfigurációját",
|
||||
"The configuration is valid and the connection could be established!" => "A konfiguráció érvényes, és a kapcsolat létrehozható!",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "A konfiguráció érvényes, de a kapcsolat nem hozható létre. Kérem ellenőrizze a kiszolgáló beállításait, és az elérési adatokat.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "Érvénytelen konfiguráció. További információkért nézze meg az ownCloud naplófájlját.",
|
||||
"Deletion failed" => "A törlés nem sikerült",
|
||||
"Take over settings from recent server configuration?" => "Vegyük át a beállításokat az előző konfigurációból?",
|
||||
"Keep settings?" => "Tartsuk meg a beállításokat?",
|
||||
"Cannot add server configuration" => "Az új kiszolgáló konfigurációja nem hozható létre",
|
||||
"Connection test succeeded" => "A kapcsolatellenőrzés eredménye: sikerült",
|
||||
"Connection test failed" => "A kapcsolatellenőrzés eredménye: nem sikerült",
|
||||
"Do you really want to delete the current Server Configuration?" => "Tényleg törölni szeretné a kiszolgáló beállításait?",
|
||||
"Confirm Deletion" => "A törlés megerősítése",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>Figyelem:</b> a user_ldap és user_webdavauth alkalmazások nem kompatibilisek. Együttes használatuk váratlan eredményekhez vezethet. Kérje meg a rendszergazdát, hogy a kettő közül kapcsolja ki az egyiket.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>Figyelmeztetés:</b> Az LDAP PHP modul nincs telepítve, ezért ez az alrendszer nem fog működni. Kérje meg a rendszergazdát, hogy telepítse!",
|
||||
"Server configuration" => "A kiszolgálók beállításai",
|
||||
"Add Server Configuration" => "Új kiszolgáló beállításának hozzáadása",
|
||||
"Host" => "Kiszolgáló",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "A protokoll előtag elhagyható, kivéve, ha SSL-t kíván használni. Ebben az esetben kezdje így: ldaps://",
|
||||
"Base DN" => "DN-gyökér",
|
||||
|
@ -20,22 +33,36 @@
|
|||
"Group Filter" => "A csoportok szűrője",
|
||||
"Defines the filter to apply, when retrieving groups." => "Ez a szűrő érvényes a csoportok listázásakor.",
|
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "itt ne használjunk változót, pl. \"objectClass=posixGroup\".",
|
||||
"Connection Settings" => "Kapcsolati beállítások",
|
||||
"Configuration Active" => "A beállítás aktív",
|
||||
"When unchecked, this configuration will be skipped." => "Ha nincs kipipálva, ez a beállítás kihagyódik.",
|
||||
"Port" => "Port",
|
||||
"Backup (Replica) Host" => "Másodkiszolgáló (replika)",
|
||||
"Give an optional backup host. It must be a replica of the main LDAP/AD server." => "Adjon meg egy opcionális másodkiszolgálót. Ez a fő LDAP/AD kiszolgáló szinkron másolata (replikája) kell legyen.",
|
||||
"Backup (Replica) Port" => "A másodkiszolgáló (replika) portszáma",
|
||||
"Disable Main Server" => "A fő szerver kihagyása",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Ha ezt bekapcsoljuk, akkor az ownCloud csak a másodszerverekhez kapcsolódik.",
|
||||
"Use TLS" => "Használjunk TLS-t",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "LDAPS kapcsolatok esetén ne kapcsoljuk be, mert nem fog működni.",
|
||||
"Case insensitve LDAP server (Windows)" => "Az LDAP-kiszolgáló nem tesz különbséget a kis- és nagybetűk között (Windows)",
|
||||
"Turn off SSL certificate validation." => "Ne ellenőrizzük az SSL-tanúsítvány érvényességét",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Ha a kapcsolat csak ezzel a beállítással működik, akkor importálja az LDAP-kiszolgáló SSL tanúsítványát az ownCloud kiszolgálóra!",
|
||||
"Not recommended, use for testing only." => "Nem javasolt, csak tesztelésre érdemes használni.",
|
||||
"in seconds. A change empties the cache." => "másodpercben. A változtatás törli a cache tartalmát.",
|
||||
"Directory Settings" => "Címtár beállítások",
|
||||
"User Display Name Field" => "A felhasználónév mezője",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "Ebből az LDAP attribútumból képződik a felhasználó elnevezése, ami megjelenik az ownCloudban.",
|
||||
"Base User Tree" => "A felhasználói fa gyökere",
|
||||
"One User Base DN per line" => "Soronként egy felhasználói fa gyökerét adhatjuk meg",
|
||||
"User Search Attributes" => "A felhasználók lekérdezett attribútumai",
|
||||
"Optional; one attribute per line" => "Nem kötelező megadni, soronként egy attribútum",
|
||||
"Group Display Name Field" => "A csoport nevének mezője",
|
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "Ebből az LDAP attribútumból képződik a csoport elnevezése, ami megjelenik az ownCloudban.",
|
||||
"Base Group Tree" => "A csoportfa gyökere",
|
||||
"One Group Base DN per line" => "Soronként egy csoportfa gyökerét adhatjuk meg",
|
||||
"Group Search Attributes" => "A csoportok lekérdezett attribútumai",
|
||||
"Group-Member association" => "A csoporttagság attribútuma",
|
||||
"Special Attributes" => "Különleges attribútumok",
|
||||
"in bytes" => "bájtban",
|
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "Hagyja üresen, ha a felhasználónevet kívánja használni. Ellenkező esetben adjon meg egy LDAP/AD attribútumot!",
|
||||
"Help" => "Súgó"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Deletion failed" => "삭제 실패",
|
||||
"Keep settings?" => "설정을 유지합니까?",
|
||||
"Connection test succeeded" => "연결 시험 성공",
|
||||
"Connection test failed" => "연결 시험 실패",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>경고:</b> user_ldap 앱과 user_webdavauth 앱은 호환되지 않습니다. 오동작을 일으킬 수 있으므로, 시스템 관리자에게 요청하여 둘 중 하나만 사용하도록 하십시오.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>경고:</b> PHP LDAP 모듈이 비활성화되어 있거나 설치되어 있지 않습니다. 백엔드를 사용할 수 없습니다. 시스템 관리자에게 설치를 요청하십시오.",
|
||||
"Host" => "호스트",
|
||||
|
@ -20,21 +23,29 @@
|
|||
"Group Filter" => "그룹 필터",
|
||||
"Defines the filter to apply, when retrieving groups." => "그룹을 검색할 때 적용할 필터를 정의합니다.",
|
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "자리 비움자를 사용할 수 없습니다. 예제: \"objectClass=posixGroup\"",
|
||||
"Connection Settings" => "연결 설정",
|
||||
"Configuration Active" => "구성 활성화",
|
||||
"Port" => "포트",
|
||||
"Backup (Replica) Host" => "백업 (복제) 포트",
|
||||
"Backup (Replica) Port" => "백업 (복제) 포트",
|
||||
"Disable Main Server" => "주 서버 비활성화",
|
||||
"Use TLS" => "TLS 사용",
|
||||
"Case insensitve LDAP server (Windows)" => "서버에서 대소문자를 구분하지 않음 (Windows)",
|
||||
"Turn off SSL certificate validation." => "SSL 인증서 유효성 검사를 해제합니다.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "이 옵션을 사용해야 연결할 수 있는 경우에는 LDAP 서버의 SSL 인증서를 ownCloud로 가져올 수 있습니다.",
|
||||
"Not recommended, use for testing only." => "추천하지 않음, 테스트로만 사용하십시오.",
|
||||
"in seconds. A change empties the cache." => "초. 항목 변경 시 캐시가 갱신됩니다.",
|
||||
"Directory Settings" => "디렉토리 설정",
|
||||
"User Display Name Field" => "사용자의 표시 이름 필드",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "LDAP 속성은 사용자의 ownCloud 이름을 생성하기 위해 사용합니다.",
|
||||
"Base User Tree" => "기본 사용자 트리",
|
||||
"One User Base DN per line" => "사용자 DN을 한 줄에 하나씩 입력하십시오",
|
||||
"User Search Attributes" => "사용자 검색 속성",
|
||||
"Group Display Name Field" => "그룹의 표시 이름 필드",
|
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "LDAP 속성은 그룹의 ownCloud 이름을 생성하기 위해 사용합니다.",
|
||||
"Base Group Tree" => "기본 그룹 트리",
|
||||
"One Group Base DN per line" => "그룹 기본 DN을 한 줄에 하나씩 입력하십시오",
|
||||
"Group Search Attributes" => "그룹 검색 속성",
|
||||
"Group-Member association" => "그룹-회원 연결",
|
||||
"in bytes" => "바이트",
|
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "사용자 이름을 사용하려면 비워 두십시오(기본값). 기타 경우 LDAP/AD 속성을 지정하십시오.",
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
"Disable Main Server" => "Deactiveren hoofdserver",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Wanneer ingeschakeld, zal ownCloud allen verbinden met de replicaserver.",
|
||||
"Use TLS" => "Gebruik TLS",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "Gebruik het niet voor LDAPS verbindingen, dat gaat niet lukken.",
|
||||
"Case insensitve LDAP server (Windows)" => "Niet-hoofdlettergevoelige LDAP server (Windows)",
|
||||
"Turn off SSL certificate validation." => "Schakel SSL certificaat validatie uit.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Als de connectie alleen werkt met deze optie, importeer dan het LDAP server SSL certificaat naar je ownCloud server.",
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Deletion failed" => "Remoção falhou",
|
||||
"Keep settings?" => "Manter ajustes?",
|
||||
"Confirm Deletion" => "Confirmar Exclusão",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>Aviso:</b> Os aplicativos user_ldap e user_webdavauth são incompatíveis. Você deverá experienciar comportamento inesperado. Por favor, peça ao seu administrador do sistema para desabilitar um deles.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>Aviso:</b> O módulo PHP LDAP não está instalado, o backend não funcionará. Por favor, peça ao seu administrador do sistema para instalá-lo.",
|
||||
"Host" => "Host",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Você pode omitir o protocolo, exceto quando requerer SSL. Então inicie com ldaps://",
|
||||
"Base DN" => "DN Base",
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php $TRANSLATIONS = array(
|
||||
"Failed to delete the server configuration" => "Не удалось удалить конфигурацию сервера",
|
||||
"The configuration is valid and the connection could be established!" => "Конфигурация правильная и подключение может быть установлено!",
|
||||
"The configuration is valid, but the Bind failed. Please check the server settings and credentials." => "Конфигурация верна, но операция подключения завершилась неудачно. Пожалуйста, проверьте настройки сервера и учетные данные.",
|
||||
"The configuration is invalid. Please look in the ownCloud log for further details." => "Конфигурация не верна. Пожалуйста, посмотрите в журнале ownCloud детали.",
|
||||
"Deletion failed" => "Удаление не удалось",
|
||||
"Take over settings from recent server configuration?" => "Принять настройки из последней конфигурации сервера?",
|
||||
|
@ -11,11 +12,13 @@
|
|||
"Do you really want to delete the current Server Configuration?" => "Вы действительно хотите удалить существующую конфигурацию сервера?",
|
||||
"Confirm Deletion" => "Подтверждение удаления",
|
||||
"<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them." => "<b>Внимание:</b>Приложения user_ldap и user_webdavauth несовместимы. Вы можете столкнуться с неожиданным поведением. Пожалуйста, обратитесь к системному администратору, чтобы отключить одно из них.",
|
||||
"<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it." => "<b>Внимание:</b> Модуль LDAP для PHP не установлен, бэкенд не будет работать. Пожалуйста, попросите вашего системного администратора его установить. ",
|
||||
"Server configuration" => "Конфигурация сервера",
|
||||
"Add Server Configuration" => "Добавить конфигурацию сервера",
|
||||
"Host" => "Сервер",
|
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Можно опустить протокол, за исключением того, когда вам требуется SSL. Тогда начните с ldaps :/ /",
|
||||
"Base DN" => "Базовый DN",
|
||||
"One Base DN per line" => "По одному базовому DN в строке.",
|
||||
"You can specify Base DN for users and groups in the Advanced tab" => "Вы можете задать Base DN для пользователей и групп на вкладке \"Расширенное\"",
|
||||
"User DN" => "DN пользователя",
|
||||
"The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty." => "DN-клиента пользователя, с которым связывают должно быть заполнено, например, uid=агент, dc=пример, dc=com. Для анонимного доступа, оставьте DN и пароль пустыми.",
|
||||
|
@ -32,9 +35,15 @@
|
|||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "без заполнения, например \"objectClass=posixGroup\".",
|
||||
"Connection Settings" => "Настройки подключения",
|
||||
"Configuration Active" => "Конфигурация активна",
|
||||
"When unchecked, this configuration will be skipped." => "Когда галочка снята, эта конфигурация будет пропущена.",
|
||||
"Port" => "Порт",
|
||||
"Backup (Replica) Host" => "Адрес резервного сервера",
|
||||
"Give an optional backup host. It must be a replica of the main LDAP/AD server." => "Укажите дополнительный резервный сервер. Он должен быть репликой главного LDAP/AD сервера.",
|
||||
"Backup (Replica) Port" => "Порт резервного сервера",
|
||||
"Disable Main Server" => "Отключение главного сервера",
|
||||
"When switched on, ownCloud will only connect to the replica server." => "Когда включено, ownCloud будет соединяться только с резервным сервером.",
|
||||
"Use TLS" => "Использовать TLS",
|
||||
"Do not use it additionally for LDAPS connections, it will fail." => "Не используйте совместно с безопасными подключениями (LDAPS), это не сработает.",
|
||||
"Case insensitve LDAP server (Windows)" => "Нечувствительный к регистру сервер LDAP (Windows)",
|
||||
"Turn off SSL certificate validation." => "Отключить проверку сертификата SSL.",
|
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Если соединение работает только с этой опцией, импортируйте на ваш сервер ownCloud сертификат SSL сервера LDAP.",
|
||||
|
@ -44,11 +53,14 @@
|
|||
"User Display Name Field" => "Поле отображаемого имени пользователя",
|
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "Атрибут LDAP для генерации имени пользователя ownCloud.",
|
||||
"Base User Tree" => "База пользовательского дерева",
|
||||
"One User Base DN per line" => "По одной базовому DN пользователей в строке.",
|
||||
"User Search Attributes" => "Поисковые атрибуты пользователя",
|
||||
"Optional; one attribute per line" => "Опционально; один атрибут на линию",
|
||||
"Group Display Name Field" => "Поле отображаемого имени группы",
|
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "Атрибут LDAP для генерации имени группы ownCloud.",
|
||||
"Base Group Tree" => "База группового дерева",
|
||||
"One Group Base DN per line" => "По одной базовому DN групп в строке.",
|
||||
"Group Search Attributes" => "Атрибуты поиска для группы",
|
||||
"Group-Member association" => "Ассоциация Группа-Участник",
|
||||
"Special Attributes" => "Специальные атрибуты",
|
||||
"in bytes" => "в байтах",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ownCloud – LDAP Access
|
||||
*
|
||||
* @author Arthur Schiwon
|
||||
* @copyright 2012 Arthur Schiwon blizzz@owncloud.com
|
||||
* @copyright 2012, 2013 Arthur Schiwon blizzz@owncloud.com
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
|
@ -57,8 +57,8 @@ abstract class Access {
|
|||
\OCP\Util::writeLog('user_ldap', 'LDAP resource not available.', \OCP\Util::DEBUG);
|
||||
return false;
|
||||
}
|
||||
$rr = @ldap_read($cr, $dn, $filter, array($attr));
|
||||
$dn = $this->DNasBaseParameter($dn);
|
||||
$rr = @ldap_read($cr, $dn, $filter, array($attr));
|
||||
if(!is_resource($rr)) {
|
||||
\OCP\Util::writeLog('user_ldap', 'readAttribute failed for DN '.$dn, \OCP\Util::DEBUG);
|
||||
//in case an error occurs , e.g. object does not exist
|
||||
|
@ -293,6 +293,10 @@ abstract class Access {
|
|||
$query->execute(array($dn, $uuid));
|
||||
return $component;
|
||||
}
|
||||
} else {
|
||||
//If the UUID can't be detected something is foul.
|
||||
\OCP\Util::writeLog('user_ldap', 'Cannot determine UUID for '.$dn.'. Skipping.', \OCP\Util::INFO);
|
||||
return false;
|
||||
}
|
||||
|
||||
if(is_null($ldapname)) {
|
||||
|
@ -303,21 +307,24 @@ abstract class Access {
|
|||
}
|
||||
$ldapname = $ldapname[0];
|
||||
}
|
||||
$ldapname = $this->sanitizeUsername($ldapname);
|
||||
$intname = $isUser ? $this->sanitizeUsername($uuid) : $this->sanitizeUsername($ldapname);
|
||||
|
||||
//a new user/group! Add it only if it doesn't conflict with other backend's users or existing groups
|
||||
if(($isUser && !\OCP\User::userExists($ldapname, 'OCA\\user_ldap\\USER_LDAP')) || (!$isUser && !\OC_Group::groupExists($ldapname))) {
|
||||
if($this->mapComponent($dn, $ldapname, $isUser)) {
|
||||
return $ldapname;
|
||||
//disabling Cache is required to avoid that the new user is cached as not-existing in fooExists check
|
||||
$originalTTL = $this->connection->ldapCacheTTL;
|
||||
$this->connection->setConfiguration(array('ldapCacheTTL' => 0));
|
||||
if(($isUser && !\OCP\User::userExists($intname))
|
||||
|| (!$isUser && !\OC_Group::groupExists($intname))) {
|
||||
if($this->mapComponent($dn, $intname, $isUser)) {
|
||||
$this->connection->setConfiguration(array('ldapCacheTTL' => $originalTTL));
|
||||
return $intname;
|
||||
}
|
||||
}
|
||||
$this->connection->setConfiguration(array('ldapCacheTTL' => $originalTTL));
|
||||
|
||||
//doh! There is a conflict. We need to distinguish between users/groups. Adding indexes is an idea, but not much of a help for the user. The DN is ugly, but for now the only reasonable way. But we transform it to a readable format and remove the first part to only give the path where this object is located.
|
||||
$oc_name = $this->alternateOwnCloudName($ldapname, $dn);
|
||||
if(($isUser && !\OCP\User::userExists($oc_name)) || (!$isUser && !\OC_Group::groupExists($oc_name))) {
|
||||
if($this->mapComponent($dn, $oc_name, $isUser)) {
|
||||
return $oc_name;
|
||||
}
|
||||
$altname = $this->createAltInternalOwnCloudName($intname, $isUser);
|
||||
if($this->mapComponent($dn, $altname, $isUser)) {
|
||||
return $altname;
|
||||
}
|
||||
|
||||
//if everything else did not help..
|
||||
|
@ -400,18 +407,92 @@ abstract class Access {
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief creates a hopefully unique name for owncloud based on the display name and the dn of the LDAP object
|
||||
* @brief creates a unique name for internal ownCloud use for users. Don't call it directly.
|
||||
* @param $name the display name of the object
|
||||
* @param $dn the dn of the object
|
||||
* @returns string with with the name to use in ownCloud
|
||||
* @returns string with with the name to use in ownCloud or false if unsuccessful
|
||||
*
|
||||
* creates a hopefully unique name for owncloud based on the display name and the dn of the LDAP object
|
||||
* Instead of using this method directly, call
|
||||
* createAltInternalOwnCloudName($name, true)
|
||||
*/
|
||||
private function alternateOwnCloudName($name, $dn) {
|
||||
$ufn = ldap_dn2ufn($dn);
|
||||
$name = $name . '@' . trim(\OCP\Util::mb_substr_replace($ufn, '', 0, mb_strpos($ufn, ',', 0, 'UTF-8'), 'UTF-8'));
|
||||
$name = $this->sanitizeUsername($name);
|
||||
return $name;
|
||||
private function _createAltInternalOwnCloudNameForUsers($name) {
|
||||
$attempts = 0;
|
||||
//while loop is just a precaution. If a name is not generated within
|
||||
//20 attempts, something else is very wrong. Avoids infinite loop.
|
||||
while($attempts < 20){
|
||||
$altName = $name . '_' . uniqid();
|
||||
if(\OCP\User::userExists($altName)) {
|
||||
return $altName;
|
||||
}
|
||||
$attempts++;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief creates a unique name for internal ownCloud use for groups. Don't call it directly.
|
||||
* @param $name the display name of the object
|
||||
* @returns string with with the name to use in ownCloud or false if unsuccessful.
|
||||
*
|
||||
* Instead of using this method directly, call
|
||||
* createAltInternalOwnCloudName($name, false)
|
||||
*
|
||||
* Group names are also used as display names, so we do a sequential
|
||||
* numbering, e.g. Developers_42 when there are 41 other groups called
|
||||
* "Developers"
|
||||
*/
|
||||
private function _createAltInternalOwnCloudNameForGroups($name) {
|
||||
$query = \OCP\DB::prepare('
|
||||
SELECT `owncloud_name`
|
||||
FROM `'.$this->getMapTable(false).'`
|
||||
WHERE `owncloud_name` LIKE ?
|
||||
');
|
||||
|
||||
$usedNames = array();
|
||||
$res = $query->execute(array($name.'_%'));
|
||||
while($row = $res->fetchRow()) {
|
||||
$usedNames[] = $row['owncloud_name'];
|
||||
}
|
||||
if(!($usedNames) || count($usedNames) == 0) {
|
||||
$lastNo = 1; //will become name_2
|
||||
} else {
|
||||
natsort($usedNames);
|
||||
$lastname = array_pop($usedNames);
|
||||
$lastNo = intval(substr($lastname, strrpos($lastname, '_') + 1));
|
||||
}
|
||||
$altName = $name.'_'.strval($lastNo+1);
|
||||
unset($usedNames);
|
||||
|
||||
$attempts = 1;
|
||||
while($attempts < 21){
|
||||
//Pro forma check to be really sure it is unique
|
||||
//while loop is just a precaution. If a name is not generated within
|
||||
//20 attempts, something else is very wrong. Avoids infinite loop.
|
||||
if(!\OC_Group::groupExists($altName)) {
|
||||
return $altName;
|
||||
}
|
||||
$altName = $name . '_' . $lastNo + $attempts;
|
||||
$attempts++;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief creates a unique name for internal ownCloud use.
|
||||
* @param $name the display name of the object
|
||||
* @param $isUser boolean, whether name should be created for a user (true) or a group (false)
|
||||
* @returns string with with the name to use in ownCloud or false if unsuccessful
|
||||
*/
|
||||
private function createAltInternalOwnCloudName($name, $isUser) {
|
||||
$originalTTL = $this->connection->ldapCacheTTL;
|
||||
$this->connection->setConfiguration(array('ldapCacheTTL' => 0));
|
||||
if($isUser) {
|
||||
$altName = $this->_createAltInternalOwnCloudNameForUsers($name);
|
||||
} else {
|
||||
$altName = $this->_createAltInternalOwnCloudNameForGroups($name);
|
||||
}
|
||||
$this->connection->setConfiguration(array('ldapCacheTTL' => $originalTTL));
|
||||
|
||||
return $altName;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -192,7 +192,7 @@ class Connection {
|
|||
|
||||
private function getValue($varname) {
|
||||
static $defaults;
|
||||
if(is_null($defaults)){
|
||||
if(is_null($defaults)) {
|
||||
$defaults = $this->getDefaults();
|
||||
}
|
||||
return \OCP\Config::getAppValue($this->configID,
|
||||
|
@ -235,7 +235,7 @@ class Connection {
|
|||
$this->config['turnOffCertCheck']
|
||||
= $this->$v('ldap_turn_off_cert_check');
|
||||
$this->config['ldapUserDisplayName']
|
||||
= mb_strtolower($this->$v('ldap_display_name'),'UTF-8');
|
||||
= mb_strtolower($this->$v('ldap_display_name'), 'UTF-8');
|
||||
$this->config['ldapUserFilter']
|
||||
= $this->$v('ldap_userlist_filter');
|
||||
$this->config['ldapGroupFilter'] = $this->$v('ldap_group_filter');
|
||||
|
@ -295,7 +295,8 @@ class Connection {
|
|||
|
||||
foreach($config as $parameter => $value) {
|
||||
if(($parameter == 'homeFolderNamingRule'
|
||||
|| $params[$parameter] == 'homeFolderNamingRule')
|
||||
|| (isset($params[$parameter])
|
||||
&& $params[$parameter] == 'homeFolderNamingRule'))
|
||||
&& !empty($value)) {
|
||||
$value = 'attr:'.$value;
|
||||
}
|
||||
|
@ -336,7 +337,7 @@ class Connection {
|
|||
case 'ldapBaseGroups':
|
||||
case 'ldapAttributesForUserSearch':
|
||||
case 'ldapAttributesForGroupSearch':
|
||||
if(is_array($value)){
|
||||
if(is_array($value)) {
|
||||
$value = implode("\n", $value);
|
||||
}
|
||||
break;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue