source-class-CAS_Languages_Japanese

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
Overview

Classes

Interfaces

Exceptions

Functions

  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 UTF-8.
 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 'サーバーを使っています。';
 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: ?>
114: 
 

© 2004-2018 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy