Merge branch 'master' into versioning_preview_shared
This commit is contained in:
commit
c32c5979d8
515 changed files with 4775 additions and 6597 deletions
|
@ -105,8 +105,6 @@ table th#headerDate, table td.date {
|
|||
box-sizing: border-box;
|
||||
position: relative;
|
||||
min-width: 11em;
|
||||
display: block;
|
||||
height: 51px;
|
||||
}
|
||||
|
||||
/* Multiselect bar */
|
||||
|
@ -161,8 +159,6 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:.3em 0
|
|||
}
|
||||
.modified {
|
||||
position: relative;
|
||||
top: 11px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
/* TODO fix usability bug (accidental file/folder selection) */
|
||||
|
|
|
@ -44,6 +44,8 @@ $TRANSLATIONS = array(
|
|||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Invalid name: '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed.",
|
||||
"Your storage is full, files can not be updated or synced anymore!" => "Your storage is full, files can not be updated or synced anymore!",
|
||||
"Your storage is almost full ({usedSpacePercent}%)" => "Your storage is almost full ({usedSpacePercent}%)",
|
||||
"Encryption App is enabled but your keys are not initialized, please log-out and log-in again" => "Encryption App is enabled but your keys are not initialised, please log-out and log-in again",
|
||||
"Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files." => "Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files.",
|
||||
"Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files.",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "Your download is being prepared. This might take some time if the files are big.",
|
||||
"Error moving file" => "Error moving file",
|
||||
|
|
|
@ -44,6 +44,8 @@ $TRANSLATIONS = array(
|
|||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Nombre Invalido, \"\\\", \"/\", \"<\", \">\", \":\", \"\", \"|\" \"?\" y \"*\" no están permitidos ",
|
||||
"Your storage is full, files can not be updated or synced anymore!" => "Su almacenamiento está lleno, ¡no se pueden actualizar o sincronizar más!",
|
||||
"Your storage is almost full ({usedSpacePercent}%)" => "Su almacenamiento está casi lleno ({usedSpacePercent}%)",
|
||||
"Encryption App is enabled but your keys are not initialized, please log-out and log-in again" => "Encryption App está habilitada pero tus claves no han sido inicializadas, por favor, cierra la sesión y vuelva a iniciarla de nuevo.",
|
||||
"Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files." => "La clave privada no es válida para Encryption App. Por favor, actualiza la contraseña de tu clave privada en tus ajustes personales para recuperar el acceso a tus archivos encriptados.",
|
||||
"Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "El cifrado ha sido deshabilitado pero tus archivos permanecen cifrados. Por favor, ve a tus ajustes personales para descifrar tus archivos.",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "Su descarga está siendo preparada. Esto puede tardar algún tiempo si los archivos son grandes.",
|
||||
"Error moving file" => "Error moviendo archivo",
|
||||
|
|
|
@ -17,6 +17,7 @@ $TRANSLATIONS = array(
|
|||
"Upload failed. Could not find uploaded file" => "Üleslaadimine ebaõnnestus. Üleslaetud faili ei leitud",
|
||||
"Invalid directory." => "Vigane kaust.",
|
||||
"Files" => "Failid",
|
||||
"Unable to upload {filename} as it is a directory or has 0 bytes" => "Ei saa üles laadida {filename}, kuna see on kataloog või selle suurus on 0 baiti",
|
||||
"Not enough space available" => "Pole piisavalt ruumi",
|
||||
"Upload cancelled." => "Üleslaadimine tühistati.",
|
||||
"Could not get result from server." => "Serverist ei saadud tulemusi",
|
||||
|
@ -43,6 +44,8 @@ $TRANSLATIONS = array(
|
|||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Vigane nimi, '\\', '/', '<', '>', ':', '\"', '|', '?' ja '*' pole lubatud.",
|
||||
"Your storage is full, files can not be updated or synced anymore!" => "Sinu andmemaht on täis! Faile ei uuendata ega sünkroniseerita!",
|
||||
"Your storage is almost full ({usedSpacePercent}%)" => "Su andmemaht on peaaegu täis ({usedSpacePercent}%)",
|
||||
"Encryption App is enabled but your keys are not initialized, please log-out and log-in again" => "Krüpteerimisrakend on lubatud, kuid võtmeid pole lähtestatud. Palun logi välja ning uuesti sisse.",
|
||||
"Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files." => "Vigane Krüpteerimisrakendi privaatvõti . Palun uuenda oma privaatse võtme parool oma personaasete seadete all taastamaks ligipääsu oma krüpteeritud failidele.",
|
||||
"Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "Krüpteering on keelatud, kuid sinu failid on endiselt krüpteeritud. Palun vaata oma personaalseid seadeid oma failide dekrüpteerimiseks.",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "Valmistatakse allalaadimist. See võib võtta veidi aega, kui on tegu suurte failidega. ",
|
||||
"Error moving file" => "Viga faili eemaldamisel",
|
||||
|
|
|
@ -44,6 +44,8 @@ $TRANSLATIONS = array(
|
|||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Nom invalide, les caractères '\\', '/', '<', '>', ':', '\"', '|', '?' et '*' ne sont pas autorisés.",
|
||||
"Your storage is full, files can not be updated or synced anymore!" => "Votre espage de stockage est plein, les fichiers ne peuvent plus être téléversés ou synchronisés !",
|
||||
"Your storage is almost full ({usedSpacePercent}%)" => "Votre espace de stockage est presque plein ({usedSpacePercent}%)",
|
||||
"Encryption App is enabled but your keys are not initialized, please log-out and log-in again" => "L'application de chiffrement est activée mais vos clés ne sont pas initialisées, veuillez vous déconnecter et ensuite vous reconnecter.",
|
||||
"Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files." => "Votre clef privée pour l'application de chiffrement est invalide ! Veuillez mettre à jour le mot de passe de votre clef privée dans vos paramètres personnels pour récupérer l'accès à vos fichiers chiffrés.",
|
||||
"Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "Le chiffrement était désactivé mais vos fichiers sont toujours chiffrés. Veuillez vous rendre sur vos Paramètres personnels pour déchiffrer vos fichiers.",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "Votre téléchargement est cours de préparation. Ceci peut nécessiter un certain temps si les fichiers sont volumineux.",
|
||||
"Error moving file" => "Erreur lors du déplacement du fichier",
|
||||
|
|
|
@ -13,10 +13,12 @@ $TRANSLATIONS = array(
|
|||
"Missing a temporary folder" => "Está a faltar a pasta temporária",
|
||||
"Failed to write to disk" => "Falhou a escrita no disco",
|
||||
"Not enough storage available" => "Não há espaço suficiente em disco",
|
||||
"Upload failed. Could not get file info." => "O carregamento falhou. Não foi possível obter a informação do ficheiro.",
|
||||
"Invalid directory." => "Directório Inválido",
|
||||
"Files" => "Ficheiros",
|
||||
"Not enough space available" => "Espaço em disco insuficiente!",
|
||||
"Upload cancelled." => "Envio cancelado.",
|
||||
"Could not get result from server." => "Não foi possível obter o resultado do servidor.",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "Envio de ficheiro em progresso. Irá cancelar o envio se sair da página agora.",
|
||||
"URL cannot be empty." => "O URL não pode estar vazio.",
|
||||
"Invalid folder name. Usage of 'Shared' is reserved by ownCloud" => "Nome da pasta inválido. Palavra 'Shared' é reservado pela ownCloud",
|
||||
|
@ -42,6 +44,7 @@ $TRANSLATIONS = array(
|
|||
"Your storage is almost full ({usedSpacePercent}%)" => "O seu espaço de armazenamento está quase cheiro ({usedSpacePercent}%)",
|
||||
"Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files." => "A encriptação foi desactivada mas os seus ficheiros continuam encriptados. Por favor consulte as suas definições pessoais para desencriptar os ficheiros.",
|
||||
"Your download is being prepared. This might take some time if the files are big." => "O seu download está a ser preparado. Este processo pode demorar algum tempo se os ficheiros forem grandes.",
|
||||
"Error moving file" => "Erro ao mover o ficheiro",
|
||||
"Name" => "Nome",
|
||||
"Size" => "Tamanho",
|
||||
"Modified" => "Modificado",
|
||||
|
|
|
@ -36,7 +36,7 @@ $totalsize = 0; ?>
|
|||
<?php else: ?>
|
||||
<a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>">
|
||||
<label class="filetext" title="" for="select-<?php p($file['fileid']); ?>"></label>
|
||||
<span class="nametext"><?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
|
||||
<span class="nametext"><?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span></span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php if($file['type'] == 'dir'):?>
|
||||
|
|
|
@ -5,26 +5,39 @@ if (!isset($_)) { //also provide standalone error page
|
|||
|
||||
$l = OC_L10N::get('files_encryption');
|
||||
|
||||
if (isset($_GET['i']) && $_GET['i'] === '0') {
|
||||
$errorMsg = $l->t('Encryption app not initialized! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialize the encryption app.');
|
||||
$init = '0';
|
||||
if (isset($_GET['errorCode'])) {
|
||||
$errorCode = $_GET['errorCode'];
|
||||
switch ($errorCode) {
|
||||
case \OCA\Encryption\Crypt::ENCRYPTION_NOT_INITIALIZED_ERROR:
|
||||
$errorMsg = $l->t('Encryption app not initialized! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialize the encryption app.');
|
||||
break;
|
||||
case \OCA\Encryption\Crypt::ENCRYPTION_PRIVATE_KEY_NOT_VALID_ERROR:
|
||||
$errorMsg = $l->t('Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files.');
|
||||
break;
|
||||
case \OCA\Encryption\Crypt::ENCRYPTION_NO_SHARE_KEY_FOUND:
|
||||
$errorMsg = $l->t('Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.');
|
||||
break;
|
||||
default:
|
||||
$errorMsg = $l->t("Unknown error please check your system settings or contact your administrator");
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
$errorMsg = $l->t('Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files.');
|
||||
$init = '1';
|
||||
$errorCode = \OCA\Encryption\Crypt::ENCRYPTION_UNKNOWN_ERROR;
|
||||
$errorMsg = $l->t("Unknown error please check your system settings or contact your administrator");
|
||||
}
|
||||
|
||||
if (isset($_GET['p']) && $_GET['p'] === '1') {
|
||||
header('HTTP/1.0 404 ' . $errorMsg);
|
||||
header('HTTP/1.0 403 ' . $errorMsg);
|
||||
}
|
||||
|
||||
// check if ajax request
|
||||
if (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
|
||||
\OCP\JSON::error(array('data' => array('message' => $errorMsg)));
|
||||
} else {
|
||||
header('HTTP/1.0 404 ' . $errorMsg);
|
||||
header('HTTP/1.0 403 ' . $errorMsg);
|
||||
$tmpl = new OC_Template('files_encryption', 'invalid_private_key', 'guest');
|
||||
$tmpl->assign('message', $errorMsg);
|
||||
$tmpl->assign('init', $init);
|
||||
$tmpl->assign('errorCode', $errorCode);
|
||||
$tmpl->printPage();
|
||||
}
|
||||
|
||||
|
|
|
@ -92,8 +92,6 @@ class Hooks {
|
|||
}
|
||||
|
||||
// Encrypt existing user files:
|
||||
// This serves to upgrade old versions of the encryption
|
||||
// app (see appinfo/spec.txt)
|
||||
if (
|
||||
$util->encryptAll('/' . $params['uid'] . '/' . 'files', $session->getLegacyKey(), $params['password'])
|
||||
) {
|
||||
|
|
|
@ -8,22 +8,26 @@ $TRANSLATIONS = array(
|
|||
"Could not change the password. Maybe the old password was not correct." => "Could not change the password. Maybe the old password was incorrect.",
|
||||
"Private key password successfully updated." => "Private key password updated successfully.",
|
||||
"Could not update the private key password. Maybe the old password was not correct." => "Could not update the private key password. Maybe the old password was not correct.",
|
||||
"Encryption app not initialized! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialize the encryption app." => "Encryption app not initialised! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialise the encryption app.",
|
||||
"Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files." => "Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files.",
|
||||
"Missing requirements." => "Missing requirements.",
|
||||
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled.",
|
||||
"Following users are not set up for encryption:" => "Following users are not set up for encryption:",
|
||||
"Saving..." => "Saving...",
|
||||
"Go directly to your " => "Go directly to your ",
|
||||
"personal settings" => "personal settings",
|
||||
"Encryption" => "Encryption",
|
||||
"Enable recovery key (allow to recover users files in case of password loss):" => "Enable recovery key (allow to recover users files in case of password loss):",
|
||||
"Recovery key password" => "Recovery key password",
|
||||
"Repeat Recovery key password" => "Repeat recovery key password",
|
||||
"Enabled" => "Enabled",
|
||||
"Disabled" => "Disabled",
|
||||
"Change recovery key password:" => "Change recovery key password:",
|
||||
"Old Recovery key password" => "Old Recovery key password",
|
||||
"New Recovery key password" => "New Recovery key password",
|
||||
"Old Recovery key password" => "Old recovery key password",
|
||||
"New Recovery key password" => "New recovery key password",
|
||||
"Repeat New Recovery key password" => "Repeat new recovery key password",
|
||||
"Change Password" => "Change Password",
|
||||
"Your private key password no longer match your log-in password:" => "Your private key password no longer match your login password:",
|
||||
"Your private key password no longer match your log-in password:" => "Your private key password no longer matches your login password:",
|
||||
"Set your old private key password to your current log-in password." => "Set your old private key password to your current login password.",
|
||||
" If you don't remember your old password you can ask your administrator to recover your files." => " If you don't remember your old password you can ask your administrator to recover your files.",
|
||||
"Old log-in password" => "Old login password",
|
||||
|
|
|
@ -8,6 +8,7 @@ $TRANSLATIONS = array(
|
|||
"Could not change the password. Maybe the old password was not correct." => "No se pudo cambiar la contraseña. Compruebe que la contraseña actual sea correcta.",
|
||||
"Private key password successfully updated." => "Contraseña de clave privada actualizada con éxito.",
|
||||
"Could not update the private key password. Maybe the old password was not correct." => "No se pudo cambiar la contraseña. Puede que la contraseña antigua no sea correcta.",
|
||||
"Encryption app not initialized! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialize the encryption app." => "¡Encryption App no está inicializada!. Quizás la aplicación fue reiniciada durante tu sesión. Por favor, cierra la sesión y vuelva a iniciarla para intentar inicializar la Encryption App.",
|
||||
"Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files." => "¡Su clave privada no es válida! Tal vez su contraseña ha sido cambiada desde fuera. Puede actualizar su clave privada en sus opciones personales para recuperar el acceso a sus ficheros.",
|
||||
"Missing requirements." => "Requisitos incompletos.",
|
||||
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Por favor, asegúrese de que PHP 5.3.3 o posterior está instalado y que la extensión OpenSSL de PHP está habilitada y configurada correctamente. Por el momento, la aplicación de cifrado ha sido deshabilitada.",
|
||||
|
|
|
@ -8,20 +8,24 @@ $TRANSLATIONS = array(
|
|||
"Could not change the password. Maybe the old password was not correct." => "Ei suutnud vahetada parooli. Võib-olla on vana parool valesti sisestatud.",
|
||||
"Private key password successfully updated." => "Privaatse võtme parool edukalt uuendatud.",
|
||||
"Could not update the private key password. Maybe the old password was not correct." => "Ei suutnud uuendada privaatse võtme parooli. Võib-olla polnud vana parool õige.",
|
||||
"Encryption app not initialized! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialize the encryption app." => "Krüpteerimise rakend pole käivitatud. Võib-olla krüpteerimise rakend taaskäivitati sinu sessiooni kestel. Palun proovi logida välja ning uuesti sisse käivitamaks krüpteerimise rakendit.",
|
||||
"Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files." => "Sinu privaatne võti pole toimiv! Tõenäoliselt on sinu parool muutunud väljaspool ownCloud süsteemi (näiteks ettevõtte keskhaldus). Sa saad uuendada oma privaatse võtme parooli seadete all taastamaks ligipääsu oma krüpteeritud failidele.",
|
||||
"Missing requirements." => "Nõutavad on puudu.",
|
||||
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Palun veendu, et on paigaldatud PHP 5.3.3 või uuem ning PHP OpenSSL laiendus on lubatud ning seadistatud korrektselt. Hetkel krüpteerimise rakendus on peatatud.",
|
||||
"Following users are not set up for encryption:" => "Järgmised kasutajad pole seadistatud krüpteeringuks:",
|
||||
"Saving..." => "Salvestamine...",
|
||||
"Go directly to your " => "Liigu otse oma",
|
||||
"personal settings" => "isiklikes seadetes",
|
||||
"Encryption" => "Krüpteerimine",
|
||||
"Enable recovery key (allow to recover users files in case of password loss):" => "Luba taastevõti (võimada kasutaja failide taastamine parooli kaotuse puhul):",
|
||||
"Recovery key password" => "Taastevõtme parool",
|
||||
"Repeat Recovery key password" => "Korda taastevõtme parooli",
|
||||
"Enabled" => "Sisse lülitatud",
|
||||
"Disabled" => "Väljalülitatud",
|
||||
"Change recovery key password:" => "Muuda taastevõtme parooli:",
|
||||
"Old Recovery key password" => "Vana taastevõtme parool",
|
||||
"New Recovery key password" => "Uus taastevõtme parool",
|
||||
"Repeat New Recovery key password" => "Korda uut taastevõtme parooli",
|
||||
"Change Password" => "Muuda parooli",
|
||||
"Your private key password no longer match your log-in password:" => "Sinu privaatse võtme parool ei ühti enam sinu sisselogimise parooliga:",
|
||||
"Set your old private key password to your current log-in password." => "Pane oma vana privaatvõtme parooliks oma praegune sisselogimise parool.",
|
||||
|
|
|
@ -8,20 +8,24 @@ $TRANSLATIONS = array(
|
|||
"Could not change the password. Maybe the old password was not correct." => "Ne peut pas changer le mot de passe. L'ancien mot de passe est peut-être incorrect.",
|
||||
"Private key password successfully updated." => "Mot de passe de la clé privé mis à jour avec succès.",
|
||||
"Could not update the private key password. Maybe the old password was not correct." => "Impossible de mettre à jour le mot de passe de la clé privé. Peut-être que l'ancien mot de passe n'était pas correcte.",
|
||||
"Encryption app not initialized! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialize the encryption app." => "L'application de chiffrement n'est pas initialisée ! Peut-être que cette application a été réactivée pendant votre session. Veuillez essayer de vous déconnecter et ensuite de vous reconnecter pour initialiser l'application de chiffrement.",
|
||||
"Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files." => "Votre clé de sécurité privée n'est pas valide! Il est probable que votre mot de passe ait été changé sans passer par le système ownCloud (par éxemple: le serveur de votre entreprise). Ain d'avoir à nouveau accès à vos fichiers cryptés, vous pouvez mettre à jour votre clé de sécurité privée dans les paramètres personnels de votre compte.",
|
||||
"Missing requirements." => "Système minimum requis non respecté.",
|
||||
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Veuillez vous assurer qu'une version de PHP 5.3.3 ou supérieure est installée et qu'OpenSSL et son extension PHP sont activés et configurés correctement. En attendant, l'application de chiffrement été désactivée.",
|
||||
"Following users are not set up for encryption:" => "Les utilisateurs suivants ne sont pas configurés pour le chiffrement :",
|
||||
"Saving..." => "Enregistrement...",
|
||||
"Go directly to your " => "Allez directement à votre",
|
||||
"personal settings" => "paramètres personnel",
|
||||
"Encryption" => "Chiffrement",
|
||||
"Enable recovery key (allow to recover users files in case of password loss):" => "Activer la clef de récupération (permet de récupérer les fichiers des utilisateurs en cas de perte de mot de passe).",
|
||||
"Recovery key password" => "Mot de passe de la clef de récupération",
|
||||
"Repeat Recovery key password" => "Répétez le mot de passe de la clé de récupération",
|
||||
"Enabled" => "Activer",
|
||||
"Disabled" => "Désactiver",
|
||||
"Change recovery key password:" => "Modifier le mot de passe de la clef de récupération :",
|
||||
"Old Recovery key password" => "Ancien mot de passe de la clef de récupération",
|
||||
"New Recovery key password" => "Nouveau mot de passe de la clef de récupération",
|
||||
"Repeat New Recovery key password" => "Répétez le nouveau mot de passe de la clé de récupération",
|
||||
"Change Password" => "Changer de mot de passe",
|
||||
"Your private key password no longer match your log-in password:" => "Le mot de passe de votre clef privée ne correspond plus à votre mot de passe de connexion :",
|
||||
"Set your old private key password to your current log-in password." => "Configurez le mot de passe de votre ancienne clef privée avec votre mot de passe courant de connexion. ",
|
||||
|
|
|
@ -8,20 +8,24 @@ $TRANSLATIONS = array(
|
|||
"Could not change the password. Maybe the old password was not correct." => "Nie można zmienić hasła. Może stare hasło nie było poprawne.",
|
||||
"Private key password successfully updated." => "Pomyślnie zaktualizowano hasło klucza prywatnego.",
|
||||
"Could not update the private key password. Maybe the old password was not correct." => "Nie można zmienić prywatnego hasła. Może stare hasło nie było poprawne.",
|
||||
"Encryption app not initialized! Maybe the encryption app was re-enabled during your session. Please try to log out and log back in to initialize the encryption app." => "Szyfrowanie aplikacja nie została zainicjowane! Może szyfrowanie aplikacji zostało ponownie włączone podczas tej sesji. Spróbuj się wylogować i zalogować ponownie aby zainicjować szyfrowanie aplikacji.",
|
||||
"Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files." => "Klucz prywatny nie jest ważny! Prawdopodobnie Twoje hasło zostało zmienione poza systemem ownCloud (np. w katalogu firmy). Aby odzyskać dostęp do zaszyfrowanych plików można zaktualizować hasło klucza prywatnego w ustawieniach osobistych.",
|
||||
"Missing requirements." => "Brak wymagań.",
|
||||
"Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled." => "Proszę upewnić się, że PHP 5.3.3 lub nowszy jest zainstalowany i że OpenSSL oraz rozszerzenie PHP jest włączone i poprawnie skonfigurowane. Obecnie szyfrowanie aplikacji zostało wyłączone.",
|
||||
"Following users are not set up for encryption:" => "Następujący użytkownicy nie mają skonfigurowanego szyfrowania:",
|
||||
"Saving..." => "Zapisywanie...",
|
||||
"Go directly to your " => "Przejdź bezpośrednio do",
|
||||
"personal settings" => "Ustawienia osobiste",
|
||||
"Encryption" => "Szyfrowanie",
|
||||
"Enable recovery key (allow to recover users files in case of password loss):" => "Włączhasło klucza odzyskiwania (pozwala odzyskać pliki użytkowników w przypadku utraty hasła):",
|
||||
"Recovery key password" => "Hasło klucza odzyskiwania",
|
||||
"Repeat Recovery key password" => "Powtórz hasło klucza odzyskiwania",
|
||||
"Enabled" => "Włączone",
|
||||
"Disabled" => "Wyłączone",
|
||||
"Change recovery key password:" => "Zmień hasło klucza odzyskiwania",
|
||||
"Old Recovery key password" => "Stare hasło klucza odzyskiwania",
|
||||
"New Recovery key password" => "Nowe hasło klucza odzyskiwania",
|
||||
"Repeat New Recovery key password" => "Powtórz nowe hasło klucza odzyskiwania",
|
||||
"Change Password" => "Zmień hasło",
|
||||
"Your private key password no longer match your log-in password:" => "Hasło klucza prywatnego nie pasuje do hasła logowania:",
|
||||
"Set your old private key password to your current log-in password." => "Podaj swoje stare prywatne hasło aby ustawić nowe",
|
||||
|
|
|
@ -9,6 +9,7 @@ $TRANSLATIONS = array(
|
|||
"Could not update the private key password. Maybe the old password was not correct." => "Não foi possível alterar a chave. Possivelmente a password antiga não está correcta.",
|
||||
"Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files." => "Chave privada não é válida! Provavelmente senha foi alterada fora do sistema ownCloud (exemplo, o diretório corporativo). Pode atualizar password da chave privada em configurações personalizadas para recuperar o acesso aos seus arquivos encriptados.",
|
||||
"Missing requirements." => "Faltam alguns requisitos.",
|
||||
"Following users are not set up for encryption:" => "Os utilizadores seguintes não estão marcados para cifragem:",
|
||||
"Saving..." => "A guardar...",
|
||||
"personal settings" => "configurações personalizadas ",
|
||||
"Encryption" => "Encriptação",
|
||||
|
|
|
@ -33,6 +33,12 @@ require_once __DIR__ . '/../3rdparty/Crypt_Blowfish/Blowfish.php';
|
|||
|
||||
class Crypt {
|
||||
|
||||
const ENCRYPTION_UNKNOWN_ERROR = -1;
|
||||
const ENCRYPTION_NOT_INITIALIZED_ERROR = 1;
|
||||
const ENCRYPTION_PRIVATE_KEY_NOT_VALID_ERROR = 2;
|
||||
const ENCRYPTION_NO_SHARE_KEY_FOUND = 3;
|
||||
|
||||
|
||||
/**
|
||||
* @brief return encryption mode client or server side encryption
|
||||
* @param string $user name (use system wide setting if name=null)
|
||||
|
@ -183,8 +189,8 @@ class Crypt {
|
|||
// Fetch all file metadata from DB
|
||||
$metadata = \OC\Files\Filesystem::getFileInfo($relPath, '');
|
||||
|
||||
// If a file is flagged with encryption in DB, but isn't a
|
||||
// valid content + IV combination, it's probably using the
|
||||
// If a file is flagged with encryption in DB, but isn't a
|
||||
// valid content + IV combination, it's probably using the
|
||||
// legacy encryption system
|
||||
if (isset($metadata['encrypted'])
|
||||
&& $metadata['encrypted'] === true
|
||||
|
@ -388,7 +394,7 @@ class Crypt {
|
|||
*/
|
||||
public static function multiKeyEncrypt($plainContent, array $publicKeys) {
|
||||
|
||||
// openssl_seal returns false without errors if $plainContent
|
||||
// openssl_seal returns false without errors if $plainContent
|
||||
// is empty, so trigger our own error
|
||||
if (empty($plainContent)) {
|
||||
|
||||
|
@ -405,7 +411,7 @@ class Crypt {
|
|||
|
||||
$i = 0;
|
||||
|
||||
// Ensure each shareKey is labelled with its
|
||||
// Ensure each shareKey is labelled with its
|
||||
// corresponding userId
|
||||
foreach ($publicKeys as $userId => $publicKey) {
|
||||
|
||||
|
@ -476,7 +482,7 @@ class Crypt {
|
|||
|
||||
}
|
||||
|
||||
// We encode the iv purely for string manipulation
|
||||
// We encode the iv purely for string manipulation
|
||||
// purposes - it gets decoded before use
|
||||
$iv = base64_encode($random);
|
||||
|
||||
|
|
|
@ -235,16 +235,28 @@ class Helper {
|
|||
/**
|
||||
* @brief redirect to a error page
|
||||
*/
|
||||
public static function redirectToErrorPage($session) {
|
||||
public static function redirectToErrorPage($session, $errorCode = null) {
|
||||
|
||||
$init = $session->getInitialized();
|
||||
if ($errorCode === null) {
|
||||
$init = $session->getInitialized();
|
||||
switch ($init) {
|
||||
case \OCA\Encryption\Session::INIT_EXECUTED:
|
||||
$errorCode = \OCA\Encryption\Crypt::ENCRYPTION_PRIVATE_KEY_NOT_VALID_ERROR;
|
||||
break;
|
||||
case \OCA\Encryption\Session::NOT_INITIALIZED:
|
||||
$errorCode = \OCA\Encryption\Crypt::ENCRYPTION_NOT_INITIALIZED_ERROR;
|
||||
break;
|
||||
default:
|
||||
$errorCode = \OCA\Encryption\Crypt::ENCRYPTION_UNKNOWN_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
$location = \OC_Helper::linkToAbsolute('apps/files_encryption/files', 'error.php');
|
||||
$post = 0;
|
||||
if(count($_POST) > 0) {
|
||||
$post = 1;
|
||||
}
|
||||
header('Location: ' . $location . '?p=' . $post . '&i=' . $init);
|
||||
header('Location: ' . $location . '?p=' . $post . '&errorCode=' . $errorCode);
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
|
@ -38,8 +38,6 @@ class Proxy extends \OC_FileProxy {
|
|||
|
||||
private static $blackList = null; //mimetypes blacklisted from encryption
|
||||
|
||||
private static $enableEncryption = null;
|
||||
|
||||
/**
|
||||
* Check if a file requires encryption
|
||||
* @param string $path
|
||||
|
@ -49,46 +47,22 @@ class Proxy extends \OC_FileProxy {
|
|||
*/
|
||||
private static function shouldEncrypt($path) {
|
||||
|
||||
if (is_null(self::$enableEncryption)) {
|
||||
if (
|
||||
\OCP\App::isEnabled('files_encryption') === true
|
||||
&& Crypt::mode() === 'server'
|
||||
) {
|
||||
|
||||
self::$enableEncryption = true;
|
||||
|
||||
} else {
|
||||
|
||||
self::$enableEncryption = false;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!self::$enableEncryption) {
|
||||
|
||||
if (\OCP\App::isEnabled('files_encryption') === false || Crypt::mode() !== 'server') {
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
if (is_null(self::$blackList)) {
|
||||
|
||||
self::$blackList = explode(',', \OCP\Config::getAppValue('files_encryption', 'type_blacklist', ''));
|
||||
|
||||
}
|
||||
|
||||
if (Crypt::isCatfileContent($path)) {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
$extension = substr($path, strrpos($path, '.') + 1);
|
||||
|
||||
if (array_search($extension, self::$blackList) === false) {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
@ -254,16 +254,20 @@ class Stream {
|
|||
// If a keyfile already exists
|
||||
if ($this->encKeyfile) {
|
||||
|
||||
$shareKey = Keymanager::getShareKey($this->rootView, $this->userId, $this->relPath);
|
||||
|
||||
// if there is no valid private key return false
|
||||
if ($this->privateKey === false) {
|
||||
|
||||
// if private key is not valid redirect user to a error page
|
||||
\OCA\Encryption\Helper::redirectToErrorPage();
|
||||
|
||||
\OCA\Encryption\Helper::redirectToErrorPage($this->session);
|
||||
return false;
|
||||
}
|
||||
|
||||
$shareKey = Keymanager::getShareKey($this->rootView, $this->userId, $this->relPath);
|
||||
if ($shareKey === false) {
|
||||
// if no share key is available redirect user to a error page
|
||||
\OCA\Encryption\Helper::redirectToErrorPage($this->session, \OCA\Encryption\Crypt::ENCRYPTION_NO_SHARE_KEY_FOUND);
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->plainKey = Crypt::multiKeyDecrypt($this->encKeyfile, $shareKey, $this->privateKey);
|
||||
|
||||
|
@ -506,9 +510,10 @@ class Stream {
|
|||
|
||||
// Get all users sharing the file includes current user
|
||||
$uniqueUserIds = $util->getSharingUsersArray($sharingEnabled, $this->relPath, $this->userId);
|
||||
$checkedUserIds = $util->filterShareReadyUsers($uniqueUserIds);
|
||||
|
||||
// Fetch public keys for all sharing users
|
||||
$publicKeys = Keymanager::getPublicKeys($this->rootView, $uniqueUserIds);
|
||||
$publicKeys = Keymanager::getPublicKeys($this->rootView, $checkedUserIds['ready']);
|
||||
|
||||
// Encrypt enc key for all sharing users
|
||||
$this->encKeyfiles = Crypt::multiKeyEncrypt($this->plainKey, $publicKeys);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<?php p($_['message']); ?>
|
||||
<br/>
|
||||
<?php if($_['init']): ?>
|
||||
<?php if($_['errorCode'] === \OCA\Encryption\Crypt::ENCRYPTION_PRIVATE_KEY_NOT_VALID_ERROR): ?>
|
||||
<?php>p($l->t('Go directly to your ')); ?> <a href="<?php echo $location?>"><?php p($l->t('personal settings')); ?>.</a>
|
||||
<?php endif; ?>
|
||||
<br/>
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
<form id="encryption">
|
||||
<fieldset class="personalblock">
|
||||
|
||||
<p>
|
||||
<strong><?php p($l->t('Encryption')); ?></strong>
|
||||
<br/>
|
||||
</p>
|
||||
<h2><?php p($l->t('Encryption')); ?></h2>
|
||||
|
||||
<p>
|
||||
<?php p($l->t("Enable recovery key (allow to recover users files in case of password loss):")); ?>
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
<form id="encryption">
|
||||
<fieldset class="personalblock">
|
||||
<legend>
|
||||
<?php p( $l->t( 'Encryption' ) ); ?>
|
||||
</legend>
|
||||
<h2><?php p( $l->t( 'Encryption' ) ); ?></h2>
|
||||
|
||||
<?php if ( ! $_["privateKeySet"] && $_["initialized"] ): ?>
|
||||
<p>
|
||||
|
@ -38,9 +36,8 @@
|
|||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<br />
|
||||
|
||||
<?php if ( $_["recoveryEnabled"] && $_["privateKeySet"] ): ?>
|
||||
<br />
|
||||
<p>
|
||||
<label for="userEnableRecovery"><?php p( $l->t( "Enable password recovery:" ) ); ?></label>
|
||||
<br />
|
||||
|
@ -65,6 +62,5 @@
|
|||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<br />
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Folder name" => "اسم المجلد",
|
||||
"All Users" => "كل المستخدمين",
|
||||
"Groups" => "مجموعات",
|
||||
"Users" => "المستخدمين",
|
||||
"Delete" => "إلغاء"
|
||||
|
|
26
apps/files_sharing/css/authenticate.css
Normal file
26
apps/files_sharing/css/authenticate.css
Normal file
|
@ -0,0 +1,26 @@
|
|||
#body-login form label.infield {
|
||||
width: 190px;
|
||||
padding: 10px;
|
||||
left: 8px;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
#password {
|
||||
width: 190px !important;
|
||||
padding: 10px;
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
input[type="submit"]{
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
margin: 6px;
|
||||
background-image: url('%webroot%/core/img/actions/confirm.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
#body-login input[type="submit"] {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "كلمة المرور",
|
||||
"Submit" => "تطبيق",
|
||||
"%s shared the folder %s with you" => "%s شارك المجلد %s معك",
|
||||
"%s shared the file %s with you" => "%s شارك الملف %s معك",
|
||||
"Download" => "تحميل",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Парола",
|
||||
"Submit" => "Потвърждение",
|
||||
"%s shared the folder %s with you" => "%s сподели папката %s с Вас",
|
||||
"%s shared the file %s with you" => "%s сподели файла %s с Вас",
|
||||
"Download" => "Изтегляне",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "কূটশব্দ",
|
||||
"Submit" => "জমা দিন",
|
||||
"%s shared the folder %s with you" => "%s আপনার সাথে %s ফোল্ডারটি ভাগাভাগি করেছেন",
|
||||
"%s shared the file %s with you" => "%s আপনার সাথে %s ফাইলটি ভাগাভাগি করেছেন",
|
||||
"Download" => "ডাউনলোড",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "la contrasenya és incorrecta. Intenteu-ho de nou.",
|
||||
"Password" => "Contrasenya",
|
||||
"Submit" => "Envia",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Aquest enllaç sembla que no funciona.",
|
||||
"Reasons might be:" => "Les raons podrien ser:",
|
||||
"the item was removed" => "l'element ha estat eliminat",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Heslo není správné. Zkuste to znovu.",
|
||||
"Password" => "Heslo",
|
||||
"Submit" => "Odeslat",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Je nám líto, ale tento odkaz již není funkční.",
|
||||
"Reasons might be:" => "Možné důvody:",
|
||||
"the item was removed" => "položka byla odebrána",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Cyfrinair",
|
||||
"Submit" => "Cyflwyno",
|
||||
"%s shared the folder %s with you" => "Rhannodd %s blygell %s â chi",
|
||||
"%s shared the file %s with you" => "Rhannodd %s ffeil %s â chi",
|
||||
"Download" => "Llwytho i lawr",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Kodeordet er forkert. Prøv igen.",
|
||||
"Password" => "Kodeord",
|
||||
"Submit" => "Send",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Desværre, dette link ser ikke ud til at fungerer længere.",
|
||||
"Reasons might be:" => "Årsagen kan være:",
|
||||
"the item was removed" => "Filen blev fjernet",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Bitte überprüfen sie Ihr Passwort und versuchen Sie es erneut.",
|
||||
"Password" => "Passwort",
|
||||
"Submit" => "Absenden",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.",
|
||||
"Reasons might be:" => "Gründe könnten sein:",
|
||||
"the item was removed" => "Die Elemente wurden entfernt",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Das Passwort ist falsch. Bitte versuchen Sie es erneut.",
|
||||
"Password" => "Passwort",
|
||||
"Submit" => "Bestätigen",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.",
|
||||
"Reasons might be:" => "Gründe könnten sein:",
|
||||
"the item was removed" => "Das Element wurde entfernt",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Das Passwort ist falsch. Bitte versuchen Sie es erneut.",
|
||||
"Password" => "Passwort",
|
||||
"Submit" => "Bestätigen",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.",
|
||||
"Reasons might be:" => "Gründe könnten sein:",
|
||||
"the item was removed" => "Das Element wurde entfernt",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Εσφαλμένο συνθηματικό. Προσπαθήστε ξανά.",
|
||||
"Password" => "Συνθηματικό",
|
||||
"Submit" => "Καταχώρηση",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Συγγνώμη, αυτός ο σύνδεσμος μοιάζει να μην ισχύει πια.",
|
||||
"Reasons might be:" => "Οι λόγοι μπορεί να είναι:",
|
||||
"the item was removed" => "το αντικείμενο απομακρύνθηκε",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Secret Code",
|
||||
"Submit" => "Submit",
|
||||
"%s shared the folder %s with you" => "%s shared the folder %s with you",
|
||||
"%s shared the file %s with you" => "%s shared the file %s with you",
|
||||
"Download" => "Download",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "The password is wrong. Try again.",
|
||||
"Password" => "Password",
|
||||
"Submit" => "Submit",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Sorry, this link doesn’t seem to work anymore.",
|
||||
"Reasons might be:" => "Reasons might be:",
|
||||
"the item was removed" => "the item was removed",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Pasvorto",
|
||||
"Submit" => "Sendi",
|
||||
"%s shared the folder %s with you" => "%s kunhavigis la dosierujon %s kun vi",
|
||||
"%s shared the file %s with you" => "%s kunhavigis la dosieron %s kun vi",
|
||||
"Download" => "Elŝuti",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "La contraseña introducida es errónea. Inténtelo de nuevo.",
|
||||
"Password" => "Contraseña",
|
||||
"Submit" => "Enviar",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Vaya, este enlace parece que no volverá a funcionar.",
|
||||
"Reasons might be:" => "Las causas podrían ser:",
|
||||
"the item was removed" => "el elemento fue eliminado",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "La contraseña no es correcta. Probá de nuevo.",
|
||||
"Password" => "Contraseña",
|
||||
"Submit" => "Enviar",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Perdón, este enlace parece no funcionar más.",
|
||||
"Reasons might be:" => "Las causas podrían ser:",
|
||||
"the item was removed" => "el elemento fue borrado",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Parool on vale. Proovi uuesti.",
|
||||
"Password" => "Parool",
|
||||
"Submit" => "Saada",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Vabandust, see link ei tundu enam toimivat.",
|
||||
"Reasons might be:" => "Põhjused võivad olla:",
|
||||
"the item was removed" => "üksus on eemaldatud",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Pasahitza ez da egokia. Saiatu berriro.",
|
||||
"Password" => "Pasahitza",
|
||||
"Submit" => "Bidali",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Barkatu, lotura ez dirudi eskuragarria dagoenik.",
|
||||
"Reasons might be:" => "Arrazoiak hurrengoak litezke:",
|
||||
"the item was removed" => "fitxategia ezbatua izan da",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "رمزعبور اشتباه می باشد. دوباره امتحان کنید.",
|
||||
"Password" => "گذرواژه",
|
||||
"Submit" => "ثبت",
|
||||
"%s shared the folder %s with you" => "%sپوشه %s را با شما به اشتراک گذاشت",
|
||||
"%s shared the file %s with you" => "%sفایل %s را با شما به اشتراک گذاشت",
|
||||
"Download" => "دانلود",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Väärä salasana. Yritä uudelleen.",
|
||||
"Password" => "Salasana",
|
||||
"Submit" => "Lähetä",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Valitettavasti linkki ei vaikuta enää toimivan.",
|
||||
"Reasons might be:" => "Mahdollisia syitä:",
|
||||
"the item was removed" => "kohde poistettiin",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Le mot de passe est incorrect. Veuillez réessayer.",
|
||||
"Password" => "Mot de passe",
|
||||
"Submit" => "Envoyer",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Désolé, mais le lien semble ne plus fonctionner.",
|
||||
"Reasons might be:" => "Les raisons peuvent être :",
|
||||
"the item was removed" => "l'item a été supprimé",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "O contrasinal é incorrecto. Ténteo de novo.",
|
||||
"Password" => "Contrasinal",
|
||||
"Submit" => "Enviar",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Semella que esta ligazón non funciona.",
|
||||
"Reasons might be:" => "As razóns poderían ser:",
|
||||
"the item was removed" => "o elemento foi retirado",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "סיסמא",
|
||||
"Submit" => "שליחה",
|
||||
"%s shared the folder %s with you" => "%s שיתף עמך את התיקייה %s",
|
||||
"%s shared the file %s with you" => "%s שיתף עמך את הקובץ %s",
|
||||
"Download" => "הורדה",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Lozinka",
|
||||
"Submit" => "Pošalji",
|
||||
"Download" => "Preuzimanje",
|
||||
"Upload" => "Učitaj",
|
||||
"Cancel upload" => "Prekini upload"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "A megadott jelszó nem megfelelő. Próbálja újra!",
|
||||
"Password" => "Jelszó",
|
||||
"Submit" => "Elküld",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Sajnos úgy tűnik, ez a link már nem működik.",
|
||||
"Reasons might be:" => "Ennek az oka a következő lehet:",
|
||||
"the item was removed" => "az állományt időközben eltávolították",
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Submit" => "Հաստատել",
|
||||
"Download" => "Բեռնել"
|
||||
);
|
||||
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Contrasigno",
|
||||
"Submit" => "Submitter",
|
||||
"Download" => "Discargar",
|
||||
"Upload" => "Incargar"
|
||||
);
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Sandi",
|
||||
"Submit" => "Kirim",
|
||||
"%s shared the folder %s with you" => "%s membagikan folder %s dengan Anda",
|
||||
"%s shared the file %s with you" => "%s membagikan file %s dengan Anda",
|
||||
"Download" => "Unduh",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Lykilorð",
|
||||
"Submit" => "Senda",
|
||||
"%s shared the folder %s with you" => "%s deildi möppunni %s með þér",
|
||||
"%s shared the file %s with you" => "%s deildi skránni %s með þér",
|
||||
"Download" => "Niðurhal",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "La password è errata. Prova ancora.",
|
||||
"Password" => "Password",
|
||||
"Submit" => "Invia",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Spiacenti, questo collegamento sembra non essere più attivo.",
|
||||
"Reasons might be:" => "I motivi potrebbero essere:",
|
||||
"the item was removed" => "l'elemento è stato rimosso",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "パスワードが間違っています。再試行してください。",
|
||||
"Password" => "パスワード",
|
||||
"Submit" => "送信",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "申し訳ございません。このリンクはもう利用できません。",
|
||||
"Reasons might be:" => "理由は以下の通りと考えられます:",
|
||||
"the item was removed" => "アイテムが削除されました",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "პაროლი",
|
||||
"Submit" => "გაგზავნა",
|
||||
"%s shared the folder %s with you" => "%s–მა გაგიზიარათ ფოლდერი %s",
|
||||
"%s shared the file %s with you" => "%s–მა გაგიზიარათ ფაილი %s",
|
||||
"Download" => "ჩამოტვირთვა",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "비밀번호가 틀립니다. 다시 입력해주세요.",
|
||||
"Password" => "암호",
|
||||
"Submit" => "제출",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "죄송합니다만 이 링크는 더이상 작동되지 않습니다.",
|
||||
"Reasons might be:" => "이유는 다음과 같을 수 있습니다:",
|
||||
"the item was removed" => "이 항목은 삭제되었습니다",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "وشەی تێپەربو",
|
||||
"Submit" => "ناردن",
|
||||
"%s shared the folder %s with you" => "%s دابهشی کردووه بوخچهی %s لهگهڵ تۆ",
|
||||
"%s shared the file %s with you" => "%s دابهشی کردووه پهڕگهیی %s لهگهڵ تۆ",
|
||||
"Download" => "داگرتن",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Den Passwuert ass incorrect. Probeier ed nach eng keier.",
|
||||
"Password" => "Passwuert",
|
||||
"Submit" => "Fortschécken",
|
||||
"%s shared the folder %s with you" => "%s huet den Dossier %s mad der gedeelt",
|
||||
"%s shared the file %s with you" => "%s deelt den Fichier %s mad dir",
|
||||
"Download" => "Download",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Netinka slaptažodis: Bandykite dar kartą.",
|
||||
"Password" => "Slaptažodis",
|
||||
"Submit" => "Išsaugoti",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Atleiskite, panašu, kad nuoroda yra neveiksni.",
|
||||
"Reasons might be:" => "Galimos priežastys:",
|
||||
"the item was removed" => "elementas buvo pašalintas",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Parole",
|
||||
"Submit" => "Iesniegt",
|
||||
"%s shared the folder %s with you" => "%s ar jums dalījās ar mapi %s",
|
||||
"%s shared the file %s with you" => "%s ar jums dalījās ar datni %s",
|
||||
"Download" => "Lejupielādēt",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Лозинка",
|
||||
"Submit" => "Прати",
|
||||
"%s shared the folder %s with you" => "%s ја сподели папката %s со Вас",
|
||||
"%s shared the file %s with you" => "%s ја сподели датотеката %s со Вас",
|
||||
"Download" => "Преземи",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Kata laluan",
|
||||
"Submit" => "Hantar",
|
||||
"Download" => "Muat turun",
|
||||
"Upload" => "Muat naik",
|
||||
"Cancel upload" => "Batal muat naik"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "စကားဝှက်",
|
||||
"Submit" => "ထည့်သွင်းမည်",
|
||||
"Download" => "ဒေါင်းလုတ်"
|
||||
);
|
||||
$PLURAL_FORMS = "nplurals=1; plural=0;";
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Passordet er feil. Prøv på nytt.",
|
||||
"Password" => "Passord",
|
||||
"Submit" => "Send inn",
|
||||
"%s shared the folder %s with you" => "%s delte mappen %s med deg",
|
||||
"%s shared the file %s with you" => "%s delte filen %s med deg",
|
||||
"Download" => "Last ned",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Wachtwoord ongeldig. Probeer het nogmaals.",
|
||||
"Password" => "Wachtwoord",
|
||||
"Submit" => "Verzenden",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Sorry, deze link lijkt niet meer in gebruik te zijn.",
|
||||
"Reasons might be:" => "Redenen kunnen zijn:",
|
||||
"the item was removed" => "bestand was verwijderd",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Passordet er gale. Prøv igjen.",
|
||||
"Password" => "Passord",
|
||||
"Submit" => "Send",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Orsak, denne lenkja fungerer visst ikkje lenger.",
|
||||
"Reasons might be:" => "Moglege grunnar:",
|
||||
"the item was removed" => "fila/mappa er fjerna",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Senhal",
|
||||
"Submit" => "Sosmetre",
|
||||
"Download" => "Avalcarga",
|
||||
"Upload" => "Amontcarga",
|
||||
"Cancel upload" => " Anulla l'amontcargar"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "To hasło jest niewłaściwe. Spróbuj ponownie.",
|
||||
"Password" => "Hasło",
|
||||
"Submit" => "Wyślij",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Przepraszamy ale wygląda na to, że ten link już nie działa.",
|
||||
"Reasons might be:" => "Możliwe powody:",
|
||||
"the item was removed" => "element został usunięty",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Senha incorreta. Tente novamente.",
|
||||
"Password" => "Senha",
|
||||
"Submit" => "Submeter",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Desculpe, este link parece não mais funcionar.",
|
||||
"Reasons might be:" => "As razões podem ser:",
|
||||
"the item was removed" => "o item foi removido",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Password errada, por favor tente de novo",
|
||||
"Password" => "Password",
|
||||
"Submit" => "Submeter",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Desculpe, mas este link parece não estar a funcionar.",
|
||||
"Reasons might be:" => "As razões poderão ser:",
|
||||
"the item was removed" => "O item foi removido",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Parola este incorectă. Încercaţi din nou.",
|
||||
"Password" => "Parolă",
|
||||
"Submit" => "Trimite",
|
||||
"%s shared the folder %s with you" => "%s a partajat directorul %s cu tine",
|
||||
"%s shared the file %s with you" => "%s a partajat fișierul %s cu tine",
|
||||
"Download" => "Descarcă",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Неверный пароль. Попробуйте еще раз.",
|
||||
"Password" => "Пароль",
|
||||
"Submit" => "Отправить",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "К сожалению, эта ссылка, похоже не будет работать больше.",
|
||||
"Reasons might be:" => "Причиной может быть:",
|
||||
"the item was removed" => "объект был удалён",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "මුර පදය",
|
||||
"Submit" => "යොමු කරන්න",
|
||||
"%s shared the folder %s with you" => "%s ඔබව %s ෆෝල්ඩරයට හවුල් කරගත්තේය",
|
||||
"%s shared the file %s with you" => "%s ඔබ සමඟ %s ගොනුව බෙදාහදාගත්තේය",
|
||||
"Download" => "බාන්න",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Heslo je chybné. Skúste to znova.",
|
||||
"Password" => "Heslo",
|
||||
"Submit" => "Odoslať",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "To je nepríjemné, ale tento odkaz už nie je funkčný.",
|
||||
"Reasons might be:" => "Možné dôvody:",
|
||||
"the item was removed" => "položka bola presunutá",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Geslo",
|
||||
"Submit" => "Pošlji",
|
||||
"%s shared the folder %s with you" => "Oseba %s je določila mapo %s za souporabo",
|
||||
"%s shared the file %s with you" => "Oseba %s je določila datoteko %s za souporabo",
|
||||
"Download" => "Prejmi",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Kodi është i gabuar. Provojeni përsëri.",
|
||||
"Password" => "Kodi",
|
||||
"Submit" => "Parashtro",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Ju kërkojmë ndjesë, kjo lidhje duket sikur nuk punon më.",
|
||||
"Reasons might be:" => "Arsyet mund të jenë:",
|
||||
"the item was removed" => "elementi është eliminuar",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Лозинка",
|
||||
"Submit" => "Пошаљи",
|
||||
"Download" => "Преузми",
|
||||
"Upload" => "Отпреми",
|
||||
"Cancel upload" => "Прекини отпремање"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Lozinka",
|
||||
"Submit" => "Pošalji",
|
||||
"Download" => "Preuzmi",
|
||||
"Upload" => "Pošalji"
|
||||
);
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "Lösenordet är fel. Försök igen.",
|
||||
"Password" => "Lösenord",
|
||||
"Submit" => "Skicka",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "Tyvärr, denna länk verkar inte fungera längre.",
|
||||
"Reasons might be:" => "Orsaker kan vara:",
|
||||
"the item was removed" => "objektet togs bort",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "கடவுச்சொல்",
|
||||
"Submit" => "சமர்ப்பிக்குக",
|
||||
"%s shared the folder %s with you" => "%s கோப்புறையானது %s உடன் பகிரப்பட்டது",
|
||||
"%s shared the file %s with you" => "%s கோப்பானது %s உடன் பகிரப்பட்டது",
|
||||
"Download" => "பதிவிறக்குக",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "รหัสผ่าน",
|
||||
"Submit" => "ส่ง",
|
||||
"%s shared the folder %s with you" => "%s ได้แชร์โฟลเดอร์ %s ให้กับคุณ",
|
||||
"%s shared the file %s with you" => "%s ได้แชร์ไฟล์ %s ให้กับคุณ",
|
||||
"Download" => "ดาวน์โหลด",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Parola",
|
||||
"Submit" => "Gönder",
|
||||
"%s shared the folder %s with you" => "%s sizinle paylaşılan %s klasör",
|
||||
"%s shared the file %s with you" => "%s sizinle paylaşılan %s klasör",
|
||||
"Download" => "İndir",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "ئىم",
|
||||
"Submit" => "تاپشۇر",
|
||||
"Download" => "چۈشۈر",
|
||||
"Upload" => "يۈكلە",
|
||||
"Cancel upload" => "يۈكلەشتىن ۋاز كەچ"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Пароль",
|
||||
"Submit" => "Передати",
|
||||
"%s shared the folder %s with you" => "%s опублікував каталог %s для Вас",
|
||||
"%s shared the file %s with you" => "%s опублікував файл %s для Вас",
|
||||
"Download" => "Завантажити",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Password" => "Mật khẩu",
|
||||
"Submit" => "Xác nhận",
|
||||
"%s shared the folder %s with you" => "%s đã chia sẻ thư mục %s với bạn",
|
||||
"%s shared the file %s with you" => "%s đã chia sẻ tập tin %s với bạn",
|
||||
"Download" => "Tải về",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "用户名或密码错误!请重试",
|
||||
"Password" => "密码",
|
||||
"Submit" => "提交",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "抱歉,此链接已失效",
|
||||
"Reasons might be:" => "可能原因是:",
|
||||
"the item was removed" => "此项已移除",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"The password is wrong. Try again." => "請檢查您的密碼並再試一次",
|
||||
"Password" => "密碼",
|
||||
"Submit" => "送出",
|
||||
"Sorry, this link doesn’t seem to work anymore." => "抱歉,此連結已經失效",
|
||||
"Reasons might be:" => "可能的原因:",
|
||||
"the item was removed" => "項目已經移除",
|
||||
|
|
|
@ -77,6 +77,7 @@ if (isset($path)) {
|
|||
$hasher = new PasswordHash(8, $forcePortable);
|
||||
if (!($hasher->CheckPassword($password.OC_Config::getValue('passwordsalt', ''),
|
||||
$linkItem['share_with']))) {
|
||||
OCP\Util::addStyle('files_sharing', 'authenticate');
|
||||
$tmpl = new OCP\Template('files_sharing', 'authenticate', 'guest');
|
||||
$tmpl->assign('URL', $url);
|
||||
$tmpl->assign('wrongpw', true);
|
||||
|
@ -101,6 +102,7 @@ if (isset($path)) {
|
|||
|| \OC::$session->get('public_link_authenticated') !== $linkItem['id']
|
||||
) {
|
||||
// Prompt for password
|
||||
OCP\Util::addStyle('files_sharing', 'authenticate');
|
||||
$tmpl = new OCP\Template('files_sharing', 'authenticate', 'guest');
|
||||
$tmpl->assign('URL', $url);
|
||||
$tmpl->printPage();
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
<form action="<?php p($_['URL']); ?>" method="post">
|
||||
<fieldset>
|
||||
<?php if (!isset($_['wrongpw'])): ?>
|
||||
<div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($_['wrongpw'])): ?>
|
||||
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
|
||||
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
|
||||
<?php endif; ?>
|
||||
<p class="infield">
|
||||
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
||||
<input type="password" name="password" id="password" placeholder="" value="" autofocus />
|
||||
<input type="submit" value="<?php p($l->t('Submit')); ?>" />
|
||||
<input type="submit" value="" class="svg" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
@ -58,6 +58,10 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
|
|||
}
|
||||
|
||||
function setUp() {
|
||||
|
||||
//login as user1
|
||||
\Test_Files_Sharing_Api::loginHelper(\Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1);
|
||||
|
||||
$this->data = 'foobar';
|
||||
$this->view = new \OC_FilesystemView('/' . \Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1 . '/files');
|
||||
|
||||
|
@ -104,9 +108,6 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
|
|||
*/
|
||||
function testCreateShare() {
|
||||
|
||||
//login as user1
|
||||
\Test_Files_Sharing_Api::loginHelper(\Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1);
|
||||
|
||||
// share to user
|
||||
|
||||
// simulate a post request
|
||||
|
|
|
@ -2,16 +2,11 @@
|
|||
$TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "تعذّر حذف%s بشكل دائم",
|
||||
"Couldn't restore %s" => "تعذّر استرجاع %s ",
|
||||
"perform restore operation" => "إبدء عملية الإستعادة",
|
||||
"Error" => "خطأ",
|
||||
"delete file permanently" => "حذف بشكل دائم",
|
||||
"Delete permanently" => "حذف بشكل دائم",
|
||||
"Name" => "اسم",
|
||||
"Deleted" => "تم الحذف",
|
||||
"_%n folder_::_%n folders_" => array("","","","","","مجلدات %n"),
|
||||
"_%n file_::_%n files_" => array("","","","",""," ملفات %n"),
|
||||
"Nothing in here. Your trash bin is empty!" => "لا يوجد شيء هنا. سلة المهملات خاليه.",
|
||||
"Name" => "اسم",
|
||||
"Restore" => "استعيد",
|
||||
"Deleted" => "تم الحذف",
|
||||
"Delete" => "إلغاء",
|
||||
"Deleted Files" => "الملفات المحذوفه"
|
||||
);
|
||||
|
|
|
@ -2,16 +2,11 @@
|
|||
$TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Невъзможно перманентното изтриване на %s",
|
||||
"Couldn't restore %s" => "Невъзможно възтановяване на %s",
|
||||
"perform restore operation" => "извършване на действие по възстановяване",
|
||||
"Error" => "Грешка",
|
||||
"delete file permanently" => "изтриване на файла завинаги",
|
||||
"Delete permanently" => "Изтриване завинаги",
|
||||
"Name" => "Име",
|
||||
"Deleted" => "Изтрито",
|
||||
"_%n folder_::_%n folders_" => array("",""),
|
||||
"_%n file_::_%n files_" => array("",""),
|
||||
"Nothing in here. Your trash bin is empty!" => "Няма нищо. Кофата е празна!",
|
||||
"Name" => "Име",
|
||||
"Restore" => "Възтановяване",
|
||||
"Deleted" => "Изтрито",
|
||||
"Delete" => "Изтриване",
|
||||
"Deleted Files" => "Изтрити файлове"
|
||||
);
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
$TRANSLATIONS = array(
|
||||
"Error" => "সমস্যা",
|
||||
"Name" => "রাম",
|
||||
"_%n folder_::_%n folders_" => array("",""),
|
||||
"_%n file_::_%n files_" => array("",""),
|
||||
"Delete" => "মুছে"
|
||||
);
|
||||
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
$TRANSLATIONS = array(
|
||||
"Name" => "Ime",
|
||||
"_%n folder_::_%n folders_" => array("","",""),
|
||||
"_%n file_::_%n files_" => array("","","")
|
||||
"Name" => "Ime"
|
||||
);
|
||||
$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);";
|
||||
|
|
|
@ -2,17 +2,12 @@
|
|||
$TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "No s'ha pogut esborrar permanentment %s",
|
||||
"Couldn't restore %s" => "No s'ha pogut restaurar %s",
|
||||
"perform restore operation" => "executa l'operació de restauració",
|
||||
"Error" => "Error",
|
||||
"delete file permanently" => "esborra el fitxer permanentment",
|
||||
"Delete permanently" => "Esborra permanentment",
|
||||
"Name" => "Nom",
|
||||
"Deleted" => "Eliminat",
|
||||
"_%n folder_::_%n folders_" => array("","%n carpetes"),
|
||||
"_%n file_::_%n files_" => array("","%n fitxers"),
|
||||
"restored" => "restaurat",
|
||||
"Nothing in here. Your trash bin is empty!" => "La paperera està buida!",
|
||||
"Name" => "Nom",
|
||||
"Restore" => "Recupera",
|
||||
"Deleted" => "Eliminat",
|
||||
"Delete" => "Esborra",
|
||||
"Deleted Files" => "Fitxers eliminats"
|
||||
);
|
||||
|
|
|
@ -2,17 +2,12 @@
|
|||
$TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Nelze trvale odstranit %s",
|
||||
"Couldn't restore %s" => "Nelze obnovit %s",
|
||||
"perform restore operation" => "provést obnovu",
|
||||
"Error" => "Chyba",
|
||||
"delete file permanently" => "trvale odstranit soubor",
|
||||
"Delete permanently" => "Trvale odstranit",
|
||||
"Name" => "Název",
|
||||
"Deleted" => "Smazáno",
|
||||
"_%n folder_::_%n folders_" => array("%n adresář","%n adresáře","%n adresářů"),
|
||||
"_%n file_::_%n files_" => array("%n soubor","%n soubory","%n souborů"),
|
||||
"restored" => "obnoveno",
|
||||
"Nothing in here. Your trash bin is empty!" => "Žádný obsah. Váš koš je prázdný.",
|
||||
"Name" => "Název",
|
||||
"Restore" => "Obnovit",
|
||||
"Deleted" => "Smazáno",
|
||||
"Delete" => "Smazat",
|
||||
"Deleted Files" => "Smazané soubory"
|
||||
);
|
||||
|
|
|
@ -2,16 +2,11 @@
|
|||
$TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Methwyd dileu %s yn barhaol",
|
||||
"Couldn't restore %s" => "Methwyd adfer %s",
|
||||
"perform restore operation" => "gweithrediad adfer",
|
||||
"Error" => "Gwall",
|
||||
"delete file permanently" => "dileu ffeil yn barhaol",
|
||||
"Delete permanently" => "Dileu'n barhaol",
|
||||
"Name" => "Enw",
|
||||
"Deleted" => "Wedi dileu",
|
||||
"_%n folder_::_%n folders_" => array("","","",""),
|
||||
"_%n file_::_%n files_" => array("","","",""),
|
||||
"Nothing in here. Your trash bin is empty!" => "Does dim byd yma. Mae eich bin sbwriel yn wag!",
|
||||
"Name" => "Enw",
|
||||
"Restore" => "Adfer",
|
||||
"Deleted" => "Wedi dileu",
|
||||
"Delete" => "Dileu",
|
||||
"Deleted Files" => "Ffeiliau Ddilewyd"
|
||||
);
|
||||
|
|
|
@ -2,17 +2,12 @@
|
|||
$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",
|
||||
"Error" => "Fejl",
|
||||
"delete file permanently" => "slet fil permanent",
|
||||
"Delete permanently" => "Slet permanent",
|
||||
"Name" => "Navn",
|
||||
"Deleted" => "Slettet",
|
||||
"_%n folder_::_%n folders_" => array("%n mappe","%n mapper"),
|
||||
"_%n file_::_%n files_" => array("%n fil","%n filer"),
|
||||
"restored" => "Gendannet",
|
||||
"Nothing in here. Your trash bin is empty!" => "Intet at se her. Din papirkurv er tom!",
|
||||
"Name" => "Navn",
|
||||
"Restore" => "Gendan",
|
||||
"Deleted" => "Slettet",
|
||||
"Delete" => "Slet",
|
||||
"Deleted Files" => "Slettede filer"
|
||||
);
|
||||
|
|
|
@ -2,17 +2,12 @@
|
|||
$TRANSLATIONS = array(
|
||||
"Couldn't delete %s permanently" => "Konnte %s nicht dauerhaft löschen",
|
||||
"Couldn't restore %s" => "Konnte %s nicht wiederherstellen",
|
||||
"perform restore operation" => "Wiederherstellung ausführen",
|
||||
"Error" => "Fehler",
|
||||
"delete file permanently" => "Datei dauerhaft löschen",
|
||||
"Delete permanently" => "Endgültig löschen",
|
||||
"Name" => "Name",
|
||||
"Deleted" => "gelöscht",
|
||||
"_%n folder_::_%n folders_" => array("","%n Ordner"),
|
||||
"_%n file_::_%n files_" => array("","%n Dateien"),
|
||||
"restored" => "Wiederhergestellt",
|
||||
"Nothing in here. Your trash bin is empty!" => "Nichts zu löschen, der Papierkorb ist leer!",
|
||||
"Name" => "Name",
|
||||
"Restore" => "Wiederherstellen",
|
||||
"Deleted" => "gelöscht",
|
||||
"Delete" => "Löschen",
|
||||
"Deleted Files" => "Gelöschte Dateien"
|
||||
);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue