README.md in i18n-tasks-0.0.6 vs README.md in i18n-tasks-0.0.7
- old
+ new
@@ -14,23 +14,24 @@
`i18n:unused` will detect pattern translations and not report them, e.g.:
t 'category.' + category.key # 'category.arts_and_crafts' considered used
t "category.#{category.key}" # also works
+Relative keys (`t '.title'`) are supported too.
+
`i18n:missing` may incorrectly show framework i18n keys as missing, to work around this use `.i18nignore` file in project root:
- devise.errors.unauthorized # ignore this key
- pagination.views. # ignore the whole pattern (note the .)
+ devise.errors.unauthorized # ignore this key
+ pagination.views. # ignore the whole pattern (note the .)
-
For more examples see [the tests](https://github.com/glebm/i18n-tasks/blob/master/spec/i18n_tasks_spec.rb#L43-L59).
Installation
------------
Simply add to Gemfile:
- gem 'i18n-tasks', '~> 0.0.5'
+ gem 'i18n-tasks', '~> 0.0.7'
Configuration
-------------
Currently i18n-tasks only reports / writes to locale data in `config/locales/{locale_code}.yml`. *PRs making this configurable welcome!*