README.md in i18n-tasks-0.7.1 vs README.md in i18n-tasks-0.7.2

- old
+ new

@@ -23,11 +23,11 @@ ## Installation Add to Gemfile: ```ruby -gem 'i18n-tasks', '~> 0.7.1' +gem 'i18n-tasks', '~> 0.7.2' ``` Copy default [configuration file](#configuration) (optional): ```console @@ -135,16 +135,16 @@ ### Features Relative keys (`t '.title'`) and plural keys (`key.{one,many,other,...}`) are fully supported. Scope argument is supported, but only when it is the first keyword argument ([improvements welcome](/lib/i18n/tasks/scanners/pattern_with_scope_scanner.rb)): - ```ruby - # this is supported - t :invalid, scope: [:auth, :password], attempts: 5 - # but not this - t :invalid, attempts: 5, scope: [:auth, :password] - ``` +```ruby +# this is supported +t :invalid, scope: [:auth, :password], attempts: 5 +# but not this +t :invalid, attempts: 5, scope: [:auth, :password] +``` Unused report will detect certain dynamic key forms and not report them, e.g.: ```ruby t 'category.' + category.key # all 'category.*' keys are considered used @@ -171,9 +171,15 @@ ```yaml # config/i18n-tasks.yml base_locale: en locales: [es, fr] # This includes base_locale by default +``` + +`internal_locale` controls the language i18n-tasks reports in. Locales available are `en` and `ru` (pull request to add more!). + +```yaml +internal_locale: en ``` ### Storage The default data adapter supports YAML and JSON files.