refinerycms-authentication 1.0.11 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/refinery/admin/users_controller.rb +100 -0
- data/app/controllers/refinery/passwords_controller.rb +51 -0
- data/app/controllers/refinery/sessions_controller.rb +26 -0
- data/app/controllers/refinery/users_controller.rb +42 -0
- data/app/helpers/refinery/sessions_helper.rb +4 -0
- data/app/helpers/refinery/users_helper.rb +4 -0
- data/app/mailers/refinery/user_mailer.rb +22 -0
- data/app/models/refinery/role.rb +18 -0
- data/app/models/refinery/roles_users.rb +8 -0
- data/app/models/refinery/user.rb +94 -0
- data/app/models/refinery/user_plugin.rb +8 -0
- data/app/views/refinery/admin/users/_actions.html.erb +6 -0
- data/app/views/{admin → refinery/admin}/users/_form.html.erb +15 -19
- data/app/views/{admin → refinery/admin}/users/_records.html.erb +1 -1
- data/app/views/refinery/admin/users/_user.html.erb +21 -0
- data/app/views/refinery/admin/users/_users.html.erb +4 -0
- data/app/views/refinery/admin/users/edit.html.erb +1 -0
- data/app/views/refinery/admin/users/index.html.erb +6 -0
- data/app/views/refinery/admin/users/new.html.erb +1 -0
- data/app/views/{layouts → refinery/layouts}/login.html.erb +3 -4
- data/app/views/refinery/passwords/edit.html.erb +26 -0
- data/app/views/refinery/passwords/new.html.erb +17 -0
- data/app/views/{sessions → refinery/sessions}/new.html.erb +6 -8
- data/app/views/refinery/user_mailer/reset_notification.html.erb +12 -0
- data/app/views/refinery/user_mailer/reset_notification.text.plain.erb +7 -0
- data/app/views/refinery/users/new.html.erb +29 -0
- data/config/locales/bg.yml +55 -55
- data/config/locales/cs.yml +58 -58
- data/config/locales/da.yml +55 -55
- data/config/locales/de.yml +55 -55
- data/config/locales/el.yml +55 -55
- data/config/locales/en.yml +55 -55
- data/config/locales/es.yml +55 -60
- data/config/locales/fi.yml +55 -55
- data/config/locales/fr.yml +55 -55
- data/config/locales/it.yml +51 -57
- data/config/locales/ja.yml +72 -0
- data/config/locales/ko.yml +72 -0
- data/config/locales/lt.yml +46 -46
- data/config/locales/lv.yml +55 -55
- data/config/locales/nb.yml +55 -55
- data/config/locales/nl.yml +55 -55
- data/config/locales/pl.yml +53 -59
- data/config/locales/pt-BR.yml +52 -52
- data/config/locales/rs.yml +62 -61
- data/config/locales/ru.yml +52 -52
- data/config/locales/sk.yml +55 -55
- data/config/locales/sl.yml +55 -54
- data/config/locales/sv.yml +52 -52
- data/config/locales/vi.yml +55 -55
- data/config/locales/zh-CN.yml +55 -55
- data/config/locales/zh-TW.yml +55 -55
- data/config/routes.rb +30 -24
- data/db/migrate/20100913234705_create_refinerycms_authentication_schema.rb +30 -30
- data/lib/refinery/authenticated_system.rb +40 -0
- data/lib/refinery/authentication/configuration.rb +9 -0
- data/lib/refinery/authentication/engine.rb +36 -0
- data/lib/refinery/authentication.rb +29 -0
- data/lib/refinerycms-authentication.rb +1 -54
- data/refinerycms-authentication.gemspec +14 -109
- data/spec/controllers/refinery/admin/users_controller_spec.rb +73 -0
- data/spec/factories/user.rb +38 -0
- data/spec/models/refinery/user_spec.rb +220 -0
- data/spec/requests/refinery/admin/users_spec.rb +49 -0
- data/spec/requests/refinery/passwords_spec.rb +84 -0
- data/spec/requests/refinery/sessions_spec.rb +62 -0
- metadata +109 -124
- data/app/controllers/admin/users_controller.rb +0 -86
- data/app/controllers/passwords_controller.rb +0 -42
- data/app/controllers/sessions_controller.rb +0 -23
- data/app/controllers/users_controller.rb +0 -67
- data/app/helpers/sessions_helper.rb +0 -2
- data/app/helpers/users_helper.rb +0 -2
- data/app/mailers/user_mailer.rb +0 -20
- data/app/models/role.rb +0 -16
- data/app/models/roles_users.rb +0 -6
- data/app/models/user.rb +0 -65
- data/app/models/user_plugin.rb +0 -6
- data/app/views/admin/users/_actions.html.erb +0 -5
- data/app/views/admin/users/_user.html.erb +0 -19
- data/app/views/admin/users/_users.html.erb +0 -4
- data/app/views/admin/users/edit.html.erb +0 -1
- data/app/views/admin/users/index.html.erb +0 -6
- data/app/views/admin/users/new.html.erb +0 -1
- data/app/views/passwords/edit.html.erb +0 -31
- data/app/views/passwords/new.html.erb +0 -18
- data/app/views/user_mailer/reset_notification.html.erb +0 -12
- data/app/views/user_mailer/reset_notification.text.plain.erb +0 -7
- data/app/views/users/new.html.erb +0 -41
- data/config/locales/jp.yml +0 -72
- data/config/locales/lolcat.yml +0 -55
- data/db/migrate/20100929035252_add_missing_indexes_to_roles_users.rb +0 -11
- data/db/migrate/20101206013505_change_to_devise_users_table.rb +0 -27
- data/db/migrate/20110106184757_add_remember_created_at_to_users.rb +0 -9
- data/db/migrate/20110325213325_remove_password_salt_from_users.rb +0 -13
- data/features/lost_password.feature +0 -49
- data/features/manage_users.feature +0 -88
- data/features/step_definitions/lost_password.rb +0 -8
- data/features/step_definitions/user_steps.rb +0 -41
- data/features/support/factories.rb +0 -32
- data/features/support/paths.rb +0 -24
- data/lib/authenticated_system.rb +0 -29
- data/lib/gemspec.rb +0 -38
- data/lib/generators/refinerycms_authentication_generator.rb +0 -8
- data/spec/models/user_spec.rb +0 -152
data/config/locales/nl.yml
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
nl:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_users:
|
5
|
+
title: Gebruikers
|
6
|
+
describe: Beheer gebruikers
|
7
|
+
admin:
|
8
|
+
users:
|
9
|
+
delete: Verwijder deze gebruiker voorgoed
|
10
|
+
edit: Bewerk deze gebruiker
|
11
|
+
update:
|
12
|
+
cannot_remove_user_plugin_from_current_user: "U kunt de 'Gebruikers' plugin niet deactiveren voor uw huidige ingelogde account."
|
13
|
+
form:
|
14
|
+
blank_password_keeps_current: 'Als u dit veld leeg laat, blijft het oude wachtwoord behouden.'
|
15
|
+
plugin_access: Toegang tot een plugin
|
16
|
+
role_access: Rol toegang
|
17
|
+
enable_all: maak alles beschikbaar
|
18
|
+
actions:
|
19
|
+
create_new_user: Maak een nieuwe gebruiker
|
20
|
+
user:
|
21
|
+
email_user: Email deze gebruiker
|
22
|
+
preview: '(%{who}) is aangemaakt op %{created_at}'
|
23
|
+
sessions:
|
24
|
+
new:
|
25
|
+
hello_please_sign_in: Hallo! Log in om verder te kunnen.
|
26
|
+
sign_in: Log in
|
27
|
+
forgot_password: Ik ben mijn wachtwoord vergeten
|
7
28
|
users:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
email_address: E-mailadres
|
36
|
-
enter_email_address: Vul het e-mailadres voor uw account.
|
37
|
-
reset_password: Verander wachtwoord
|
38
|
-
blank_email: Je hebt geen e-mail adres.
|
39
|
-
email_not_associated_with_account_html: "Sorry, '%{email}' is niet geassocieerd met alle rekeningen. <br/>Weet u zeker dat u typte het juiste e-mailadres?"
|
40
|
-
email_reset_sent: Een e-mail is naar u verzonden met een link om je wachtwoord te resetten.
|
41
|
-
password_encryption: 'Je moet je wachtwoord resetten, omdat er wijzigingen zijn gemaakt in de cryptografische methoden waarop wachtwoorden worden opgeslagen, zodat ze nog veilger bewaard worden.'
|
42
|
-
reset:
|
43
|
-
code_invalid: "Het spijt ons, maar dit reset code is verlopen of ongeldig. Als u problemen hebt proberen te kopiëren en plakken van de URL van uw e-mail in uw browser of het herstarten van de reset wachtwoord proces."
|
44
|
-
successful: "Wachtwoord resetten succes voor %{email}"
|
45
|
-
pick_new_password_for: 'Kiees een nieuw wachtwoord voor %{email}'
|
46
|
-
reset_password: Reset het wachtwoord
|
47
|
-
user_mailer:
|
48
|
-
reset_notification:
|
49
|
-
subject: Link om uw wachtwoord te resetten
|
50
|
-
reset_request_received_for: 'Aanvraag om het wachtwoord te resetten ontvangen voor %{username}'
|
51
|
-
visit_this_url: Bezoek dit adres om een nieuw wachtwoord in te stellen
|
52
|
-
remain_same_if_no_action: 'Je wachtwoord blijft hetzelfde, als je niet op dit bericht reageert'
|
29
|
+
new:
|
30
|
+
fill_form: 'Vul het onderstaande formulier in, zodat u kan beginnen.'
|
31
|
+
sign_up: Registreer
|
32
|
+
create:
|
33
|
+
welcome: 'Welkom bij Refinery, %{who}'
|
34
|
+
forgot:
|
35
|
+
email_address: E-mailadres
|
36
|
+
enter_email_address: Vul het e-mailadres voor uw account.
|
37
|
+
reset_password: Verander wachtwoord
|
38
|
+
blank_email: Je hebt geen e-mail adres.
|
39
|
+
email_not_associated_with_account_html: "Sorry, '%{email}' is niet geassocieerd met alle rekeningen. <br/>Weet u zeker dat u typte het juiste e-mailadres?"
|
40
|
+
email_reset_sent: Een e-mail is naar u verzonden met een link om je wachtwoord te resetten.
|
41
|
+
password_encryption: 'Je moet je wachtwoord resetten, omdat er wijzigingen zijn gemaakt in de cryptografische methoden waarop wachtwoorden worden opgeslagen, zodat ze nog veilger bewaard worden.'
|
42
|
+
reset:
|
43
|
+
code_invalid: "Het spijt ons, maar dit reset code is verlopen of ongeldig. Als u problemen hebt proberen te kopiëren en plakken van de URL van uw e-mail in uw browser of het herstarten van de reset wachtwoord proces."
|
44
|
+
successful: "Wachtwoord resetten succes voor %{email}"
|
45
|
+
pick_new_password_for: 'Kiees een nieuw wachtwoord voor %{email}'
|
46
|
+
reset_password: Reset het wachtwoord
|
47
|
+
user_mailer:
|
48
|
+
reset_notification:
|
49
|
+
subject: Link om uw wachtwoord te resetten
|
50
|
+
reset_request_received_for: 'Aanvraag om het wachtwoord te resetten ontvangen voor %{username}'
|
51
|
+
visit_this_url: Bezoek dit adres om een nieuw wachtwoord in te stellen
|
52
|
+
remain_same_if_no_action: 'Je wachtwoord blijft hetzelfde, als je niet op dit bericht reageert'
|
53
|
+
roles:
|
54
|
+
superuser: Beheerder
|
55
|
+
refinery: Refinery gebruiker
|
53
56
|
devise:
|
54
57
|
failure:
|
55
58
|
unauthenticated: Je moet inloggen om verder te kunnen
|
56
59
|
invalid: 'Sorry, je wachtwoord, of gebruikersnaam is onjuist.'
|
57
60
|
sessions:
|
58
61
|
signed_in: Je bent ingelogd.
|
59
|
-
roles:
|
60
|
-
superuser: Beheerder
|
61
|
-
refinery: Refinery gebruiker
|
62
62
|
activerecord:
|
63
63
|
models:
|
64
|
-
user: gebruiker
|
64
|
+
refinery/user: gebruiker
|
65
65
|
attributes:
|
66
|
-
user:
|
66
|
+
refinery/user:
|
67
67
|
login: Gebruikersnaam
|
68
68
|
email: e-mail
|
69
69
|
password: Wachtwoord
|
data/config/locales/pl.yml
CHANGED
@@ -1,71 +1,65 @@
|
|
1
1
|
pl:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_users:
|
5
|
+
title: Użytkownicy
|
6
|
+
description: Zarządzaj użytkownikami
|
7
|
+
article: masculine
|
8
|
+
admin:
|
9
|
+
users:
|
10
|
+
delete: Usuń tego użytkownika na zawsze
|
11
|
+
edit: Edttuj tego użytkownika
|
12
|
+
update:
|
13
|
+
cannot_remove_user_plugin_from_current_user: Z obecnie zalogowanego konta nie można usunąć pluginu 'Użytkownicy'.
|
14
|
+
form:
|
15
|
+
blank_password_keeps_current: Pozostawienie pola hasło pustym pozostawi hasło nie zmienionym
|
16
|
+
plugin_access: Plugin dostępu
|
17
|
+
role_access: Rola dostępu
|
18
|
+
enable_all: aktywuj wszystkich
|
19
|
+
actions:
|
20
|
+
create_new_user: Dodaj nowego użytkownika
|
21
|
+
user:
|
22
|
+
email_user: Wyślij e-mail do tego użytkownika
|
23
|
+
preview: "(%{who}) dodany %{created_at}"
|
24
|
+
sessions:
|
25
|
+
new:
|
26
|
+
hello_please_sign_in: Hej! Proszę zaloguj się.
|
27
|
+
sign_in: Zaloguj się
|
28
|
+
forgot_password: Zapomniane hasło
|
8
29
|
users:
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
create:
|
34
|
-
welcome: "Witaj w Refinery, %{who}"
|
35
|
-
forgot:
|
36
|
-
email_address: Adres e-mail
|
37
|
-
enter_email_address: Proszę podaj adres e-mail dla Twojego konta.
|
38
|
-
reset_password: Reset hasła
|
39
|
-
blank_email: Nie podano żadnego adresu e-mail.
|
40
|
-
email_not_associated_with_account_html: "Przepraszamy, '%{email}' nie jest adresem żadnego z zarejestrowanych użytkownikiem. <br />Czy to na pewno prawidłowy adres?"
|
41
|
-
email_reset_sent: Został wysłany e-mail z linkiem umożliwiającym reset hasła.
|
42
|
-
password_encryption: Musisz zmienić swoje hasło ponieważ wprowadziliśmy zmiany w używanej w Rafinery metodzie szyfrowania. Teraz hasła są jeszcze lepiej chronione.
|
43
|
-
reset:
|
44
|
-
code_invalid: "Niestety, ten kod resetu hasła wygasł lub jest niepoprawny. Jeżeli masz problemy z resetem hasła, skopiuj i wklej link z e-mail do przeglądarki lub ponownie rozpocznij proces resetu hasła."
|
45
|
-
successful: "Hasło zresetowane dla '%{email}'"
|
46
|
-
pick_new_password_for: "Wybierz nowe hasło dla %{email}"
|
47
|
-
reset_password: Reset hasła
|
48
|
-
user_mailer:
|
49
|
-
reset_notification:
|
50
|
-
subject: Link do resetu hasła
|
51
|
-
reset_request_received_for: 'Prośba o zmianę hasła dla %{username}'
|
52
|
-
visit_this_url: Odwiedź stronę aby ustawić nowe hasło
|
53
|
-
remain_same_if_no_action: Twoje hasło nie zostanie zmienione jeśli nie odwiedzisz strony
|
30
|
+
new:
|
31
|
+
fill_form: Uzupełnij dane poniżej aby zacząć używać tej strony.
|
32
|
+
sign_up: Zarejestruj się
|
33
|
+
create:
|
34
|
+
welcome: "Witaj w Refinery, %{who}"
|
35
|
+
forgot:
|
36
|
+
email_address: Adres e-mail
|
37
|
+
enter_email_address: Proszę podaj adres e-mail dla Twojego konta.
|
38
|
+
reset_password: Reset hasła
|
39
|
+
blank_email: Nie podano żadnego adresu e-mail.
|
40
|
+
email_not_associated_with_account_html: "Przepraszamy, '%{email}' nie jest adresem żadnego z zarejestrowanych użytkownikiem. <br />Czy to na pewno prawidłowy adres?"
|
41
|
+
email_reset_sent: Został wysłany e-mail z linkiem umożliwiającym reset hasła.
|
42
|
+
password_encryption: Musisz zmienić swoje hasło ponieważ wprowadziliśmy zmiany w używanej w Rafinery metodzie szyfrowania. Teraz hasła są jeszcze lepiej chronione.
|
43
|
+
reset:
|
44
|
+
code_invalid: "Niestety, ten kod resetu hasła wygasł lub jest niepoprawny. Jeżeli masz problemy z resetem hasła, skopiuj i wklej link z e-mail do przeglądarki lub ponownie rozpocznij proces resetu hasła."
|
45
|
+
successful: "Hasło zresetowane dla '%{email}'"
|
46
|
+
pick_new_password_for: "Wybierz nowe hasło dla %{email}"
|
47
|
+
reset_password: Reset hasła
|
48
|
+
user_mailer:
|
49
|
+
reset_notification:
|
50
|
+
subject: Link do resetu hasła
|
51
|
+
reset_request_received_for: 'Prośba o zmianę hasła dla %{username}'
|
52
|
+
visit_this_url: Odwiedź stronę aby ustawić nowe hasło
|
53
|
+
remain_same_if_no_action: Twoje hasło nie zostanie zmienione jeśli nie odwiedzisz strony
|
54
54
|
activerecord:
|
55
55
|
models:
|
56
|
-
user: użytkownik
|
56
|
+
refinery/user: użytkownik
|
57
57
|
attributes:
|
58
|
-
user:
|
58
|
+
refinery/user:
|
59
59
|
login: Login
|
60
60
|
email: E-mail
|
61
61
|
password: Hasło
|
62
62
|
remember_me: Zapamiętaj mnie
|
63
|
-
errors:
|
64
|
-
messages:
|
65
|
-
not_found: "nie znaleziono"
|
66
|
-
already_confirmed: "już został aktywowany"
|
67
|
-
not_locked: "nie był zablokowany"
|
68
|
-
|
69
63
|
devise:
|
70
64
|
failure:
|
71
65
|
unauthenticated: 'Musisz się zalogować lub zarejestrować aby kontynuować.'
|
data/config/locales/pt-BR.yml
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
pt-BR:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_users:
|
5
|
+
title: Usuários
|
6
|
+
description: Gerenciar usuários
|
7
|
+
admin:
|
8
|
+
users:
|
9
|
+
delete: Remover este usuário para sempre
|
10
|
+
edit: Editar este usuário
|
11
|
+
update:
|
12
|
+
cannot_remove_user_plugin_from_current_user: "Você não pode remover o plugin 'Usuários' a partir da conta atualmente logada."
|
13
|
+
form:
|
14
|
+
blank_password_keeps_current: Deixar a senha em branco mantém a senha atual
|
15
|
+
plugin_access: Acesso
|
16
|
+
role_access: Nível de Permissão
|
17
|
+
enable_all: habilitar todos
|
18
|
+
actions:
|
19
|
+
create_new_user: Criar Novo Usuário
|
20
|
+
user:
|
21
|
+
email_user: Enviar e-mail para este usuário
|
22
|
+
preview: "(%{who}) criado em %{created_at}"
|
23
|
+
sessions:
|
24
|
+
new:
|
25
|
+
hello_please_sign_in: "Olá! Faça o login"
|
26
|
+
sign_in: Entrar
|
27
|
+
forgot_password: Esqueci minha senha
|
7
28
|
users:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
create:
|
33
|
-
welcome: 'Bem-vindo, %{who}'
|
34
|
-
forgot:
|
35
|
-
email_address: Endereço de email
|
36
|
-
enter_email_address: "Por favor, preencha o endereço de email da sua conta."
|
37
|
-
reset_password: Recuperar senha
|
38
|
-
blank_email: Você não preencheu um endereço de e-mail.
|
39
|
-
email_not_associated_with_account_html: "Desculpe, '%{email}' não está associado com alguma conta. <br/>Tem certeza que você digitou o endereço de email correto?"
|
40
|
-
email_reset_sent: Um email foi enviado para você com um link para recuperar sua senha.
|
41
|
-
password_encryption: Você precisa redefinir sua senha pois existem mudanças nos métodos de criptografia usados pelo Refinery, as senhas são armazenadas com uma encriptação maior do que anteriormente.
|
42
|
-
reset:
|
43
|
-
code_invalid: "Lamentamos, mas este código reset expirou ou é inválido. Se você está tendo problemas tente copiar e colar a URL do seu e-mail em seu navegador ou reinicie o processo de mudança de senha."
|
44
|
-
successful: "Senha alterada com sucesso para o e-mail %{email}"
|
45
|
-
pick_new_password_for: "Digite uma nova senha para o e-mail %{email}"
|
46
|
-
reset_password: Recuperar senha
|
47
|
-
user_mailer:
|
48
|
-
reset_notification:
|
49
|
-
subject: Link para alterar sua senha
|
50
|
-
reset_request_received_for: 'Solicitação para alterar a senha foi recebida por %{username}'
|
51
|
-
visit_this_url: Visite esse endereço para escolher uma nova senha
|
52
|
-
remain_same_if_no_action: Sua senha irá continuar a mesma caso não prossiga
|
29
|
+
new:
|
30
|
+
fill_form: Preencha o formulário abaixo com seus detalhes pra que você possa começar.
|
31
|
+
sign_up: Cadastrar
|
32
|
+
create:
|
33
|
+
welcome: 'Bem-vindo, %{who}'
|
34
|
+
forgot:
|
35
|
+
email_address: Endereço de email
|
36
|
+
enter_email_address: "Por favor, preencha o endereço de email da sua conta."
|
37
|
+
reset_password: Recuperar senha
|
38
|
+
blank_email: Você não preencheu um endereço de e-mail.
|
39
|
+
email_not_associated_with_account_html: "Desculpe, '%{email}' não está associado com alguma conta. <br/>Tem certeza que você digitou o endereço de email correto?"
|
40
|
+
email_reset_sent: Um email foi enviado para você com um link para recuperar sua senha.
|
41
|
+
password_encryption: Você precisa redefinir sua senha pois existem mudanças nos métodos de criptografia usados pelo Refinery, as senhas são armazenadas com uma encriptação maior do que anteriormente.
|
42
|
+
reset:
|
43
|
+
code_invalid: "Lamentamos, mas este código reset expirou ou é inválido. Se você está tendo problemas tente copiar e colar a URL do seu e-mail em seu navegador ou reinicie o processo de mudança de senha."
|
44
|
+
successful: "Senha alterada com sucesso para o e-mail %{email}"
|
45
|
+
pick_new_password_for: "Digite uma nova senha para o e-mail %{email}"
|
46
|
+
reset_password: Recuperar senha
|
47
|
+
user_mailer:
|
48
|
+
reset_notification:
|
49
|
+
subject: Link para alterar sua senha
|
50
|
+
reset_request_received_for: 'Solicitação para alterar a senha foi recebida por %{username}'
|
51
|
+
visit_this_url: Visite esse endereço para escolher uma nova senha
|
52
|
+
remain_same_if_no_action: Sua senha irá continuar a mesma caso não prossiga
|
53
53
|
devise:
|
54
54
|
failure:
|
55
55
|
unauthenticated: 'Para continuar, faça login.'
|
@@ -58,9 +58,9 @@ pt-BR:
|
|
58
58
|
signed_in: Fez login com sucesso.
|
59
59
|
activerecord:
|
60
60
|
models:
|
61
|
-
user: Usuário
|
61
|
+
refinery/user: Usuário
|
62
62
|
attributes:
|
63
|
-
user:
|
63
|
+
refinery/user:
|
64
64
|
login: Login
|
65
65
|
email: Email
|
66
66
|
password: Senha
|
data/config/locales/rs.yml
CHANGED
@@ -1,72 +1,73 @@
|
|
1
1
|
rs:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_users:
|
5
|
+
title: Administratori
|
6
|
+
description: Menjaj administratore
|
7
|
+
admin:
|
8
|
+
users:
|
9
|
+
delete: Ukloni ovog administratora zauvek
|
10
|
+
edit: Izmeni ovog administratora
|
11
|
+
update:
|
12
|
+
cannot_remove_user_plugin_from_current_user: Ne možeš da ukloniš 'Users' plugin sa trenutno logovanog naloga.
|
13
|
+
form:
|
14
|
+
blank_password_keeps_current: Ostavi prazno da zadržiš trenutnu lozinku
|
15
|
+
plugin_access: Pristup plugin-ovima
|
16
|
+
role_access: Pristup ulogama
|
17
|
+
enable_all: omogući sve
|
18
|
+
actions:
|
19
|
+
create_new_user: Dodaj novog administratora
|
20
|
+
user:
|
21
|
+
email_user: Pošalji email ovom administratoru
|
22
|
+
preview: '(%{who}) added %{created_at}'
|
23
|
+
sessions:
|
24
|
+
new:
|
25
|
+
hello_please_sign_in: 'Zdravo! Molim te, uloguj se.'
|
26
|
+
sign_in: Uloguj se
|
27
|
+
forgot_password: Zaboravio sam lozinku
|
7
28
|
users:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
email_address: Email adresa
|
36
|
-
enter_email_address: Molimo unesi email adresu za tvoj nalog.
|
37
|
-
reset_password: Resetuj lozinku
|
38
|
-
blank_email: Nisi uneo email adresu.
|
39
|
-
email_not_associated_with_account_html: "Izvini, '%{email}' ne pripada nijednom nalogu.<br />Da li si siguran da si ukucao tačnu email adresu?"
|
40
|
-
email_reset_sent: Poslat ti je mail sa linkom za resetovanje lozinke.
|
41
|
-
password_encryption: "Moraš da resetuješ lozinku, zato što je došlo do promene u metodama za enkripciju koje Refinery koristi za zaštitu podataka.Podaci će od sada biti sigurniji nego ranije."
|
42
|
-
reset:
|
43
|
-
code_invalid: 'Izvinjavamo se, ali ovaj kod za resetovanje je istekao ili nije validan. Ako imaš problema, probaj da kopiraš URL iz tvog email-a u tvoj brauzer ili ponovo pokreni postupak za reset lozinke.'
|
44
|
-
successful: "Lozinka uspešno resetovana za '%{email}'"
|
45
|
-
pick_new_password_for: 'Izaberi novu lozinku za %{email}'
|
46
|
-
reset_password: Resetuj lozinku
|
47
|
-
user_mailer:
|
48
|
-
reset_notification:
|
49
|
-
subject: Link za resetovanje lozinke
|
50
|
-
reset_request_received_for: 'Primljen zahtev za resetovanje lozinke za %{username}'
|
51
|
-
visit_this_url: Poseti ovu stranu da izabereš novu lozinku
|
52
|
-
remain_same_if_no_action: Tvoja lozinka će ostati ne promenjena ako ništa ne uneseš
|
29
|
+
new:
|
30
|
+
fill_form: 'Popuni polja dole, da bi mogli da počnemo.'
|
31
|
+
sign_up: Prijavi se
|
32
|
+
create:
|
33
|
+
welcome: 'Dobrodošao u Refinery, %{who}'
|
34
|
+
forgot:
|
35
|
+
email_address: Email adresa
|
36
|
+
enter_email_address: Molimo unesi email adresu za tvoj nalog.
|
37
|
+
reset_password: Resetuj lozinku
|
38
|
+
blank_email: Nisi uneo email adresu.
|
39
|
+
email_not_associated_with_account_html: "Izvini, '%{email}' ne pripada nijednom nalogu.<br />Da li si siguran da si ukucao tačnu email adresu?"
|
40
|
+
email_reset_sent: Poslat ti je mail sa linkom za resetovanje lozinke.
|
41
|
+
password_encryption: "Moraš da resetuješ lozinku, zato što je došlo do promene u metodama za enkripciju koje Refinery koristi za zaštitu podataka.Podaci će od sada biti sigurniji nego ranije."
|
42
|
+
reset:
|
43
|
+
code_invalid: 'Izvinjavamo se, ali ovaj kod za resetovanje je istekao ili nije validan. Ako imaš problema, probaj da kopiraš URL iz tvog email-a u tvoj brauzer ili ponovo pokreni postupak za reset lozinke.'
|
44
|
+
successful: "Lozinka uspešno resetovana za '%{email}'"
|
45
|
+
pick_new_password_for: 'Izaberi novu lozinku za %{email}'
|
46
|
+
reset_password: Resetuj lozinku
|
47
|
+
user_mailer:
|
48
|
+
reset_notification:
|
49
|
+
subject: Link za resetovanje lozinke
|
50
|
+
reset_request_received_for: 'Primljen zahtev za resetovanje lozinke za %{username}'
|
51
|
+
visit_this_url: Poseti ovu stranu da izabereš novu lozinku
|
52
|
+
remain_same_if_no_action: Tvoja lozinka će ostati ne promenjena ako ništa ne uneseš
|
53
|
+
roles:
|
54
|
+
superuser: Superuser
|
55
|
+
refinery: Refinery
|
53
56
|
devise:
|
54
57
|
failure:
|
55
58
|
unauthenticated: Moraš da se uloguješ da bi nastavio.
|
56
59
|
invalid: 'Izvinjavamo se, pogrešio si username ili lozinku.'
|
57
60
|
sessions:
|
58
61
|
signed_in: Uspešno logovanje.
|
59
|
-
roles:
|
60
|
-
superuser: Superuser
|
61
|
-
refinery: Refinery
|
62
62
|
activerecord:
|
63
63
|
models:
|
64
|
-
user: administrator
|
64
|
+
refinery/user: administrator
|
65
65
|
attributes:
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
66
|
+
refinery:
|
67
|
+
user:
|
68
|
+
login: Login
|
69
|
+
username: Username
|
70
|
+
password: Lozinka
|
71
|
+
password_confirmation: Potvrdi lozinku
|
72
|
+
email: Email
|
73
|
+
remember_me: Zapamti me
|
data/config/locales/ru.yml
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
ru:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_users:
|
5
|
+
title: Пользователи
|
6
|
+
article: masculine
|
7
|
+
admin:
|
8
|
+
users:
|
9
|
+
delete: Удалить этого пользователя навсегда
|
10
|
+
edit: Редактировать этого пользователя
|
11
|
+
update:
|
12
|
+
cannot_remove_user_plugin_from_current_user: "Нельзя отключить модуль «Пользователи» у самого себя."
|
13
|
+
form:
|
14
|
+
blank_password_keeps_current: 'Оставьте поле пустым, если не хотите изменить пароль'
|
15
|
+
plugin_access: Доступ к плагинам
|
16
|
+
role_access: Роли
|
17
|
+
enable_all: включить все
|
18
|
+
actions:
|
19
|
+
create_new_user: Создать нового пользователя
|
20
|
+
user:
|
21
|
+
email_user: Написать эл. письмо этому пользователю
|
22
|
+
preview: '(%{who}) создан %{created_at}'
|
23
|
+
sessions:
|
24
|
+
new:
|
25
|
+
hello_please_sign_in: 'Пожалуйста, войдите.'
|
26
|
+
sign_in: Войти
|
27
|
+
forgot_password: Я забыл свой пароль
|
7
28
|
users:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
forgot:
|
33
|
-
email_address: Эл. почта
|
34
|
-
enter_email_address: 'Пожалуйста, введите адрес электронной почты вашего акаунта.'
|
35
|
-
reset_password: Сбросить пароль
|
36
|
-
blank_email: Вы не ввели адрес электронной почты
|
37
|
-
email_not_associated_with_account_html: "%{email} не принадлежит ни одному акаунту.<br/>Вы уверены, что ввели правильный адрес электронной почты?"
|
38
|
-
email_reset_sent: Вам выслано электронное письмо с ссылкой для сброса пароля.
|
39
|
-
password_encryption: 'В Refinery изменились алгоритмы шифрования пароля для ещё более надёжного хранения, поэтому вам нужно заново его установить.'
|
40
|
-
reset:
|
41
|
-
code_invalid: "Код для сброса пароля истек или неверен. Попробуйте скопировать и вставить адрес из письма в адресную строку браузера или заново начать процесс восстановления."
|
42
|
-
successful: "Пароль успешно изменен для %{email}"
|
43
|
-
pick_new_password_for: "Введите новый пароль для %{email}"
|
44
|
-
reset_password: Изменить пароль
|
45
|
-
user_mailer:
|
46
|
-
reset_notification:
|
47
|
-
subject: Ссылка для сброса пароля
|
48
|
-
errors:
|
49
|
-
messages:
|
50
|
-
not_found: "не найдена"
|
51
|
-
already_confirmed: "уже подтверждена"
|
52
|
-
not_locked: "не заблокирована"
|
29
|
+
new:
|
30
|
+
fill_form: Заполните данные ниже.
|
31
|
+
sign_up: Зарегистрироваться
|
32
|
+
create:
|
33
|
+
welcome: 'Добро пожаловать в Refinery, %{who}'
|
34
|
+
forgot:
|
35
|
+
email_address: Эл. почта
|
36
|
+
enter_email_address: 'Пожалуйста, введите адрес электронной почты вашего акаунта.'
|
37
|
+
reset_password: Сбросить пароль
|
38
|
+
blank_email: Вы не ввели адрес электронной почты
|
39
|
+
email_not_associated_with_account_html: "%{email} не принадлежит ни одному акаунту.<br/>Вы уверены, что ввели правильный адрес электронной почты?"
|
40
|
+
email_reset_sent: Вам выслано электронное письмо с ссылкой для сброса пароля.
|
41
|
+
password_encryption: 'В Refinery изменились алгоритмы шифрования пароля для ещё более надёжного хранения, поэтому вам нужно заново его установить.'
|
42
|
+
reset:
|
43
|
+
code_invalid: "Код для сброса пароля истек или неверен. Попробуйте скопировать и вставить адрес из письма в адресную строку браузера или заново начать процесс восстановления."
|
44
|
+
successful: "Пароль успешно изменен для %{email}"
|
45
|
+
pick_new_password_for: "Введите новый пароль для %{email}"
|
46
|
+
reset_password: Изменить пароль
|
47
|
+
user_mailer:
|
48
|
+
reset_notification:
|
49
|
+
subject: Ссылка для сброса пароля
|
50
|
+
reset_request_received_for: "Получен запрос на сброс пароля для %{username}"
|
51
|
+
visit_this_url: Для ввода нового пароля пройдите по этой ссылке
|
52
|
+
remain_same_if_no_action: Вы также можете проигнорировать это письмо. В этом случае пароль не будет изменён.
|
53
53
|
devise:
|
54
54
|
failure:
|
55
55
|
unauthenticated: "Вам необходимо войти в систему или зарегистрироваться."
|
@@ -86,9 +86,9 @@ ru:
|
|
86
86
|
signed_in: 'Вы вошли.'
|
87
87
|
activerecord:
|
88
88
|
models:
|
89
|
-
user: пользователь
|
89
|
+
refinery/user: пользователь
|
90
90
|
attributes:
|
91
|
-
user:
|
91
|
+
refinery/user:
|
92
92
|
login: Имя или почта пользователя
|
93
93
|
username: Имя пользователя
|
94
94
|
email: Эл. почта
|