Skip to content

Commit

Permalink
Merge pull request #1699 from AlchemyCMS/remove-demo-locales
Browse files Browse the repository at this point in the history
Remove demo locale files
  • Loading branch information
tvdeyen authored Dec 29, 2019
2 parents 40b8fd6 + a505741 commit 6b3fa9a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 66 deletions.
31 changes: 0 additions & 31 deletions lib/rails/generators/alchemy/install/files/alchemy.de.yml

This file was deleted.

31 changes: 0 additions & 31 deletions lib/rails/generators/alchemy/install/files/alchemy.es.yml

This file was deleted.

5 changes: 1 addition & 4 deletions lib/rails/generators/alchemy/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ def copy_demo_views

copy_file "_article.html.erb", "app/views/alchemy/elements/_article.html.erb"
copy_file "_standard.html.erb", "app/views/alchemy/page_layouts/_standard.html.erb"

%w(de en es).each do |locale|
copy_file "alchemy.#{locale}.yml", "config/locales/alchemy.#{locale}.yml"
end
copy_file "alchemy.en.yml", "config/locales/alchemy.en.yml"
end

def copy_dragonfly_config
Expand Down

0 comments on commit 6b3fa9a

Please sign in to comment.