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 CHANGED
@@ -1,4 +1,4 @@
1
- h2. 0.6.9 (07/22/2009)
1
+ h2. 0.6.9.1 (07/22/2009)
2
2
 
3
3
  * Added i18n support for views. (Vit Krchov)
4
4
 
data/README.textile CHANGED
@@ -1,77 +1,65 @@
1
1
  h1. Vita's Clearance fork
2
2
 
3
- This is fork of "Clearance":http://github.com/thoughtbot/clearance/tree/master. Added i18n support for views.
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
- :'cz' => {
10
- :activerecord => {
11
- :models => {
12
- :user => 'Uživatel'
13
- },
14
- :attributes => {
15
- :user => {
16
- :password => 'Heslo',
17
- :password_confirmation => 'Potvrzení hesla'
18
- }
19
- }
20
- }
21
- :clearance => {
22
- :views => {
23
- :mailer => {
24
- :change_password => {
25
- :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.",
26
- :footer => "Pokud tato žádost není od Vás, tak můžete e-mail ignorovat, heslo nebude změněno."
27
- }
28
- },
29
- :passwords => {
30
- :change_password => 'Změna hesla',
31
- :change_password_information => 'Vaše staré heslo bude smazáno. Zvolte si nové.',
32
- :new_password_information => 'Zadejte e-mailovou adresu, na kterou Vám pošleme e-mail s odkazem na změnu hesla.'
33
- },
34
- :sessions => {
35
- :sign_in => 'Přihlášení',
36
- :sign_up => 'Zaregistrovat',
37
- :forgot_password => 'Zapomenuté heslo?',
38
- :remember_me => 'Zapamatovat si mě'
39
- },
40
- :users => {
41
- :sign_up => 'Registrace'
42
- },
43
- :buttons => {
44
- :save_this_password => 'Ulož heslo',
45
- :reset_password => 'Resetovat heslo',
46
- :sign_up => 'Zaregistrovat se',
47
- :please_wait => 'Počkejte prosím ...'
48
- }
49
- },
50
- :models => {
51
- :clearance_mailer => {
52
- :confirmation => "Ověření e-mailové adresy.",
53
- :change_password => "Změna hesla"
54
- }
55
- },
56
- :controllers => {
57
- :confirmations => {
58
- :confirmed_email => "Email ověřen. Byl jste úspěšně přihlášen."
59
- },
60
- :passwords => {
61
- :deliver_change_password => "Během následujících minut Vám bude doručen e-mail s instrukcema pro změnu hesla.",
62
- :unknown_email => "Neznámý e-mail."
63
- },
64
- :sessions => {
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 :change_password_information, :scope => [:clearance, :views, :passwords], :default => 'Your password has been reset. Choose a new password below.' %>
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, :buttons], :defaul => 'Reset password'),
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, t(:remember_me, :scope => [:clearance, :views, :sessions], :default => '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, :scope => [:clearance, :views, :sessions], :default => 'Forgot password?'), new_password_path %>
27
+ <%= link_to t(:forgot_password, :cope => [:clearance, :views, :sessions], :default => 'Forgot password?'), new_password_path %>
28
28
  </li>
29
29
  </ul>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vita-clearance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Croak