lib/i18n-json/cli/init_command.rb in i18n-json-0.0.1 vs lib/i18n-json/cli/init_command.rb in i18n-json-0.0.2
- old
+ new
@@ -33,13 +33,15 @@
File.open(file_path, "w") do |file|
file << <<~YAML
---
translations:
- - file: some/dir/locale.json
+ - file: app/javascript/locales.json
patterns:
- "*"
- "!*.activerecord"
+ - "!*.errors"
+ - "!*.number.nth"
YAML
end
end
end