Skip to content

Bump gettext from 0.20.0 to 0.24.0

Dependabot Zahir's Email requested to merge dependabot-hex-gettext-0.24.0 into master

Bumps gettext from 0.20.0 to 0.24.0.

Changelog

Sourced from gettext's changelog.

v0.24.0

  • Handle singular and plural messages with the same msgid as the same message.

    This change produces a Expo.PO.DuplicateMessagesError if you already have messages with the same singular msgid. This can be solved by calling the expo.msguniq mix task on your .po file:

    mix expo.msguniq \
      priv/gettext/LOCALE/LC_MESSAGES/DOMAIN.po \
      --output-file priv/gettext/LOCALE/LC_MESSAGES/DOMAIN.po

v0.23.1

  • Use the Hex version of the excoveralls dependency.

v0.23.0

  • Add the :custom_flags_to_keep Gettext option.

v0.22.3

  • Fix a bug with extracting translations in Elixir 1.15.0+.

v0.22.2

  • Use Code.ensure_compiled/1 instead of Code.ensure_loaded/1 for Elixir < 1.12 compatibility.
  • Ensure all modules are properly loaded for mix gettext.merge.
  • Fix a "protected" check when extracting translations.

v0.22.1

  • Put correct Plural-Forms header on gettext.merge for the first time.
  • Fix extractor crash in case of conflicting backends.
  • Fix to use the correct plural forms for multiple languages.
  • Update expo to ~> 0.4.0 to fix issues with empty msgstr.

v0.22.0

  • Deprecate (with a warning) the --plural-forms CLI option and the :plural_forms option in favor of --plural-forms-header and :plural_forms_header.
  • Supply the Plural-Forms header to Gettext.Plural callbacks.
  • Bump Expo requirement to ~> 0.3.0.
  • Add the types:
    • Gettext.Interpolation.bindings/0
    • Gettext.Error.t/0
    • Gettext.Plural.locale/0
    • Gettext.Plural.pluralization_context/0

... (truncated)

Commits

Merge request reports