We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46729ec commit 4c6b05aCopy full SHA for 4c6b05a
lib/chuko_web/components/core_components.ex
@@ -12,7 +12,7 @@ defmodule ChukoWeb.CoreComponents do
12
use Phoenix.Component
13
14
alias Phoenix.LiveView.JS
15
- import ChukoWeb.Gettext
+ use Gettext, backend: Chuko.Gettext
16
17
@doc """
18
Renders a modal.
lib/chuko_web/gettext.ex
@@ -20,5 +20,5 @@ defmodule ChukoWeb.Gettext do
20
21
See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
22
"""
23
- use Gettext, otp_app: :chuko
+ use Gettext.Backend, otp_app: :chuko
24
end
0 commit comments