Skip to content

Commit

Permalink
Merge pull request #186 from vryan95/master
Browse files Browse the repository at this point in the history
Fix: Export_splitted puts all the locales in every file
  • Loading branch information
mlitwiniuk authored Aug 10, 2022
2 parents 84f3abc + 959df02 commit dc11ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/lit_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace :lit do
locale_keys.each do |loc|
path = Rails.root.join('config', 'locales',
"#{loc}.#{file_extension(export_format)}")
if exported = Lit::Export.call(locale_keys: locale_keys, format: export_format)
if exported = Lit::Export.call(locale_keys: loc, format: export_format)
File.write(path, exported)
puts "Successfully exported #{path}."
end
Expand Down

0 comments on commit dc11ab3

Please sign in to comment.