README.md in i18n-tasks-0.9.4 vs README.md in i18n-tasks-0.9.5

- old
+ new

@@ -22,11 +22,11 @@ i18n-tasks can be used with any project using the ruby [i18n gem][i18n-gem] (default in Rails). Add i18n-tasks to the Gemfile: ```ruby -gem 'i18n-tasks', '~> 0.9.4' +gem 'i18n-tasks', '~> 0.9.5' ``` Copy the default [configuration file](#configuration): ```console @@ -276,10 +276,16 @@ # i18n-tasks-use t('activerecord.models.user') # let i18n-tasks know the key is used User.model_name.human ``` You can also explicitly ignore keys appearing in locale files via `ignore*` settings. + +If you have helper methods that generate translation keys, such as a `page_title` method that returns `t '.page_title'`, +or a `Spree.t(key)` method that returns `t "spree.#{key}"`, use the built-in `PatternMapper` to map these. + +For more complex cases, you can implement a [custom scanner][custom-scanner-docs]. + See the [config file][config] to find out more. <a name="translation-config"></a> ### Google Translate @@ -330,5 +336,6 @@ [wiki]: https://github.com/glebm/i18n-tasks/wiki "i18n-tasks wiki" [i18n-gem]: https://github.com/svenfuchs/i18n "svenfuchs/i18n on Github" [screenshot-i18n-tasks]: https://i.imgur.com/XZBd8l7.png "i18n-tasks screenshot" [screenshot-find]: https://i.imgur.com/VxBrSfY.png "i18n-tasks find output screenshot" [adapter-example]: https://github.com/glebm/i18n-tasks/blob/master/lib/i18n/tasks/data/file_system_base.rb +[custom-scanner-docs]: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example