* @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman * @author Sergio Bertolín * @author Thomas Müller * @author Vincent Petry * * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License, version 3, * along with this program. If not, see * */ require_once __DIR__ . '/lib/versioncheck.php'; try { require_once __DIR__ . '/lib/base.php'; OC::handleRequest(); } catch(\OC\ServiceUnavailableException $ex) { \OC::$server->getLogger()->logException($ex, array('app' => 'index')); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printExceptionErrorPage($ex); } catch (\OC\HintException $ex) { OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); try { OC_Template::printErrorPage($ex->getMessage(), $ex->getHint()); } catch (Exception $ex2) { \OC::$server->getLogger()->logException($ex, array('app' => 'index')); \OC::$server->getLogger()->logException($ex2, array('app' => 'index')); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); } } catch (\OC\User\LoginException $ex) { OC_Response::setStatus(OC_Response::STATUS_FORBIDDEN); OC_Template::printErrorPage($ex->getMessage(), $ex->getMessage()); } catch (Exception $ex) { \OC::$server->getLogger()->logException($ex, array('app' => 'index')); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); } catch (Error $ex) { try { \OC::$server->getLogger()->logException($ex, array('app' => 'index')); } catch (Error $e) { $claimedProtocol = strtoupper($_SERVER['SERVER_PROTOCOL']); $validProtocols = [ 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2', ]; $protocol = 'HTTP/1.1'; if(in_array($claimedProtocol, $validProtocols, true)) { $protocol = $claimedProtocol; } header($protocol . ' 500 Internal Server Error'); header('Content-Type: text/plain; charset=utf-8'); print("Internal Server Error\n\n"); print("The server encountered an internal error and was unable to complete your request.\n"); print("Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\n"); print("More details can be found in the webserver log.\n"); throw $e; } OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); } /option> Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
blob: a2ecea75fb813e4959447cb447e8e7b483f88f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
OC.L10N.register(
    "sharebymail",
    {
    "Shared with %1$s" : "Compartido con %1$s",
    "Shared with {email}" : "Compartido con {email}",
    "Shared with %1$s by %2$s" : "Compartido con %1$s por %2$s",
    "Shared with {email} by {actor}" : "Compartido con {email} por {actor}",
    "Password for mail share sent to %1$s" : "La contraseña para el elemento compartido fue enviada a %1$s",
    "Password for mail share sent to {email}" : "La contraseña para el elemento compartido fue enviada a {email}",
    "Password for mail share sent to you" : "La contraseña para el elemento compartido se te ha enviado",
    "You shared %1$s with %2$s by mail" : "Compartiste %1$s con %2$s por correo",
    "You shared {file} with {email} by mail" : "Compartiste {file} con {email} por correo",
    "%3$s shared %1$s with %2$s by mail" : "%3$s compartió %1$s con %2$s por correo ",
    "{actor} shared {file} with {email} by mail" : "{actor} compartió {file} con {email} por correo",
    "Password to access %1$s was sent to %2s" : "La contraseña para acceder %1$s fue enviada a %2s",
    "Password to access {file} was sent to {email}" : "La contraseña para acceder {file} ha sido enviada a {email}",
    "Password to access %1$s was sent to you" : "La contraseña para acceder %1$s se te ha enviado",
    "Password to access {file} was sent to you" : "La contraseña para acceder {file} se te ha sido enviada",
    "We can't send you the auto-generated password. Please set a valid email address in your personal settings and try again." : "No es posible enviarte la contraseña auto-generada. Por favor establece una dirección de correo electrónico váilida en tus configuraciones personales y vuelve a intentarlo.",
    "Failed to send share by email" : "Se presentó una falla al enviar el elemento compartido por correo electrónico",
    "Click the button below to open it." : "Haz click en el botón de abajo para abrirlo.",
    "Open »%s«" : "Abrir »%s«",
    "Password to access »%s«" : "Contraseña para acceder  »%s«",
    "You can choose a different password at any time in the share dialog." : "Puedes elegir una contraseña diferente en cualquier momento en la ventana de diálogo de compartir. ",
    "Could not find share" : "No fue posible encontrar el elemento compartido",
    "Share by mail" : "Compartir por correo",
    "Allows users to share a personalized link to a file or folder by putting in an email address." : "Le permite a los usuarios compartir una liga personalizada a un archivo o carpeta colocando una dirección de correo eletrónico. ",
    "Send password by mail" : "La contraseña ha sido enviada por correo",
    "Enforce password protection" : "Forzar protección con contraseña"
},
"nplurals=2; plural=(n != 1);");