French.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?php
  2. /**
  3. * Licensed to Jasig under one or more contributor license
  4. * agreements. See the NOTICE file distributed with this work for
  5. * additional information regarding copyright ownership.
  6. *
  7. * Jasig licenses this file to you under the Apache License,
  8. * Version 2.0 (the "License"); you may not use this file except in
  9. * compliance with the License. You may obtain a copy of the License at:
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. * PHP Version 5
  20. *
  21. * @file CAS/Language/French.php
  22. * @category Authentication
  23. * @package PhpCAS
  24. * @author Pascal Aubry <pascal.aubry@univ-rennes1.fr>
  25. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
  26. * @link https://wiki.jasig.org/display/CASC/phpCAS
  27. */
  28. /**
  29. * French language class
  30. *
  31. * @class CAS_Languages_French
  32. * @category Authentication
  33. * @package PhpCAS
  34. * @author Pascal Aubry <pascal.aubry@univ-rennes1.fr>
  35. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
  36. * @link https://wiki.jasig.org/display/CASC/phpCAS
  37. *
  38. * @sa @link internalLang Internationalization @endlink
  39. * @ingroup internalLang
  40. */
  41. class CAS_Languages_French 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 'utilisant le serveur';
  51. }
  52. /**
  53. * Get authentication wanted string
  54. *
  55. * @return string authentication wanted
  56. */
  57. public function getAuthenticationWanted()
  58. {
  59. return 'Authentication CAS nécessaire&nbsp;!';
  60. }
  61. /**
  62. * Get logout string
  63. *
  64. * @return string logout
  65. */
  66. public function getLogout()
  67. {
  68. return 'Déconnexion demandée&nbsp;!';
  69. }
  70. /**
  71. * Get the should have been redirected string
  72. *
  73. * @return string should habe been redirected
  74. */
  75. public function getShouldHaveBeenRedirected()
  76. {
  77. return 'Vous auriez du etre redirigé(e) vers le serveur CAS. Cliquez <a href="%s">ici</a> pour continuer.';
  78. }
  79. /**
  80. * Get authentication failed string
  81. *
  82. * @return string authentication failed
  83. */
  84. public function getAuthenticationFailed()
  85. {
  86. return 'Authentification CAS infructueuse&nbsp;!';
  87. }
  88. /**
  89. * Get the your were not authenticated string
  90. *
  91. * @return string not authenticated
  92. */
  93. public function getYouWereNotAuthenticated()
  94. {
  95. 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>';
  96. }
  97. /**
  98. * Get the service unavailable string
  99. *
  100. * @return string service unavailable
  101. */
  102. public function getServiceUnavailable()
  103. {
  104. return 'Le service `<b>%s</b>\' est indisponible (<b>%s</b>)';
  105. }
  106. }
  107. ?>