Skip to content

Commit dc11ab3

Browse files
authored
Merge pull request #186 from vryan95/master
Fix: Export_splitted puts all the locales in every file
2 parents 84f3abc + 959df02 commit dc11ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/tasks/lit_tasks.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace :lit do
2020
locale_keys.each do |loc|
2121
path = Rails.root.join('config', 'locales',
2222
"#{loc}.#{file_extension(export_format)}")
23-
if exported = Lit::Export.call(locale_keys: locale_keys, format: export_format)
23+
if exported = Lit::Export.call(locale_keys: loc, format: export_format)
2424
File.write(path, exported)
2525
puts "Successfully exported #{path}."
2626
end

0 commit comments

Comments
 (0)