Skip to content

Releases: glebm/i18n-tasks

v0.9.3

04 Feb 06:32
Compare
Choose a tag to compare
  • Support i18n :symbol reference keys. #150
  • Fixes dynamic key matching issue with nested #{}. #180

v0.9.2

04 Feb 06:32
Compare
Choose a tag to compare
  • Fix ActiveSupport >= 4.0 but < 4.2 compatibility. #178
  • Locale file path rewriting now matches locales as directories and multiple instances of the locale in the path. #176 #177

v0.9.1

02 Nov 00:12
Compare
Choose a tag to compare
  • New method: I18n::Tasks.add_scanner(scanner_class_name, scanner_opts) to add a scanner to the default configuration.
  • New method: I18n::Tasks.add_commands(commands_module) to add commands to i18n-tasks.
  • Only match I18n or nil receivers in PatternScanner.

v0.9.0

28 Oct 07:49
Compare
Choose a tag to compare

This release adds support for multiple scanners and an AST scanner for .rb files.

New features

  • Support for multiple scanners. See an example.
  • AST scanner for .rb files.
  • default: argument support for add-missing -v. AST scanner only. #55
  • Recognize that only t calls can use relative keys, not I18n.t. AST scanner only. #106

Other changes

  • Strict mode enabled by default, can be configured via search.strict.
    New argument: --no-strict.
  • search.include renamed to search.only.

v0.9.0.rc2: AST Scanner

11 Aug 04:24
Compare
Choose a tag to compare
Pre-release
  • AST scanner for .rb files.
  • default: argument support for add-missing -v. AST scanner only. #55
  • Recognize that only t calls can use relative keys, not I18n.t. AST scanner only. #106
  • search.include renamed to search.only.

v0.8.7

07 Aug 18:32
Compare
Choose a tag to compare
  • New interpolation value for add-missing -v: %{key}. Stijn Mathysen #164
  • When adding keys from non-default locales, merge base locale first, then the others. #162

v0.9.0.rc1: Multiple Scanners

05 Aug 00:45
Compare
Choose a tag to compare
Pre-release
  • Multiple scanners support, enabled by a major refactoring of the internals. #163
    Description from the config:

    ## Multiple scanners can be used. Their results are merged.
    ## The options specified above are passed down to each scanner.
    ## Per-scanner options can be specified as well.
    ## An array of [scanner class name, scanner options]:
    # scanners:
    #   - - I18n::Tasks::Scanners::PatternWithScopeScanner
    #     - {}
  • Strict mode enabled by default, can be configured via search.strict.
    New argument: --no-strict.

    ## If `strict` is `false`, guess usages such as t("cats.#{cat}.name").
    ## The default is `true`.
    # strict: true

This version requires Ruby 2+ and ActiveSupport 4+.
Track the development in the 0.9-dev branch.

v0.8.6

02 Aug 13:56
Compare
Choose a tag to compare
  • Report missing keys found in source in all the locales. #162
  • Fix data-remove task. #140
  • Non-zero exit code on health, missing, and unused if such keys are present. #151
  • XLSX report compatibility with the OSX Numbers App. #159
  • RSpec template compatibility with config.expose_dsl_globally = false. #148
  • bundle show vagrant example in the config template is no longer interpolated .#161

v0.8.5

28 Jun 13:12
Compare
Choose a tag to compare

Fix regression: Plugin support #153.

v0.8.4

27 Jun 12:07
Compare
Choose a tag to compare
  • Support relative keys in mailers #155.