vita-clearance 0.6.9 → 0.6.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.textile +1 -1
- data/README.textile +58 -70
- data/Rakefile +1 -1
- data/app/views/passwords/edit.html.erb +2 -2
- data/app/views/passwords/new.html.erb +1 -1
- data/app/views/sessions/new.html.erb +2 -2
- metadata +1 -1
data/CHANGELOG.textile
CHANGED
data/README.textile
CHANGED
@@ -1,77 +1,65 @@
|
|
1
1
|
h1. Vita's Clearance fork
|
2
2
|
|
3
|
-
This is fork
|
3
|
+
This is fork "Clearance":http://github.com/thoughtbot/clearance/tree/master. Added i18n support for views.
|
4
4
|
|
5
5
|
h2. Example locals for clearance
|
6
6
|
|
7
7
|
<pre>
|
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
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
:bad_email_or_password => "Chybný e-mail nebo heslo.",
|
66
|
-
:signed_in => "Úspěšně přihlášen.",
|
67
|
-
:unconfirmed_email => "Nemáte ověřenout e-mailovou adresu. Při registraci Vám byl zaslán e-mail s instrukcema pro ověření.",
|
68
|
-
:signed_out => "Úspěšně odhlášen."
|
69
|
-
},
|
70
|
-
:users => {
|
71
|
-
:deliver_confirmation => "Během následujících minut Vám bude doručen e-mail s instrukcema pro ověření účtu."
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
8
|
+
{
|
9
|
+
:'cz' => {
|
10
|
+
:clearance => {
|
11
|
+
:views => {
|
12
|
+
:mailer => {
|
13
|
+
:change_password => {
|
14
|
+
:header => "Pod Vaším e-mailem byla zaregistrována žádost o změnu přístupového hesla pro Váš účet. Zasíláme Vám odkaz, na kterém mužete heslo změnit.",
|
15
|
+
:footer => "Pokud tato žádost není od Vás, tak můžete e-mail ignorovat, heslo nebude změněno."
|
16
|
+
}
|
17
|
+
},
|
18
|
+
:passwords => {
|
19
|
+
:change_password => 'Změna hesla',
|
20
|
+
:change_password_information => 'Vaše staré heslo bude smazáno. Zvolte si nové.',
|
21
|
+
:new_password_information => 'Zadejte e-mailovou adresu, na kterou Vám pošleme e-mail s odkazem na změnu hesla.'
|
22
|
+
},
|
23
|
+
:sessions => {
|
24
|
+
:sign_in => 'Přihlášení',
|
25
|
+
:sign_up => 'Zaregistrovat',
|
26
|
+
:forgot_password => 'Zapomenuté heslo?'
|
27
|
+
},
|
28
|
+
:users => {
|
29
|
+
:sign_up => 'Registrace'
|
30
|
+
},
|
31
|
+
:buttons => {
|
32
|
+
:save_this_password => 'Ulož heslo',
|
33
|
+
:reset_password => 'Resetovat heslo',
|
34
|
+
:sign_up => 'Zaregistrovat se',
|
35
|
+
:please_wait => 'Počkejte prosím ...'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
:models => {
|
39
|
+
:clearance_mailer => {
|
40
|
+
:confirmation => "Ověření e-mailové adresy.",
|
41
|
+
:change_password => "Změna hesla"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
:controllers => {
|
45
|
+
:confirmations => {
|
46
|
+
:confirmed_email => "Email ověřen. Byl jste úspěšně přihlášen."
|
47
|
+
},
|
48
|
+
:passwords => {
|
49
|
+
:deliver_change_password => "Během následujících minut Vám bude doručen e-mail s instrukcema pro změnu hesla.",
|
50
|
+
:unknown_email => "Neznámý e-mail."
|
51
|
+
},
|
52
|
+
:sessions => {
|
53
|
+
:bad_email_or_password => "Chybný e-mail nebo heslo.",
|
54
|
+
:signed_in => "Úspěšně přihlášen.",
|
55
|
+
:unconfirmed_email => "Nemáte ověřenout e-mailovou adresu. Při registraci Vám byl zaslán e-mail s instrukcema pro ověření.",
|
56
|
+
:signed_out => "Úspěšně odhlášen."
|
57
|
+
},
|
58
|
+
:users => {
|
59
|
+
:deliver_confirmation => "Během následujících minut Vám bude doručen e-mail s instrukcema pro ověření účtu."
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
77
65
|
</pre>
|
data/Rakefile
CHANGED
@@ -53,7 +53,7 @@ task :default => ['test:all', 'test:features']
|
|
53
53
|
|
54
54
|
gem_spec = Gem::Specification.new do |gem_spec|
|
55
55
|
gem_spec.name = "clearance"
|
56
|
-
gem_spec.version = "0.6.9"
|
56
|
+
gem_spec.version = "0.6.9.1"
|
57
57
|
gem_spec.summary = "Rails authentication with email & password. Fork with i18n support for views."
|
58
58
|
gem_spec.email = "support@thoughtbot.com"
|
59
59
|
gem_spec.homepage = "http://github.com/thoughtbot/clearance"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<h2><%= t :change_password, :scope => [:clearance, :views, :passwords], :default => 'Change your password' %></h2>
|
2
2
|
|
3
3
|
<p>
|
4
|
-
<%= t :
|
4
|
+
<%= t :change_password_infomation, :scope => [:clearance, :views, :password], :default => 'Your password has been reset. Choose a new password below.' %>
|
5
5
|
</p>
|
6
6
|
|
7
7
|
<%= error_messages_for :user %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<%= form.password_field :password_confirmation %>
|
19
19
|
</div>
|
20
20
|
<div class="submit_field">
|
21
|
-
<%= form.submit t(:save_this_password, :scope => [:clearance, :views, :buttons], :default => "Save this password"),
|
21
|
+
<%= form.submit t(:save_this_password, :scope => [:clearance, :views, :buttons], :default => "Save this password"),
|
22
22
|
:disable_with => t(:please_wait, :scope => [:clearance, :views, :buttons], :default => "Please wait...") %>
|
23
23
|
</div>
|
24
24
|
<% end %>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<%= form.text_field :email %>
|
11
11
|
</div>
|
12
12
|
<div class="submit_field">
|
13
|
-
<%= form.submit t(:reset_password, :scope => [:clearance, :views, :
|
13
|
+
<%= form.submit t(:reset_password, :scope => [:clearance, :views, :passwords], :defaul => 'Reset password'),
|
14
14
|
:disable_with => t(:please_wait, :scope => [:clearance, :views, :buttons], :default => "Please wait...") %>
|
15
15
|
</div>
|
16
16
|
<% end %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
</div>
|
12
12
|
<div class="text_field">
|
13
13
|
<%= form.check_box :remember_me %>
|
14
|
-
<%= form.label :remember_me
|
14
|
+
<%= form.label :remember_me %>
|
15
15
|
</div>
|
16
16
|
<div class="submit_field">
|
17
17
|
<%= form.submit t(:sing_in, :scope => [:clearance, :views, :buttons], :default => 'Sign in'),
|
@@ -24,6 +24,6 @@
|
|
24
24
|
<%= link_to t(:sign_up, :scope => [:clearance, :views, :sessions], :default => 'Sign up'), new_user_path %>
|
25
25
|
</li>
|
26
26
|
<li>
|
27
|
-
<%= link_to t(:forgot_password, :
|
27
|
+
<%= link_to t(:forgot_password, :cope => [:clearance, :views, :sessions], :default => 'Forgot password?'), new_password_path %>
|
28
28
|
</li>
|
29
29
|
</ul>
|