refinerycms-authentication 0.9.9.4 → 0.9.9.5
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.
- data/app/models/user.rb +1 -1
- data/config/locales/es.yml +8 -2
- data/config/locales/it.yml +23 -23
- data/config/locales/sk.yml +72 -0
- data/refinerycms-authentication.gemspec +4 -3
- metadata +5 -4
data/app/models/user.rb
CHANGED
@@ -54,7 +54,7 @@ class User < ActiveRecord::Base
|
|
54
54
|
|
55
55
|
def has_role?(title)
|
56
56
|
raise ArgumentException, "Role should be the title of the role not a role object." if title.is_a?(Role)
|
57
|
-
|
57
|
+
roles.any?{|r| r.title == title.to_s.camelize}
|
58
58
|
end
|
59
59
|
|
60
60
|
end
|
data/config/locales/es.yml
CHANGED
@@ -2,6 +2,7 @@ es:
|
|
2
2
|
plugins:
|
3
3
|
refinery_users:
|
4
4
|
title: Usuarios
|
5
|
+
description: Gestionar usuarios
|
5
6
|
admin:
|
6
7
|
users:
|
7
8
|
delete: Borrar a este usuario para siempre
|
@@ -48,15 +49,20 @@ es:
|
|
48
49
|
subject: Enlace para cambiar tu contraseña
|
49
50
|
reset_request_received_for: Petición de restablecimiento de contraseña recibido por %{username}
|
50
51
|
visit_this_url: Ve a esta URL para establecer una contraseña nueva
|
51
|
-
remain_same_if_no_action: contraseña será la misma si no realizas esta acción
|
52
|
+
remain_same_if_no_action: la contraseña será la misma si no realizas esta acción
|
53
|
+
roles:
|
54
|
+
superuser: Superusuario
|
55
|
+
refinery: Refinery
|
52
56
|
activerecord:
|
53
57
|
models:
|
54
58
|
user: usuario
|
55
59
|
attributes:
|
56
60
|
user:
|
57
61
|
login: Usuario
|
62
|
+
username: Usuario
|
58
63
|
email: E-mail
|
59
64
|
password: Contraseña
|
65
|
+
password_confirmation: Confirmar contraseña
|
60
66
|
remember_me: Recordarme
|
61
67
|
errors:
|
62
68
|
messages:
|
@@ -97,4 +103,4 @@ es:
|
|
97
103
|
reset_password_instructions:
|
98
104
|
subject: 'Instrucciones para cambiar tu contraseña'
|
99
105
|
unlock_instructions:
|
100
|
-
subject: 'Instrucciones para desbloquear tu cuenta'
|
106
|
+
subject: 'Instrucciones para desbloquear tu cuenta'
|
data/config/locales/it.yml
CHANGED
@@ -5,51 +5,51 @@ it:
|
|
5
5
|
description: Gestione degli utenti
|
6
6
|
admin:
|
7
7
|
users:
|
8
|
-
delete:
|
8
|
+
delete: Elimina questo utente
|
9
9
|
edit: Modifica questo utente
|
10
10
|
update:
|
11
|
-
cannot_remove_user_plugin_from_current_user: Non è possibile rimuovere
|
11
|
+
cannot_remove_user_plugin_from_current_user: "Non è possibile rimuovere la sezione 'Utenti' dall'account attualmente connesso."
|
12
12
|
form:
|
13
|
-
blank_password_keeps_current: Lasciando
|
14
|
-
plugin_access:
|
15
|
-
role_access:
|
16
|
-
enable_all:
|
13
|
+
blank_password_keeps_current: Lasciando il campo Password vuoto essa non verrà modificata
|
14
|
+
plugin_access: "Abilitare l'accesso alle sezioni"
|
15
|
+
role_access: Ruoli autorizzati
|
16
|
+
enable_all: seleziona tutto
|
17
17
|
index:
|
18
|
-
create_new_user: Crea nuovo utente
|
18
|
+
create_new_user: Crea un nuovo utente
|
19
19
|
user:
|
20
20
|
email_user: E-mail a questo utente
|
21
21
|
preview: "(%{who}) creato il %{created_at}"
|
22
22
|
sessions:
|
23
23
|
new:
|
24
|
-
forgot_password:
|
24
|
+
forgot_password: Password dimenticata?
|
25
25
|
sign_in: Entra
|
26
26
|
hello_please_sign_in: Ciao! Accedi per favore.
|
27
27
|
users:
|
28
|
-
setup_website_name_html: "Prima di tutto
|
28
|
+
setup_website_name_html: "Prima di tutto <a href='%{link}' name='%{title}'>modifica il nome del sito</a>"
|
29
29
|
new:
|
30
|
-
fill_form: Compila il form sottostante con i tuoi dati
|
31
|
-
sign_up:
|
30
|
+
fill_form: Compila il form sottostante con i tuoi dati
|
31
|
+
sign_up: Registrati
|
32
32
|
create:
|
33
|
-
welcome: "
|
33
|
+
welcome: "Benvenuto in Refinery, %{who}"
|
34
34
|
forgot:
|
35
35
|
email_address: Indirizzo e-mail
|
36
|
-
enter_email_address: "Inserisci l'indirizzo di posta elettronica per l
|
36
|
+
enter_email_address: "Inserisci l'indirizzo di posta elettronica per l'utente."
|
37
37
|
reset_password: Reimpostazione della password
|
38
|
-
blank_email: Non hai inserito
|
39
|
-
email_not_associated_with_account_html: "
|
38
|
+
blank_email: "Non hai inserito l'indirizzo email."
|
39
|
+
email_not_associated_with_account_html: "Spiacenti, '%{email}' non è associato ad alcun account. <br/>Sei sicuro di aver scritto l'indirizzo email corretto?"
|
40
40
|
email_reset_sent: Ti è stata inviata una e-mail con il link per reimpostare la password.
|
41
|
-
password_encryption: "È necessario reimpostare la password,
|
41
|
+
password_encryption: "È necessario reimpostare la password, poiché ci sono stati cambiamenti nei metodi di crittografia della password, in modo da rendere più sicuro l'accesso."
|
42
42
|
reset:
|
43
|
-
code_invalid: "
|
43
|
+
code_invalid: "Spiacenti, ma il codice per la reimpostazione della password è scaduto o non è valido. Se si hanno problemi provare a copiare e incollare l'URL dalla vostra e-mail al vostro browser, o a ripetere la procedura di reimpostazione password."
|
44
44
|
successful: "Il ripristino della password è avvenuto con successo per %{email}"
|
45
45
|
pick_new_password_for: "Scegli una nuova password per %{email}"
|
46
46
|
reset_password: Reimposta la password
|
47
47
|
user_mailer:
|
48
48
|
reset_notification:
|
49
49
|
subject: Link per reimpostare la password
|
50
|
-
reset_request_received_for: "
|
50
|
+
reset_request_received_for: "È stata richiesta la reimpostazione della password per %{username}"
|
51
51
|
visit_this_url: Visita questo URL per scegliere una nuova password
|
52
|
-
remain_same_if_no_action: "La password rimarrà
|
52
|
+
remain_same_if_no_action: "La password rimarrà la stessa se non si effettua una scelta"
|
53
53
|
activerecord:
|
54
54
|
attributes:
|
55
55
|
user:
|
@@ -70,17 +70,17 @@ it:
|
|
70
70
|
locked: "Il tuo account è bloccato."
|
71
71
|
invalid: "Indirizzo email o password non validi."
|
72
72
|
invalid_token: "Codice di autenticazione non valido."
|
73
|
-
timeout: "Sessione scaduta,
|
73
|
+
timeout: "Sessione scaduta, rieffettuare l'accesso."
|
74
74
|
inactive: "Il tuo account non è stato ancora attivato."
|
75
75
|
sessions:
|
76
76
|
signed_in: "Accesso effettuato con successo."
|
77
|
-
signed_out: "
|
77
|
+
signed_out: "Uscita effettuata correttamente."
|
78
78
|
passwords:
|
79
79
|
send_instructions: "Riceverai un messaggio email con le istruzioni per reimpostare la tua password entro qualche minuto."
|
80
80
|
updated: "La tua password è stata cambiata. Ora sei collegato."
|
81
81
|
confirmations:
|
82
82
|
send_instructions: "Riceverai un messaggio email con le istruzioni per confermare il tuo account entro qualche minuto."
|
83
|
-
confirmed: "Il tuo account è stato
|
83
|
+
confirmed: "Il tuo account è stato confermato. Ora sei collegato."
|
84
84
|
registrations:
|
85
85
|
signed_up: "Iscrizione correttamente eseguita. Se abilitata, una conferma è stata inviata al tuo indirizzo email."
|
86
86
|
updated: "Il tuo account è stato aggiornato."
|
@@ -94,4 +94,4 @@ it:
|
|
94
94
|
reset_password_instructions:
|
95
95
|
subject: "Istruzioni per reimpostare la password"
|
96
96
|
unlock_instructions:
|
97
|
-
subject: "Istruzioni per sbloccare l'account"
|
97
|
+
subject: "Istruzioni per sbloccare l'account"
|
@@ -0,0 +1,72 @@
|
|
1
|
+
sk:
|
2
|
+
plugins:
|
3
|
+
refinery_users:
|
4
|
+
title: Užívatelia
|
5
|
+
description: Spravovať užívateľov
|
6
|
+
admin:
|
7
|
+
users:
|
8
|
+
delete: Zmazať tohto užívateľa
|
9
|
+
edit: Editovať tohto užívateľa
|
10
|
+
update:
|
11
|
+
cannot_remove_user_plugin_from_current_user: Nemôžete odstrániť modul 'Users' z aktuálne prihláseného konta.
|
12
|
+
form:
|
13
|
+
blank_password_keeps_current: Ak necháte toto pole prázdne bude zachované súčasné heslo.
|
14
|
+
plugin_access: Prístup k modulom
|
15
|
+
role_access: Priradiť role
|
16
|
+
enable_all: povoliť všetko
|
17
|
+
index:
|
18
|
+
create_new_user: Pridať nového užívateľa
|
19
|
+
user:
|
20
|
+
email_user: Poslať užívateľovi email
|
21
|
+
preview: (%{who}) pridaný %{created_at}
|
22
|
+
sessions:
|
23
|
+
new:
|
24
|
+
hello_please_sign_in: Prosím prihláste sa.
|
25
|
+
sign_in: Prihlásenie
|
26
|
+
forgot_password: Zabudol som heslo
|
27
|
+
users:
|
28
|
+
setup_website_name_html: Dajte vášmu webu meno. <a href='%{link}' name='%{title}'>Tu môžete meno editovať</a>.
|
29
|
+
new:
|
30
|
+
fill_form: Vyplňte údaje a môžeme začať.
|
31
|
+
sign_up: Registrácia
|
32
|
+
create:
|
33
|
+
welcome: Vitajte, %{who}
|
34
|
+
forgot:
|
35
|
+
email_address: Emailová adresa
|
36
|
+
enter_email_address: Prosím zadajte emailovú adresu.
|
37
|
+
reset_password: Resetovať heslo
|
38
|
+
blank_email: Musíte zadať emailovú adresu.
|
39
|
+
email_not_associated_with_account_html: "Email '%{email}' nie je asociovaný z žiadnym užívateľským kontom.<br />Ste si istí, že ste použili správnu adresu?"
|
40
|
+
email_reset_sent: Bol vám zaslaný email s odkazom na resetovanie hesla.
|
41
|
+
password_encryption: Musíte si zmeniť heslo, pretože nastala zmena v šifrovacie metóde uložených hesiel. Refinery sa stáva viac bezpečnejšie ako predtým.
|
42
|
+
reset:
|
43
|
+
code_invalid: "Ospravedlňujeme sa, ale kód pre resetovanie hesla je buď chybný alebo expirovaný. Skúste skopírovať adresu pre resetovanie hesle z emailu ktorý ste obdržal/a, alebo si nechajte email zaslať znova."
|
44
|
+
successful: "Heslo bolo úspešne resetované pre '%{email}'"
|
45
|
+
pick_new_password_for: "Zadajte nové heslo pre %{email}"
|
46
|
+
reset_password: Reset hesla
|
47
|
+
user_mailer:
|
48
|
+
reset_notification:
|
49
|
+
subject: Odkaz pre reset hesla
|
50
|
+
reset_request_received_for: "Požiadavka na vytvorenie nového hesla pre používateľské konto %{username}"
|
51
|
+
visit_this_url: Navštívte túto URL pre zvolenie nového hesla.
|
52
|
+
remain_same_if_no_action: Vaše heslo zostane nezmenené, ak nevykonáte žiadnu akciu.
|
53
|
+
devise:
|
54
|
+
failure:
|
55
|
+
unauthenticated: Pre pokračovanie sa musíte prihlásiť.
|
56
|
+
invalid: "Prepáčte, vaše užívateľské meno alebo heslo je neplatné."
|
57
|
+
sessions:
|
58
|
+
signed_in: Úspešné prihlásenie.
|
59
|
+
roles:
|
60
|
+
superuser: Superužívateľ
|
61
|
+
refinery: Refinery
|
62
|
+
activerecord:
|
63
|
+
models:
|
64
|
+
user: užívateľ
|
65
|
+
attributes:
|
66
|
+
user:
|
67
|
+
login: Prihlásiť
|
68
|
+
username: Užívateľské meno
|
69
|
+
password: Heslo
|
70
|
+
password_confirmation: Potvrdiť heslo
|
71
|
+
email: Email
|
72
|
+
remember_me: Zapamätať heslo
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{refinerycms-authentication}
|
5
|
-
s.version = %q{0.9.9.
|
5
|
+
s.version = %q{0.9.9.5}
|
6
6
|
s.summary = %q{Authentication engine for Refinery CMS}
|
7
7
|
s.description = %q{The default authentication engine for Refinery CMS}
|
8
|
-
s.date = %q{2011-
|
8
|
+
s.date = %q{2011-03-08}
|
9
9
|
s.email = %q{info@refinerycms.com}
|
10
10
|
s.homepage = %q{http://refinerycms.com}
|
11
11
|
s.rubyforge_project = %q{refinerycms}
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.require_paths = %w(lib)
|
15
15
|
s.executables = %w()
|
16
16
|
|
17
|
-
s.add_dependency 'refinerycms-core', '~> 0.9.9.
|
17
|
+
s.add_dependency 'refinerycms-core', '~> 0.9.9.5'
|
18
18
|
s.add_dependency 'devise', '~> 1.1'
|
19
19
|
|
20
20
|
s.files = [
|
@@ -75,6 +75,7 @@ Gem::Specification.new do |s|
|
|
75
75
|
'config/locales/pt-BR.yml',
|
76
76
|
'config/locales/rs.yml',
|
77
77
|
'config/locales/ru.yml',
|
78
|
+
'config/locales/sk.yml',
|
78
79
|
'config/locales/sl.yml',
|
79
80
|
'config/locales/sv.yml',
|
80
81
|
'config/locales/vi.yml',
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: refinerycms-authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.9.
|
5
|
+
version: 0.9.9.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Resolve Digital
|
@@ -13,7 +13,7 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2011-
|
16
|
+
date: 2011-03-08 00:00:00 +13:00
|
17
17
|
default_executable:
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.9.9.
|
27
|
+
version: 0.9.9.5
|
28
28
|
type: :runtime
|
29
29
|
version_requirements: *id001
|
30
30
|
- !ruby/object:Gem::Dependency
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- config/locales/pt-BR.yml
|
89
89
|
- config/locales/rs.yml
|
90
90
|
- config/locales/ru.yml
|
91
|
+
- config/locales/sk.yml
|
91
92
|
- config/locales/sl.yml
|
92
93
|
- config/locales/sv.yml
|
93
94
|
- config/locales/vi.yml
|
@@ -135,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
136
|
requirements: []
|
136
137
|
|
137
138
|
rubyforge_project: refinerycms
|
138
|
-
rubygems_version: 1.
|
139
|
+
rubygems_version: 1.6.0
|
139
140
|
signing_key:
|
140
141
|
specification_version: 3
|
141
142
|
summary: Authentication engine for Refinery CMS
|