Releases: glebm/i18n-tasks
Releases · glebm/i18n-tasks
v1.1.1
- Prism: Fixes
translatecalls on non-I18n receivers being processed. - Prism: Adds candidate keys for model_name.human and human_attribute_name.
Event.human_attribute_name(:title)will now matchactiverecord.attributes.event.titleorattributes.title.
- Prism: Candidate keys were not added to the
used_tree. - Works around a concurrency bug by reverting to serial scanning.
Full Changelog: v1.1.0...v1.1.1
v1.1.0
- Dropping support for Ruby < 3.1 #631
- OpenAI translator now uses language names instead of locale codes. #630
- Renames RubyAstScanner to RubyScanner (deprecated RubyAstScanner name).
- Adds Prism as a dependency.
- Merges PrismScanner into RubyScanner, now configured with:
search:
prism: "rails"to use the Prism scanner with more Rails support and
search:
prism: "ruby"to use the Prism Scanner without Rails support.
- Implements ERB-scanner using Prism, activated with same config as above.
- The Prism-based scanner handles comments differently vs the
whitequark/parser-based scanner does. - The usage will be for the magic comment line instead of the subsequent line.
- This should not affect the results of the CLI tasks.
- The Prism-based scanner handles comments differently vs the
- Loads environment variables via
dotenvif available. #395 - Adds CLI command
check-prismto try the new parser out and see the differences in key detection. - The Prism-based scanner supports candidate_keys for Rails translations, allowing relative translations in controllers to match either the key scoped to controller and action or only to the controller.
- Translation services now catch errors and save partial results #642
- Prism: Skips translations form cyclic calls instead of throwing error.
- Adds own client for Google Translate instead of
easy_translategem.
New Contributors
- @jbockler made their first contribution in #629
- @broekhuis00 made their first contribution in #635
- @moguls753 made their first contribution in #641
- @danimashu made their first contribution in #650
- @fernandomm made their first contribution in #653
- @timdiggins made their first contribution in #675
Full Changelog: v1.0.15...v1.1.0
v1.0.15
Changes
- Adds a progress bar for translate tasks. #606
- New watsonx translation backend. #598
- Improved newline handling for Google Translate backend. #597
- Spaces are now allowed in key names. #604
- Better handling of parenthesis-like characters in key names. #550
- Scanners:
- Silence parser warning and patch version mismatch for Ruby 3.4.x > 3.4.0 #612
- Uses AST-parser for all ERB-files, not just .html.erb
- [Fixed regex in PatternScanner] (#572)
- Adds contextual parser to support more Rails-translations. #565
- RailsModelMatcher now handles calls without model. #603
- OpenAI:
- DeepL:
- Adds support for locale aliases. #609
New Contributors
- @mark-young-atg made their first contribution in #583
- @jaredmoody made their first contribution in #580
- @michaelroudnitski made their first contribution in #598
- @Hassan01-dev made their first contribution in #604
- @markedmondson made their first contribution in #606
- @ehimen-io made their first contribution in #611
- @navidemad made their first contribution in #614
- @dankimio made their first contribution in #622
Full Changelog: v1.0.14...v1.0.15
v1.0.14
See CHANGES.md
v1.0.12
See CHANGES.md
v1.0.9
See CHANGES.md
v1.0.4
See CHANGES.md
v1.0.2
See CHANGES.md for changelog
v1.0.0
See CHANGES.md for changelog
v0.9.34
See CHANGES.md for changelog