devise-i18n 0.12.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/README.md +31 -3
  4. data/VERSION +1 -1
  5. data/app/views/devise/confirmations/new.html.erb +12 -0
  6. data/app/views/devise/mailer/confirmation_instructions.html.erb +6 -0
  7. data/app/views/devise/mailer/password_change.html.erb +4 -0
  8. data/app/views/devise/mailer/reset_password_instructions.html.erb +9 -0
  9. data/app/views/devise/mailer/unlock_instructions.html.erb +8 -0
  10. data/app/views/devise/passwords/edit.html.erb +16 -0
  11. data/app/views/devise/passwords/new.html.erb +12 -0
  12. data/app/views/devise/registrations/edit.html.erb +31 -0
  13. data/app/views/devise/registrations/new.html.erb +18 -0
  14. data/app/views/devise/sessions/new.html.erb +17 -0
  15. data/app/views/devise/shared/_links.html.erb +25 -0
  16. data/app/views/devise/unlocks/new.html.erb +12 -0
  17. data/lib/devise-i18n.rb +1 -6
  18. data/lib/devise-i18n/railtie.rb +29 -0
  19. data/lib/generators/devise/views/i18n_templates/i18n_templates_generator.rb +10 -0
  20. data/lib/generators/devise/views/locale/locale_generator.rb +10 -0
  21. data/{config → rails}/locales/ar.yml +62 -2
  22. data/{config → rails}/locales/az.yml +60 -0
  23. data/{config → rails}/locales/bg.yml +60 -0
  24. data/rails/locales/bn.yml +118 -0
  25. data/{config → rails}/locales/bs.yml +60 -0
  26. data/{config → rails}/locales/ca.yml +60 -0
  27. data/rails/locales/cs.yml +119 -0
  28. data/{config → rails}/locales/da.yml +60 -0
  29. data/rails/locales/de-CH.yml +120 -0
  30. data/{config → rails}/locales/de.yml +67 -7
  31. data/{config → rails}/locales/el.yml +60 -0
  32. data/{config → rails}/locales/en-GB.yml +63 -3
  33. data/{config → rails}/locales/en.yml +60 -0
  34. data/rails/locales/es-MX.yml +118 -0
  35. data/{config → rails}/locales/es.yml +60 -0
  36. data/{config → rails}/locales/et.yml +61 -1
  37. data/{config → rails}/locales/fa.yml +61 -1
  38. data/{config → rails}/locales/fi.yml +60 -0
  39. data/{config/locales/fr.yml → rails/locales/fr-CA.yml} +65 -5
  40. data/rails/locales/fr.yml +118 -0
  41. data/{config → rails}/locales/he.yml +61 -1
  42. data/{config → rails}/locales/hr.yml +60 -0
  43. data/{config → rails}/locales/hu.yml +60 -0
  44. data/{config → rails}/locales/id.yml +60 -0
  45. data/{config → rails}/locales/is.yml +60 -0
  46. data/{config → rails}/locales/it.yml +60 -0
  47. data/{config → rails}/locales/ja.yml +60 -0
  48. data/{config → rails}/locales/ko.yml +60 -0
  49. data/{config → rails}/locales/lt.yml +60 -0
  50. data/{config → rails}/locales/lv.yml +61 -1
  51. data/{config → rails}/locales/my.yml +60 -0
  52. data/{config → rails}/locales/nb.yml +60 -0
  53. data/rails/locales/nl.yml +118 -0
  54. data/{config → rails}/locales/no.yml +60 -0
  55. data/{config → rails}/locales/pl.yml +60 -0
  56. data/{config → rails}/locales/pt-BR.yml +60 -0
  57. data/{config → rails}/locales/pt.yml +60 -0
  58. data/{config → rails}/locales/ro.yml +65 -5
  59. data/{config → rails}/locales/ru.yml +60 -0
  60. data/{config → rails}/locales/sk.yml +60 -0
  61. data/{config → rails}/locales/sl.yml +60 -0
  62. data/{config → rails}/locales/sr-RS.yml +60 -0
  63. data/{config → rails}/locales/sr.yml +60 -0
  64. data/{config → rails}/locales/sv.yml +60 -0
  65. data/{config → rails}/locales/th.yml +60 -0
  66. data/{config → rails}/locales/tr.yml +61 -1
  67. data/{config → rails}/locales/uk.yml +60 -0
  68. data/{config → rails}/locales/vi.yml +61 -1
  69. data/{config → rails}/locales/zh-CN.yml +60 -0
  70. data/{config → rails}/locales/zh-HK.yml +60 -0
  71. data/{config → rails}/locales/zh-TW.yml +60 -0
  72. metadata +84 -59
  73. data/.document +0 -5
  74. data/.rspec +0 -1
  75. data/.travis.yml +0 -3
  76. data/Gemfile +0 -9
  77. data/Gemfile.lock +0 -84
  78. data/Rakefile +0 -53
  79. data/config/locales/cs.yml +0 -59
  80. data/config/locales/es-MX.yml +0 -58
  81. data/config/locales/nl.yml +0 -58
  82. data/devise-i18n.gemspec +0 -113
  83. data/spec/devise-i18n_spec.rb +0 -8
  84. data/spec/spec_helper.rb +0 -12
@@ -1,8 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- Dir.glob('config/locales/*.yml').each do |locale_file|
4
- describe "a devise-i18n #{locale_file} locale file" do
5
- it_behaves_like 'a valid locale file', locale_file
6
- it { expect(locale_file).to be_a_subset_of 'config/locales/en.yml' }
7
- end
8
- end
data/spec/spec_helper.rb DELETED
@@ -1,12 +0,0 @@
1
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
- $LOAD_PATH.unshift(File.dirname(__FILE__))
3
- require 'rspec'
4
- require 'i18n-spec'
5
-
6
- # Requires supporting files with custom matchers and macros, etc,
7
- # in ./support/ and its subdirectories.
8
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
-
10
- RSpec.configure do |config|
11
-
12
- end