fix more typos
This commit is contained in:
		| @@ -6,7 +6,7 @@ defmodule MemexWeb.UserResetPasswordController do | ||||
|   plug :get_user_by_reset_password_token when action in [:edit, :update] | ||||
|  | ||||
|   def new(conn, _params) do | ||||
|     render(conn, "new.html", page_title: gettext("Forgot your password?")) | ||||
|     render(conn, "new.html", page_title: gettext("forgot your password?")) | ||||
|   end | ||||
|  | ||||
|   def create(conn, %{"user" => %{"email" => email}}) do | ||||
|   | ||||
| @@ -20,7 +20,7 @@ defmodule MemexWeb.UserSessionController do | ||||
|  | ||||
|   def delete(conn, _params) do | ||||
|     conn | ||||
|     |> put_flash(:info, dgettext("prompts", "Logged out successfully.")) | ||||
|     |> put_flash(:info, dgettext("prompts", "logged out successfully.")) | ||||
|     |> UserAuth.log_out_user() | ||||
|   end | ||||
| end | ||||
|   | ||||
| @@ -33,7 +33,7 @@ | ||||
|     <%= select( | ||||
|       f, | ||||
|       :locale, | ||||
|       [{gettext("English"), "en_US"}], | ||||
|       [{gettext("english"), "en_US"}], | ||||
|       class: "input input-primary col-span-2" | ||||
|     ) %> | ||||
|     <%= error_tag(f, :locale) %> | ||||
| @@ -48,7 +48,7 @@ | ||||
|       <%= dgettext("actions", "log in") %> | ||||
|     </.link> | ||||
|     <.link href={Routes.user_reset_password_path(@conn, :new)} class="btn btn-primary"> | ||||
|       <%= dgettext("actions", "Forgot your password?") %> | ||||
|       <%= dgettext("actions", "forgot your password?") %> | ||||
|     </.link> | ||||
|   </div> | ||||
| </div> | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4"> | ||||
|   <h1 class="title text-primary-400 text-xl"> | ||||
|     <%= dgettext("actions", "Forgot your password?") %> | ||||
|     <%= dgettext("actions", "forgot your password?") %> | ||||
|   </h1> | ||||
|  | ||||
|   <.form | ||||
| @@ -12,7 +12,7 @@ | ||||
|     <%= label(f, :email, class: "title text-lg text-primary-400") %> | ||||
|     <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> | ||||
|  | ||||
|     <%= submit(dgettext("actions", "Send instructions to reset password"), | ||||
|     <%= submit(dgettext("actions", "send instructions to reset password"), | ||||
|       class: "mx-auto btn btn-primary col-span-3" | ||||
|     ) %> | ||||
|   </.form> | ||||
|   | ||||
| @@ -41,7 +41,7 @@ | ||||
|       </.link> | ||||
|     <% end %> | ||||
|     <.link href={Routes.user_reset_password_path(@conn, :new)} class="btn btn-primary"> | ||||
|       <%= dgettext("actions", "Forgot your password?") %> | ||||
|       <%= dgettext("actions", "forgot your password?") %> | ||||
|     </.link> | ||||
|   </div> | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user