lib/i18n/tasks/scanners/base_scanner.rb in i18n-tasks-0.4.0 vs lib/i18n/tasks/scanners/base_scanner.rb in i18n-tasks-0.4.1
- old
+ new
@@ -14,10 +14,10 @@
conf[:include] = Array(conf[:include]) if conf[:include].present?
if conf.key?(:exclude)
conf[:exclude] = Array(conf[:exclude])
else
# exclude common binary extensions by default (images and fonts)
- conf[:exclude] = %w(*.jpg *.png *.gif *.svg *.ico *.eot *.ttf *.woff)
+ conf[:exclude] = %w(*.jpg *.png *.gif *.svg *.ico *.eot *.ttf *.woff *.pdf)
end
end
@record_src_loc = false
end