Releases: translation/rails
Releases · translation/rails
Version 1.21
Fixes (bugs & defects):
- Refactor YAML source editions service #35
- Faster when many source editions are applied.
- Better behavior when overriding the same key from a gem multiple times in a single sync.
- Better paths normalization.
Version 1.20
Fixes (bugs & defects):
- Improved
config.ignored_key_prefixes
to escape prefix from Regexp (prevent.
to be any char).
Version 1.19
New features:
- Add
config.yaml_line_width
option to wrap YAML files (#19). - Add
config.gettext_object_delegate
option to avoid monkey-patching of Object (#30). - Remove extra-whitespace in YAML files (issue with libYAML) (#13).
- Only write localization.xx.yml files if they are not empty.
- Faster GetText parsing by ignoring paths using
Pathname#find
API instead ofDir[].reject
. Big speed up if lots of files in the project (node_modules
etc.)! translation:init
: won't rewrite source YAML files if that's not needed.
Fixes (bugs & defects):
- Improved
config.ignored_key_prefixes
soerrors.message
would not ignoreerrors.messageandstuff
key.
Version 1.18
New features:
- Parse GetText strings from specified gems (#28). Cf. https://github.com/translation/rails#gems-with-gettext-strings
- Add
config.disable_yaml
option (#26) - Add
config.text_domain
andconfig.binded_text_domains
options for GetText fine-tuning.
Fixes (bugs & defects):
- Deprecation warning for #has_rdoc (Rubygems) (#29)
Version 1.17
New features:
- New 'rake translation:sync_readonly' task for concurrent syncing (CI). See README.
- Increase timeout for HTTP requests.
Version 1.16
New features:
- Make the parsing compatible with .inky extension files (like erb templating) + add custom "erb-like" extensions in configuration.
Version 1.15
Fixes (bugs & defects):
- Debug error and more specs for inconsistent YAML.
Version 1.14
New features:
- Add params to each request to specify the version and the client (
gem_version
becomeversion
andclient
is alwaysrails
). Needed because now there are also Laravel projects on https://translation.io/laravel (cf. https://github.com/translation/laravel).
Version 1.13
New features:
rake translation:sync_and_show_purgeable
specifies the languages of the to-be-removed segments (because sometimes it will only delete a segment related to a removed language).