Skip to content

Commit

Permalink
Call model_display_names as a part of locale:update
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Jun 5, 2018
1 parent 09efe3f commit 4d31b2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tasks/locale.rake
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ namespace :locale do
Rake::Task['locale:store_dictionary_strings'].invoke
Rake::Task['locale:run_store_model_attributes'].invoke
Rake::Task['locale:extract_yaml_strings'].invoke(Rails.root)
Rake::Task['locale:model_display_names'].invoke
Rake::Task['gettext:find'].invoke

Dir["config/dictionary_strings.rb", "config/model_attributes.rb", "config/yaml_strings.rb", "locale/**/*.edit.po", "locale/**/*.po.time_stamp"].each do |file|
Dir["config/dictionary_strings.rb", "config/model_attributes.rb", "config/model_display_names.rb", "config/yaml_strings.rb", "locale/**/*.edit.po", "locale/**/*.po.time_stamp"].each do |file|
File.unlink(file)
end
end
Expand Down

0 comments on commit 4d31b2a

Please sign in to comment.