Fix gettext import for views
This commit is contained in:
@@ -82,11 +82,11 @@ defmodule MusicLibraryWeb do
|
|||||||
|
|
||||||
defp html_helpers do
|
defp html_helpers do
|
||||||
quote do
|
quote do
|
||||||
|
use Gettext, backend: MusicLibraryWeb.Gettext
|
||||||
# HTML escaping functionality
|
# HTML escaping functionality
|
||||||
import Phoenix.HTML
|
import Phoenix.HTML
|
||||||
# Core UI components and translation
|
# Core UI components and translation
|
||||||
import MusicLibraryWeb.CoreComponents
|
import MusicLibraryWeb.CoreComponents
|
||||||
import MusicLibraryWeb.Gettext
|
|
||||||
|
|
||||||
# Shortcut for generating JS commands
|
# Shortcut for generating JS commands
|
||||||
alias Phoenix.LiveView.JS
|
alias Phoenix.LiveView.JS
|
||||||
|
|||||||
Reference in New Issue
Block a user