pull version number from config
This commit is contained in:
parent
ba5a4e69b2
commit
60462877c5
@ -7,32 +7,15 @@ defmodule CanneryWeb.HomeLive do
|
||||
alias Cannery.Accounts
|
||||
alias CanneryWeb.Endpoint
|
||||
|
||||
@version Mix.Project.config()[:version]
|
||||
|
||||
@impl true
|
||||
def mount(_params, _session, socket) do
|
||||
admins = Accounts.list_users_by_role(:admin)
|
||||
socket = socket |> assign(page_title: "Home", query: "", results: %{}, admins: admins)
|
||||
socket = socket |> assign(page_title: gettext("Home"), admins: admins, version: @version)
|
||||
{:ok, socket}
|
||||
end
|
||||
|
||||
@impl true
|
||||
def handle_event("suggest", %{"q" => query}, socket) do
|
||||
{:noreply, socket |> assign(results: search(query), query: query)}
|
||||
end
|
||||
|
||||
@impl true
|
||||
def handle_event("search", %{"q" => query}, socket) do
|
||||
case search(query) do
|
||||
%{^query => vsn} ->
|
||||
{:noreply, redirect(socket, external: "https://hexdocs.pm/#{query}/#{vsn}")}
|
||||
|
||||
_no_query ->
|
||||
{:noreply,
|
||||
socket
|
||||
|> put_flash(:error, "No dependencies found matching \"#{query}\"")
|
||||
|> assign(results: %{}, query: query)}
|
||||
end
|
||||
end
|
||||
|
||||
@impl true
|
||||
def render(assigns) do
|
||||
~H"""
|
||||
@ -138,7 +121,9 @@ defmodule CanneryWeb.HomeLive do
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<p>0.7.1</p>
|
||||
<p>
|
||||
<%= @version %>
|
||||
</p>
|
||||
<i class="fas fa-md fa-info-circle"></i>
|
||||
</.link>
|
||||
</li>
|
||||
@ -188,16 +173,4 @@ defmodule CanneryWeb.HomeLive do
|
||||
</div>
|
||||
"""
|
||||
end
|
||||
|
||||
defp search(query) do
|
||||
if not CanneryWeb.Endpoint.config(:code_reloader) do
|
||||
raise "action disabled when not in development"
|
||||
end
|
||||
|
||||
for {app, desc, vsn} <- Application.started_applications(),
|
||||
app = to_string(app),
|
||||
String.starts_with?(app, query) and not List.starts_with?(desc, ~c"ERTS"),
|
||||
into: %{},
|
||||
do: {app, vsn}
|
||||
end
|
||||
end
|
||||
|
@ -23,14 +23,14 @@ msgstr ""
|
||||
## Run "mix gettext.extract" to bring this file up to
|
||||
## date. Leave "msgstr"s empty as changing them here has no
|
||||
## effect: edit them in PO (.po) files instead.
|
||||
#: lib/cannery_web/live/home_live.ex:64
|
||||
#: lib/cannery_web/live/home_live.ex:47
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
||||
msgstr ""
|
||||
"Mit %{name} können Sie ihren Munitionsbestand vor und nach dem Schießen "
|
||||
"leicht im Auge behalten"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:86
|
||||
#: lib/cannery_web/live/home_live.ex:69
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Access from any internet-capable device"
|
||||
msgstr "Zugriff von jedem Internet-fähigen Gerät"
|
||||
@ -40,7 +40,7 @@ msgstr "Zugriff von jedem Internet-fähigen Gerät"
|
||||
msgid "Admins"
|
||||
msgstr "Admins"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:100
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Admins:"
|
||||
msgstr "Admins:"
|
||||
@ -150,7 +150,7 @@ msgstr "Beschreibung"
|
||||
msgid "Description:"
|
||||
msgstr "Beschreibung:"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:61
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Easy to Use:"
|
||||
msgstr "Einfache Anwendung:"
|
||||
@ -197,7 +197,7 @@ msgstr "Körner"
|
||||
msgid "Incendiary"
|
||||
msgstr "Brandmunition"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:95
|
||||
#: lib/cannery_web/live/home_live.ex:78
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Instance Information"
|
||||
msgstr "Instanzinformationen"
|
||||
@ -207,7 +207,7 @@ msgstr "Instanzinformationen"
|
||||
msgid "Invite Disabled"
|
||||
msgstr "Einladung deaktiviert"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:128
|
||||
#: lib/cannery_web/live/home_live.ex:111
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invite Only"
|
||||
msgstr "Nur mit Einladung"
|
||||
@ -365,17 +365,17 @@ msgstr "Kaufpreis:"
|
||||
msgid "Primer type"
|
||||
msgstr "Zündertyp"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:127
|
||||
#: lib/cannery_web/live/home_live.ex:110
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Public Signups"
|
||||
msgstr "Öffentliche Registrierung"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:73
|
||||
#: lib/cannery_web/live/home_live.ex:56
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Secure:"
|
||||
msgstr "Sicher:"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:76
|
||||
#: lib/cannery_web/live/home_live.ex:59
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||
msgstr ""
|
||||
@ -388,7 +388,7 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#: lib/cannery_web/live/home_live.ex:66
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Simple:"
|
||||
msgstr "Einfach:"
|
||||
@ -421,7 +421,7 @@ msgstr "Tags können zur besseren Ordnung einem Behälter hinzugefügt werden"
|
||||
msgid "Text color"
|
||||
msgstr "Textfarbe"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:52
|
||||
#: lib/cannery_web/live/home_live.ex:35
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "The self-hosted firearm tracker website"
|
||||
msgstr "Die selbst-gehostete Website zur Verwaltung von Schusswaffen"
|
||||
@ -460,12 +460,12 @@ msgstr "Verbleibende Nutzung:"
|
||||
msgid "Uses left"
|
||||
msgstr "Verbleibende Nutzung"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:48
|
||||
#: lib/cannery_web/live/home_live.ex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Welcome to %{name}"
|
||||
msgstr "Willkommen %{name}"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:77
|
||||
#: lib/cannery_web/live/home_live.ex:60
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your data stays with you, period"
|
||||
msgstr "Ihre Daten bleiben bei Ihnen, Punkt"
|
||||
@ -799,22 +799,22 @@ msgstr "Deutsch"
|
||||
msgid "Language"
|
||||
msgstr "Sprache"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:151
|
||||
#: lib/cannery_web/live/home_live.ex:136
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Get involved!"
|
||||
msgstr "Mach mit!"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:172
|
||||
#: lib/cannery_web/live/home_live.ex:157
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Help translate"
|
||||
msgstr "Hilf beim Übersetzen"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:183
|
||||
#: lib/cannery_web/live/home_live.ex:168
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Report bugs or request features"
|
||||
msgstr "Sende Bugs oder Erweiterungsvorschläge"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:161
|
||||
#: lib/cannery_web/live/home_live.ex:146
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View the source code"
|
||||
msgstr "Quellcode ansehen"
|
||||
@ -858,12 +858,12 @@ msgid "Packs:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/topbar.ex:25
|
||||
#: lib/cannery_web/live/home_live.ex:42
|
||||
#: lib/cannery_web/live/home_live.ex:25
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Cannery logo"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#: lib/cannery_web/live/home_live.ex:27
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "isn't he cute >:3"
|
||||
msgstr ""
|
||||
@ -1107,3 +1107,8 @@ msgstr "Ursprüngliche Anzahl:"
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Original Count:"
|
||||
msgstr "Ursprüngliche Anzahl:"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:15
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
@ -160,7 +160,7 @@ msgstr "Passwort erfolgreich geändert."
|
||||
msgid "Please check your email to verify your account"
|
||||
msgstr "Bitte überprüfen Sie ihre Mailbox und bestätigen Sie das Nutzerkonto"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:108
|
||||
#: lib/cannery_web/live/home_live.ex:91
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register to setup %{name}"
|
||||
msgstr "Registrieren Sie sich, um %{name} zu bearbeiten"
|
||||
|
@ -10,12 +10,12 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:64
|
||||
#: lib/cannery_web/live/home_live.ex:47
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:86
|
||||
#: lib/cannery_web/live/home_live.ex:69
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Access from any internet-capable device"
|
||||
msgstr ""
|
||||
@ -25,7 +25,7 @@ msgstr ""
|
||||
msgid "Admins"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:100
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Admins:"
|
||||
msgstr ""
|
||||
@ -135,7 +135,7 @@ msgstr ""
|
||||
msgid "Description:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:61
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Easy to Use:"
|
||||
msgstr ""
|
||||
@ -182,7 +182,7 @@ msgstr ""
|
||||
msgid "Incendiary"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:95
|
||||
#: lib/cannery_web/live/home_live.ex:78
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Instance Information"
|
||||
msgstr ""
|
||||
@ -192,7 +192,7 @@ msgstr ""
|
||||
msgid "Invite Disabled"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:128
|
||||
#: lib/cannery_web/live/home_live.ex:111
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invite Only"
|
||||
msgstr ""
|
||||
@ -350,17 +350,17 @@ msgstr ""
|
||||
msgid "Primer type"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:127
|
||||
#: lib/cannery_web/live/home_live.ex:110
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Public Signups"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:73
|
||||
#: lib/cannery_web/live/home_live.ex:56
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Secure:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:76
|
||||
#: lib/cannery_web/live/home_live.ex:59
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||
msgstr ""
|
||||
@ -371,7 +371,7 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#: lib/cannery_web/live/home_live.ex:66
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Simple:"
|
||||
msgstr ""
|
||||
@ -404,7 +404,7 @@ msgstr ""
|
||||
msgid "Text color"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:52
|
||||
#: lib/cannery_web/live/home_live.ex:35
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "The self-hosted firearm tracker website"
|
||||
msgstr ""
|
||||
@ -443,12 +443,12 @@ msgstr ""
|
||||
msgid "Uses left"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:48
|
||||
#: lib/cannery_web/live/home_live.ex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Welcome to %{name}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:77
|
||||
#: lib/cannery_web/live/home_live.ex:60
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your data stays with you, period"
|
||||
msgstr ""
|
||||
@ -782,22 +782,22 @@ msgstr ""
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:151
|
||||
#: lib/cannery_web/live/home_live.ex:136
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Get involved!"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:172
|
||||
#: lib/cannery_web/live/home_live.ex:157
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Help translate"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:183
|
||||
#: lib/cannery_web/live/home_live.ex:168
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Report bugs or request features"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:161
|
||||
#: lib/cannery_web/live/home_live.ex:146
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View the source code"
|
||||
msgstr ""
|
||||
@ -841,12 +841,12 @@ msgid "Packs:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/topbar.ex:25
|
||||
#: lib/cannery_web/live/home_live.ex:42
|
||||
#: lib/cannery_web/live/home_live.ex:25
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Cannery logo"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#: lib/cannery_web/live/home_live.ex:27
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "isn't he cute >:3"
|
||||
msgstr ""
|
||||
@ -1090,3 +1090,8 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Original Count:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:15
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
@ -11,12 +11,12 @@ msgstr ""
|
||||
"Language: en\n"
|
||||
"Plural-Forms: nplurals=2\n"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:64
|
||||
#: lib/cannery_web/live/home_live.ex:47
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:86
|
||||
#: lib/cannery_web/live/home_live.ex:69
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Access from any internet-capable device"
|
||||
msgstr ""
|
||||
@ -26,7 +26,7 @@ msgstr ""
|
||||
msgid "Admins"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:100
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Admins:"
|
||||
msgstr ""
|
||||
@ -136,7 +136,7 @@ msgstr ""
|
||||
msgid "Description:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:61
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Easy to Use:"
|
||||
msgstr ""
|
||||
@ -183,7 +183,7 @@ msgstr ""
|
||||
msgid "Incendiary"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:95
|
||||
#: lib/cannery_web/live/home_live.ex:78
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Instance Information"
|
||||
msgstr ""
|
||||
@ -193,7 +193,7 @@ msgstr ""
|
||||
msgid "Invite Disabled"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:128
|
||||
#: lib/cannery_web/live/home_live.ex:111
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invite Only"
|
||||
msgstr ""
|
||||
@ -351,17 +351,17 @@ msgstr ""
|
||||
msgid "Primer type"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:127
|
||||
#: lib/cannery_web/live/home_live.ex:110
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Public Signups"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:73
|
||||
#: lib/cannery_web/live/home_live.ex:56
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Secure:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:76
|
||||
#: lib/cannery_web/live/home_live.ex:59
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||
msgstr ""
|
||||
@ -372,7 +372,7 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#: lib/cannery_web/live/home_live.ex:66
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Simple:"
|
||||
msgstr ""
|
||||
@ -405,7 +405,7 @@ msgstr ""
|
||||
msgid "Text color"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:52
|
||||
#: lib/cannery_web/live/home_live.ex:35
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "The self-hosted firearm tracker website"
|
||||
msgstr ""
|
||||
@ -444,12 +444,12 @@ msgstr ""
|
||||
msgid "Uses left"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:48
|
||||
#: lib/cannery_web/live/home_live.ex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Welcome to %{name}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:77
|
||||
#: lib/cannery_web/live/home_live.ex:60
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your data stays with you, period"
|
||||
msgstr ""
|
||||
@ -783,22 +783,22 @@ msgstr ""
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:151
|
||||
#: lib/cannery_web/live/home_live.ex:136
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Get involved!"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:172
|
||||
#: lib/cannery_web/live/home_live.ex:157
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Help translate"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:183
|
||||
#: lib/cannery_web/live/home_live.ex:168
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Report bugs or request features"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:161
|
||||
#: lib/cannery_web/live/home_live.ex:146
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View the source code"
|
||||
msgstr ""
|
||||
@ -842,12 +842,12 @@ msgid "Packs:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/topbar.ex:25
|
||||
#: lib/cannery_web/live/home_live.ex:42
|
||||
#: lib/cannery_web/live/home_live.ex:25
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Cannery logo"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#: lib/cannery_web/live/home_live.ex:27
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "isn't he cute >:3"
|
||||
msgstr ""
|
||||
@ -1091,3 +1091,8 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Original Count:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:15
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
@ -142,7 +142,7 @@ msgstr ""
|
||||
msgid "Please check your email to verify your account"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:108
|
||||
#: lib/cannery_web/live/home_live.ex:91
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register to setup %{name}"
|
||||
msgstr ""
|
||||
|
@ -23,14 +23,14 @@ msgstr ""
|
||||
## Run "mix gettext.extract" to bring this file up to
|
||||
## date. Leave "msgstr"s empty as changing them here has no
|
||||
## effect: edit them in PO (.po) files instead.
|
||||
#: lib/cannery_web/live/home_live.ex:64
|
||||
#: lib/cannery_web/live/home_live.ex:47
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
||||
msgstr ""
|
||||
"%{name} te permite mantener un ojo en tus niveles de munición antes y "
|
||||
"después de un día en el campo de tiro"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:86
|
||||
#: lib/cannery_web/live/home_live.ex:69
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Access from any internet-capable device"
|
||||
msgstr ""
|
||||
@ -40,7 +40,7 @@ msgstr ""
|
||||
msgid "Admins"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:100
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Admins:"
|
||||
msgstr ""
|
||||
@ -150,7 +150,7 @@ msgstr ""
|
||||
msgid "Description:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:61
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Easy to Use:"
|
||||
msgstr ""
|
||||
@ -197,7 +197,7 @@ msgstr ""
|
||||
msgid "Incendiary"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:95
|
||||
#: lib/cannery_web/live/home_live.ex:78
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Instance Information"
|
||||
msgstr ""
|
||||
@ -207,7 +207,7 @@ msgstr ""
|
||||
msgid "Invite Disabled"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:128
|
||||
#: lib/cannery_web/live/home_live.ex:111
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invite Only"
|
||||
msgstr ""
|
||||
@ -365,17 +365,17 @@ msgstr ""
|
||||
msgid "Primer type"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:127
|
||||
#: lib/cannery_web/live/home_live.ex:110
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Public Signups"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:73
|
||||
#: lib/cannery_web/live/home_live.ex:56
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Secure:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:76
|
||||
#: lib/cannery_web/live/home_live.ex:59
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||
msgstr ""
|
||||
@ -386,7 +386,7 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#: lib/cannery_web/live/home_live.ex:66
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Simple:"
|
||||
msgstr ""
|
||||
@ -419,7 +419,7 @@ msgstr ""
|
||||
msgid "Text color"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:52
|
||||
#: lib/cannery_web/live/home_live.ex:35
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "The self-hosted firearm tracker website"
|
||||
msgstr ""
|
||||
@ -458,12 +458,12 @@ msgstr ""
|
||||
msgid "Uses left"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:48
|
||||
#: lib/cannery_web/live/home_live.ex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Welcome to %{name}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:77
|
||||
#: lib/cannery_web/live/home_live.ex:60
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your data stays with you, period"
|
||||
msgstr ""
|
||||
@ -797,22 +797,22 @@ msgstr ""
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:151
|
||||
#: lib/cannery_web/live/home_live.ex:136
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Get involved!"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:172
|
||||
#: lib/cannery_web/live/home_live.ex:157
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Help translate"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:183
|
||||
#: lib/cannery_web/live/home_live.ex:168
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Report bugs or request features"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:161
|
||||
#: lib/cannery_web/live/home_live.ex:146
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View the source code"
|
||||
msgstr ""
|
||||
@ -856,12 +856,12 @@ msgid "Packs:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/topbar.ex:25
|
||||
#: lib/cannery_web/live/home_live.ex:42
|
||||
#: lib/cannery_web/live/home_live.ex:25
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Cannery logo"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#: lib/cannery_web/live/home_live.ex:27
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "isn't he cute >:3"
|
||||
msgstr ""
|
||||
@ -1105,3 +1105,8 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Original Count:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:15
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
@ -160,7 +160,7 @@ msgstr "Contraseña cambiada exitosamente."
|
||||
msgid "Please check your email to verify your account"
|
||||
msgstr "Por favor chequea el correo para verificar tu cuenta"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:108
|
||||
#: lib/cannery_web/live/home_live.ex:91
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register to setup %{name}"
|
||||
msgstr "Regístrese para configurar %{name}"
|
||||
|
@ -23,14 +23,14 @@ msgstr ""
|
||||
# # Run "mix gettext.extract" to bring this file up to
|
||||
# # date. Leave "msgstr"s empty as changing them here has no
|
||||
# # effect: edit them in PO (.po) files instead.
|
||||
#: lib/cannery_web/live/home_live.ex:64
|
||||
#: lib/cannery_web/live/home_live.ex:47
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
||||
msgstr ""
|
||||
"%{name} vous permet de facilement garder un œil sur votre niveau de munition "
|
||||
"avant et après une journée de stand"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:86
|
||||
#: lib/cannery_web/live/home_live.ex:69
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Access from any internet-capable device"
|
||||
msgstr "Accédez depuis n’importe quel appareil connecté à internet"
|
||||
@ -40,7 +40,7 @@ msgstr "Accédez depuis n’importe quel appareil connecté à internet"
|
||||
msgid "Admins"
|
||||
msgstr "Administrateur·ices"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:100
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Admins:"
|
||||
msgstr "Administrateur·ices :"
|
||||
@ -150,7 +150,7 @@ msgstr "Description"
|
||||
msgid "Description:"
|
||||
msgstr "Description :"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:61
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Easy to Use:"
|
||||
msgstr "Simple à utiliser :"
|
||||
@ -197,7 +197,7 @@ msgstr "Graines"
|
||||
msgid "Incendiary"
|
||||
msgstr "Incendiaire"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:95
|
||||
#: lib/cannery_web/live/home_live.ex:78
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Instance Information"
|
||||
msgstr "Information de l’instance"
|
||||
@ -207,7 +207,7 @@ msgstr "Information de l’instance"
|
||||
msgid "Invite Disabled"
|
||||
msgstr "Invitation désactivée"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:128
|
||||
#: lib/cannery_web/live/home_live.ex:111
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invite Only"
|
||||
msgstr "Uniquement sur invitation"
|
||||
@ -365,17 +365,17 @@ msgstr "Prix payé :"
|
||||
msgid "Primer type"
|
||||
msgstr "Type d’amorce"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:127
|
||||
#: lib/cannery_web/live/home_live.ex:110
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Public Signups"
|
||||
msgstr "Enregistrements publics"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:73
|
||||
#: lib/cannery_web/live/home_live.ex:56
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Secure:"
|
||||
msgstr "Sécurisé :"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:76
|
||||
#: lib/cannery_web/live/home_live.ex:59
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||
msgstr ""
|
||||
@ -388,7 +388,7 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#: lib/cannery_web/live/home_live.ex:66
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Simple:"
|
||||
msgstr "Simple :"
|
||||
@ -423,7 +423,7 @@ msgstr ""
|
||||
msgid "Text color"
|
||||
msgstr "Couleur du texte"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:52
|
||||
#: lib/cannery_web/live/home_live.ex:35
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "The self-hosted firearm tracker website"
|
||||
msgstr "Le site web de suivi d’arme à feux auto-hébergé"
|
||||
@ -462,12 +462,12 @@ msgstr "Utilisations restantes :"
|
||||
msgid "Uses left"
|
||||
msgstr "Utilisations restantes"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:48
|
||||
#: lib/cannery_web/live/home_live.ex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Welcome to %{name}"
|
||||
msgstr "Bienvenue à %{name}"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:77
|
||||
#: lib/cannery_web/live/home_live.ex:60
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your data stays with you, period"
|
||||
msgstr "Vos données restent avec vous, point final"
|
||||
@ -801,22 +801,22 @@ msgstr "Allemand"
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:151
|
||||
#: lib/cannery_web/live/home_live.ex:136
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Get involved!"
|
||||
msgstr "Impliquez-vous !"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:172
|
||||
#: lib/cannery_web/live/home_live.ex:157
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Help translate"
|
||||
msgstr "Aider à la traduction"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:183
|
||||
#: lib/cannery_web/live/home_live.ex:168
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Report bugs or request features"
|
||||
msgstr "Remonter des bugs ou une demande de fonctionnalité"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:161
|
||||
#: lib/cannery_web/live/home_live.ex:146
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View the source code"
|
||||
msgstr "Voir le code source"
|
||||
@ -860,12 +860,12 @@ msgid "Packs:"
|
||||
msgstr "Packages :"
|
||||
|
||||
#: lib/cannery_web/components/topbar.ex:25
|
||||
#: lib/cannery_web/live/home_live.ex:42
|
||||
#: lib/cannery_web/live/home_live.ex:25
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Cannery logo"
|
||||
msgstr "Logo de Cannery"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#: lib/cannery_web/live/home_live.ex:27
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "isn't he cute >:3"
|
||||
msgstr "N'est-il mignon >:3"
|
||||
@ -1110,3 +1110,8 @@ msgstr "Nombre original :"
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Original Count:"
|
||||
msgstr "Nombre original :"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:15
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
@ -161,7 +161,7 @@ msgstr "Mot de passe mis à jour avec succès."
|
||||
msgid "Please check your email to verify your account"
|
||||
msgstr "Veuillez vérifier votre mél pour confirmer votre compte"
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:108
|
||||
#: lib/cannery_web/live/home_live.ex:91
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register to setup %{name}"
|
||||
msgstr "S’enregistrer pour mettre en place %{name}"
|
||||
|
@ -21,12 +21,12 @@ msgstr ""
|
||||
## Run "mix gettext.extract" to bring this file up to
|
||||
## date. Leave "msgstr"s empty as changing them here has no
|
||||
## effect: edit them in PO (.po) files instead.
|
||||
#: lib/cannery_web/live/home_live.ex:64
|
||||
#: lib/cannery_web/live/home_live.ex:47
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:86
|
||||
#: lib/cannery_web/live/home_live.ex:69
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Access from any internet-capable device"
|
||||
msgstr ""
|
||||
@ -36,7 +36,7 @@ msgstr ""
|
||||
msgid "Admins"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:100
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Admins:"
|
||||
msgstr ""
|
||||
@ -146,7 +146,7 @@ msgstr ""
|
||||
msgid "Description:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:61
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Easy to Use:"
|
||||
msgstr ""
|
||||
@ -193,7 +193,7 @@ msgstr ""
|
||||
msgid "Incendiary"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:95
|
||||
#: lib/cannery_web/live/home_live.ex:78
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Instance Information"
|
||||
msgstr ""
|
||||
@ -203,7 +203,7 @@ msgstr ""
|
||||
msgid "Invite Disabled"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:128
|
||||
#: lib/cannery_web/live/home_live.ex:111
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invite Only"
|
||||
msgstr ""
|
||||
@ -361,17 +361,17 @@ msgstr ""
|
||||
msgid "Primer type"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:127
|
||||
#: lib/cannery_web/live/home_live.ex:110
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Public Signups"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:73
|
||||
#: lib/cannery_web/live/home_live.ex:56
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Secure:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:76
|
||||
#: lib/cannery_web/live/home_live.ex:59
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||
msgstr ""
|
||||
@ -382,7 +382,7 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:83
|
||||
#: lib/cannery_web/live/home_live.ex:66
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Simple:"
|
||||
msgstr ""
|
||||
@ -415,7 +415,7 @@ msgstr ""
|
||||
msgid "Text color"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:52
|
||||
#: lib/cannery_web/live/home_live.ex:35
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "The self-hosted firearm tracker website"
|
||||
msgstr ""
|
||||
@ -454,12 +454,12 @@ msgstr ""
|
||||
msgid "Uses left"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:48
|
||||
#: lib/cannery_web/live/home_live.ex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Welcome to %{name}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:77
|
||||
#: lib/cannery_web/live/home_live.ex:60
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your data stays with you, period"
|
||||
msgstr ""
|
||||
@ -793,22 +793,22 @@ msgstr ""
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:151
|
||||
#: lib/cannery_web/live/home_live.ex:136
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Get involved!"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:172
|
||||
#: lib/cannery_web/live/home_live.ex:157
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Help translate"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:183
|
||||
#: lib/cannery_web/live/home_live.ex:168
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Report bugs or request features"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:161
|
||||
#: lib/cannery_web/live/home_live.ex:146
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View the source code"
|
||||
msgstr ""
|
||||
@ -852,12 +852,12 @@ msgid "Packs:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/topbar.ex:25
|
||||
#: lib/cannery_web/live/home_live.ex:42
|
||||
#: lib/cannery_web/live/home_live.ex:25
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Cannery logo"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:44
|
||||
#: lib/cannery_web/live/home_live.ex:27
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "isn't he cute >:3"
|
||||
msgstr ""
|
||||
@ -1101,3 +1101,8 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Original Count:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:15
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
@ -152,7 +152,7 @@ msgstr ""
|
||||
msgid "Please check your email to verify your account"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:108
|
||||
#: lib/cannery_web/live/home_live.ex:91
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register to setup %{name}"
|
||||
msgstr ""
|
||||
|
@ -141,7 +141,7 @@ msgstr ""
|
||||
msgid "Please check your email to verify your account"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/home_live.ex:108
|
||||
#: lib/cannery_web/live/home_live.ex:91
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register to setup %{name}"
|
||||
msgstr ""
|
||||
|
@ -14,4 +14,10 @@ defmodule CanneryWeb.HomeLiveTest do
|
||||
assert disconnected_html =~ gettext("Welcome to %{name}", name: "Cannery")
|
||||
assert render(home_live) =~ gettext("Welcome to %{name}", name: "Cannery")
|
||||
end
|
||||
|
||||
test "displays version number", %{conn: conn} do
|
||||
{:ok, home_live, disconnected_html} = live(conn, "/")
|
||||
assert disconnected_html =~ Mix.Project.config()[:version]
|
||||
assert render(home_live) =~ Mix.Project.config()[:version]
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user