Skip to content

Commit

Permalink
chore: missing gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipeR13 committed Oct 29, 2024
1 parent 7c4864b commit b4fc8d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/atomic_web/components/unauthenticated.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ defmodule AtomicWeb.Components.Unauthenticated do
~H"""
<div id={@id} class="text-center">
<.icon name="hero-user-circle" class="mx-auto h-12 w-12 text-zinc-400" />
<h3 class="mt-2 text-sm font-semibold text-zinc-900">You are not authenticated</h3>
<p class="mt-1 text-sm text-zinc-500">Please log in to view this content.</p>
<h3 class="mt-2 text-sm font-semibold text-zinc-900"><%= gettext("You are not authenticated") %></h3>
<p class="mt-1 text-sm text-zinc-500"><%= gettext("Please log in to view this content.") %></p>
<div class="mt-4 flex justify-center">
<.button patch={~p"/users/log_in"} icon="hero-arrow-right-end-on-rectangle-solid" icon_position={:right} class="w-fit">
<%= gettext("Log In") %>
Expand Down

0 comments on commit b4fc8d4

Please sign in to comment.