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/Catalan.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 * Catalan language class
33 * @class CAS_Languages_Catalan
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
40 * @sa @link internalLang Internationalization @endlink
41 * @ingroup internalLang
43 class CAS_Languages_Catalan implements CAS_Languages_LanguageInterface
46 * Get the using server string
48 * @return string using server
50 public function getUsingServer()
52 return 'usant servidor';
56 * Get authentication wanted string
58 * @return string authentication wanted
60 public function getAuthenticationWanted()
62 return 'Autentificació CAS necessària!';
68 * @return string logout
70 public function getLogout()
72 return 'Sortida de CAS necessària!';
76 * Get the should have been redirected string
78 * @return string should habe been redirected
80 public function getShouldHaveBeenRedirected()
82 return 'Ja hauria d\ haver estat redireccionat al servidor CAS. Feu click <a href="%s">aquí</a> per a continuar.';
86 * Get authentication failed string
88 * @return string authentication failed
90 public function getAuthenticationFailed()
92 return 'Autentificació CAS fallida!';
96 * Get the your were not authenticated string
98 * @return string not authenticated
100 public function getYouWereNotAuthenticated()
102 return '<p>No estàs autentificat.</p><p>Pots tornar a intentar-ho fent click <a href="%s">aquí</a>.</p><p>Si el problema persisteix hauría de contactar amb l\'<a href="mailto:%s">administrador d\'aquest llocc</a>.</p>';
106 * Get the service unavailable string
108 * @return string service unavailable
110 public function getServiceUnavailable()
112 return 'El servei `<b>%s</b>\' no està disponible (<b>%s</b>).';