Skip to content

Support gettext ~> 1.0 for Phoenix 1.8 compatibility #417

@bmalum

Description

@bmalum

beacon_live_admin's mix.exs specifies {:gettext, "~> 0.26"}, which prevents installation in Phoenix 1.8 projects that require {:gettext, "~> 1.0"}.

The fix is trivial — the codebase already uses the gettext 1.0-compatible API everywhere (use Gettext.Backend and use Gettext, backend: ...).

The only change needed is in mix.exs:

- {:gettext, "~> 0.26"},
+ {:gettext, "~> 0.26 or ~> 1.0"},

Closes BeaconCMS/beacon#859 (same issue in beacon)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions