From ca5b29c91463f8810032c07755db0ced406d4eed Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 26 Nov 2022 14:53:35 -0500 Subject: [PATCH] fix home page title --- lib/memex_web/live/home_live.ex | 2 +- priv/gettext/default.pot | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/memex_web/live/home_live.ex b/lib/memex_web/live/home_live.ex index f58796e..0cfbdd8 100644 --- a/lib/memex_web/live/home_live.ex +++ b/lib/memex_web/live/home_live.ex @@ -9,7 +9,7 @@ defmodule MemexWeb.HomeLive do @impl true def mount(_params, _session, socket) do admins = Accounts.list_users_by_role(:admin) - {:ok, socket |> assign(page_title: gettext("Home"), query: "", results: %{}, admins: admins)} + {:ok, socket |> assign(page_title: gettext("home"), query: "", results: %{}, admins: admins)} end @impl true diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index d57984b..02cc8af 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -30,11 +30,6 @@ msgstr "" msgid "Forgot your password?" msgstr "" -#: lib/memex_web/live/home_live.ex:12 -#, elixir-autogen, elixir-format -msgid "Home" -msgstr "" - #: lib/memex_web/templates/user_session/new.html.heex:27 #, elixir-autogen, elixir-format msgid "Keep me logged in for 60 days" @@ -483,3 +478,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "%{slug} could not be found" msgstr "" + +#: lib/memex_web/live/home_live.ex:12 +#, elixir-autogen, elixir-format +msgid "home" +msgstr ""