Permalink
Browse files

Rename "locale" dir to "locales"

  • Loading branch information...
1 parent 3e7bdfd commit fbe67567ddb85e74e543a1a117429399f21ce9b7 @tigrish committed Jan 14, 2012
View
2 lib/devise-i18n.rb
@@ -3,7 +3,7 @@
module DeviseI18n
class Railtie < ::Rails::Railtie #:nodoc:
initializer 'rails-i18n' do |app|
- I18n.load_path << Dir[File.join(File.expand_path(File.dirname(__FILE__) + '/../locale'), '*.yml')]
+ I18n.load_path << Dir[File.join(File.expand_path(File.dirname(__FILE__) + '/../locales'), '*.yml')]
I18n.load_path.flatten!
end
end
View
0 locale/ca.yml → locales/ca.yml
File renamed without changes.
View
0 locale/cs.yml → locales/cs.yml
File renamed without changes.
View
0 locale/da.yml → locales/da.yml
File renamed without changes.
View
0 locale/de.yml → locales/de.yml
File renamed without changes.
View
0 locale/en-US.yml → locales/en-US.yml
File renamed without changes.
View
0 locale/fa.yml → locales/fa.yml
File renamed without changes.
View
0 locale/fi.yml → locales/fi.yml
File renamed without changes.
View
0 locale/fr.yml → locales/fr.yml
File renamed without changes.
View
0 locale/he.yml → locales/he.yml
File renamed without changes.
View
0 locale/hr.yml → locales/hr.yml
File renamed without changes.
View
0 locale/hu.yml → locales/hu.yml
File renamed without changes.
View
0 locale/id.yml → locales/id.yml
File renamed without changes.
View
0 locale/is.yml → locales/is.yml
File renamed without changes.
View
0 locale/it.yml → locales/it.yml
File renamed without changes.
View
0 locale/ja.yml → locales/ja.yml
File renamed without changes.
View
0 locale/lt.yml → locales/lt.yml
File renamed without changes.
View
0 locale/lv.yml → locales/lv.yml
File renamed without changes.
View
0 locale/my.yml → locales/my.yml
File renamed without changes.
View
0 locale/nb.yml → locales/nb.yml
File renamed without changes.
View
0 locale/nl.yml → locales/nl.yml
File renamed without changes.
View
0 locale/pt-BR.yml → locales/pt-BR.yml
File renamed without changes.
View
0 locale/pt-PT.yml → locales/pt-PT.yml
File renamed without changes.
View
0 locale/sk.yml → locales/sk.yml
File renamed without changes.
View
0 locale/sv.yml → locales/sv.yml
File renamed without changes.
View
0 locale/zh-CN.yml → locales/zh-CN.yml
File renamed without changes.
View
4 spec/devise-i18n_spec.rb
@@ -1,8 +1,8 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
-Dir.glob('locale/*.yml').each do |locale_file|
+Dir.glob('locales/*.yml').each do |locale_file|
describe 'a locale file' do
it_behaves_like 'a valid locale file', locale_file
- it { locale_file.should be_a_subset_of 'locale/en-US.yml' }
+ it { locale_file.should be_a_subset_of 'locales/en-US.yml' }
end
end

0 comments on commit fbe6756

Please sign in to comment.