devise-i18n-views 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +28 -0
- data/README.md +16 -6
- data/VERSION +1 -1
- data/app/views/devise/mailer/confirmation_instructions.html.erb +1 -1
- data/app/views/devise/mailer/reset_password_instructions.html.erb +1 -1
- data/app/views/devise/mailer/unlock_instructions.html.erb +1 -1
- data/app/views/devise/passwords/edit.html.erb +4 -4
- data/devise-i18n-views.gemspec +21 -3
- data/locales/de.yml +51 -0
- data/locales/en.yml +39 -34
- data/locales/es-AR.yml +51 -0
- data/locales/es.yml +51 -0
- data/locales/fr.yml +51 -0
- data/locales/it.yml +34 -35
- data/locales/pt-BR.yml +51 -0
- data/locales/ru.yml +51 -0
- data/spec/devise-i18n-views_spec.rb +8 -0
- data/spec/spec_helper.rb +2 -0
- metadata +60 -3
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--colour
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,20 +1,48 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
diff-lcs (1.1.3)
|
4
5
|
git (1.2.5)
|
6
|
+
gli (2.4.1)
|
7
|
+
i18n (0.6.1)
|
8
|
+
i18n-spec (0.3.0)
|
9
|
+
iso
|
10
|
+
iso (0.1.0)
|
11
|
+
i18n
|
5
12
|
jeweler (1.8.4)
|
6
13
|
bundler (~> 1.0)
|
7
14
|
git (>= 1.2.5)
|
8
15
|
rake
|
9
16
|
rdoc
|
10
17
|
json (1.7.3)
|
18
|
+
localeapp (0.6.3)
|
19
|
+
gli
|
20
|
+
i18n
|
21
|
+
json
|
22
|
+
rest-client
|
23
|
+
ya2yaml
|
24
|
+
mime-types (1.19)
|
11
25
|
rake (0.9.2.2)
|
12
26
|
rdoc (3.12)
|
13
27
|
json (~> 1.4)
|
28
|
+
rest-client (1.6.7)
|
29
|
+
mime-types (>= 1.16)
|
30
|
+
rspec (2.11.0)
|
31
|
+
rspec-core (~> 2.11.0)
|
32
|
+
rspec-expectations (~> 2.11.0)
|
33
|
+
rspec-mocks (~> 2.11.0)
|
34
|
+
rspec-core (2.11.1)
|
35
|
+
rspec-expectations (2.11.3)
|
36
|
+
diff-lcs (~> 1.1.3)
|
37
|
+
rspec-mocks (2.11.3)
|
38
|
+
ya2yaml (0.31)
|
14
39
|
|
15
40
|
PLATFORMS
|
16
41
|
ruby
|
17
42
|
|
18
43
|
DEPENDENCIES
|
19
44
|
bundler
|
45
|
+
i18n-spec
|
20
46
|
jeweler (~> 1.8.3)
|
47
|
+
localeapp
|
48
|
+
rspec (>= 2.4.0)
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# devise-i18n-views
|
2
2
|
|
3
3
|
I18n support and translations for **[Devise v2.+](https://github.com/plataformatec/devise)** views.
|
4
4
|
|
@@ -12,21 +12,30 @@ gem 'devise-i18n-views'
|
|
12
12
|
|
13
13
|
and run `bundle install`.
|
14
14
|
|
15
|
-
Then you need to install the required translations in your `config/locales`. You can do this either manually (downloading them from [devise-i18n-views/locales](https://github.com/mcasimir/devise-i18n-views/tree/master/locales)) or through the apposite generator `devise:views:locale`, eg.
|
15
|
+
Then you need to install the required translations in your `config/locales`. You can do this either manually (downloading them from [devise-i18n-views/locales](https://github.com/mcasimir/devise-i18n-views/tree/master/locales)) or through the apposite generator `devise:views:locale`, eg.
|
16
16
|
|
17
|
-
``` sh
|
17
|
+
``` sh
|
18
18
|
rails g devise:views:locale it
|
19
19
|
```
|
20
20
|
|
21
21
|
will generate `config/locales/devise.views.it.yml`.
|
22
22
|
|
23
|
-
##
|
24
|
-
|
23
|
+
## Contributing to devise-i18n-views
|
24
|
+
### with Localeapp
|
25
|
+
|
26
|
+
- Edit the translations directly on the [devise-i18n-views](http://www.localeapp.com/projects/public?search=devise-i18n-views) project on Locale.
|
27
|
+
- **That's it!**
|
28
|
+
- The maintainer will then pull translations from the Locale project and push to Github.
|
29
|
+
|
30
|
+
### manually
|
31
|
+
|
25
32
|
* Fork the latest master
|
26
33
|
* Create a translation file or edit an existing one under `locales`
|
27
34
|
* Make a pull request
|
28
35
|
|
29
|
-
|
36
|
+
Happy translating!
|
37
|
+
|
38
|
+
## Translation file stub
|
30
39
|
|
31
40
|
Please refer to [devise-i18n-views/locales/en.yml](https://github.com/mcasimir/devise-i18n-views/blob/master/locales/en.yml) to grab a stub for your translation
|
32
41
|
|
@@ -35,3 +44,4 @@ Please refer to [devise-i18n-views/locales/en.yml](https://github.com/mcasimir/d
|
|
35
44
|
Copyright (c) 2012 mcasimir. See LICENSE.txt for
|
36
45
|
further details.
|
37
46
|
|
47
|
+
A ruby translation project managed on [Locale](http://www.localeapp.com/) that's open to all!
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<p><%= t('.greeting', :
|
1
|
+
<p><%= t('.greeting', :recipient => @resource.email, :default => "Welcome #{@resource.email}!") %></p>
|
2
2
|
|
3
3
|
<p><%= t('.instruction', :default => "You can confirm your account email through the link below:") %></p>
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<p><%= t('.greeting', :
|
1
|
+
<p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
|
2
2
|
|
3
3
|
<p><%= t('.instruction', :default => "Someone has requested a link to change your password, and you can do this through the link below.") %></p>
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<p><%= t('.greeting', :
|
1
|
+
<p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
|
2
2
|
|
3
3
|
<p><%= t('.message', :default => "Your account has been locked due to an excessive amount of unsuccessful sign in attempts.") %></p>
|
4
4
|
|
@@ -1,16 +1,16 @@
|
|
1
|
-
<h2
|
1
|
+
<h2><%= t('.change_your_password', :default => 'Change your password') %></h2>
|
2
2
|
|
3
3
|
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
|
4
4
|
<%= devise_error_messages! %>
|
5
5
|
<%= f.hidden_field :reset_password_token %>
|
6
6
|
|
7
|
-
<div><%= f.label :password,
|
7
|
+
<div><%= f.label :password, t('.new_password', :default => 'New password') %><br />
|
8
8
|
<%= f.password_field :password %></div>
|
9
9
|
|
10
|
-
<div><%= f.label :password_confirmation,
|
10
|
+
<div><%= f.label :password_confirmation, t('.confirm_new_password', :default => 'Confirm new password') %><br />
|
11
11
|
<%= f.password_field :password_confirmation %></div>
|
12
12
|
|
13
|
-
<div><%= f.submit
|
13
|
+
<div><%= f.submit t('.change_my_password', :default => 'Change my password') %></div>
|
14
14
|
<% end %>
|
15
15
|
|
16
16
|
<%= render "devise/shared/links" %>
|
data/devise-i18n-views.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "devise-i18n-views"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["mcasimir"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-12-06"
|
13
13
|
s.description = "I18n support for devise views"
|
14
14
|
s.email = "maurizio.cas@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
+
".rspec",
|
21
22
|
"Gemfile",
|
22
23
|
"Gemfile.lock",
|
23
24
|
"LICENSE.txt",
|
@@ -39,8 +40,16 @@ Gem::Specification.new do |s|
|
|
39
40
|
"devise-i18n-views.gemspec",
|
40
41
|
"lib/devise-i18n-views.rb",
|
41
42
|
"lib/generators/devise/views/locale/locale_generator.rb",
|
43
|
+
"locales/de.yml",
|
42
44
|
"locales/en.yml",
|
43
|
-
"locales/
|
45
|
+
"locales/es-AR.yml",
|
46
|
+
"locales/es.yml",
|
47
|
+
"locales/fr.yml",
|
48
|
+
"locales/it.yml",
|
49
|
+
"locales/pt-BR.yml",
|
50
|
+
"locales/ru.yml",
|
51
|
+
"spec/devise-i18n-views_spec.rb",
|
52
|
+
"spec/spec_helper.rb"
|
44
53
|
]
|
45
54
|
s.homepage = "http://github.com/mcasimir/devise-i18n-views"
|
46
55
|
s.licenses = ["MIT"]
|
@@ -52,15 +61,24 @@ Gem::Specification.new do |s|
|
|
52
61
|
s.specification_version = 3
|
53
62
|
|
54
63
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
64
|
+
s.add_development_dependency(%q<rspec>, [">= 2.4.0"])
|
55
65
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
56
66
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
67
|
+
s.add_development_dependency(%q<i18n-spec>, [">= 0"])
|
68
|
+
s.add_development_dependency(%q<localeapp>, [">= 0"])
|
57
69
|
else
|
70
|
+
s.add_dependency(%q<rspec>, [">= 2.4.0"])
|
58
71
|
s.add_dependency(%q<bundler>, [">= 0"])
|
59
72
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
73
|
+
s.add_dependency(%q<i18n-spec>, [">= 0"])
|
74
|
+
s.add_dependency(%q<localeapp>, [">= 0"])
|
60
75
|
end
|
61
76
|
else
|
77
|
+
s.add_dependency(%q<rspec>, [">= 2.4.0"])
|
62
78
|
s.add_dependency(%q<bundler>, [">= 0"])
|
63
79
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
80
|
+
s.add_dependency(%q<i18n-spec>, [">= 0"])
|
81
|
+
s.add_dependency(%q<localeapp>, [">= 0"])
|
64
82
|
end
|
65
83
|
end
|
66
84
|
|
data/locales/de.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
de:
|
2
|
+
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Anleitung zur Bestätigung noch mal schicken
|
6
|
+
mailer:
|
7
|
+
confirmation_instructions:
|
8
|
+
action: Mein Konto bestätigen
|
9
|
+
greeting: Willkommen %{recipient}!
|
10
|
+
instruction: ! 'Folgen Sie dem untenstehenden Link, um Ihr Konto zu bestätigen:'
|
11
|
+
subject: Anleitung zur Bestätigung Ihres Accounts
|
12
|
+
reset_password_instructions:
|
13
|
+
action: Passwort ändern
|
14
|
+
greeting: Hallo %{recipient}!
|
15
|
+
instruction: Jemand hat einen Link angefordert, um Ihr Passwort zu ändern, und Sie können das durch den unten aufgeführten Link tun.
|
16
|
+
instruction_2: Wenn Sie das nicht angefordert haben, bitte ignorieren Sie diese E-mail.
|
17
|
+
instruction_3: Das Passwort wird nicht geändert bis Sie den obenstehenden Link abrufen, und ein neues Passwort bestimmen.
|
18
|
+
subject: Anleitung um das Passwort zurückzusetzten
|
19
|
+
unlock_instructions:
|
20
|
+
action: Mein Konto entsperren
|
21
|
+
greeting: Hallo %{recipient}!
|
22
|
+
instruction: ! 'Folgen Sie dem untenstehenden Link, um Ihr Konto zu entsperren:'
|
23
|
+
message: Ihr Konto wurde aufgrund einer großen Anzahl von fehlgeschlagenen Anmeldeversuchen gesperrt.
|
24
|
+
subject: Anleitung um Ihr Konto zu entsperren
|
25
|
+
passwords:
|
26
|
+
new:
|
27
|
+
forgot_your_password: Haben Sie Ihr Passwort vergessen?
|
28
|
+
send_me_reset_password_instructions: Schicken Sie mir die Anleitung, mein Passwort zurückzusetzen
|
29
|
+
registrations:
|
30
|
+
edit:
|
31
|
+
are_you_sure: Sind Sie sicher?
|
32
|
+
cancel_my_account: Konto löschen
|
33
|
+
leave_blank_if_you_don_t_want_to_change_it: freilassen, wenn Sie das nicht ändern wollen
|
34
|
+
title: ! '%{resource} bearbeiten'
|
35
|
+
we_need_your_current_password_to_confirm_your_changes: wir benötigen Ihr aktuelles Passwort, um die Änderung zu bestätigen
|
36
|
+
new:
|
37
|
+
sign_up: Registrieren
|
38
|
+
sessions:
|
39
|
+
new:
|
40
|
+
sign_in: Anmelden
|
41
|
+
shared:
|
42
|
+
links:
|
43
|
+
didn_t_receive_confirmation_instructions: Keine Anleitung zur Bestätigung erhalten?
|
44
|
+
didn_t_receive_unlock_instructions: Keine Anleitung zum Entsperren erhalten?
|
45
|
+
forgot_your_password: Passwort vergessen?
|
46
|
+
sign_in: Anmelden
|
47
|
+
sign_in_with_provider: Mit %{provider} anmelden
|
48
|
+
sign_up: Registrieren
|
49
|
+
unlocks:
|
50
|
+
new:
|
51
|
+
resend_unlock_instructions: Anleitung zum Entsperren noch mal schicken
|
data/locales/en.yml
CHANGED
@@ -1,51 +1,56 @@
|
|
1
1
|
en:
|
2
2
|
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Resend confirmation instructions
|
3
6
|
mailer:
|
4
7
|
confirmation_instructions:
|
5
|
-
|
6
|
-
greeting:
|
7
|
-
instruction:
|
8
|
-
|
8
|
+
action: Confirm my account
|
9
|
+
greeting: Welcome %{recipient}!
|
10
|
+
instruction: ! 'You can confirm your account email through the link below:'
|
11
|
+
subject: Confirmation instructions
|
9
12
|
reset_password_instructions:
|
10
|
-
|
11
|
-
greeting:
|
12
|
-
instruction:
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
action: Change my password
|
14
|
+
greeting: Hello %{recipient}!
|
15
|
+
instruction: Someone has requested a link to change your password, and you can do this through the link below.
|
16
|
+
instruction_2: If you didn't request this, please ignore this email.
|
17
|
+
instruction_3: Your password won't change until you access the link above and create a new one.
|
18
|
+
subject: Reset password instructions
|
16
19
|
unlock_instructions:
|
17
|
-
|
18
|
-
greeting:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
confirmations:
|
23
|
-
new:
|
24
|
-
resend_confirmation_instructions: "Resend confirmation instructions"
|
20
|
+
action: Unlock my account
|
21
|
+
greeting: Hello %{recipient}!
|
22
|
+
instruction: ! 'Click the link below to unlock your account:'
|
23
|
+
message: Your account has been locked due to an excessive amount of unsuccessful sign in attempts.
|
24
|
+
subject: Unlock Instructions
|
25
25
|
passwords:
|
26
26
|
new:
|
27
|
-
forgot_your_password:
|
28
|
-
send_me_reset_password_instructions:
|
27
|
+
forgot_your_password: Forgot your password?
|
28
|
+
send_me_reset_password_instructions: Send me reset password instructions
|
29
|
+
edit:
|
30
|
+
change_your_password: Change your password
|
31
|
+
new_password: New password
|
32
|
+
confirm_new_password: Confirm new password
|
33
|
+
change_my_password: Change my password
|
29
34
|
registrations:
|
30
35
|
edit:
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
+
are_you_sure: Are you sure?
|
37
|
+
cancel_my_account: Cancel my account
|
38
|
+
leave_blank_if_you_don_t_want_to_change_it: leave blank if you dont want to change it
|
39
|
+
title: Edit %{resource}
|
40
|
+
we_need_your_current_password_to_confirm_your_changes: we need your current password to confirm your changes
|
36
41
|
new:
|
37
|
-
sign_up:
|
42
|
+
sign_up: Sign up
|
38
43
|
sessions:
|
39
44
|
new:
|
40
|
-
sign_in:
|
45
|
+
sign_in: Sign in
|
41
46
|
shared:
|
42
47
|
links:
|
43
|
-
didn_t_receive_confirmation_instructions:
|
44
|
-
didn_t_receive_unlock_instructions:
|
45
|
-
forgot_your_password:
|
46
|
-
sign_in:
|
47
|
-
|
48
|
-
|
48
|
+
didn_t_receive_confirmation_instructions: Didn't receive confirmation instructions?
|
49
|
+
didn_t_receive_unlock_instructions: Didn't receive unlock instructions?
|
50
|
+
forgot_your_password: Forgot your password?
|
51
|
+
sign_in: Sign in
|
52
|
+
sign_in_with_provider: Sign in with %{provider}
|
53
|
+
sign_up: Sign up
|
49
54
|
unlocks:
|
50
55
|
new:
|
51
|
-
resend_unlock_instructions:
|
56
|
+
resend_unlock_instructions: Resend unlock instructions
|
data/locales/es-AR.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
es-AR:
|
2
|
+
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Reenviar instrucciones de confirmación
|
6
|
+
mailer:
|
7
|
+
confirmation_instructions:
|
8
|
+
action: Confirmar mi cuenta
|
9
|
+
greeting: Bienvenido %{recipient}!
|
10
|
+
instruction: ! 'Puedes confirmar tu cuenta a través del siguiente enlace:'
|
11
|
+
subject: Instrucciones de confirmación
|
12
|
+
reset_password_instructions:
|
13
|
+
action: Cambiar mi contraseña
|
14
|
+
greeting: Hola %{recipient}!
|
15
|
+
instruction: Alguien ha solicitado cambiar tu contraseña, puedes hacerlo a través del siguiente enlace.
|
16
|
+
instruction_2: Si no solicitaste esto, por favor ignora este e-mail.
|
17
|
+
instruction_3: Tu contraseña no cambiará hasta que accedas al siguiente enlace y crees una nueva.
|
18
|
+
subject: Instrucciones para cambiar tu contraseña
|
19
|
+
unlock_instructions:
|
20
|
+
action: Desbloquear mi cuenta
|
21
|
+
greeting: Hola %{recipient}!
|
22
|
+
instruction: ! 'Haz click en el siguiente enlace para desbloquear tu contraseña:'
|
23
|
+
message: Tu cuenta ha sido bloqueada debido a un excesivo número de intentos inválidos de acceso.
|
24
|
+
subject: Instrucciones de desbloqueo
|
25
|
+
passwords:
|
26
|
+
new:
|
27
|
+
forgot_your_password: Olvidaste tu contraseña?
|
28
|
+
send_me_reset_password_instructions: Enviar instrucciones para resetear la contraseña
|
29
|
+
registrations:
|
30
|
+
edit:
|
31
|
+
are_you_sure: Estás seguro/a?
|
32
|
+
cancel_my_account: Cancelar mi cuenta
|
33
|
+
leave_blank_if_you_don_t_want_to_change_it: deja en blanco si no deseas cambiarla
|
34
|
+
title: Editar %{resource}
|
35
|
+
we_need_your_current_password_to_confirm_your_changes: necesitamos tu contraseña actual para confirmar tus cambios
|
36
|
+
new:
|
37
|
+
sign_up: Registrarse
|
38
|
+
sessions:
|
39
|
+
new:
|
40
|
+
sign_in: Ingresar
|
41
|
+
shared:
|
42
|
+
links:
|
43
|
+
didn_t_receive_confirmation_instructions: No recibiste instrucciones de confirmación?
|
44
|
+
didn_t_receive_unlock_instructions: No recibiste instrucciones de desbloqueo?
|
45
|
+
forgot_your_password: Olvidaste tu contraseña?
|
46
|
+
sign_in: Ingresar
|
47
|
+
sign_in_with_provider: Ingresar con %{provider}
|
48
|
+
sign_up: Registrarse
|
49
|
+
unlocks:
|
50
|
+
new:
|
51
|
+
resend_unlock_instructions: Reenviar instrucciones de desbloqueo
|
data/locales/es.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
es:
|
2
|
+
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Reenviar instrucciones de confirmación
|
6
|
+
mailer:
|
7
|
+
confirmation_instructions:
|
8
|
+
action: Confirmar mi cuenta
|
9
|
+
greeting: ¡Bienvenido %{recipient}!
|
10
|
+
instruction: ! 'Usted puede confirmar el correo electrónico de su cuenta a través de este enlace:'
|
11
|
+
subject: Instrucciones de confirmación
|
12
|
+
reset_password_instructions:
|
13
|
+
action: Cambiar mi contraseña
|
14
|
+
greeting: ¡Hola %{recipient}!
|
15
|
+
instruction: Alguien ha solicitado un enlace para cambiar su contraseña, lo que se puede realizar con el siguiente enlace.
|
16
|
+
instruction_2: Si usted no lo ha solicitado, por favor ignore este correo electrónico.
|
17
|
+
instruction_3: Su contraseña no será cambiada hasta que usted acceda el enlace y cree uno nuevo.
|
18
|
+
subject: Instrucciones para resetear contraseña
|
19
|
+
unlock_instructions:
|
20
|
+
action: Desbloquear mi cuenta
|
21
|
+
greeting: ¡Hola %{recipient}!
|
22
|
+
instruction: ! 'Haga click en el siguiente enlace para desbloquear su cuenta:'
|
23
|
+
message: Su cuenta ha sido bloqueada debido a una cantidad excesiva de intentos infructuosos para ingresar.
|
24
|
+
subject: Instrucciones de desbloqueo
|
25
|
+
passwords:
|
26
|
+
new:
|
27
|
+
forgot_your_password: ¿Ha olvidado su contraseña?
|
28
|
+
send_me_reset_password_instructions: Envíeme las instrucciones para resetear mi contraseña
|
29
|
+
registrations:
|
30
|
+
edit:
|
31
|
+
are_you_sure: ¿Está usted seguro?
|
32
|
+
cancel_my_account: Anular mi cuenta
|
33
|
+
leave_blank_if_you_don_t_want_to_change_it: dejar en blanco si no desea cambiarlo
|
34
|
+
title: Editar %{resource}
|
35
|
+
we_need_your_current_password_to_confirm_your_changes: necesitamos su contraseña actual para confirmar los cambios
|
36
|
+
new:
|
37
|
+
sign_up: Registrarse
|
38
|
+
sessions:
|
39
|
+
new:
|
40
|
+
sign_in: Iniciar sésion
|
41
|
+
shared:
|
42
|
+
links:
|
43
|
+
didn_t_receive_confirmation_instructions: ¿No ha recibido las instrucciones de confirmación?
|
44
|
+
didn_t_receive_unlock_instructions: No ha recibido instrucciones para desbloquear?
|
45
|
+
forgot_your_password: ¿Ha olvidado su contraseña?
|
46
|
+
sign_in: Iniciar sésion
|
47
|
+
sign_in_with_provider: Iniciar sésion con %{provider}
|
48
|
+
sign_up: Registrarse
|
49
|
+
unlocks:
|
50
|
+
new:
|
51
|
+
resend_unlock_instructions: Reenviar instrucciones para desbloquear
|
data/locales/fr.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
fr:
|
2
|
+
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Renvoyer les instructions de confirmation
|
6
|
+
mailer:
|
7
|
+
confirmation_instructions:
|
8
|
+
action: Confirmer mon email
|
9
|
+
greeting: Bienvenue %{recipient}!
|
10
|
+
instruction: ! 'Vous pouvez confirmer votre email grâce au lien ci-dessous:'
|
11
|
+
subject: Instructions pour confirmer votre compte
|
12
|
+
reset_password_instructions:
|
13
|
+
action: Changer mon mot de passe
|
14
|
+
greeting: Bonjour %{recipient}!
|
15
|
+
instruction: ! 'Quelqu''un a demandé un lien pour changer votre mot de passe, le voici :'
|
16
|
+
instruction_2: Si vous n'avez pas émis cette demande, merci d'ignore cet email.
|
17
|
+
instruction_3: Votre mot de passe ne changera pas tant que vous n'aurez pas cliqué sur ce lien et renseigné un nouveau mot de passe.
|
18
|
+
subject: Instructions pour réinitialiser votre mot de passe
|
19
|
+
unlock_instructions:
|
20
|
+
action: Débloquer mon compte
|
21
|
+
greeting: Bonjour %{recipient}!
|
22
|
+
instruction: ! 'Suivez ce lien pour débloquer votre compte:'
|
23
|
+
message: Votre compte a été bloqué suite à un nombre d'essais de connexions manqués trop important
|
24
|
+
subject: Instructions pour débloquer votre compte
|
25
|
+
passwords:
|
26
|
+
new:
|
27
|
+
forgot_your_password: Mot de passe oublié ?
|
28
|
+
send_me_reset_password_instructions: Envoyez-moi des instructions pour réinitialiser mon mot de passe
|
29
|
+
registrations:
|
30
|
+
edit:
|
31
|
+
are_you_sure: Êtes-vous sûr ?!
|
32
|
+
cancel_my_account: Supprimer mon compte
|
33
|
+
leave_blank_if_you_don_t_want_to_change_it: laissez ce champ vide pour le laisser inchangé
|
34
|
+
title: Éditer %{resource}
|
35
|
+
we_need_your_current_password_to_confirm_your_changes: nous avons besoin de votre mot de passe actuel pour valider ces modifications
|
36
|
+
new:
|
37
|
+
sign_up: Inscription
|
38
|
+
sessions:
|
39
|
+
new:
|
40
|
+
sign_in: Connexion
|
41
|
+
shared:
|
42
|
+
links:
|
43
|
+
didn_t_receive_confirmation_instructions: Vous n'avez pas reçu le mail de confirmation ?
|
44
|
+
didn_t_receive_unlock_instructions: Vous n'avez pas reçu le mail de débloquage ?
|
45
|
+
forgot_your_password: Mot de passe oublié ?
|
46
|
+
sign_in: Connexion
|
47
|
+
sign_in_with_provider: Connexion avec %{provider}
|
48
|
+
sign_up: Inscription
|
49
|
+
unlocks:
|
50
|
+
new:
|
51
|
+
resend_unlock_instructions: Renvoyer les instructions de débloquage
|
data/locales/it.yml
CHANGED
@@ -1,52 +1,51 @@
|
|
1
1
|
it:
|
2
2
|
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Invia di nuovo le istruzioni per la conferma
|
3
6
|
mailer:
|
4
7
|
confirmation_instructions:
|
5
|
-
|
6
|
-
greeting:
|
7
|
-
instruction: 'Puoi confermare il tuo account cliccando sul link qui sotto:'
|
8
|
-
|
8
|
+
action: Conferma il mio account
|
9
|
+
greeting: Benvenuto %{recipient}!
|
10
|
+
instruction: ! 'Puoi confermare il tuo account cliccando sul link qui sotto:'
|
11
|
+
subject: Istruzioni per la conferma
|
9
12
|
reset_password_instructions:
|
10
|
-
|
11
|
-
greeting:
|
12
|
-
instruction:
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
action: Cambia la mia password
|
14
|
+
greeting: Ciao %{recipient}!
|
15
|
+
instruction: Qualcuno ha richiesto di resettare la tua password, se lo vuoi davvero puoi farlo cliccando sul link qui sotto.
|
16
|
+
instruction_2: Se non sei stato tu ad effettuare questa richiesta puoi ignorare questa mail.
|
17
|
+
instruction_3: La tua password non cambierà finchè non accederai al link sopra.
|
18
|
+
subject: Istruzioni per resettare la password
|
16
19
|
unlock_instructions:
|
17
|
-
|
18
|
-
greeting:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
confirmations:
|
23
|
-
new:
|
24
|
-
resend_confirmation_instructions: "Invia di nuovo le istruzioni per la conferma"
|
20
|
+
action: Sblocca il mio account
|
21
|
+
greeting: Ciao %{recipient}!
|
22
|
+
instruction: ! 'Clicca sul link qui sotto per sbloccare il tuo account:'
|
23
|
+
message: Il tuo account è stato bloccato a seguito di un numero eccessivo di tentativi di accesso falliti.
|
24
|
+
subject: Istruzioni per lo sblocco
|
25
25
|
passwords:
|
26
26
|
new:
|
27
|
-
forgot_your_password:
|
28
|
-
send_me_reset_password_instructions:
|
27
|
+
forgot_your_password: Password dimenticata?
|
28
|
+
send_me_reset_password_instructions: Inviami le istruzioni per resettare la password
|
29
29
|
registrations:
|
30
30
|
edit:
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
are_you_sure: Sei sicuro?
|
32
|
+
cancel_my_account: Rimuovi il mio account
|
33
|
+
leave_blank_if_you_don_t_want_to_change_it: lascia in bianco se non vuoi cambiarla
|
34
|
+
title: Modifica %{resource}
|
35
|
+
we_need_your_current_password_to_confirm_your_changes: abbiamo bisogno della tua password attuale per confermare i cambiamenti
|
36
36
|
new:
|
37
|
-
sign_up:
|
37
|
+
sign_up: Registrati
|
38
38
|
sessions:
|
39
39
|
new:
|
40
|
-
sign_in:
|
40
|
+
sign_in: Accedi
|
41
41
|
shared:
|
42
42
|
links:
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
43
|
+
didn_t_receive_confirmation_instructions: Non hai ricevuto le istruzioni per la conferma?
|
44
|
+
didn_t_receive_unlock_instructions: Non hai ricevuto le istruzioni per lo sblocco?
|
45
|
+
forgot_your_password: Password dimenticata?
|
46
|
+
sign_in: Accedi
|
47
|
+
sign_in_with_provider: Accedi con %{provider}
|
48
|
+
sign_up: Registrati
|
49
49
|
unlocks:
|
50
50
|
new:
|
51
|
-
resend_unlock_instructions:
|
52
|
-
|
51
|
+
resend_unlock_instructions: Invia di nuovo le istruzioni per lo sblocco
|
data/locales/pt-BR.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
pt-BR:
|
2
|
+
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Reenviar instruções de confirmação
|
6
|
+
mailer:
|
7
|
+
confirmation_instructions:
|
8
|
+
action: Confirmar minha conta
|
9
|
+
greeting: Bem-vindo %{recipient}!
|
10
|
+
instruction: ! 'Você pode confirmar sua conta através do link abaixo:'
|
11
|
+
subject: Instruções de confirmação
|
12
|
+
reset_password_instructions:
|
13
|
+
action: Redefinir minha senha
|
14
|
+
greeting: Olá %{recipient}!
|
15
|
+
instruction: Alguém fez o pedido para redefinir sua senha, e você pode fazer isso clicando no link abaixo.
|
16
|
+
instruction_2: Se você não fez este pedido, por favor ignore este e-mail.
|
17
|
+
instruction_3: Sua senha não será alterada até que você acesse o link abaixo e crie uma nova.
|
18
|
+
subject: Instruções para redefinição da senha
|
19
|
+
unlock_instructions:
|
20
|
+
action: Desbloquear minha conta
|
21
|
+
greeting: Olá %{recipient}!
|
22
|
+
instruction: ! 'Clique no link abaixo para desbloquear sua conta:'
|
23
|
+
message: Sua conta foi bloqueada devido ao excessivo número de tentativas acesso inválidas.
|
24
|
+
subject: Instruções de desbloqueio
|
25
|
+
passwords:
|
26
|
+
new:
|
27
|
+
forgot_your_password: Esqueceu sua senha?
|
28
|
+
send_me_reset_password_instructions: Enviar instruções para redefinição da senha
|
29
|
+
registrations:
|
30
|
+
edit:
|
31
|
+
are_you_sure: Você tem certeza?
|
32
|
+
cancel_my_account: Cancelar minha conta
|
33
|
+
leave_blank_if_you_don_t_want_to_change_it: deixe em branco caso não queira alterá-la
|
34
|
+
title: Editar %{resource}
|
35
|
+
we_need_your_current_password_to_confirm_your_changes: precisamos da sua senha atual para confirmar suas mudanças
|
36
|
+
new:
|
37
|
+
sign_up: Inscrever-se
|
38
|
+
sessions:
|
39
|
+
new:
|
40
|
+
sign_in: Login
|
41
|
+
shared:
|
42
|
+
links:
|
43
|
+
didn_t_receive_confirmation_instructions: Não recebeu instruções de confirmação?
|
44
|
+
didn_t_receive_unlock_instructions: Não recebeu instruções de desbloqueio?
|
45
|
+
forgot_your_password: Equeceu sua senha?
|
46
|
+
sign_in: Login
|
47
|
+
sign_in_with_provider: Entrar com %{provider}
|
48
|
+
sign_up: Inscrever-se
|
49
|
+
unlocks:
|
50
|
+
new:
|
51
|
+
resend_unlock_instructions: Renviar instruções de desbloqueio
|
data/locales/ru.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
ru:
|
2
|
+
devise:
|
3
|
+
confirmations:
|
4
|
+
new:
|
5
|
+
resend_confirmation_instructions: Выслать повторно письмо с активацией
|
6
|
+
mailer:
|
7
|
+
confirmation_instructions:
|
8
|
+
action: Активировать
|
9
|
+
greeting: Привет %{recipient}!
|
10
|
+
instruction: ! 'Вы можете активировать свою учетную запись, нажав ссылку снизу:'
|
11
|
+
subject: Активация учетной записи
|
12
|
+
reset_password_instructions:
|
13
|
+
action: Изменить пароль
|
14
|
+
greeting: Привет %{recipient}!
|
15
|
+
instruction: ! 'Вы (или кто-то еще) запросили изменение пароля. Для изменение пароля нажимите ссылку ниже:'
|
16
|
+
instruction_2: Если вы не запрашивали изменение пароля - проигнорируйте это сообщение
|
17
|
+
instruction_3: Ваш пароль не изменится пока вы не нажмете на ссылку и не введете новый.
|
18
|
+
subject: Запрос на изменение пароля
|
19
|
+
unlock_instructions:
|
20
|
+
action: Разблокировать учетную запись
|
21
|
+
greeting: Привет %{recipient}!
|
22
|
+
instruction: ! 'Нажмите ссылку для активации учетной записи:'
|
23
|
+
message: Ваша учетная запись была заблокирована в связи с превышением лимита неудачных попыток входа.
|
24
|
+
subject: Инструкции для разблокировки учетной записи
|
25
|
+
passwords:
|
26
|
+
new:
|
27
|
+
forgot_your_password: Забыли пароль?
|
28
|
+
send_me_reset_password_instructions: Выслать новый пароль
|
29
|
+
registrations:
|
30
|
+
edit:
|
31
|
+
are_you_sure: Вы уверены?
|
32
|
+
cancel_my_account: Удалить учетную запись
|
33
|
+
leave_blank_if_you_don_t_want_to_change_it: оставьте поле пустым, если не хотите ничего менять
|
34
|
+
title: Редактировать %{resource}
|
35
|
+
we_need_your_current_password_to_confirm_your_changes: введите текущий пароль для подтверждения изменений
|
36
|
+
new:
|
37
|
+
sign_up: Регистрация
|
38
|
+
sessions:
|
39
|
+
new:
|
40
|
+
sign_in: Войти
|
41
|
+
shared:
|
42
|
+
links:
|
43
|
+
didn_t_receive_confirmation_instructions: Не получили подтверждение?
|
44
|
+
didn_t_receive_unlock_instructions: Не получили код разблокировки?
|
45
|
+
forgot_your_password: Забыли пароль?
|
46
|
+
sign_in: Войти
|
47
|
+
sign_in_with_provider: ! 'Войти с помощью: %{provider}'
|
48
|
+
sign_up: Регистрация
|
49
|
+
unlocks:
|
50
|
+
new:
|
51
|
+
resend_unlock_instructions: Выслать подтверждение заново
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-i18n-views
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.4.0
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.4.0
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: bundler
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,6 +59,38 @@ dependencies:
|
|
43
59
|
- - ~>
|
44
60
|
- !ruby/object:Gem::Version
|
45
61
|
version: 1.8.3
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: i18n-spec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: localeapp
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
46
94
|
description: I18n support for devise views
|
47
95
|
email: maurizio.cas@gmail.com
|
48
96
|
executables: []
|
@@ -52,6 +100,7 @@ extra_rdoc_files:
|
|
52
100
|
- README.md
|
53
101
|
files:
|
54
102
|
- .document
|
103
|
+
- .rspec
|
55
104
|
- Gemfile
|
56
105
|
- Gemfile.lock
|
57
106
|
- LICENSE.txt
|
@@ -73,8 +122,16 @@ files:
|
|
73
122
|
- devise-i18n-views.gemspec
|
74
123
|
- lib/devise-i18n-views.rb
|
75
124
|
- lib/generators/devise/views/locale/locale_generator.rb
|
125
|
+
- locales/de.yml
|
76
126
|
- locales/en.yml
|
127
|
+
- locales/es-AR.yml
|
128
|
+
- locales/es.yml
|
129
|
+
- locales/fr.yml
|
77
130
|
- locales/it.yml
|
131
|
+
- locales/pt-BR.yml
|
132
|
+
- locales/ru.yml
|
133
|
+
- spec/devise-i18n-views_spec.rb
|
134
|
+
- spec/spec_helper.rb
|
78
135
|
homepage: http://github.com/mcasimir/devise-i18n-views
|
79
136
|
licenses:
|
80
137
|
- MIT
|
@@ -90,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
147
|
version: '0'
|
91
148
|
segments:
|
92
149
|
- 0
|
93
|
-
hash:
|
150
|
+
hash: 2774387395828348818
|
94
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
152
|
none: false
|
96
153
|
requirements:
|