123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?php
- /**
- * Licensed to Jasig under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for
- * additional information regarding copyright ownership.
- *
- * Jasig licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * PHP Version 5
- *
- * @file CAS/Language/French.php
- * @category Authentication
- * @package PhpCAS
- * @author Pascal Aubry <pascal.aubry@univ-rennes1.fr>
- * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
- * @link https://wiki.jasig.org/display/CASC/phpCAS
- */
- /**
- * French language class
- *
- * @class CAS_Languages_French
- * @category Authentication
- * @package PhpCAS
- * @author Pascal Aubry <pascal.aubry@univ-rennes1.fr>
- * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
- * @link https://wiki.jasig.org/display/CASC/phpCAS
- *
- * @sa @link internalLang Internationalization @endlink
- * @ingroup internalLang
- */
- class CAS_Languages_French implements CAS_Languages_LanguageInterface
- {
- /**
- * Get the using server string
- *
- * @return string using server
- */
- public function getUsingServer()
- {
- return 'utilisant le serveur';
- }
- /**
- * Get authentication wanted string
- *
- * @return string authentication wanted
- */
- public function getAuthenticationWanted()
- {
- return 'Authentication CAS nécessaire !';
- }
- /**
- * Get logout string
- *
- * @return string logout
- */
- public function getLogout()
- {
- return 'Déconnexion demandée !';
- }
- /**
- * Get the should have been redirected string
- *
- * @return string should habe been redirected
- */
- public function getShouldHaveBeenRedirected()
- {
- return 'Vous auriez du etre redirigé(e) vers le serveur CAS. Cliquez <a href="%s">ici</a> pour continuer.';
- }
- /**
- * Get authentication failed string
- *
- * @return string authentication failed
- */
- public function getAuthenticationFailed()
- {
- return 'Authentification CAS infructueuse !';
- }
- /**
- * Get the your were not authenticated string
- *
- * @return string not authenticated
- */
- public function getYouWereNotAuthenticated()
- {
- return '<p>Vous n\'avez pas été authentifié(e).</p><p>Vous pouvez soumettre votre requete à nouveau en cliquant <a href="%s">ici</a>.</p><p>Si le problème persiste, vous pouvez contacter <a href="mailto:%s">l\'administrateur de ce site</a>.</p>';
- }
- /**
- * Get the service unavailable string
- *
- * @return string service unavailable
- */
- public function getServiceUnavailable()
- {
- return 'Le service `<b>%s</b>\' est indisponible (<b>%s</b>)';
- }
- }
- ?>
|