gettext invites and tags
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-02-09 00:58:53 -05:00
parent 91b9e8a730
commit 5451728541
10 changed files with 192 additions and 47 deletions

View File

@ -20,17 +20,17 @@ defmodule CanneryWeb.InviteLive.Index do
defp apply_action(socket, :edit, %{"id" => id}) do
socket
|> assign(page_title: "Edit Invite", invite: Invites.get_invite!(id))
|> assign(page_title: gettext("Edit Invite"), invite: Invites.get_invite!(id))
end
defp apply_action(socket, :new, _params) do
socket
|> assign(page_title: "New Invite", invite: %Invite{})
|> assign(page_title: gettext("New Invite"), invite: %Invite{})
end
defp apply_action(socket, :index, _params) do
socket
|> assign(page_title: "Listing Invites", invite: nil)
|> assign(page_title: gettext("Listing Invites"), invite: nil)
end
@impl true