Fixed a regression with chained backends introduced in v0.9.3 (#402) - #405 - bug report / #407 - PR to fix
Optimize Backend::Simple#available_locales - reports are that this is now 4x faster than previously - #406
v0.9.3
(For those wondering where v0.9.2 went: I got busy after I pushed the commit for the release, so there was no gem release that day. I am not busy today, so here is v0.9.3 in its stead. This changelog contains changes from v0.9.1 -> v0.9.3)
I18n no longer stores translations for unavailable locales. #391.
Added the ability to interpolate with arrays #395.
Reverted Hash#slice behaviour introduced with #250 - See #390.
Fixed a regression caused by #387, where translations may have returned a not-helpful error message - See #389
v0.9.0
Made Backend::Memoize threadsafe. See #51 and #352.
Added a middleware I18n::Middleware that should be used to ensure that i18n config is reset correctly between requests. See #381 and #382.
v0.8.6
Fixed a small regression introduced in v0.8.5 when using fallbacks - See #378
v0.8.5
Improved error message for MissingPluralizationKey error - See #371
Fixed a thread issue when calling translate when fallbacks were enabled - See #369
v0.8.4
Reverted #236 - "Don't allow nil to be submitted as a key to I18n.translate" - See #370
v0.8.3
I18n::Gettext#plural_keys will now return a hash from Gettext if no arguments are provided -
svenfuchs/i18n#122
Fixed a bug where passing false to translate would not translate that value - svenfuchs/i18n#367
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Tendrl/api/network/alerts).
Bumps i18n from 0.7.0 to 0.9.5.
Release notes
Sourced from i18n's releases.
... (truncated)
Commits
416859a
Bump to 0.9.55c28de8
Lock Rake to 12.2.x versions29fe565
Merge pull request #408 from wjordan/enforce_available_locales_false_fix596a71d
store translations for unavailable locales if enforce_available_locales is false888abcb
Bump to 0.9.4ba8b206
Merge pull request #407 from fatkodima/fix-key-value-subtrees9ddc9f5
Merge pull request #406 from jhawthorn/optimize_available_locales77c26aa
Fix Chained backend with KeyValue7eb3576
Optimize Backend::Simple#available_locales7c6ccf4
Bump to 0.9.3Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Tendrl/api/network/alerts).