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 eeb6bda commit 3d18678Copy full SHA for 3d18678
test_integrations/phoenix_app/lib/phoenix_app_web/components/core_components.ex
@@ -15,9 +15,9 @@ defmodule PhoenixAppWeb.CoreComponents do
15
Icons are provided by [heroicons](https://heroicons.com). See `icon/1` for usage.
16
"""
17
use Phoenix.Component
18
+ use Gettext, backend: PhoenixAppWeb.Gettext
19
20
alias Phoenix.LiveView.JS
- import PhoenixAppWeb.Gettext
21
22
@doc """
23
Renders a modal.
test_integrations/phoenix_app/lib/phoenix_app_web/gettext.ex
@@ -20,5 +20,5 @@ defmodule PhoenixAppWeb.Gettext do
See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
- use Gettext, otp_app: :phoenix_app
+ use Gettext.Backend, otp_app: :phoenix_app
24
end
0 commit comments