Upgrade phpCAS
[piwik-CASLogin.git] / CAS / CAS / Languages / Japanese.php
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 5
21  *
22  * @file     CAS/Language/Japanese.php
23  * @category Authentication
24  * @package  PhpCAS
25  * @author   fnorif <fnorif@yahoo.co.jp>
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  * Japanese language class. Now Encoding is EUC-JP and LF
32  *
33  * @class    CAS_Languages_Japanese
34  * @category Authentication
35  * @package  PhpCAS
36  * @author   fnorif <fnorif@yahoo.co.jp>
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 class CAS_Languages_Japanese implements CAS_Languages_LanguageInterface
42 {
43     /**
44      * Get the using server string
45      *
46      * @return string using server
47      */
48     public function getUsingServer()
49     {
50         return 'using server';
51     }
52
53     /**
54      * Get authentication wanted string
55      *
56      * @return string authentication wanted
57      */
58     public function getAuthenticationWanted()
59     {
60         return 'CAS�ˤ��ǧ�ڤ�Ԥ��ޤ�';
61     }
62
63     /**
64      * Get logout string
65      *
66      * @return string logout
67      */
68     public function getLogout()
69     {
70         return 'CAS����?�����Ȥ��ޤ�!';
71     }
72
73     /**
74      * Get the should have been redirected string
75      *
76      * @return string should habe been redirected
77      */
78     public function getShouldHaveBeenRedirected()
79     {
80         return 'CAS�����Ф˹Ԥ�ɬ�פ�����ޤ�����ưŪ��ž������ʤ����� <a href="%s">������</a> �򥯥�å�����³�Ԥ��ޤ��';
81     }
82
83     /**
84      * Get authentication failed string
85      *
86      * @return string authentication failed
87      */
88     public function getAuthenticationFailed()
89     {
90         return 'CAS�ˤ��ǧ�ڤ˼��Ԥ��ޤ���';
91     }
92
93     /**
94      * Get the your were not authenticated string
95      *
96      * @return string not authenticated
97      */
98     public function getYouWereNotAuthenticated()
99     {
100         return '<p>ǧ�ڤǤ��ޤ���Ǥ���.</p><p>�⤦���٥ꥯ�����Ȥ������������<a href="%s">������</a>�򥯥�å�.</p><p>���꤬��褷�ʤ����� <a href="mailto:%s">���Υ����Ȥδ����</a>���䤤��碌�Ƥ�������.</p>';
101     }
102
103     /**
104      * Get the service unavailable string
105      *
106      * @return string service unavailable
107      */
108     public function getServiceUnavailable()
109     {
110         return '�����ӥ� `<b>%s</b>\' �����ѤǤ��ޤ��� (<b>%s</b>).';
111     }
112 }
113 ?>