devise_views_translated 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/.document +5 -0
  2. data/.idea/.name +1 -0
  3. data/.idea/.rakeTasks +7 -0
  4. data/.idea/devise_views_translated.iml +27 -0
  5. data/.idea/encodings.xml +5 -0
  6. data/.idea/misc.xml +36 -0
  7. data/.idea/modules.xml +9 -0
  8. data/.idea/scopes/scope_settings.xml +5 -0
  9. data/.idea/vcs.xml +7 -0
  10. data/.idea/workspace.xml +735 -0
  11. data/Gemfile +13 -0
  12. data/LICENSE.txt +20 -0
  13. data/README.rdoc +19 -0
  14. data/Rakefile +46 -0
  15. data/VERSION +1 -0
  16. data/devise_views_translated.gemspec +81 -0
  17. data/lib/app/views/devise/confirmations/new.html.haml +9 -0
  18. data/lib/app/views/devise/mailer/confirmation_instructions.fr.html.haml +4 -0
  19. data/lib/app/views/devise/mailer/confirmation_instructions.html.haml +4 -0
  20. data/lib/app/views/devise/mailer/reset_password_instructions.fr.html.haml +6 -0
  21. data/lib/app/views/devise/mailer/reset_password_instructions.html.haml +6 -0
  22. data/lib/app/views/devise/mailer/unlock_instructions.fr.html.haml +5 -0
  23. data/lib/app/views/devise/mailer/unlock_instructions.html.haml +5 -0
  24. data/lib/app/views/devise/passwords/edit.html.haml +14 -0
  25. data/lib/app/views/devise/passwords/new.html.haml +25 -0
  26. data/lib/app/views/devise/registrations/edit.html.haml +27 -0
  27. data/lib/app/views/devise/registrations/new.html.haml +20 -0
  28. data/lib/app/views/devise/sessions/new.html.haml +40 -0
  29. data/lib/app/views/devise/shared/_links.haml +37 -0
  30. data/lib/app/views/devise/unlocks/new.html.haml +23 -0
  31. data/lib/config/locales/devise.fr.yml +94 -0
  32. data/lib/devise_views_translated.rb +12 -0
  33. data/lib/railtie.rb +12 -0
  34. data/lib/tasks/devise_views_translated_tasks.rake +42 -0
  35. data/test/helper.rb +18 -0
  36. data/test/test_devise_views_translated.rb +7 -0
  37. metadata +131 -0
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "shoulda", ">= 0"
10
+ gem "bundler", "~> 1.0.0"
11
+ gem "jeweler", "~> 1.6.0"
12
+ #gem "rcov", ">= 0"
13
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 aslon
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = devise_views_translated
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to devise_views_translated
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 aslon. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "devise_views_translated"
18
+ gem.homepage = "http://github.com/aslon/devise_views_translated"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{rake tasks to install translated views for devise}
21
+ gem.description = %Q{rake tasks to install translated views for devise}
22
+ gem.email = "contact@aslon.fr"
23
+ gem.authors = ["aslon"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+
36
+ task :default => :test
37
+
38
+ require 'rake/rdoctask'
39
+ Rake::RDocTask.new do |rdoc|
40
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
41
+
42
+ rdoc.rdoc_dir = 'rdoc'
43
+ rdoc.title = "devise_views_translated #{version}"
44
+ rdoc.rdoc_files.include('README*')
45
+ rdoc.rdoc_files.include('lib/**/*.rb')
46
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.4.1
@@ -0,0 +1,81 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "devise_views_translated"
8
+ s.version = "0.4.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["aslon"]
12
+ s.date = "2012-04-09"
13
+ s.description = "rake tasks to install translated views for devise"
14
+ s.email = "contact@aslon.fr"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".idea/.name",
22
+ ".idea/.rakeTasks",
23
+ ".idea/devise_views_translated.iml",
24
+ ".idea/encodings.xml",
25
+ ".idea/misc.xml",
26
+ ".idea/modules.xml",
27
+ ".idea/scopes/scope_settings.xml",
28
+ ".idea/vcs.xml",
29
+ ".idea/workspace.xml",
30
+ "Gemfile",
31
+ "LICENSE.txt",
32
+ "README.rdoc",
33
+ "Rakefile",
34
+ "VERSION",
35
+ "devise_views_translated.gemspec",
36
+ "lib/app/views/devise/confirmations/new.html.haml",
37
+ "lib/app/views/devise/mailer/confirmation_instructions.fr.html.haml",
38
+ "lib/app/views/devise/mailer/confirmation_instructions.html.haml",
39
+ "lib/app/views/devise/mailer/reset_password_instructions.fr.html.haml",
40
+ "lib/app/views/devise/mailer/reset_password_instructions.html.haml",
41
+ "lib/app/views/devise/mailer/unlock_instructions.fr.html.haml",
42
+ "lib/app/views/devise/mailer/unlock_instructions.html.haml",
43
+ "lib/app/views/devise/passwords/edit.html.haml",
44
+ "lib/app/views/devise/passwords/new.html.haml",
45
+ "lib/app/views/devise/registrations/edit.html.haml",
46
+ "lib/app/views/devise/registrations/new.html.haml",
47
+ "lib/app/views/devise/sessions/new.html.haml",
48
+ "lib/app/views/devise/shared/_links.haml",
49
+ "lib/app/views/devise/unlocks/new.html.haml",
50
+ "lib/config/locales/devise.fr.yml",
51
+ "lib/devise_views_translated.rb",
52
+ "lib/railtie.rb",
53
+ "lib/tasks/devise_views_translated_tasks.rake",
54
+ "test/helper.rb",
55
+ "test/test_devise_views_translated.rb"
56
+ ]
57
+ s.homepage = "http://github.com/aslon/devise_views_translated"
58
+ s.licenses = ["MIT"]
59
+ s.require_paths = ["lib"]
60
+ s.rubygems_version = "1.8.10"
61
+ s.summary = "rake tasks to install translated views for devise"
62
+
63
+ if s.respond_to? :specification_version then
64
+ s.specification_version = 3
65
+
66
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
67
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
68
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
69
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
70
+ else
71
+ s.add_dependency(%q<shoulda>, [">= 0"])
72
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
73
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
74
+ end
75
+ else
76
+ s.add_dependency(%q<shoulda>, [">= 0"])
77
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
78
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
79
+ end
80
+ end
81
+
@@ -0,0 +1,9 @@
1
+ %h2 Resend confirmation instructions
2
+ = form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f|
3
+ = devise_error_messages!
4
+ %p
5
+ = f.label :email
6
+ %br/
7
+ = f.email_field :email
8
+ %p= f.submit t(".resend_confirmation_instructions")
9
+ = render :partial => "devise/shared/links"
@@ -0,0 +1,4 @@
1
+ %p
2
+ Bienvenue #{@resource.email}!
3
+ %p Vous pouvez confirmer votre compte en cliquant sur le lien ci-dessous :
4
+ %p= link_to 'Confirmer mon compte', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token)
@@ -0,0 +1,4 @@
1
+ %p
2
+ Welcome #{@resource.email}!
3
+ %p You can confirm your account through the link below:
4
+ %p= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token)
@@ -0,0 +1,6 @@
1
+ %p
2
+ Bonjour #{@resource.email}!
3
+ %p Un changement de mot de passe a été demandé. Vous pouvez le faire en cliquant sur le lien ci-dessous
4
+ %p= link_to 'Changez mon mot de passe', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token)
5
+ %p Si vous n'avez pas demandé ce changement, ignorez ce message.
6
+ %p Votre mot de passe ne sera pas changé tant que vous n'aurez pas accédé au lien ci-dessus pour en créer un nouveau.
@@ -0,0 +1,6 @@
1
+ %p
2
+ Hello #{@resource.email}!
3
+ %p Someone has requested a link to change your password, and you can do this through the link below.
4
+ %p= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token)
5
+ %p If you didn't request this, please ignore this email.
6
+ %p Your password won't change until you access the link above and create a new one.
@@ -0,0 +1,5 @@
1
+ %p
2
+ Bonjour #{@resource.email}!
3
+ %p Votre compte a été verrouillé à la suite d'un trop grand nombre de tentatives d'authentification.
4
+ %p Cliquez sur le lien ci-dessous pour déverrouiller votre compte
5
+ %p= link_to 'Déverrouiller mon compte', unlock_url(@resource, :unlock_token => @resource.unlock_token)
@@ -0,0 +1,5 @@
1
+ %p
2
+ Hello #{@resource.email}!
3
+ %p Your account has been locked due to an excessive amount of unsuccessful sign in attempts.
4
+ %p Click the link below to unlock your account:
5
+ %p= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token)
@@ -0,0 +1,14 @@
1
+ %h2=t 'devise.passwords.edit.change_my_password'
2
+ = form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f|
3
+ = devise_error_messages!
4
+ = f.hidden_field :reset_password_token
5
+ %p
6
+ = f.label :password, t('devise.passwords.edit.new_password')
7
+ %br/
8
+ = f.password_field :password
9
+ %p
10
+ = f.label :password_confirmation, t('devise.passwords.edit.confirm_new_password')
11
+ %br/
12
+ = f.password_field :password_confirmation
13
+ %p= f.submit t 'devise.passwords.edit.change_my_password'
14
+ = render :partial => "devise/shared/links"
@@ -0,0 +1,25 @@
1
+
2
+ -if is_mobile_request?
3
+ %div{'data-role' => 'header','data-theme'=>"b"}
4
+ = link_to "home", root_url, 'data-role' => 'button' ,'data-icon'=>'home','data-iconpos'=>"notext"
5
+ %h2=t 'devise.common.forgot_your_password'
6
+ %div{'data-role' => 'content'}
7
+ = form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { 'data-ajax'=>"false",:method => :post }) do |f|
8
+ - @flash=devise_error_messages2!
9
+ %div.field.fieldcontain.ui-hide-label
10
+ = f.label :email
11
+ = f.email_field :email,:placeholder=>:email
12
+ .center-button= f.submit t('devise.passwords.new.send_me_reset_password_instructions') ,'data-inline'=>"true" ,'data-theme'=>"b", 'data-icon'=>"arrow-r"
13
+ = render :partial => "devise/shared/links"
14
+ = render "layouts/alerte_mobile" if @flash !=""
15
+
16
+ -else
17
+ %h2=t 'devise.common.forgot_your_password'
18
+ = form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f|
19
+ = devise_error_messages!
20
+ %p
21
+ = f.label :email
22
+ %br/
23
+ = f.email_field :email
24
+ %p= f.submit t 'devise.passwords.new.send_me_reset_password_instructions'
25
+ = render :partial => "devise/shared/links"
@@ -0,0 +1,27 @@
1
+ %h2
2
+ Edit #{resource_name.to_s.humanize}
3
+ = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
4
+ = devise_error_messages!
5
+ %p
6
+ = f.label :email
7
+ %br/
8
+ = f.email_field :email
9
+ %p
10
+ = f.label :password
11
+ %i=t "devise.registrations.edit.password_instruction"
12
+ %br/
13
+ = f.password_field :password
14
+ %p
15
+ = f.label :password_confirmation
16
+ %br/
17
+ = f.password_field :password_confirmation
18
+ %p
19
+ = f.label :current_password
20
+ %i=t "devise.registrations.edit.current_password_instruction"
21
+ %br/
22
+ = f.password_field :current_password
23
+ %p= f.submit t :update
24
+ %h3= t "devise.registrations.edit.cancel_my_account"
25
+ %p
26
+ #{link_to t("devise.registrations.edit.cancel_my_account"), registration_path(resource_name), :confirm => t("devise.registrations.edit.are_you_sure"), :method => :delete}.
27
+ = link_to "Back", :back
@@ -0,0 +1,20 @@
1
+ - if is_mobile_request?
2
+ mobile
3
+ - else
4
+ %h2= t 'devise.common.sign_up'
5
+ = form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
6
+ = devise_error_messages!
7
+ %p
8
+ = f.label :email
9
+ %br/
10
+ = f.email_field :email
11
+ %p
12
+ = f.label :password
13
+ %br/
14
+ = f.password_field :password
15
+ %p
16
+ = f.label :password_confirmation
17
+ %br/
18
+ = f.password_field :password_confirmation
19
+ %p= f.submit t 'devise.common.sign_up'
20
+ = render :partial => "devise/shared/links"
@@ -0,0 +1,40 @@
1
+ - if is_mobile_request?
2
+ %div{'data-role' => 'header','data-theme'=>"b",'data-add-back-btn'=>"true"}
3
+ = link_to "Home", root_url, 'data-role' => 'button' ,'data-icon'=>'home','data-iconpos'=>"notext"
4
+
5
+ %h2=t('devise.common.sign_in')
6
+ %div{'data-role' => 'content'}
7
+ = form_for(resource, :as => resource_name, :url => session_path(resource_name),:html=>{'data-ajax'=>"false"}) do |f|
8
+ %div.field.fieldcontain.ui-hide-label
9
+ = f.label :email
10
+ = f.email_field :email,:placeholder=>:email
11
+ %div.field.fieldcontain.ui-hide-label
12
+ = f.label :password
13
+ = f.password_field :password,:placeholder=>:password
14
+ - if devise_mapping.rememberable?
15
+ %fieldset{'data-role' => 'controlgroup'}
16
+ .center-checkbox
17
+ = f.check_box :remember_me
18
+ = f.label :remember_me
19
+ .center-button
20
+ = f.submit t('devise.common.sign_in'),'data-inline'=>"true" ,'data-theme'=>"b", 'data-icon'=>"arrow-r"
21
+ = render :partial => "devise/shared/links"
22
+
23
+ - else
24
+ %h2=t('devise.common.sign_in')
25
+ = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
26
+ %p
27
+ = f.label :email
28
+ %br/
29
+ = f.email_field :email
30
+ %p
31
+ = f.label :password
32
+ %br/
33
+ = f.password_field :password
34
+ - if devise_mapping.rememberable?
35
+ %p
36
+ = f.check_box :remember_me
37
+ = f.label :remember_me
38
+ %p= f.submit t('devise.common.sign_in')
39
+ = render :partial => "devise/shared/links"
40
+
@@ -0,0 +1,37 @@
1
+ - if is_mobile_request?
2
+ - bu=""
3
+ %div{'data-role' => 'controlgroup',"class"=>'controlgroup' }
4
+ %ul
5
+ - if controller_name != 'sessions'
6
+ %li= link_to t('devise.common.sign_in'), new_session_path(resource_name), 'data-role' => 'button','data-icon'=>'arrow-r','data-iconpos'=>'right'
7
+ - if devise_mapping.registerable? && controller_name != 'registrations'
8
+ %li= link_to t('devise.common.sign_up'), new_registration_path(resource_name), 'data-role' => 'button','data-icon'=>'arrow-r','data-iconpos'=>'right'
9
+ - if devise_mapping.recoverable? && controller_name != 'passwords'
10
+ %li= link_to t("devise.common.forgot_your_password"), new_password_path(resource_name), 'data-role' => 'button','data-icon'=>'arrow-r','data-iconpos'=>'right'
11
+ - if devise_mapping.confirmable? && controller_name != 'confirmations'
12
+ %li= link_to t "devise.shared.links.didnt_receive_confirmation_instructions", new_confirmation_path(resource_name)
13
+ - if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
14
+ %li= link_to t "devise.shared.links.didnt_receive_unlock_instructions", new_unlock_path(resource_name)
15
+ - if devise_mapping.omniauthable?
16
+ - resource_class.omniauth_providers.each do |provider|
17
+ %li= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider)
18
+ -else
19
+ - if controller_name != 'sessions'
20
+ = link_to t('devise.common.sign_in'), new_session_path(resource_name)
21
+ %br/
22
+ - if devise_mapping.registerable? && controller_name != 'registrations'
23
+ = link_to t('devise.common.sign_up'), new_registration_path(resource_name)
24
+ %br/
25
+ - if devise_mapping.recoverable? && controller_name != 'passwords'
26
+ = link_to t("devise.common.forgot_your_password"), new_password_path(resource_name)
27
+ %br/
28
+ - if devise_mapping.confirmable? && controller_name != 'confirmations'
29
+ = link_to t "devise.shared.links.didnt_receive_confirmation_instructions", new_confirmation_path(resource_name)
30
+ %br/
31
+ - if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
32
+ = link_to t "devise.shared.links.didnt_receive_unlock_instructions", new_unlock_path(resource_name)
33
+ %br/
34
+ - if devise_mapping.omniauthable?
35
+ - resource_class.omniauth_providers.each do |provider|
36
+ = link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider)
37
+ %br/
@@ -0,0 +1,23 @@
1
+ - if is_mobile_request?
2
+ %div{'data-role' => 'header','data-theme'=>"b"}
3
+ = link_to "Home", root_url, 'data-role' => 'button' ,'data-icon'=>'home'
4
+ %h2=t "devise.unlocks.new.resend_unlock_instructions"
5
+ %div{'data-role' => 'content'}
6
+ = form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f|
7
+ = devise_error_messages!
8
+ %div.field.fieldcontain.ui-hide-label
9
+ = f.label :email
10
+ = f.email_field :email
11
+ .center-button=f.submit t("devise.unlocks.new.resend_unlock_instructions") ,'data-inline'=>"true" ,'data-theme'=>"b", 'data-icon'=>"arrow-r"
12
+ = render :partial => "devise/shared/links"
13
+
14
+ -else
15
+ %h2=t "devise.unlocks.new.resend_unlock_instructions"
16
+ = form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f|
17
+ = devise_error_messages!
18
+ %p
19
+ = f.label :email
20
+ %br/
21
+ = f.email_field :email
22
+ %p= f.submit t "devise.unlocks.new.resend_unlock_instructions"
23
+ = render :partial => "devise/shared/links"
@@ -0,0 +1,94 @@
1
+ #########################################################################################################
2
+ # I18n French translation for Devise (http://github.com/plataformatec/devise)
3
+ # I18n traduction française pour Devise
4
+ #########################################################################################################
5
+
6
+ fr:
7
+ update: "mise à jour"
8
+ errors:
9
+ messages:
10
+ not_found: "n'a pas été trouvé(e)"
11
+ already_confirmed: "a déjà été confirmé(e)"
12
+ not_locked: "n'était pas verrouillé(e)"
13
+ expired: "a expiré, demandez un nouveau svp"
14
+ not_locked: "n'est pas bloqué"
15
+ not_saved:
16
+ one: "Une erreur empêche l'enregistrement"
17
+ other: "%{count} erreurs empêchent l'enregistrement"
18
+
19
+ devise:
20
+ failure:
21
+ unauthenticated: "Vous devez vous connecter ou vous inscrire pour continuer."
22
+ unconfirmed: "Vous devez confirmer votre compte pour continuer."
23
+ locked: "Votre compte est verrouillé."
24
+ invalid: "Courriel ou mot de passe incorrect."
25
+ invalid_token: "Jeton d'authentification incorrect."
26
+ timeout: "Votre session est expirée, veuillez vous reconnecter pour continuer."
27
+ inactive: "Votre compte n'est pas encore activé."
28
+ sessions:
29
+ signed_in: "Connecté."
30
+ signed_out: "Déconnecté."
31
+ passwords:
32
+ send_instructions: "Vous allez recevoir un courriel contenant des instructions pour changer votre mot de passe."
33
+ updated: "Votre mot de passe a été changé. Vous êtes maintenant connecté."
34
+ edit:
35
+ change_your_password: "Changez votre mot de passe"
36
+ change_my_password: "Changer mon mot de passe"
37
+ new_password: "Nouveau mot de passe"
38
+ confirm_new_password: "Confirme le nouveau mot de passe"
39
+ new:
40
+ send_me_reset_password_instructions: "Envoyez-moi un mail pour instruction"
41
+ confirmations:
42
+ send_instructions: "Vous allez recevoir un courriel contenant des instructions pour activer votre compte."
43
+ confirmed: "Votre compte a été activé. Vous êtes maintenant connecté."
44
+ new:
45
+ resend_confirmation_instructions: "Renvoyer le courriel de confirmation"
46
+
47
+ registrations:
48
+ signed_up: "Votre inscription est enregistrée. Si demandé, un courriel de confirmation vous a été envoyé."
49
+ updated: "Votre mise à jour a été prise en compte."
50
+ destroyed: "Votre compte a été supprimé. Nous espérons vous revoir bientôt."
51
+ edit:
52
+ edit: "Modifier"
53
+ # For "leave blank if you don't want to change it"
54
+ password_instruction: "Laisser vide si vous ne voulez pas le changer"
55
+ # For "we need your current password to confirm your changes"
56
+ current_password_instruction: "Vous devez saisir votre mot de passe courant pour confirmer vos changement"
57
+ update: "Mettre à jour"
58
+ cancel_my_account: "Annuler mon compte"
59
+ unhappy: "Pas content(e) ?"
60
+ are_you_sure: "Êtes-vous sûr ?"
61
+ back: "Retour"
62
+ unlocks:
63
+ send_instructions: "Vous allez recevoir un courriel avec des instructions pour déverrouiller votre compte."
64
+ unlocked: "Votre compte est déverrouillé. Vous êtes maintenant connecté."
65
+ new:
66
+ resend_unlock_instructions: "Renvoyez le mail pour déverrouiller mon compte"
67
+ mailer:
68
+ confirmation_instructions:
69
+ subject: 'Confirmation instructions'
70
+ reset_password_instructions:
71
+ subject: 'Instructions pour changer le mot de passe'
72
+ unlock_instructions:
73
+ subject: 'Instructions pour déverrouiller le compte'
74
+ ##########################################################################################################
75
+ common:
76
+ forgot_your_password: "Mot de passe oublié ?"
77
+ hello: "Bonjour"
78
+ sign_in: "Se connecter"
79
+ sign_up: "S'enregistrer"
80
+ shared:
81
+ links:
82
+ didnt_receive_confirmation_instructions: "Vous n'avez pas reçu de courriel de confirmation ?"
83
+ didnt_receive_unlock_instructions: "Vous n'avez pas reçu de courriel de déverrouillage de votre compte ?"
84
+ confirmations:
85
+
86
+
87
+ activerecord:
88
+ attributes:
89
+ user:
90
+ email: "adresse mail"
91
+ password: "mot de passe"
92
+ password_confirmation: "confirmation du mot de passe"
93
+ current_password: "mot de passe actuel"
94
+ remember_me: "restez connecté"