You can now set I18n.cache_key_digest to determine how cache keys are calculated. If you were seeing issues where the same value stored in a cache produced a different key, then this fix will interest you. For more information, see #285.
You can now override translate_format in I18n::Backend classes to customize how localize will perform. See svenfuchs/i18n#347 for more details.
You can now interpolate the value of a key inside another key. See #300 for more information.
The exists? method was added to the fallback backend, to match other backend implementations - #326
Reverted a commit which made it so that the great documentation for I18n.translate wasn't made visible through a yard documentation generation. - bc926ebf98a9ae8f2db843ce16a33a5282d18d35
I18n.MissingTranslation.new can now be called with two arguments. It will no longer raise a "TypeError: can't dup NilClass" exception - #295
I18n's Hash#slice method no longer fails if the hash does not have the specified key - #289
I18n::Backend::Metadata will now no longer attempt to set @translation_metadata on frozen objects - #305
Added missing many rule to pl translation rules - #346
Calling I18n.t(:foo, default: nil) Or I18n.t(:foo, default: false) will now return nil or false, rather than returning a missing translation exception - #144
Setting I18n.load_path via I18n.load_path= will now reset the @@available_locales_set setting. - #348 & #173
The subclasses of Hash when calling Hash#slice are maintained - #250
Fixed I18n.interpolate behaviour when it was passed an ActiveSupport::SafeBuffer object - #216
0.8.0.beta1
Notable changes
You can now set I18n.cache_key_digest to determine how cache keys are calculated. If you were seeing issues where the same value stored in a cache produced a different key, then this fix will interest you. For more information, see #285.
You can now override translate_format in I18n::Backend classes to customize how localize will perform. See svenfuchs/i18n#347 for more details.
You can now interpolate the value of a key inside another key. See #300 for more information.
The exists? method was added to the fallback backend, to match other backend implementations - #326
Reverted a commit which made it so that the great documentation for I18n.translate wasn't made visible through a yard documentation generation. - bc926ebf98a9ae8f2db843ce16a33a5282d18d35
I18n.MissingTranslation.new can now be called with two arguments. It will no longer raise a "TypeError: can't dup NilClass" exception - #295
I18n's Hash#slice method no longer fails if the hash does not have the specified key - #289
I18n::Backend::Metadata will now no longer attempt to set @translation_metadata on frozen objects - #305
Added missing many rule to pl translation rules - #346
Calling I18n.t(:foo, default: nil) Or I18n.t(:foo, default: false) will now return nil or false, rather than returning a missing translation exception - #144
Setting I18n.load_path via I18n.load_path= will now reset the @@available_locales_set setting. - #348 & #173
The subclasses of Hash when calling Hash#slice are maintained - #250
Fixed I18n.interpolate behaviour when it was passed an ActiveSupport::SafeBuffer object - #216
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/polarbeardesign/dds_app/network/alerts).
Bumps i18n from 0.6.11 to 0.8.0.
Release notes
Sourced from i18n's releases.
Commits
529fc5b
Bump to 0.8.0d5fb5dd
fix references to i18n in Gemfiles5cd5c9f
Add link to i18n guide to README27d7ab7
Remove Gemfile.lock from source control4f0331d
Bump dependencies210feb6
Update bundler7b205f2
Add issue template6f3a5bb
Bump to 0.8.0.beta15e1af91
Merge pull request #252 from Chipairon/fix-tests-for-stored-procse532e61
Merge pull request #216 from bogdan/interpolate-rails-safe-bufferDependabot 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/polarbeardesign/dds_app/network/alerts).