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.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +31 -3
- data/VERSION +1 -1
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +6 -0
- data/app/views/devise/mailer/password_change.html.erb +4 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +9 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +8 -0
- data/app/views/devise/passwords/edit.html.erb +16 -0
- data/app/views/devise/passwords/new.html.erb +12 -0
- data/app/views/devise/registrations/edit.html.erb +31 -0
- data/app/views/devise/registrations/new.html.erb +18 -0
- data/app/views/devise/sessions/new.html.erb +17 -0
- data/app/views/devise/shared/_links.html.erb +25 -0
- data/app/views/devise/unlocks/new.html.erb +12 -0
- data/lib/devise-i18n.rb +1 -6
- data/lib/devise-i18n/railtie.rb +29 -0
- data/lib/generators/devise/views/i18n_templates/i18n_templates_generator.rb +10 -0
- data/lib/generators/devise/views/locale/locale_generator.rb +10 -0
- data/{config → rails}/locales/ar.yml +62 -2
- data/{config → rails}/locales/az.yml +60 -0
- data/{config → rails}/locales/bg.yml +60 -0
- data/rails/locales/bn.yml +118 -0
- data/{config → rails}/locales/bs.yml +60 -0
- data/{config → rails}/locales/ca.yml +60 -0
- data/rails/locales/cs.yml +119 -0
- data/{config → rails}/locales/da.yml +60 -0
- data/rails/locales/de-CH.yml +120 -0
- data/{config → rails}/locales/de.yml +67 -7
- data/{config → rails}/locales/el.yml +60 -0
- data/{config → rails}/locales/en-GB.yml +63 -3
- data/{config → rails}/locales/en.yml +60 -0
- data/rails/locales/es-MX.yml +118 -0
- data/{config → rails}/locales/es.yml +60 -0
- data/{config → rails}/locales/et.yml +61 -1
- data/{config → rails}/locales/fa.yml +61 -1
- data/{config → rails}/locales/fi.yml +60 -0
- data/{config/locales/fr.yml → rails/locales/fr-CA.yml} +65 -5
- data/rails/locales/fr.yml +118 -0
- data/{config → rails}/locales/he.yml +61 -1
- data/{config → rails}/locales/hr.yml +60 -0
- data/{config → rails}/locales/hu.yml +60 -0
- data/{config → rails}/locales/id.yml +60 -0
- data/{config → rails}/locales/is.yml +60 -0
- data/{config → rails}/locales/it.yml +60 -0
- data/{config → rails}/locales/ja.yml +60 -0
- data/{config → rails}/locales/ko.yml +60 -0
- data/{config → rails}/locales/lt.yml +60 -0
- data/{config → rails}/locales/lv.yml +61 -1
- data/{config → rails}/locales/my.yml +60 -0
- data/{config → rails}/locales/nb.yml +60 -0
- data/rails/locales/nl.yml +118 -0
- data/{config → rails}/locales/no.yml +60 -0
- data/{config → rails}/locales/pl.yml +60 -0
- data/{config → rails}/locales/pt-BR.yml +60 -0
- data/{config → rails}/locales/pt.yml +60 -0
- data/{config → rails}/locales/ro.yml +65 -5
- data/{config → rails}/locales/ru.yml +60 -0
- data/{config → rails}/locales/sk.yml +60 -0
- data/{config → rails}/locales/sl.yml +60 -0
- data/{config → rails}/locales/sr-RS.yml +60 -0
- data/{config → rails}/locales/sr.yml +60 -0
- data/{config → rails}/locales/sv.yml +60 -0
- data/{config → rails}/locales/th.yml +60 -0
- data/{config → rails}/locales/tr.yml +61 -1
- data/{config → rails}/locales/uk.yml +60 -0
- data/{config → rails}/locales/vi.yml +61 -1
- data/{config → rails}/locales/zh-CN.yml +60 -0
- data/{config → rails}/locales/zh-HK.yml +60 -0
- data/{config → rails}/locales/zh-TW.yml +60 -0
- metadata +84 -59
- data/.document +0 -5
- data/.rspec +0 -1
- data/.travis.yml +0 -3
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -84
- data/Rakefile +0 -53
- data/config/locales/cs.yml +0 -59
- data/config/locales/es-MX.yml +0 -58
- data/config/locales/nl.yml +0 -58
- data/devise-i18n.gemspec +0 -113
- data/spec/devise-i18n_spec.rb +0 -8
- data/spec/spec_helper.rb +0 -12
data/spec/devise-i18n_spec.rb
DELETED
@@ -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
|