fix some typos
This commit is contained in:
		| @@ -6,7 +6,7 @@ | ||||
|   <br /> | ||||
|  | ||||
|   <span style="margin-bottom: 1em; font-size: 1.25em;"> | ||||
|     <%= dgettext("emails", "Welcome to Memex") %> | ||||
|     <%= dgettext("emails", "Welcome to memEx") %> | ||||
|   </span> | ||||
|  | ||||
|   <br /> | ||||
| @@ -19,5 +19,5 @@ | ||||
|  | ||||
|   <br /> | ||||
|  | ||||
|   <%= dgettext("emails", "If you didn't create an account at Memex, please ignore this.") %> | ||||
|   <%= dgettext("emails", "If you didn't create an account at memEx, please ignore this.") %> | ||||
| </div> | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
|  | ||||
| <%= dgettext("emails", "Hi %{email},", email: @user.email) %> | ||||
|  | ||||
| <%= dgettext("emails", "Welcome to Memex") %> | ||||
| <%= dgettext("emails", "Welcome to memEx") %> | ||||
|  | ||||
| <%= dgettext("emails", "You can confirm your account by visiting the URL below:") %> | ||||
|  | ||||
|   | ||||
| @@ -13,5 +13,5 @@ | ||||
|  | ||||
|   <br /> | ||||
|  | ||||
|   <%= dgettext("emails", "If you didn't request this change from Memex, please ignore this.") %> | ||||
|   <%= dgettext("emails", "If you didn't request this change from memEx, please ignore this.") %> | ||||
| </div> | ||||
|   | ||||
| @@ -15,6 +15,6 @@ | ||||
|  | ||||
|   <%= dgettext( | ||||
|     "emails", | ||||
|     "If you didn't request this change from Memex, please ignore this." | ||||
|     "If you didn't request this change from memEx, please ignore this." | ||||
|   ) %> | ||||
| </div> | ||||
|   | ||||
| @@ -5,7 +5,7 @@ | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
|     <title> | ||||
|       <%= dgettext("errors", "Error") %>| Memex | ||||
|       <%= dgettext("errors", "Error") %>| memEx | ||||
|     </title> | ||||
|     <link rel="stylesheet" href="/css/app.css" /> | ||||
|     <script defer type="text/javascript" src="/js/app.js"> | ||||
|   | ||||
| @@ -1,17 +1,12 @@ | ||||
| defmodule MemexWeb.LayoutView do | ||||
|   use MemexWeb, :view | ||||
|   import MemexWeb.Components.Topbar | ||||
|   import MemexWeb.{Components.Topbar, Gettext} | ||||
|   alias MemexWeb.HomeLive | ||||
|  | ||||
|   # Phoenix LiveDashboard is available only in development by default, | ||||
|   # so we instruct Elixir to not warn if the dashboard route is missing. | ||||
|   @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} | ||||
|  | ||||
|   def get_title(conn) do | ||||
|     if conn.assigns |> Map.has_key?(:title) do | ||||
|       "Memex | #{conn.assigns.title}" | ||||
|     else | ||||
|       "Memex" | ||||
|     end | ||||
|   end | ||||
|   def get_title(%{assigns: %{title: title}}), do: gettext("memEx | %{title}", title: title) | ||||
|   def get_title(_conn), do: gettext("memEx") | ||||
| end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user