Extract parsing and dumping of PO/POT files to the
expo library, and start depending
on that.
Support marking messages as obsolete with the new :on_obsolete Gettext
configuration option.
Add the :write_reference_line_numbers Gettext configuration option.
Save the previous messages when there's a fuzzy match, with the new
:store_previous_message_on_fuzzy_match Gettext configuration option.
Change :sort_by_msgid to accept false, :case_sensitive, or
:case_insensitive and deprecate the true value.
Bug fixes
Sort messages independent of line splits when dumping PO files.
v0.20.0
Allow gettext_comment to be invoked multiple times
Dump flags after references in PO files
Deprecate compile.gettext in favor of __mix_recompile__?
Backwards incompatible changes
handle_missing_translation(locale, domain, msgid, bindings) callback
signature was changed to handle_missing_translation(locale, domain, msgctxt, msgid, bindings) (it receives a new argument called msgctxt)
handle_missing_plural_translation(locale, domain, msgid, msgid_plural, n, bindings) callback signature was changed to
handle_missing_plural_translation(locale, domain, msgctxt, msgid, msgid_plural, n, bindings) (it receives a new argument called msgctxt)
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)
Bumps gettext from 0.19.1 to 0.21.0.
Changelog
Sourced from gettext's changelog.
Commits
35e423e
Release v0.21.00dd72d3
Add case-insensitive sorting to :sort_by_msgid (#326)9285a82
Fix typos (#332)4000910
Sort messages independent of message line splitting (#331)2d9228c
Save previous message for fuzzy matches (#316)b720495
Add code coverage through coveralls (#329)3f6c98e
Add badges to the README189db2c
Fix CI and update Erlang/Elixir versions (#328)f10c122
Tweak some docs here and thereb8ce79b
Add a "Basic Overview" docs section (#327)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)