1<?php
2
3/**
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.
7 *
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:
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
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.
19 *
20 * PHP Version 7
21 *
22 * @file     CAS/Language/Galego.php
23 * @category Authentication
24 * @package  PhpCAS
25 * @author   Enrique Huelva Rivero enrique.huelvarivero@plexus.es
26 * @license  http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
27 * @link     https://wiki.jasig.org/display/CASC/phpCAS
28 */
29
30/**
31 * Galego language class
32 *
33 * @class    CAS_Languages_Galego
34 * @category Authentication
35 * @package  PhpCAS
36 * @author   Enrique Huelva Rivero enrique.huelvarivero@plexus.es
37 * @license  http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
38 * @link     https://wiki.jasig.org/display/CASC/phpCAS
39 *
40
41 * @sa @link internalLang Internationalization @endlink
42 * @ingroup internalLang
43 */
44class CAS_Languages_Galego implements CAS_Languages_LanguageInterface
45{
46    /**
47     * Get the using server string
48     *
49     * @return string using server
50     */
51    public function getUsingServer()
52    {
53        return 'usando servidor';
54    }
55
56    /**
57     * Get authentication wanted string
58     *
59     * @return string authentication wanted
60     */
61    public function getAuthenticationWanted()
62    {
63        return 'Autenticación CAS necesaria!';
64    }
65
66    /**
67     * Get logout string
68     *
69     * @return string logout
70     */
71    public function getLogout()
72    {
73        return 'Saída CAS necesaria!';
74    }
75
76    /**
77     * Get the should have been redirected string
78     *
79     * @return string should habe been redirected
80     */
81    public function getShouldHaveBeenRedirected()
82    {
83        return 'Xa debería ser redireccionado ao servidor CAS. Faga click <a href="%s">aquí</a> para continuar';
84    }
85
86    /**
87     * Get authentication failed string
88     *
89     * @return string authentication failed
90     */
91    public function getAuthenticationFailed()
92    {
93        return 'Autenticación CAS errada!';
94    }
95
96    /**
97     * Get the your were not authenticated string
98     *
99     * @return string not authenticated
100     */
101    public function getYouWereNotAuthenticated()
102    {
103        return '
104        <p>Non estás autenticado</p><p>Podes volver tentalo facendo click <a href="%s">aquí</a>.</p><p>Se o problema persiste debería contactar con el <a href="mailto:%s">administrador deste sitio</a>.</p>';
105    }
106
107    /**
108     * Get the service unavailable string
109     *
110     * @return string service unavailable
111     */
112    public function getServiceUnavailable()
113    {
114        return 'O servizo `<b>%s</b>\' non está dispoñible (<b>%s</b>).';
115    }
116}
117?>
118