4
* Licensed to Jasig under one or more contributor license
5
* agreements. See the NOTICE file distributed with this work for
6
* additional information regarding copyright ownership.
8
* Jasig licenses this file to you under the Apache License,
9
* Version 2.0 (the "License"); you may not use this file except in
10
* compliance with the License. You may obtain a copy of the License at:
12
* http://www.apache.org/licenses/LICENSE-2.0
14
* Unless required by applicable law or agreed to in writing, software
15
* distributed under the License is distributed on an "AS IS" BASIS,
16
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
22
* @file CAS/Language/Spanish.php
23
* @category Authentication
25
* @author Iván-Benjamín García Torà <ivaniclixx@gmail.com>
26
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
27
* @link https://wiki.jasig.org/display/CASC/phpCAS
31
* Spanish language class
33
* @class CAS_Languages_Spanish
34
* @category Authentication
36
* @author Iván-Benjamín García Torà <ivaniclixx@gmail.com>
37
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
38
* @link https://wiki.jasig.org/display/CASC/phpCAS
41
* @sa @link internalLang Internationalization @endlink
42
* @ingroup internalLang
44
class CAS_Languages_Spanish implements CAS_Languages_LanguageInterface
48
* Get the using server string
50
* @return string using server
52
public function getUsingServer()
54
return 'usando servidor';
58
* Get authentication wanted string
60
* @return string authentication wanted
62
public function getAuthenticationWanted()
64
return '¡Autentificación CAS necesaria!';
70
* @return string logout
72
public function getLogout()
74
return '¡Salida CAS necesaria!';
78
* Get the should have been redirected string
80
* @return string should habe been redirected
82
public function getShouldHaveBeenRedirected()
84
return 'Ya debería haber sido redireccionado al servidor CAS. Haga click <a href="%s">aquí</a> para continuar.';
88
* Get authentication failed string
90
* @return string authentication failed
92
public function getAuthenticationFailed()
94
return '¡Autentificación CAS fallida!';
98
* Get the your were not authenticated string
100
* @return string not authenticated
102
public function getYouWereNotAuthenticated()
104
return '<p>No estás autentificado.</p><p>Puedes volver a intentarlo haciendo click <a href="%s">aquí</a>.</p><p>Si el problema persiste debería contactar con el <a href="mailto:%s">administrador de este sitio</a>.</p>';
108
* Get the service unavailable string
110
* @return string service unavailable
112
public function getServiceUnavailable()
114
return 'El servicio `<b>%s</b>\' no está disponible (<b>%s</b>).';