Skip to content

Commit

Permalink
Bump to v0.9.24
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Aug 20, 2018
1 parent d94aa85 commit 802ce99
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v0.9.24

* Makes `deepl-rb` and `easy_translate` dependencies optional.
[https://github.com/glebm/i18n-tasks/issues/296]
* Adds DeepL support to `tree-translate`.
* Removes the deprecated `tree-rename-key` command.
* Removes obsolete XSLX report functionality.

## v0.9.23

Fixes DeepL locale handling.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ i18n-tasks can be used with any project using the ruby [i18n gem][i18n-gem] (def
Add i18n-tasks to the Gemfile:

```ruby
gem 'i18n-tasks', '~> 0.9.23'
gem 'i18n-tasks', '~> 0.9.24'
```

Copy the default [configuration file](#configuration):
Expand Down
2 changes: 1 addition & 1 deletion lib/i18n/tasks/translators/deepl_translator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def initialize(*)
begin
require 'deepl'
rescue LoadError
fail ::I18n::Tasks::CommandError, "Add gem 'deepl-rb' to your Gemfile to use this command"
raise ::I18n::Tasks::CommandError, "Add gem 'deepl-rb' to your Gemfile to use this command"
end
super
configure_api_key!
Expand Down
2 changes: 1 addition & 1 deletion lib/i18n/tasks/translators/google_translator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def initialize(*)
begin
require 'easy_translate'
rescue LoadError
fail ::I18n::Tasks::CommandError, "Add gem 'easy_translate' to your Gemfile to use this command"
raise ::I18n::Tasks::CommandError, "Add gem 'easy_translate' to your Gemfile to use this command"
end
super
end
Expand Down
2 changes: 1 addition & 1 deletion lib/i18n/tasks/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module I18n
module Tasks
VERSION = '0.9.23'
VERSION = '0.9.24'
end
end

0 comments on commit 802ce99

Please sign in to comment.