gunark-rubycas-server 0.6.99.336 → 0.7.999.20090212

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ module CASServer::Views
14
14
  if @use_layout
15
15
  xhtml_strict do
16
16
  head do
17
- title { "#{organization} Central Login" }
17
+ title { "#{organization} #{_(' Central Login')}" }
18
18
  link(:rel => "stylesheet", :type => "text/css", :href => "/themes/cas.css")
19
19
  link(:rel => "stylesheet", :type => "text/css", :href => "/themes/#{current_theme}/theme.css")
20
20
  end
@@ -38,7 +38,7 @@ module CASServer::Views
38
38
  td(:colspan => 2) do
39
39
  div(:id => "headline-container") do
40
40
  strong organization
41
- text " Central Login"
41
+ text _(" Central Login")
42
42
  end
43
43
  end
44
44
  end
@@ -64,11 +64,11 @@ module CASServer::Views
64
64
  # Just the login form.
65
65
  def login_form
66
66
  form(:method => "post", :action => @form_action || '/login', :id => "login-form",
67
- :onsubmit => "submitbutton = document.getElementById('login-submit'); submitbutton.value='Please wait...'; submitbutton.disabled=true; return true;") do
67
+ :onsubmit => "submitbutton = document.getElementById('login-submit'); submitbutton.value='#{ _("Please wait...") }'; submitbutton.disabled=true; return true;") do
68
68
  table(:id => "form-layout") do
69
69
  tr do
70
70
  td(:id => "username-label-container") do
71
- label(:id => "username-label", :for => "username") { "Username" }
71
+ label(:id => "username-label", :for => "username") { _( "Username" ) }
72
72
  end
73
73
  td(:id => "username-container") do
74
74
  input(:type => "text", :id => "username", :name => "username",
@@ -77,7 +77,7 @@ module CASServer::Views
77
77
  end
78
78
  tr do
79
79
  td(:id => "password-label-container") do
80
- label(:id => "password-label", :for => "password") { "Password" }
80
+ label(:id => "password-label", :for => "password") { _( "Password" ) }
81
81
  end
82
82
  td(:id => "password-container") do
83
83
  input(:type => "password", :id => "password", :name => "password",
@@ -89,7 +89,7 @@ module CASServer::Views
89
89
  td(:id => "submit-container") do
90
90
  input(:type => "hidden", :id => "lt", :name => "lt", :value => @lt)
91
91
  input(:type => "hidden", :id => "service", :name => "service", :value => @service)
92
- input(:type => "submit", :class => "button", :accesskey => "l", :value => "LOGIN", :tabindex => "4", :id => "login-submit")
92
+ input(:type => "submit", :class => "button", :accesskey => "l", :value => _("LOGIN"), :tabindex => "4", :id => "login-submit")
93
93
  end
94
94
  end
95
95
  tr do
@@ -108,7 +108,7 @@ module CASServer::Views
108
108
  td(:colspan => 2) do
109
109
  div(:id => "headline-container") do
110
110
  strong organization
111
- text " Central Login"
111
+ text _(" Central Login")
112
112
  end
113
113
  end
114
114
  end
@@ -214,17 +214,17 @@ module CASServer::Views
214
214
  module_function :themes_dir
215
215
 
216
216
  def current_theme
217
- CASServer::Conf.theme || "simple"
217
+ $CONF.theme || "simple"
218
218
  end
219
219
  module_function :current_theme
220
220
 
221
221
  def organization
222
- CASServer::Conf.organization || ""
222
+ $CONF.organization || ""
223
223
  end
224
224
  module_function :organization
225
225
 
226
226
  def infoline
227
- CASServer::Conf.infoline || ""
227
+ $CONF.infoline || ""
228
228
  end
229
229
  module_function :infoline
230
230
 
@@ -238,6 +238,6 @@ module CASServer::Views
238
238
  module_function :serialize_extra_attribute
239
239
  end
240
240
 
241
- if CASServer::Conf.custom_views_file
242
- require CASServer::Conf.custom_views_file
241
+ if $CONF.custom_views_file
242
+ require $CONF.custom_views_file
243
243
  end
data/lib/casserver.rb CHANGED
@@ -1,111 +1,55 @@
1
- $: << File.dirname(File.expand_path(__FILE__))
2
- require 'casserver/environment'
3
-
4
- $APP_PATH ||= File.dirname(File.expand_path(__FILE__))
5
-
6
- # change to current directory when invoked on its own
7
- Dir.chdir($APP_PATH) if __FILE__ == $0
8
-
9
- $: << $APP_PATH + "/../vendor/isaac_0.9.1"
10
- require 'crypt/ISAAC'
11
-
12
-
13
- require 'active_support'
14
- require 'yaml'
15
-
16
-
17
- # Camping.goes must be called after the authenticator class is loaded, otherwise weird things happen
18
- Camping.goes :CASServer
19
-
20
- $CONFIG_FILE ||= '/etc/rubycas-server/config.yml'
21
-
22
- # for some reason this makes JRuby happy
23
- class CASServer::Models::Base
1
+ unless Object.const_defined?(:Picnic)
2
+ $APP_NAME ||= 'rubycas-server'
3
+ $APP_ROOT ||= File.expand_path(File.dirname(__FILE__)+'/..')
4
+
5
+ if File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../vendor/picnic/lib'))
6
+ $: << picnic
7
+ elsif File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../../picnic/lib'))
8
+ $: << picnic
9
+ else
10
+ require 'rubygems'
11
+
12
+ # make things backwards-compatible for rubygems < 0.9.0
13
+ if respond_to?(:require_gem)
14
+ puts "WARNING: aliasing gem to require_gem in #{__FILE__} -- you should update your RubyGems system!"
15
+ alias gem require_gem
16
+ end
17
+
18
+ gem 'picnic'
19
+ end
20
+
21
+ require 'picnic'
24
22
  end
25
23
 
26
- CASServer.picnic!
24
+ require 'yaml'
25
+ require 'markaby'
27
26
 
28
- $CONF[:expire_sessions] ||= false
29
- $CONF[:login_ticket_expiry] ||= 5.minutes
30
- $CONF[:service_ticket_expiry] ||= 5.minutes # CAS Protocol Spec, sec. 3.2.1 (recommended expiry time)
31
- $CONF[:proxy_granting_ticket_expiry] ||= 48.hours
32
- $CONF[:ticket_granting_ticket_expiry] ||= 48.hours
33
- $CONF[:log] ||= {:file => 'casserver.log', :level => 'DEBUG'}
34
- $CONF[:uri_path] ||= "/"
27
+ require "casserver/conf"
28
+ require "picnic/logger"
35
29
 
36
- unless $CONF[:authenticator]
37
- $stderr.puts
38
- $stderr.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
39
- $stderr.puts
40
- $stderr.puts "You have not yet defined an authenticator for your CAS server!"
41
- $stderr.puts "Please consult your config file at #{$CONFIG_FILE.inspect} for details."
42
- $stderr.puts
43
- $stderr.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
44
- exit 1
45
- end
46
-
47
- require 'casserver/utils'
48
- require 'casserver/models'
49
- require 'casserver/cas'
50
- require 'casserver/views'
51
- require 'casserver/controllers'
30
+ $: << File.dirname(File.expand_path(__FILE__))
52
31
 
53
- if $CONF[:authenticator].instance_of? Array
54
- $CONF[:authenticator].each_index do |auth_index|
55
- $CONF[:authenticator][auth_index] = HashWithIndifferentAccess.new($CONF[:authenticator][auth_index])
56
- end
57
- end
32
+ $: << File.expand_path("#{File.dirname(__FILE__)}/../vendor/isaac_0.9.1")
33
+ require 'crypt/ISAAC'
58
34
 
59
- $AUTH = []
60
- begin
61
- # attempt to instantiate the authenticator
62
- if $CONF[:authenticator].instance_of? Array
63
- $CONF[:authenticator].each { |authenticator| $AUTH << authenticator[:class].constantize.new}
64
- else
65
- $AUTH << $CONF[:authenticator][:class].constantize.new
66
- end
67
- rescue NameError
68
- if $CONF[:authenticator].instance_of? Array
69
- $CONF[:authenticator].each do |authenticator|
70
- if !authenticator[:source].nil?
71
- # config.yml explicitly names source file
72
- require authenticator[:source]
73
- else
74
- # the authenticator class hasn't yet been loaded, so lets try to load it from the casserver/authenticators directory
75
- auth_rb = authenticator[:class].underscore.gsub('cas_server/', '')
76
- require 'casserver/'+auth_rb
77
- end
78
- $AUTH << authenticator[:class].constantize.new
79
- end
80
- else
81
- if !$CONF[:authenticator][:source].nil?
82
- # config.yml explicitly names source file
83
- require $CONF[:authenticator][:source]
84
- else
85
- # the authenticator class hasn't yet been loaded, so lets try to load it from the casserver/authenticators directory
86
- auth_rb = $CONF[:authenticator][:class].underscore.gsub('cas_server/', '')
87
- require 'casserver/'+auth_rb
88
- end
35
+ Camping.goes :CASServer
89
36
 
90
- $AUTH << $CONF[:authenticator][:class].constantize.new
91
- end
92
- end
37
+ Picnic::Logger.init_global_logger!
93
38
 
94
- $CONF[:public_dir] = {
95
- :path => "/themes",
96
- :dir => File.expand_path(File.dirname(__FILE__))+"/themes"
97
- }
39
+ require "casserver/utils"
40
+ require "casserver/models"
41
+ require "casserver/cas"
42
+ require "casserver/views"
43
+ require "casserver/controllers"
44
+ require "casserver/localization"
98
45
 
99
46
  def CASServer.create
100
- $LOG.info "Creating RubyCAS-Server..."
101
- CASServer::Models::Base.establish_connection(CASServer::Conf.database)
47
+ CASServer::Models::Base.establish_connection($CONF[:database])
102
48
  CASServer::Models.create_schema
103
49
 
104
- CASServer::Models::ServiceTicket.cleanup_expired(CASServer::Conf.service_ticket_expiry)
105
- CASServer::Models::LoginTicket.cleanup_expired(CASServer::Conf.login_ticket_expiry)
106
- CASServer::Models::ProxyGrantingTicket.cleanup_expired(CASServer::Conf.proxy_granting_ticket_expiry)
107
- CASServer::Models::TicketGrantingTicket.cleanup_expired(CASServer::Conf.ticket_granting_ticket_expiry)
50
+ CASServer::Models::ServiceTicket.cleanup_expired($CONF[:service_ticket_expiry])
51
+ CASServer::Models::LoginTicket.cleanup_expired($CONF[:login_ticket_expiry])
52
+ CASServer::Models::ProxyGrantingTicket.cleanup_expired($CONF[:proxy_granting_ticket_expiry])
53
+ CASServer::Models::TicketGrantingTicket.cleanup_expired($CONF[:ticket_granting_ticket_expiry])
108
54
  end
109
55
 
110
-
111
- CASServer.start_picnic
@@ -1 +1 @@
1
- require 'lib/casserver'
1
+ require File.dirname(__FILE__)+'/casserver'
@@ -0,0 +1,91 @@
1
+ # German translations for RubyCAS-Server package
2
+ # German messages for RubyCAS-Server.
3
+ # Copyright (C) 2008 THE RubyCAS-Server'S COPYRIGHT HOLDER
4
+ # This file is distributed under the same license as the RubyCAS-Server package.
5
+ # Matt Zukowski <mzukowski@urbacon.net>, 2008.
6
+ #
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: RubyCAS-Server \n"
10
+ "POT-Creation-Date: 2008-11-12 11:43-0500\n"
11
+ "PO-Revision-Date: 2008-11-12 12:49-0500\n"
12
+ "Last-Translator: Matt Zukowski <mzukowski@urbacon.net>\n"
13
+ "Language-Team: German\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ #: lib/casserver/controllers.rb:32
20
+ msgid ""
21
+ "You are currently logged in as '%s'. If this is not you, please log in below."
22
+ msgstr ""
23
+ "Sie sind derzeit angemeldet als '%s'. Sollten dies nicht Sie sein, melden Sie sich bitte unten an."
24
+
25
+ #: lib/casserver/controllers.rb:37
26
+ msgid ""
27
+ "The client and server are unable to negotiate authentication. Please try "
28
+ "logging in again later."
29
+ msgstr ""
30
+ "Client und Server sind nicht in der Lage eine Authentifizierung auszuhandeln. Bitte versuchen "
31
+ "Sie, sich zu einem späteren Zeitpunkt erneut anzumelden."
32
+
33
+ #: lib/casserver/controllers.rb:54
34
+ msgid ""
35
+ "The server cannot fulfill this gateway request because no service parameter "
36
+ "was given."
37
+ msgstr ""
38
+ "Der Server kann diese Gateway-Anfrage nicht erfüllen, da keine Service-Parameter übergeben "
39
+ "wurden."
40
+
41
+ #: lib/casserver/controllers.rb:59 lib/casserver/controllers.rb:195
42
+ msgid ""
43
+ "The target service your browser supplied appears to be invalid. Please "
44
+ "contact your system administrator for help."
45
+ msgstr ""
46
+ "Das Ziel-Service, welches Ihr Browsers geliefert hat, scheint ungültig zu sein. Bitte "
47
+ "wenden Sie sich an Ihren Systemadministrator, um Hilfe zu erhalten."
48
+
49
+ #: lib/casserver/controllers.rb:88
50
+ msgid ""
51
+ "Could not guess the CAS login URI. Please supply a submitToURI parameter "
52
+ "with your request."
53
+ msgstr ""
54
+ "Der CAS-Login-URI konnte nicht erraten werden. Bitte ergänzen Sie Ihre Anfrage "
55
+ " um einen submitToURI Parameter."
56
+
57
+ #: lib/casserver/controllers.rb:184
58
+ msgid "You have successfully logged in."
59
+ msgstr "Sie haben sich erfolgreich am Central Authentication Service angemeldet."
60
+
61
+ #: lib/casserver/controllers.rb:200
62
+ msgid "Incorrect username or password."
63
+ msgstr "Falscher Benutzername oder Passwort."
64
+
65
+ #: lib/casserver/controllers.rb:259
66
+ msgid "You have successfully logged out."
67
+ msgstr "Sie haben sich erfolgreich vom Central Authentication Service abgemeldet."
68
+
69
+ #: lib/casserver/controllers.rb:262
70
+ msgid " Please click on the following link to continue:"
71
+ msgstr " Bitte klicken Sie auf den folgenden Link, um fortzufahren:"
72
+
73
+ #: lib/casserver/controllers.rb:412
74
+ msgid "To generate a login ticket, you must make a POST request."
75
+ msgstr "Für die Generierung eines Login-Tickets, ist eine POST-Anfrage erforderlich."
76
+
77
+ #: lib/casserver/views.rb:41 lib/casserver/views.rb:111
78
+ msgid " Central Login"
79
+ msgstr " Zentrales Login"
80
+
81
+ #: lib/casserver/views.rb:71
82
+ msgid "Username"
83
+ msgstr "Benutzername"
84
+
85
+ #: lib/casserver/views.rb:80
86
+ msgid "Password"
87
+ msgstr "Passwort"
88
+
89
+ #: lib/casserver/views.rb:92
90
+ msgid "LOGIN"
91
+ msgstr "ANMELDEN"
@@ -0,0 +1,90 @@
1
+ # Spanish translations for RubyCAS-Server package
2
+ # Traducciones al espa ol para el paquete RubyCAS-Server.
3
+ # Copyright (C) 2008 THE RubyCAS-Server'S COPYRIGHT HOLDER
4
+ # This file is distributed under the same license as the RubyCAS-Server package.
5
+ # Matt Zukowski <mzukowski@urbacon.net>, 2008.
6
+ #
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: RubyCAS-Server \n"
10
+ "POT-Creation-Date: 2008-11-12 11:43-0500\n"
11
+ "PO-Revision-Date: 2008-11-12 12:30-0500\n"
12
+ "Last-Translator: Matt Zukowski <mzukowski@urbacon.net>\n"
13
+ "Language-Team: Spanish\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ #: lib/casserver/controllers.rb:32
20
+ msgid ""
21
+ "You are currently logged in as '%s'. If this is not you, please log in below."
22
+ msgstr ""
23
+ "Usted está conectado como '%s'. Si no lo es usted, por favor, acceda a continuación."
24
+
25
+ #: lib/casserver/controllers.rb:37
26
+ msgid ""
27
+ "The client and server are unable to negotiate authentication. Please try "
28
+ "logging in again later."
29
+ msgstr ""
30
+ "El cliente y el servidor no están en condiciones de negociar la autenticación. Por favor, "
31
+ "intente acceder de nuevo más tarde."
32
+
33
+ #: lib/casserver/controllers.rb:54
34
+ msgid ""
35
+ "The server cannot fulfill this gateway request because no service parameter "
36
+ "was given."
37
+ msgstr "El servidor no puede cumplir con esta petición, porque no fue parámetro de "
38
+ "servicio prestado."
39
+
40
+ #: lib/casserver/controllers.rb:59 lib/casserver/controllers.rb:195
41
+ msgid ""
42
+ "The target service your browser supplied appears to be invalid. Please "
43
+ "contact your system administrator for help."
44
+ msgstr ""
45
+ "El objetivo de su navegador de servicios ofrecidos parece ser nula. Por favor, "
46
+ "póngase en contacto con el administrador del sistema para obtener ayuda."
47
+
48
+ #: lib/casserver/controllers.rb:88
49
+ msgid ""
50
+ "Could not guess the CAS login URI. Please supply a submitToURI parameter "
51
+ "with your request."
52
+ msgstr ""
53
+ "No podía adivinar el URI de acceso CAS. Suministro submitToURI un parámetro "
54
+ "con su solicitud."
55
+
56
+ #: lib/casserver/controllers.rb:184
57
+ msgid "You have successfully logged in."
58
+ msgstr "Inicio de sesión satisfactorio."
59
+
60
+ #: lib/casserver/controllers.rb:200
61
+ msgid "Incorrect username or password."
62
+ msgstr "Incorrecto nombre de usuario o contraseña."
63
+
64
+ #: lib/casserver/controllers.rb:259
65
+ msgid "You have successfully logged out."
66
+ msgstr "Cierre de sesión satisfactorio."
67
+
68
+ #: lib/casserver/controllers.rb:262
69
+ msgid " Please click on the following link to continue:"
70
+ msgstr " Por favor, haga clic en el vínculo siguiente para continuar:"
71
+
72
+ #: lib/casserver/controllers.rb:412
73
+ msgid "To generate a login ticket, you must make a POST request."
74
+ msgstr "Para generar un ticket de acceso, usted debe hacer una petición POST."
75
+
76
+ #: lib/casserver/views.rb:41 lib/casserver/views.rb:111
77
+ msgid " Central Login"
78
+ msgstr " Servicio de Autenticación Central"
79
+
80
+ #: lib/casserver/views.rb:71
81
+ msgid "Username"
82
+ msgstr "Usuario"
83
+
84
+ #: lib/casserver/views.rb:80
85
+ msgid "Password"
86
+ msgstr "Contraseña"
87
+
88
+ #: lib/casserver/views.rb:92
89
+ msgid "LOGIN"
90
+ msgstr "INICIAR SESIÓN"
@@ -0,0 +1,90 @@
1
+ # French translations for RubyCAS-Server package
2
+ # Traductions françaises du paquet RubyCAS-Server.
3
+ # Copyright (C) 2008 THE RubyCAS-Server'S COPYRIGHT HOLDER
4
+ # This file is distributed under the same license as the RubyCAS-Server package.
5
+ # Matt Zukowski <mzukowski@urbacon.net>, 2008.
6
+ #
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: RubyCAS-Server \n"
10
+ "POT-Creation-Date: 2008-11-12 11:43-0500\n"
11
+ "PO-Revision-Date: 2008-11-12 11:53-0500\n"
12
+ "Last-Translator: Matt Zukowski <mzukowski@urbacon.net>\n"
13
+ "Language-Team: French\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+
19
+ #: lib/casserver/controllers.rb:32
20
+ msgid ""
21
+ "You are currently logged in as '%s'. If this is not you, please log in below."
22
+ msgstr ""
23
+ "Vous êtes actuellement connecté en tant que '% s'. Si ce n'est pas vous, s'il vous plaît connectez-vous ci-dessous."
24
+
25
+ #: lib/casserver/controllers.rb:37
26
+ msgid ""
27
+ "The client and server are unable to negotiate authentication. Please try "
28
+ "logging in again later."
29
+ msgstr ""
30
+ "Le client et le serveur sont incapables de négocier l'authentification. S'il vous "
31
+ "plaît essayez de vous connecter à nouveau plus tard."
32
+
33
+ #: lib/casserver/controllers.rb:54
34
+ msgid ""
35
+ "The server cannot fulfill this gateway request because no service parameter "
36
+ "was given."
37
+ msgstr ""
38
+ "Le serveur ne peut pas répondre à cette demande (pas de 'service' paramètre a été donné)."
39
+
40
+ #: lib/casserver/controllers.rb:59 lib/casserver/controllers.rb:195
41
+ msgid ""
42
+ "The target service your browser supplied appears to be invalid. Please "
43
+ "contact your system administrator for help."
44
+ msgstr ""
45
+ "L'objectif de service de votre navigateur fourni semble être incorrect. S'il "
46
+ "vous plaît contactez votre administrateur système pour obtenir de l'aide."
47
+
48
+ #: lib/casserver/controllers.rb:88
49
+ msgid ""
50
+ "Could not guess the CAS login URI. Please supply a submitToURI parameter "
51
+ "with your request."
52
+ msgstr ""
53
+ "Impossible de deviner le CAS de connexion URI. S'il vous plaît fournir une submitToURI paramètre "
54
+ "à votre demande."
55
+
56
+ #: lib/casserver/controllers.rb:184
57
+ msgid "You have successfully logged in."
58
+ msgstr "Vous vous êtes authentifié(e) auprès du Service Central d'Authentification."
59
+
60
+ #: lib/casserver/controllers.rb:200
61
+ msgid "Incorrect username or password."
62
+ msgstr "Les informations transmises n'ont pas permis de vous authentifier"
63
+
64
+ #: lib/casserver/controllers.rb:259
65
+ msgid "You have successfully logged out."
66
+ msgstr "Vous vous êtes déconnecté(e) du Service Central d'Authentification."
67
+
68
+ #: lib/casserver/controllers.rb:262
69
+ msgid " Please click on the following link to continue:"
70
+ msgstr " S'il vous plaît cliquer sur le lien suivant pour continuer:"
71
+
72
+ #: lib/casserver/controllers.rb:412
73
+ msgid "To generate a login ticket, you must make a POST request."
74
+ msgstr "Pour générer un ticket de connexion, vous devez faire une requête POST."
75
+
76
+ #: lib/casserver/views.rb:41 lib/casserver/views.rb:111
77
+ msgid " Central Login"
78
+ msgstr " Service Central d'Authentification."
79
+
80
+ #: lib/casserver/views.rb:71
81
+ msgid "Username"
82
+ msgstr "Identifiant"
83
+
84
+ #: lib/casserver/views.rb:80
85
+ msgid "Password"
86
+ msgstr "Mot de passe"
87
+
88
+ #: lib/casserver/views.rb:92
89
+ msgid "LOGIN"
90
+ msgstr "SE CONNECTER"
@@ -0,0 +1,92 @@
1
+ # Japanese translations for RubyCAS-Server package
2
+ # RubyCAS-Server パッケージに対する英訳.
3
+ # Copyright (C) 2008 THE RubyCAS-Server'S COPYRIGHT HOLDER
4
+ # This file is distributed under the same license as the RubyCAS-Server package.
5
+ # Matt Zukowski <mzukowski@urbacon.net>, 2008.
6
+ #
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: RubyCAS-Server \n"
10
+ "POT-Creation-Date: 2008-11-12 11:43-0500\n"
11
+ "PO-Revision-Date: 2008-11-12 13:04-0500\n"
12
+ "Last-Translator: Matt Zukowski <mzukowski@urbacon.net>\n"
13
+ "Language-Team: Japanese\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ # THIS IS MACHINE-TRANSLATED AND PROBABLY MAKES VERY LITTLE SENSE IN JAPANESE :)
20
+ # HELP IN CORRECTING THIS WOULD BE GREATLY APPRECIATED.
21
+ # この機械的に翻訳すると、おそらくほとんど意味です日本語 :)
22
+ # これを修正するのに役立つ高く評価されるだろう。
23
+
24
+ #: lib/casserver/controllers.rb:32
25
+ msgid ""
26
+ "You are currently logged in as '%s'. If this is not you, please log in below."
27
+ msgstr ""
28
+ "現在ログインしている'%s' 。この場合は、ログインしてください..の下ではない"
29
+
30
+ #: lib/casserver/controllers.rb:37
31
+ msgid ""
32
+ "The client and server are unable to negotiate authentication. Please try "
33
+ "logging in again later."
34
+ msgstr ""
35
+ "クライアントとサーバーは認証が交渉することはできません。再度保存してくださいにログインしてください。"
36
+
37
+ #: lib/casserver/controllers.rb:54
38
+ msgid ""
39
+ "The server cannot fulfill this gateway request because no service parameter "
40
+ "was given."
41
+ msgstr ""
42
+ "これはサービスのパラメータを指定されたサーバーは、このゲートウェイの要求を満たすことはできません。"
43
+
44
+ #: lib/casserver/controllers.rb:59 lib/casserver/controllers.rb:195
45
+ msgid ""
46
+ "The target service your browser supplied appears to be invalid. Please "
47
+ "contact your system administrator for help."
48
+ msgstr ""
49
+ "お使いのブラウザは、ターゲットのサービス提供は無効であることが表示されます。助けを求めるお客様のシステム管理者に連絡してください。"
50
+
51
+ #: lib/casserver/controllers.rb:88
52
+ msgid ""
53
+ "Could not guess the CAS login URI. Please supply a submitToURI parameter "
54
+ "with your request."
55
+ msgstr ""
56
+ "ログイン情報をCASのURIを推測することができませんでした。お客様のリクエストをしてくださいsubmitToURIパラメータを供給します。"
57
+
58
+ #: lib/casserver/controllers.rb:184
59
+ msgid "You have successfully logged in."
60
+ msgstr ""
61
+
62
+ #: lib/casserver/controllers.rb:200
63
+ msgid "Incorrect username or password."
64
+ msgstr "を正常にログインしている"
65
+
66
+ #: lib/casserver/controllers.rb:259
67
+ msgid "You have successfully logged out."
68
+ msgstr "を正常にログアウトしています。"
69
+
70
+ #: lib/casserver/controllers.rb:262
71
+ msgid " Please click on the following link to continue:"
72
+ msgstr " 継続するには、以下のリンクをクリックしてください:"
73
+
74
+ #: lib/casserver/controllers.rb:412
75
+ msgid "To generate a login ticket, you must make a POST request."
76
+ msgstr "チケットを生成するにはログインすると、 POST要求する必要があります。"
77
+
78
+ #: lib/casserver/views.rb:41 lib/casserver/views.rb:111
79
+ msgid " Central Login"
80
+ msgstr " 中央ログイン"
81
+
82
+ #: lib/casserver/views.rb:71
83
+ msgid "Username"
84
+ msgstr "ユーザー名"
85
+
86
+ #: lib/casserver/views.rb:80
87
+ msgid "Password"
88
+ msgstr "パスワード"
89
+
90
+ #: lib/casserver/views.rb:92
91
+ msgid "LOGIN"
92
+ msgstr "ログイン"