devise-bootstrap-views 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/app/views/erb/confirmations/new.html.erb +18 -0
  4. data/app/views/erb/mailer/confirmation_instructions.html.erb +6 -0
  5. data/app/views/erb/mailer/reset_password_instructions.html.erb +8 -0
  6. data/app/views/erb/mailer/unlock_instructions.html.erb +7 -0
  7. data/app/views/erb/passwords/edit.html.erb +24 -0
  8. data/app/views/erb/passwords/new.html.erb +17 -0
  9. data/app/views/erb/registrations/edit.html.erb +31 -0
  10. data/app/views/erb/registrations/new.html.erb +24 -0
  11. data/app/views/{devise → erb}/sessions/new.html.erb +7 -7
  12. data/app/views/erb/shared/_links.html.erb +25 -0
  13. data/app/views/erb/unlocks/new.html.erb +16 -0
  14. data/app/views/haml/confirmations/new.html.haml +11 -0
  15. data/app/views/haml/mailer/confirmation_instructions.html.haml +4 -0
  16. data/app/views/haml/mailer/reset_password_instructions.html.haml +5 -0
  17. data/app/views/haml/mailer/unlock_instructions.html.haml +4 -0
  18. data/app/views/haml/passwords/edit.html.haml +15 -0
  19. data/app/views/haml/passwords/new.html.haml +11 -0
  20. data/app/views/haml/registrations/edit.html.haml +27 -0
  21. data/app/views/haml/registrations/new.html.haml +17 -0
  22. data/app/views/haml/sessions/new.html.haml +18 -0
  23. data/app/views/haml/shared/_links.html.haml +19 -0
  24. data/app/views/haml/unlocks/new.html.haml +11 -0
  25. data/app/views/slim/confirmations/new.html.slim +12 -0
  26. data/app/views/slim/mailer/confirmation_instructions.html.slim +7 -0
  27. data/app/views/slim/mailer/reset_password_instructions.html.slim +10 -0
  28. data/app/views/slim/mailer/unlock_instructions.html.slim +8 -0
  29. data/app/views/slim/passwords/edit.html.slim +16 -0
  30. data/app/views/slim/passwords/new.html.slim +12 -0
  31. data/app/views/slim/registrations/edit.html.slim +34 -0
  32. data/app/views/slim/registrations/new.html.slim +18 -0
  33. data/app/views/slim/sessions/new.html.slim +19 -0
  34. data/app/views/slim/shared/_links.html.slim +19 -0
  35. data/app/views/slim/unlocks/new.html.slim +12 -0
  36. data/lib/generators/devise/views/bootstrap_haml_templates/bootstrap_haml_templates_generator.rb +10 -0
  37. data/lib/generators/devise/views/bootstrap_slim_templates/bootstrap_slim_templates_generator.rb +10 -0
  38. data/lib/generators/devise/views/bootstrap_templates/bootstrap_templates_generator.rb +1 -1
  39. data/lib/generators/devise/views/locale/locale_generator.rb +6 -3
  40. data/lib/version.rb +1 -1
  41. data/locales/af.yml +120 -0
  42. data/locales/ar.yml +60 -48
  43. data/locales/az.yml +118 -0
  44. data/locales/bg.yml +120 -0
  45. data/locales/bn.yml +120 -0
  46. data/locales/bs.yml +122 -0
  47. data/locales/ca.yml +86 -25
  48. data/locales/cs.yml +97 -86
  49. data/locales/da.yml +120 -0
  50. data/locales/de-CH.yml +122 -0
  51. data/locales/de.yml +72 -62
  52. data/locales/el.yml +120 -0
  53. data/locales/en-GB.yml +120 -0
  54. data/locales/en.yml +95 -87
  55. data/locales/es-MX.yml +120 -0
  56. data/locales/es.yml +85 -16
  57. data/locales/et.yml +120 -0
  58. data/locales/fa.yml +120 -0
  59. data/locales/fi.yml +120 -0
  60. data/locales/fr-CA.yml +120 -0
  61. data/locales/fr.yml +86 -17
  62. data/locales/he.yml +120 -0
  63. data/locales/hr.yml +122 -0
  64. data/locales/hu.yml +75 -14
  65. data/locales/id.yml +118 -0
  66. data/locales/is.yml +120 -0
  67. data/locales/it.yml +73 -4
  68. data/locales/ja.yml +120 -0
  69. data/locales/ko.yml +118 -0
  70. data/locales/lt.yml +121 -0
  71. data/locales/lv.yml +121 -0
  72. data/locales/my.yml +118 -0
  73. data/locales/nb.yml +120 -0
  74. data/locales/nl.yml +75 -14
  75. data/locales/nn-NO.yml +120 -0
  76. data/locales/no.yml +120 -0
  77. data/locales/pl.yml +77 -12
  78. data/locales/pt-BR.yml +73 -9
  79. data/locales/pt.yml +120 -0
  80. data/locales/ro.yml +121 -0
  81. data/locales/ru.yml +78 -55
  82. data/locales/sk.yml +121 -0
  83. data/locales/sl.yml +122 -0
  84. data/locales/sr-RS.yml +122 -0
  85. data/locales/sr.yml +122 -0
  86. data/locales/sv.yml +120 -0
  87. data/locales/th.yml +118 -0
  88. data/locales/tr.yml +74 -7
  89. data/locales/uk.yml +101 -35
  90. data/locales/vi.yml +120 -0
  91. data/locales/zh-CN.yml +101 -40
  92. data/locales/zh-HK.yml +118 -0
  93. data/locales/zh-TW.yml +101 -38
  94. metadata +74 -14
  95. data/app/views/devise/confirmations/new.html.erb +0 -18
  96. data/app/views/devise/mailer/confirmation_instructions.html.erb +0 -6
  97. data/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
  98. data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
  99. data/app/views/devise/passwords/edit.html.erb +0 -24
  100. data/app/views/devise/passwords/new.html.erb +0 -17
  101. data/app/views/devise/registrations/edit.html.erb +0 -31
  102. data/app/views/devise/registrations/new.html.erb +0 -24
  103. data/app/views/devise/shared/_links.html.erb +0 -25
  104. data/app/views/devise/unlocks/new.html.erb +0 -16
@@ -0,0 +1,10 @@
1
+ p
2
+ = t('.greeting', recipient: @resource.email, default: "Hello #{@resource.email}!")
3
+ p
4
+ = t('.instruction', default: 'Someone has requested a link to change your password, and you can do this through the link below.')
5
+ p
6
+ = link_to t('.action', default: 'Change my password'), edit_password_url(@resource, reset_password_token: @token, locale: I18n.locale)
7
+ p
8
+ = t('.instruction_2', default: "If you didn't request this, please ignore this email.")
9
+ p
10
+ = t('.instruction_3', default: "Your password won't change until you access the link above and create a new one.")
@@ -0,0 +1,8 @@
1
+ p
2
+ = t('.greeting', recipient: @resource.email, default: "Hello #{@resource.email}!")
3
+ p
4
+ = t('.message', default: 'Your account has been locked due to an excessive amount of unsuccessful sign in attempts.')
5
+ p
6
+ = t('.instruction', default: 'Click the link below to unlock your account:')
7
+ p
8
+ = link_to t('.action', default: 'Unlock my account'), unlock_url(@resource, unlock_token: @resource.unlock_token, locale: I18n.locale)
@@ -0,0 +1,16 @@
1
+ = bootstrap_devise_error_messages!
2
+ .panel.panel-default.devise-bs
3
+ .panel-heading
4
+ h4
5
+ = t('.change_your_password', default: 'Change your password')
6
+ .panel-body
7
+ = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, role: 'form' }) do |f|
8
+ = f.hidden_field :reset_password_token
9
+ .form-group
10
+ = f.label :password, t('.new_password', default: 'New password')
11
+ = f.password_field :password, autofocus: true, class: 'form-control'
12
+ .form-group
13
+ = f.label :password_confirmation, t('.confirm_new_password', default: 'Confirm new password')
14
+ = f.password_field :password_confirmation, class: 'form-control'
15
+ = f.submit t('.change_my_password', default: 'Change my password'), class: 'btn btn-primary'
16
+ = render 'devise/shared/links'
@@ -0,0 +1,12 @@
1
+ = bootstrap_devise_error_messages!
2
+ .panel.panel-default.devise-bs
3
+ .panel-heading
4
+ h4
5
+ = t('.forgot_your_password', default: 'Forgot your password?')
6
+ .panel-body
7
+ = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, role: "form" }) do |f|
8
+ .form-group
9
+ = f.label :email
10
+ = f.email_field :email, autofocus: true, class: 'form-control'
11
+ = f.submit t('.send_me_reset_password_instructions', default: 'Send me reset password instructions'), class: 'btn btn-primary'
12
+ = render 'devise/shared/links'
@@ -0,0 +1,34 @@
1
+ = bootstrap_devise_error_messages!
2
+ .panel.panel-default.devise-bs
3
+ .panel-heading
4
+ h4
5
+ = t('.title', resource: resource_class.model_name.human , default: "Edit #{resource_name.to_s.humanize}")
6
+ .panel-body
7
+ = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
8
+ .form-group
9
+ = f.label :email
10
+ = f.email_field :email, autofocus: true, class: 'form-control'
11
+ .form-group
12
+ = f.label :password
13
+ i
14
+ | (
15
+ = t('.leave_blank_if_you_don_t_want_to_change_it', default: "leave blank if you don't want to change it")
16
+ | )
17
+ = f.password_field :password, autocomplete: "off", class: 'form-control'
18
+ .form-group
19
+ = f.label :password_confirmation
20
+ = f.password_field :password_confirmation, class: 'form-control'
21
+ .form-group
22
+ = f.label :current_password
23
+ i
24
+ | (
25
+ = t('.we_need_your_current_password_to_confirm_your_changes', default: 'we need your current password to confirm your changes')
26
+ | )
27
+ = f.password_field :current_password, class: 'form-control'
28
+ = f.submit t('.update', default: 'Update'), class: 'btn btn-primary'
29
+ p
30
+ = t('.unhappy', default: 'Unhappy')
31
+ | ?
32
+ = link_to t('.cancel_my_account', default: 'Cancel my account'), registration_path(resource_name), data: { confirm: t('.are_you_sure', default: "Are you sure?") }, method: :delete
33
+ | .
34
+ = link_to t('.back', default: 'Back'), :back
@@ -0,0 +1,18 @@
1
+ = bootstrap_devise_error_messages!
2
+ .panel.panel-default.devise-bs
3
+ .panel-heading
4
+ h4
5
+ = t('.sign_up', default: 'Sign up')
6
+ .panel-body
7
+ = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { role: 'form' }) do |f|
8
+ .form-group
9
+ = f.label :email
10
+ = f.email_field :email, autofocus: true, class: 'form-control'
11
+ .form-group
12
+ = f.label :password
13
+ = f.password_field :password, class: 'form-control'
14
+ .form-group
15
+ = f.label :password_confirmation
16
+ = f.password_field :password_confirmation, class: 'form-control'
17
+ = f.submit t('.sign_up', default: 'Sign up'), class: 'btn btn-primary'
18
+ = render 'devise/shared/links'
@@ -0,0 +1,19 @@
1
+ .panel.panel-default.devise-bs
2
+ .panel-heading
3
+ h4
4
+ = t('.sign_in', default: 'Sign in')
5
+ .panel-body
6
+ = form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: 'form' }) do |f|
7
+ .form-group
8
+ = f.label :email
9
+ = f.email_field :email, autofocus: true, class: 'form-control'
10
+ .form-group
11
+ = f.label :password
12
+ = f.password_field :password, autocomplete: 'off', class: 'form-control'
13
+ - if devise_mapping.rememberable?
14
+ .checkbox
15
+ = f.label :remember_me do
16
+ = f.check_box :remember_me
17
+ = t('.remember_me', default: 'Remember me')
18
+ = f.submit t('.sign_in', default: 'Sign in'), class: 'btn btn-primary'
19
+ = render 'devise/shared/links'
@@ -0,0 +1,19 @@
1
+ - if controller_name != 'sessions'
2
+ = link_to t('.sign_in', default: 'Sign in'), new_session_path(resource_name)
3
+ br
4
+ - if devise_mapping.registerable? && controller_name != 'registrations'
5
+ = link_to t('.sign_up', default: 'Sign up'), new_registration_path(resource_name)
6
+ br
7
+ - if devise_mapping.recoverable? && controller_name != 'passwords'
8
+ = link_to t('.forgot_your_password', default: 'Forgot your password?'), new_password_path(resource_name)
9
+ br
10
+ - if devise_mapping.confirmable? && controller_name != 'confirmations'
11
+ = link_to t('.didn_t_receive_confirmation_instructions', default: "Didn't receive confirmation instructions?"), new_confirmation_path(resource_name)
12
+ br
13
+ - if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
14
+ = link_to t('.didn_t_receive_unlock_instructions', default: "Didn't receive unlock instructions?"), new_unlock_path(resource_name)
15
+ br
16
+ - if devise_mapping.omniauthable?
17
+ - resource_class.omniauth_providers.each do |provider|
18
+ = link_to t('.sign_in_with_provider', provider: provider.to_s.titleize, default: "Sign in with #{provider.to_s.titleize}"), omniauth_authorize_path(resource_name, provider)
19
+ br
@@ -0,0 +1,12 @@
1
+ = bootstrap_devise_error_messages!
2
+ .panel.panel-default.devise-bs
3
+ .panel-heading
4
+ h4
5
+ = t('.resend_unlock_instructions', default: 'Resend unlock instructions')
6
+ .panel-body
7
+ = form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post, html: { role: "form" } }) do |f|
8
+ .form-group
9
+ = f.label :email
10
+ = f.email_field :email, autofocus: true, class: 'form-control'
11
+ = f.submit t('.resend_unlock_instructions', default: 'Resend unlock instructions'), class: 'btn btn-primary'
12
+ = render 'devise/shared/links'
@@ -0,0 +1,10 @@
1
+ module Devise
2
+ module Views
3
+ class BootstrapHamlTemplatesGenerator < Rails::Generators::Base
4
+ source_root File.expand_path('../../../../../../app/views', __FILE__)
5
+ def copy_views
6
+ directory("haml", Rails.root.join("app", "views", "devise"))
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ module Devise
2
+ module Views
3
+ class BootstrapSlimTemplatesGenerator < Rails::Generators::Base
4
+ source_root File.expand_path('../../../../../../app/views', __FILE__)
5
+ def copy_views
6
+ directory("slim", Rails.root.join("app", "views", "devise"))
7
+ end
8
+ end
9
+ end
10
+ end
@@ -3,7 +3,7 @@ module Devise
3
3
  class BootstrapTemplatesGenerator < Rails::Generators::Base
4
4
  source_root File.expand_path('../../../../../../app/views', __FILE__)
5
5
  def copy_views
6
- directory("devise", Rails.root.join("app", "views", "devise"))
6
+ directory("erb", Rails.root.join("app", "views", "devise"))
7
7
  end
8
8
  end
9
9
  end
@@ -1,9 +1,12 @@
1
1
  module Devise
2
2
  module Views
3
3
  class LocaleGenerator < Rails::Generators::NamedBase
4
- source_root File.expand_path('../../../../../../locales', __FILE__)
5
- def copy_locale
6
- copy_file("#{name}.yml", Rails.root.join("config", "locales", "devise.views.#{name}.yml"))
4
+ def download_locale
5
+ repo_url = 'https://raw.githubusercontent.com/tigrish/devise-i18n/master/rails/locales/'
6
+ download_url = URI.parse("#{repo_url}#{name}.yml")
7
+ downloaded_file = Net::HTTP.get(download_url).force_encoding('UTF-8')
8
+ File.write(Rails.root.join(
9
+ "config", "locales", "devise.views.#{name}.yml"), downloaded_file)
7
10
  end
8
11
  end
9
12
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseBootstrapViews
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -0,0 +1,120 @@
1
+ af:
2
+ activerecord:
3
+ attributes:
4
+ user:
5
+ current_password: Huidige wagwoord
6
+ email: E-pos
7
+ password: Wagwoord
8
+ password_confirmation: Wagwoord bevestiging
9
+ remember_me: Onthou my
10
+ reset_password_token: Herstel wagwoord egtheidsbewys
11
+ unlock_token: Ontsluit egtheidsbewys
12
+ models:
13
+ user: Gebruiker
14
+ devise:
15
+ confirmations:
16
+ confirmed: Jou e-posadres is suksesvol bevestig.
17
+ new:
18
+ resend_confirmation_instructions: Stuur weer bevestigingsinstruksies
19
+ send_instructions: Jy sal 'n e-pos ontvang met instruksies vir hoe om jou e-posadres te bevestig oor 'n paar minute.
20
+ send_paranoid_instructions: Indien jou e-posadres in ons databasis bestaan, sal jy 'n e-pos ontvang met instruksies vir hoe om jou e-posadres te bevestig oor 'n paar minute.
21
+ failure:
22
+ already_authenticated: Jy is alreeds aangeteken.
23
+ inactive: Jou rekening is nog nie geaktiveer nie.
24
+ invalid: Ongeldige e-pos of wagwoord.
25
+ last_attempt: Jy het nog een poging voor jou rekening gesluit sal word.
26
+ locked: Jou rekening is gesluit.
27
+ not_found_in_database: Ongeldige e-posadres of wagwoord.
28
+ timeout: Jou sessie het verstryk. Teken asseblief aan om voort te gaan.
29
+ unauthenticated: Jy moet aanteken of inteken voor jy voortgaan.
30
+ unconfirmed: Jy moet jou e-posadres bevestig voor jy voortgaan.
31
+ mailer:
32
+ confirmation_instructions:
33
+ action: Bevestig my rekening
34
+ greeting: Welkom %{recipient}!
35
+ instruction: 'Jy kan jou rekening e-pos bevestig deur die onderstaande skakel:'
36
+ subject: Bevestigingsinstruksies
37
+ password_change:
38
+ greeting: Hallo %{recipient}!
39
+ message: Ons kontak jou om jou in kennis te stel dat jou wagwoord verander is.
40
+ subject: Wagwoord Verander
41
+ reset_password_instructions:
42
+ action: Verander my wagwoord
43
+ greeting: Hallo %{recipient}!
44
+ instruction: Iemand het 'n skakel versoek om jou wagwoord te verander, en jy kan dit doen deur die onderstaande skakel.
45
+ instruction_2: As jy nie hierdie versoek het nie, ignoreer asseblief hierdie e-pos.
46
+ instruction_3: Jou wagwoord sal nie verander totdat jy die skakel hierbo besoek en 'n nuwe een skep nie.
47
+ subject: Herstel wagwoord instruksies
48
+ unlock_instructions:
49
+ action: Ontsluit my rekening
50
+ greeting: Hallo %{recipient}!
51
+ instruction: 'Klik op die onderstaande skakel om jou rekening te ontsluit:'
52
+ message: Jou rekening was gesluit as gevolg van 'n oormatige hoeveelheid onsuksesvolle aantekenpogings.
53
+ subject: Ontsluitingsinstruksies
54
+ omniauth_callbacks:
55
+ failure: Kon jou nie waarmerk vanaf %{kind} nie oor "%{reason}".
56
+ success: Suksesvol gewaarmerk vanaf %{kind} rekening.
57
+ passwords:
58
+ edit:
59
+ change_my_password: Verander my wagwoord
60
+ change_your_password: Verander jou wagwoord
61
+ confirm_new_password: Bevestig nuwe wagwoord
62
+ new_password: Nuwe wagwoord
63
+ new:
64
+ forgot_your_password: Jou wagwoord vergeet?
65
+ send_me_reset_password_instructions: Stuur wagwoordherstelinstruksies aan my
66
+ no_token: Jy kan nie toegang tot hierdie bladsy kry sonder dat jy afkomstig van 'n wagwoord herstel e-pos is nie. Indien jy wel van 'n wagwoord herstel e-pos kom, maak asseblief seker dat jy die volle verskafde bronadres gebruik het.
67
+ send_instructions: Jy sal 'n e-pos ontvang met instruksies oor hoe om jou wagwoord te herstel oor 'n paar minute.
68
+ send_paranoid_instructions: Indien jou e-posadres in ons databasis bestaan, sal jy 'n wagwoordherstelskakel by jou e-posadres ontvang binne 'n paar minute.
69
+ updated: Jou wagwoord was suksesvol gewysig. Jy is nou ingeteken.
70
+ updated_not_active: Jou wagwoord was suksesvol gewysig.
71
+ registrations:
72
+ destroyed: Totsiens! Jou rekening was suksesvol gekanselleer. Ons hoop om jou gou weer te sien.
73
+ edit:
74
+ are_you_sure: Is jy seker?
75
+ cancel_my_account: Kanselleer my rekening
76
+ currently_waiting_confirmation_for_email: 'Wag tans bevestiging vir: %{email}'
77
+ leave_blank_if_you_don_t_want_to_change_it: los skoon indien jy dit nie wil verander nie
78
+ title: Wysig %{resource}
79
+ unhappy: Ongelukkig
80
+ update: Opdateer
81
+ we_need_your_current_password_to_confirm_your_changes: ons benodig jou huidige wagwoord om jou veranderinge te bevestig
82
+ new:
83
+ sign_up: Teken in
84
+ signed_up: Welkom! Jy het suksesvol ingeteken.
85
+ signed_up_but_inactive: Jy het suksesvol ingeteken. Ons kon jou wel nie inteken nie omdat jou rekening nog nie geaktiveer is nie.
86
+ signed_up_but_locked: Jy het suksesvol ingeteken. Ons kon jou wel nie inteken nie omdat jou rekening gesluit is.
87
+ signed_up_but_unconfirmed: "'n Boodskap met 'n bevestigingsskakel was gestuur na jou e-posadres. Volg asseblief die skakel om jou rekening te aktiveer."
88
+ update_needs_confirmation: Jy het jou rekening suksesvol opgedateer, maar ons moet eerst jou nuwe e-posadres verifieer. Kyk asseblief na jou e-posse en volg die bevestigingsskakel om jou nuwe e-posadres te bevestig.
89
+ updated: Jou rekening was suksesvol opgedateer.
90
+ sessions:
91
+ already_signed_out: Suksesvol uitgeteken.
92
+ new:
93
+ sign_in: Teken aan
94
+ signed_in: Suksesvol aangeteken.
95
+ signed_out: Suksesvol afgeteken.
96
+ shared:
97
+ links:
98
+ back: Terug
99
+ didn_t_receive_confirmation_instructions: Nie bevestigingsinstruksies ontvang nie?
100
+ didn_t_receive_unlock_instructions: Het nie ontsluitingsinstruksies ontvang nie?
101
+ forgot_your_password: Jou wagwoord vergeet?
102
+ sign_in: Teken aan
103
+ sign_in_with_provider: Teken aan met %{provider}
104
+ sign_up: Teken in
105
+ unlocks:
106
+ new:
107
+ resend_unlock_instructions: Stuur weer ontsluitingsinstruksies
108
+ send_instructions: Jy sal 'n e-pos ontvang met instruksies vir hoe om jou rekening te ontsluit binne 'n paar minute.
109
+ send_paranoid_instructions: Indien jou rekening bestaan, sal jy 'n e-pos ontvang met instruksies vir hoe om dit te ontsluit oor 'n paar minute.
110
+ unlocked: Jou rekening was suksesvol ontsluit. Teken asseblief aan om voort te gaan.
111
+ errors:
112
+ messages:
113
+ already_confirmed: was alreeds bevestig, probeer inteken
114
+ confirmation_period_expired: moet bevestig word binne %{period}, versoek asseblief 'n nuwe een
115
+ expired: het verstryk, versoek asseblief 'n nuwe een
116
+ not_found: nie gevind nie
117
+ not_locked: was nie gesluit nie
118
+ not_saved:
119
+ one: '1 fout het verhoed dat hierdie %{resource} gestoor word:'
120
+ other: "%{count} foute het verhoed dat hierdie %{resource} gestoor word:"
@@ -1,83 +1,101 @@
1
- ar:
1
+ ar:
2
+ activerecord:
3
+ attributes:
4
+ user:
5
+ current_password: "كلمة المرور الحالية"
6
+ email: "البريد الإلكتروني"
7
+ password: "كلمة المرور"
8
+ password_confirmation: "تأكيد كلمة المرور"
9
+ remember_me: "تذكرني"
10
+ reset_password_token:
11
+ unlock_token:
12
+ models:
13
+ user: "المستخدم"
2
14
  devise:
3
15
  confirmations:
16
+ confirmed: "تمّ تأكيد الحساب بنجاح، وتمّ تسجيل الدّخول."
4
17
  new:
5
18
  resend_confirmation_instructions: "أعدْ إرسال تعليمات التأكيد"
6
- confirmed: "تم تأكيد حسابك بنجاح"
7
- send_instructions: "ستستلم بريدًا إلكترونيًا بالتعليمات حول كيفية تأكيد حسابك خلال دقائق."
8
- send_paranoid_instructions: "إن كان بريدك الإلكتروني موجود في قاعدة البيانات، ستستلم بريدًا إلكترونيًا بالتعليمات حول كيفية حول تأكيد حسابك خلال دقائق."
19
+ send_instructions: "ستصل خلال دقائق رسالة على البريد الإلكتروني تتضمّن الخطوات اللازمة لتأكيد الحساب."
20
+ send_paranoid_instructions: "إذا كان البريد الإلكتروني مسجّلاً، فستصل خلال دقائق رسالة تتضمّن الخطوات اللازمة لتأكيد الحساب."
9
21
  failure:
10
- already_authenticated: "أنت بالفعل مسجّلًا دخولك."
11
- inactive: "لم يُفعّل حسابك بعد."
12
- invalid: "البريد الإلكتروني أو كلمة السر غير صالحة"
13
- invalid_token: "توثيق غير صالح"
14
- locked: "قُفل حسابك"
15
- not_found_in_database: "البريد الإلكتروني أو كلمة السر غير صالحة"
16
- timeout: "انتهت صالحية الجلسة. فضلًا سجّل دخولك مرّة أخرى للمتابعة."
17
- unauthenticated: "يتوجّب تسجيل الدخول أو التسجيل قبل المتابعة."
18
- unconfirmed: "يتوجّب تأكيد حسابك قبل المتابعة."
22
+ already_authenticated: "تم تسجيل الدخول من قَبل."
23
+ inactive: "لم يتمّ تنشيط الحساب بعد."
24
+ invalid: "البريد الإلكتروني أو كلمة السر غير صحيحة."
25
+ last_attempt: "بقيت محاولة أخيرة قبل غلق الحساب."
26
+ locked: "الحساب مُعلّق."
27
+ not_found_in_database: "خطأ فى البريد الإلكتروني أو كلمة السر"
28
+ timeout: "لقد انتهت صلاحيّة الجلسة، الرجاء تسجيل الدّخول مجدداً."
29
+ unauthenticated: "يجب إنشاء حساب أو تسجيل الدخول قبل المتابعة."
30
+ unconfirmed: "يجب تأكيد الحساب حتّى تتمكّن من المُتابعة."
19
31
  mailer:
20
32
  confirmation_instructions:
21
33
  action: "أكّد حسابي"
22
- greeting: "مرحبًا %{recipient}"
34
+ greeting: "مرحبا %{recipient}"
23
35
  instruction: "يمكن تأكيد حساب بريدك الإلكتروني من خلال الرابط التّالي:"
24
- subject: "تعليمات التأكيد"
36
+ subject: "تعليمات تأكيد الحساب"
37
+ password_change:
38
+ greeting:
39
+ message:
40
+ subject:
25
41
  reset_password_instructions:
26
42
  action: "غيّر كلمة السر"
27
- greeting: "مرحبًا %{recipient}!"
43
+ greeting: "مرحبا %{recipient}"
28
44
  instruction: "طلب أحدهم رابطًا لتغيير كلمة السر الخاصة بك، ويُمكن عمل ذلك من خلال الرابط التالي."
29
45
  instruction_2: "إن لم تكن أنت من طلب هذا، من فضلك تجاهل هذه الرسالة."
30
46
  instruction_3: "لن تتغيّر كلمة السر الخاصة بك حتى تتبع الرابط السابق وتُنشئ كلمة سر جديدة."
31
- subject: "تعليمات تصفير كلمة المرور"
47
+ subject: "تعليمات إعادة تعيين كلمة المرور"
32
48
  unlock_instructions:
33
- action: "أزل الحظر عن حسابي"
49
+ action: "أزلْ الحظر عن حسابي"
34
50
  greeting: "مرحبًا %{recipient}"
35
51
  instruction: "انقرْ الرابط على الرابط التالي لفك الحظر عن حسابك:"
36
52
  message: "قُفل حسابك بسبب المحاولات الفاشلة في تسجيل الدخول."
37
- subject: "تعليمات فك الحظر"
53
+ subject: "تعليمات إعادة تفعيل الحساب"
38
54
  omniauth_callbacks:
39
- failure: "لم يتم تصديقك من %{kind} بسبب \"%{reason}\"."
40
- success: "صُدّق بنجاح من الحساب %{kind}."
55
+ failure: "فشلت عمليّة التحقق عبر %{kind} للسبب التّالي: %{reason}"
56
+ success: "تمّ التحقّق من الحساب بنجاح بإستخدام %{kind}"
41
57
  passwords:
42
- new:
43
- forgot_your_password: "هل نسيت كلمة المرور؟"
44
- send_me_reset_password_instructions: "أرسلْ لي تعليمات تصفير كلمة المرور"
45
58
  edit:
59
+ change_my_password: "غيّر كلمة المرور خاصتي"
46
60
  change_your_password: "غيّر كلمة المرور الخاصة بك"
47
- new_password: "كلمة سر جديدة"
48
61
  confirm_new_password: "أكّد كلمة السر الجديدة"
49
- change_my_password: "غيّر كلمة المرور خاصتي"
50
- no_token: "لا يُمكن الدّخول إلى هذه الصفحة إلّا بإستخدام رسالة تصفير كلمة المرور. إن كان الوصول لهذه الصفحة عبر تلك الرسالة فالرجاء التأكد من فتح كامل الرابط بشكل صحيح."
62
+ new_password: "كلمة سر جديدة"
63
+ new:
64
+ forgot_your_password: "هل نسيت كلمة المرور؟"
65
+ send_me_reset_password_instructions: "أرسلْ لي تعليمات تصفير كلمة المرور"
66
+ no_token: "لا يُمكن الدّخول إلى هذه الصفحة إلّا بإستخدام رسالة إعادة ضبط كلمة المرور. إن كان الوصول لهذه الصفحة عبر تلك الرسالة فالرجاء التأكد من فتح كامل الرابط بشكل صحيح."
51
67
  send_instructions: "ستصل خلال دقائق رسالة بريد إلكتروني تحوي التعليمات اللازمة لإعادة ضبط كلمة السر."
52
68
  send_paranoid_instructions: "إذا كان بريدك الإلكتروني مسجلاً عندنا فستصل إليه خلال دقائق رسالة تتضمّن رابطاً لاستعادة كلمة المرور."
53
69
  updated: "لقد تمّ تغيير كلمة المرور بنجاح، وتم تسجيل الدخول."
54
70
  updated_not_active: "تمّ تعديل كلمة المرور بنجاح."
55
71
  registrations:
72
+ destroyed: "لقد تمّت إزالة الحساب، نأمل في نتقابل مجدداً في وقت قريب، إلى اللقاء! "
56
73
  edit:
57
74
  are_you_sure: "هل أنت متأكّد؟"
58
75
  cancel_my_account: "ألغِ حسابي"
76
+ currently_waiting_confirmation_for_email: "في انتظار تفعيل البريد الإلكتروني %{email}"
59
77
  leave_blank_if_you_don_t_want_to_change_it: "أبقه فارغًا إن كنت لا ترغب في تغييره"
60
78
  title: "تعديل %{resource}"
61
- we_need_your_current_password_to_confirm_your_changes: "نحتاج كلمة المرور الحالية خاصتك لتأكيد تغيراتك"
62
- update: "تحديث"
63
79
  unhappy: "غير راضٍ؟"
64
- back: "عودة"
80
+ update: "تحديث"
81
+ we_need_your_current_password_to_confirm_your_changes: "نحتاج كلمة المرور الحالية خاصتك لتأكيد تغيراتك"
65
82
  new:
66
83
  sign_up: "سجّلْ"
67
- destroyed: "لقد تمّت إزالة الحساب، نأمل في نتقابل مجدداً في وقت قريب، إلى اللقاء!"
68
84
  signed_up: "تمّ التسجيل في الموقع بنجاح، أهلاً وسهلاً!"
69
85
  signed_up_but_inactive: "تمّ التسجيل في الموقع بنجاح، ولكن لا يُمكن تسجيل الدخول قبل تفعيل الحساب."
70
- signed_up_but_locked: "تمّ التسجيل في الموقع بنجاح، ولكن لا يمكن تسجيل الدخول الحساب مُعلّق."
86
+ signed_up_but_locked: "تمّ التسجيل في الموقع بنجاح، ولكن لا يمكن تسجيل الدخول ﻷن الحساب مُعلّق."
71
87
  signed_up_but_unconfirmed: "تمّ إرسال رسالة تحوي على رابط تأكيد الحساب باستخدام البريد الإلكتروني، يُرجى فتح الرابط لتفعيل الحساب."
72
88
  update_needs_confirmation: "تُم تعديل الحساب بنجاح، يرجى تأكيد البريد الإلكتروني. الرجاء الذهاب الى البريد الإلكتروني والضغط على الرابط الموجود للانتهاء من عمليّة التاكيد."
73
89
  updated: "تمّ تعديل الحساب بنجاح."
74
90
  sessions:
91
+ already_signed_out:
92
+ new:
93
+ sign_in: "سجّلْ الدخول"
75
94
  signed_in: "تمّ تسجيل الدخول."
76
95
  signed_out: "تمّ تسجيل الخروج."
77
- new:
78
- sign_in: "تسجيل الدخول"
79
96
  shared:
80
97
  links:
98
+ back: "عودة"
81
99
  didn_t_receive_confirmation_instructions: "ألم تستلم تعليمات التأكيد؟"
82
100
  didn_t_receive_unlock_instructions: "ألم تستلم تعليمات فك الحظر؟"
83
101
  forgot_your_password: "هل نسيت كلمة المرور؟"
@@ -88,25 +106,19 @@
88
106
  new:
89
107
  resend_unlock_instructions: "أعدْ إرسال تعليمات فك الحظر"
90
108
  send_instructions: "خلال بضعة دقائق، سوف تصل رسالة بالتعليمات اللازمة لإعادة تفعيل الحساب."
91
- send_paranoid_instructions: "إذا كان الحساب موجوداً، ستصل رسالة خلال دقائق تتضمّن الارشادات عن كيفيّة التفعيل."
109
+ send_paranoid_instructions: "إذا كان الحساب موجوداً، ستصل رسالة خلال دقائق تتضمّن الارشادات عن كيفيّة التفعيل. "
92
110
  unlocked: "لقد تمّ فتح الحساب بنجاح. الرجاء الدخول للاستمرار."
93
111
  errors:
94
112
  messages:
95
113
  already_confirmed: "الحساب مُفعّل، الرجاء محاولة تسجيل الدخول"
96
- confirmation_period_expired: "بحاجة الى تفعيل خلال %{period}، الرجاء طلب تفعيل"
114
+ confirmation_period_expired: "بحاجة الى تفعيل خلال %{period}، الرجاء طلب تفعيل "
97
115
  expired: "انتهت الصلاحيّة، الرجاء عمل طلب جديد"
98
116
  not_found: "غير موجود"
99
117
  not_locked: "غير مقفل"
100
118
  not_saved:
101
- one: "يوجد خطأ واحد منع هذا %{resource} من الحفظ:"
102
- other: "%{count} من الأخطاء منعت هذا %{resource} من الحفظ:"
103
- activerecord:
104
- models:
105
- user: "مستخدم"
106
- attributes:
107
- user:
108
- current_sign_in_at: "سُجّل عند"
109
- email: "البريد الإلكتروني"
110
- password: "كلمة المرور"
111
- last_sign_in_at: "تسجيل الدخول الأخير عند"
112
-
119
+ few: "%{count} مشكلة منعت %{resource} من التخزين بنجاح."
120
+ many: "%{count} مشاكل منعت %{resource} من التخزين بنجاح."
121
+ one: "مشكلة واحدة منعت %{resource} من التخزين بنجاح."
122
+ other: "%{count} مشكلة منعت %{resource} من التخزين بنجاح."
123
+ two: "مشكلتين منعتا %{resource} من التخزين بنجاح."
124
+ zero: