pull version number from config

This commit is contained in:
shibao 2022-11-19 10:31:13 -05:00
parent ba5a4e69b2
commit 60462877c5
14 changed files with 162 additions and 153 deletions

View File

@ -7,32 +7,15 @@ defmodule CanneryWeb.HomeLive do
alias Cannery.Accounts alias Cannery.Accounts
alias CanneryWeb.Endpoint alias CanneryWeb.Endpoint
@version Mix.Project.config()[:version]
@impl true @impl true
def mount(_params, _session, socket) do def mount(_params, _session, socket) do
admins = Accounts.list_users_by_role(:admin) 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} {:ok, socket}
end 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 @impl true
def render(assigns) do def render(assigns) do
~H""" ~H"""
@ -138,7 +121,9 @@ defmodule CanneryWeb.HomeLive do
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
<p>0.7.1</p> <p>
<%= @version %>
</p>
<i class="fas fa-md fa-info-circle"></i> <i class="fas fa-md fa-info-circle"></i>
</.link> </.link>
</li> </li>
@ -188,16 +173,4 @@ defmodule CanneryWeb.HomeLive do
</div> </div>
""" """
end 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 end

View File

@ -23,14 +23,14 @@ msgstr ""
## Run "mix gettext.extract" to bring this file up to ## Run "mix gettext.extract" to bring this file up to
## date. Leave "msgstr"s empty as changing them here has no ## date. Leave "msgstr"s empty as changing them here has no
## effect: edit them in PO (.po) files instead. ## 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 #, elixir-autogen, elixir-format
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day" msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
msgstr "" msgstr ""
"Mit %{name} können Sie ihren Munitionsbestand vor und nach dem Schießen " "Mit %{name} können Sie ihren Munitionsbestand vor und nach dem Schießen "
"leicht im Auge behalten" "leicht im Auge behalten"
#: lib/cannery_web/live/home_live.ex:86 #: lib/cannery_web/live/home_live.ex:69
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Access from any internet-capable device" msgid "Access from any internet-capable device"
msgstr "Zugriff von jedem Internet-fähigen Gerät" msgstr "Zugriff von jedem Internet-fähigen Gerät"
@ -40,7 +40,7 @@ msgstr "Zugriff von jedem Internet-fähigen Gerät"
msgid "Admins" msgid "Admins"
msgstr "Admins" msgstr "Admins"
#: lib/cannery_web/live/home_live.ex:100 #: lib/cannery_web/live/home_live.ex:83
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins:" msgid "Admins:"
msgstr "Admins:" msgstr "Admins:"
@ -150,7 +150,7 @@ msgstr "Beschreibung"
msgid "Description:" msgid "Description:"
msgstr "Beschreibung:" msgstr "Beschreibung:"
#: lib/cannery_web/live/home_live.ex:61 #: lib/cannery_web/live/home_live.ex:44
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Easy to Use:" msgid "Easy to Use:"
msgstr "Einfache Anwendung:" msgstr "Einfache Anwendung:"
@ -197,7 +197,7 @@ msgstr "Körner"
msgid "Incendiary" msgid "Incendiary"
msgstr "Brandmunition" msgstr "Brandmunition"
#: lib/cannery_web/live/home_live.ex:95 #: lib/cannery_web/live/home_live.ex:78
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Instance Information" msgid "Instance Information"
msgstr "Instanzinformationen" msgstr "Instanzinformationen"
@ -207,7 +207,7 @@ msgstr "Instanzinformationen"
msgid "Invite Disabled" msgid "Invite Disabled"
msgstr "Einladung deaktiviert" msgstr "Einladung deaktiviert"
#: lib/cannery_web/live/home_live.ex:128 #: lib/cannery_web/live/home_live.ex:111
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Invite Only" msgid "Invite Only"
msgstr "Nur mit Einladung" msgstr "Nur mit Einladung"
@ -365,17 +365,17 @@ msgstr "Kaufpreis:"
msgid "Primer type" msgid "Primer type"
msgstr "Zündertyp" msgstr "Zündertyp"
#: lib/cannery_web/live/home_live.ex:127 #: lib/cannery_web/live/home_live.ex:110
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Public Signups" msgid "Public Signups"
msgstr "Öffentliche Registrierung" msgstr "Öffentliche Registrierung"
#: lib/cannery_web/live/home_live.ex:73 #: lib/cannery_web/live/home_live.ex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Secure:" msgid "Secure:"
msgstr "Sicher:" msgstr "Sicher:"
#: lib/cannery_web/live/home_live.ex:76 #: lib/cannery_web/live/home_live.ex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Self-host your own instance, or use an instance from someone you trust." msgid "Self-host your own instance, or use an instance from someone you trust."
msgstr "" msgstr ""
@ -388,7 +388,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "Einstellungen" msgstr "Einstellungen"
#: lib/cannery_web/live/home_live.ex:83 #: lib/cannery_web/live/home_live.ex:66
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Simple:" msgid "Simple:"
msgstr "Einfach:" msgstr "Einfach:"
@ -421,7 +421,7 @@ msgstr "Tags können zur besseren Ordnung einem Behälter hinzugefügt werden"
msgid "Text color" msgid "Text color"
msgstr "Textfarbe" msgstr "Textfarbe"
#: lib/cannery_web/live/home_live.ex:52 #: lib/cannery_web/live/home_live.ex:35
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "The self-hosted firearm tracker website" msgid "The self-hosted firearm tracker website"
msgstr "Die selbst-gehostete Website zur Verwaltung von Schusswaffen" msgstr "Die selbst-gehostete Website zur Verwaltung von Schusswaffen"
@ -460,12 +460,12 @@ msgstr "Verbleibende Nutzung:"
msgid "Uses left" msgid "Uses left"
msgstr "Verbleibende Nutzung" msgstr "Verbleibende Nutzung"
#: lib/cannery_web/live/home_live.ex:48 #: lib/cannery_web/live/home_live.ex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Welcome to %{name}" msgid "Welcome to %{name}"
msgstr "Willkommen %{name}" msgstr "Willkommen %{name}"
#: lib/cannery_web/live/home_live.ex:77 #: lib/cannery_web/live/home_live.ex:60
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Your data stays with you, period" msgid "Your data stays with you, period"
msgstr "Ihre Daten bleiben bei Ihnen, Punkt" msgstr "Ihre Daten bleiben bei Ihnen, Punkt"
@ -799,22 +799,22 @@ msgstr "Deutsch"
msgid "Language" msgid "Language"
msgstr "Sprache" msgstr "Sprache"
#: lib/cannery_web/live/home_live.ex:151 #: lib/cannery_web/live/home_live.ex:136
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Get involved!" msgid "Get involved!"
msgstr "Mach mit!" msgstr "Mach mit!"
#: lib/cannery_web/live/home_live.ex:172 #: lib/cannery_web/live/home_live.ex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Help translate" msgid "Help translate"
msgstr "Hilf beim Übersetzen" msgstr "Hilf beim Übersetzen"
#: lib/cannery_web/live/home_live.ex:183 #: lib/cannery_web/live/home_live.ex:168
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Report bugs or request features" msgid "Report bugs or request features"
msgstr "Sende Bugs oder Erweiterungsvorschläge" 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 #, elixir-autogen, elixir-format
msgid "View the source code" msgid "View the source code"
msgstr "Quellcode ansehen" msgstr "Quellcode ansehen"
@ -858,12 +858,12 @@ msgid "Packs:"
msgstr "" msgstr ""
#: lib/cannery_web/components/topbar.ex:25 #: 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 #, elixir-autogen, elixir-format
msgid "Cannery logo" msgid "Cannery logo"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:44 #: lib/cannery_web/live/home_live.ex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "isn't he cute >:3" msgid "isn't he cute >:3"
msgstr "" msgstr ""
@ -1107,3 +1107,8 @@ msgstr "Ursprüngliche Anzahl:"
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "Original Count:" msgid "Original Count:"
msgstr "Ursprüngliche Anzahl:" msgstr "Ursprüngliche Anzahl:"
#: lib/cannery_web/live/home_live.ex:15
#, elixir-autogen, elixir-format
msgid "Home"
msgstr ""

View File

@ -160,7 +160,7 @@ msgstr "Passwort erfolgreich geändert."
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "Bitte überprüfen Sie ihre Mailbox und bestätigen Sie das Nutzerkonto" 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 #, elixir-autogen, elixir-format
msgid "Register to setup %{name}" msgid "Register to setup %{name}"
msgstr "Registrieren Sie sich, um %{name} zu bearbeiten" msgstr "Registrieren Sie sich, um %{name} zu bearbeiten"

View File

@ -10,12 +10,12 @@
msgid "" msgid ""
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:64 #: lib/cannery_web/live/home_live.ex:47
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day" msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:86 #: lib/cannery_web/live/home_live.ex:69
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Access from any internet-capable device" msgid "Access from any internet-capable device"
msgstr "" msgstr ""
@ -25,7 +25,7 @@ msgstr ""
msgid "Admins" msgid "Admins"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:100 #: lib/cannery_web/live/home_live.ex:83
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins:" msgid "Admins:"
msgstr "" msgstr ""
@ -135,7 +135,7 @@ msgstr ""
msgid "Description:" msgid "Description:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:61 #: lib/cannery_web/live/home_live.ex:44
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Easy to Use:" msgid "Easy to Use:"
msgstr "" msgstr ""
@ -182,7 +182,7 @@ msgstr ""
msgid "Incendiary" msgid "Incendiary"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:95 #: lib/cannery_web/live/home_live.ex:78
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Instance Information" msgid "Instance Information"
msgstr "" msgstr ""
@ -192,7 +192,7 @@ msgstr ""
msgid "Invite Disabled" msgid "Invite Disabled"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:128 #: lib/cannery_web/live/home_live.ex:111
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Invite Only" msgid "Invite Only"
msgstr "" msgstr ""
@ -350,17 +350,17 @@ msgstr ""
msgid "Primer type" msgid "Primer type"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:127 #: lib/cannery_web/live/home_live.ex:110
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Public Signups" msgid "Public Signups"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:73 #: lib/cannery_web/live/home_live.ex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Secure:" msgid "Secure:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:76 #: lib/cannery_web/live/home_live.ex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Self-host your own instance, or use an instance from someone you trust." msgid "Self-host your own instance, or use an instance from someone you trust."
msgstr "" msgstr ""
@ -371,7 +371,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:83 #: lib/cannery_web/live/home_live.ex:66
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Simple:" msgid "Simple:"
msgstr "" msgstr ""
@ -404,7 +404,7 @@ msgstr ""
msgid "Text color" msgid "Text color"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:52 #: lib/cannery_web/live/home_live.ex:35
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "The self-hosted firearm tracker website" msgid "The self-hosted firearm tracker website"
msgstr "" msgstr ""
@ -443,12 +443,12 @@ msgstr ""
msgid "Uses left" msgid "Uses left"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:48 #: lib/cannery_web/live/home_live.ex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Welcome to %{name}" msgid "Welcome to %{name}"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:77 #: lib/cannery_web/live/home_live.ex:60
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Your data stays with you, period" msgid "Your data stays with you, period"
msgstr "" msgstr ""
@ -782,22 +782,22 @@ msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:151 #: lib/cannery_web/live/home_live.ex:136
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Get involved!" msgid "Get involved!"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:172 #: lib/cannery_web/live/home_live.ex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Help translate" msgid "Help translate"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:183 #: lib/cannery_web/live/home_live.ex:168
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Report bugs or request features" msgid "Report bugs or request features"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:161 #: lib/cannery_web/live/home_live.ex:146
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "View the source code" msgid "View the source code"
msgstr "" msgstr ""
@ -841,12 +841,12 @@ msgid "Packs:"
msgstr "" msgstr ""
#: lib/cannery_web/components/topbar.ex:25 #: 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 #, elixir-autogen, elixir-format
msgid "Cannery logo" msgid "Cannery logo"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:44 #: lib/cannery_web/live/home_live.ex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "isn't he cute >:3" msgid "isn't he cute >:3"
msgstr "" msgstr ""
@ -1090,3 +1090,8 @@ msgstr ""
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Original Count:" msgid "Original Count:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:15
#, elixir-autogen, elixir-format
msgid "Home"
msgstr ""

View File

@ -11,12 +11,12 @@ msgstr ""
"Language: en\n" "Language: en\n"
"Plural-Forms: nplurals=2\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 #, elixir-autogen, elixir-format
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day" msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:86 #: lib/cannery_web/live/home_live.ex:69
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Access from any internet-capable device" msgid "Access from any internet-capable device"
msgstr "" msgstr ""
@ -26,7 +26,7 @@ msgstr ""
msgid "Admins" msgid "Admins"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:100 #: lib/cannery_web/live/home_live.ex:83
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins:" msgid "Admins:"
msgstr "" msgstr ""
@ -136,7 +136,7 @@ msgstr ""
msgid "Description:" msgid "Description:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:61 #: lib/cannery_web/live/home_live.ex:44
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Easy to Use:" msgid "Easy to Use:"
msgstr "" msgstr ""
@ -183,7 +183,7 @@ msgstr ""
msgid "Incendiary" msgid "Incendiary"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:95 #: lib/cannery_web/live/home_live.ex:78
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Instance Information" msgid "Instance Information"
msgstr "" msgstr ""
@ -193,7 +193,7 @@ msgstr ""
msgid "Invite Disabled" msgid "Invite Disabled"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:128 #: lib/cannery_web/live/home_live.ex:111
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Invite Only" msgid "Invite Only"
msgstr "" msgstr ""
@ -351,17 +351,17 @@ msgstr ""
msgid "Primer type" msgid "Primer type"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:127 #: lib/cannery_web/live/home_live.ex:110
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Public Signups" msgid "Public Signups"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:73 #: lib/cannery_web/live/home_live.ex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Secure:" msgid "Secure:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:76 #: lib/cannery_web/live/home_live.ex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Self-host your own instance, or use an instance from someone you trust." msgid "Self-host your own instance, or use an instance from someone you trust."
msgstr "" msgstr ""
@ -372,7 +372,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:83 #: lib/cannery_web/live/home_live.ex:66
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Simple:" msgid "Simple:"
msgstr "" msgstr ""
@ -405,7 +405,7 @@ msgstr ""
msgid "Text color" msgid "Text color"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:52 #: lib/cannery_web/live/home_live.ex:35
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "The self-hosted firearm tracker website" msgid "The self-hosted firearm tracker website"
msgstr "" msgstr ""
@ -444,12 +444,12 @@ msgstr ""
msgid "Uses left" msgid "Uses left"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:48 #: lib/cannery_web/live/home_live.ex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Welcome to %{name}" msgid "Welcome to %{name}"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:77 #: lib/cannery_web/live/home_live.ex:60
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Your data stays with you, period" msgid "Your data stays with you, period"
msgstr "" msgstr ""
@ -783,22 +783,22 @@ msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:151 #: lib/cannery_web/live/home_live.ex:136
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Get involved!" msgid "Get involved!"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:172 #: lib/cannery_web/live/home_live.ex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Help translate" msgid "Help translate"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:183 #: lib/cannery_web/live/home_live.ex:168
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Report bugs or request features" msgid "Report bugs or request features"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:161 #: lib/cannery_web/live/home_live.ex:146
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "View the source code" msgid "View the source code"
msgstr "" msgstr ""
@ -842,12 +842,12 @@ msgid "Packs:"
msgstr "" msgstr ""
#: lib/cannery_web/components/topbar.ex:25 #: 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 #, elixir-autogen, elixir-format
msgid "Cannery logo" msgid "Cannery logo"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:44 #: lib/cannery_web/live/home_live.ex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "isn't he cute >:3" msgid "isn't he cute >:3"
msgstr "" msgstr ""
@ -1091,3 +1091,8 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "Original Count:" msgid "Original Count:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:15
#, elixir-autogen, elixir-format
msgid "Home"
msgstr ""

View File

@ -142,7 +142,7 @@ msgstr ""
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:108 #: lib/cannery_web/live/home_live.ex:91
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Register to setup %{name}" msgid "Register to setup %{name}"
msgstr "" msgstr ""

View File

@ -23,14 +23,14 @@ msgstr ""
## Run "mix gettext.extract" to bring this file up to ## Run "mix gettext.extract" to bring this file up to
## date. Leave "msgstr"s empty as changing them here has no ## date. Leave "msgstr"s empty as changing them here has no
## effect: edit them in PO (.po) files instead. ## 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 #, elixir-autogen, elixir-format
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day" msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
msgstr "" msgstr ""
"%{name} te permite mantener un ojo en tus niveles de munición antes y " "%{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" "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 #, elixir-autogen, elixir-format
msgid "Access from any internet-capable device" msgid "Access from any internet-capable device"
msgstr "" msgstr ""
@ -40,7 +40,7 @@ msgstr ""
msgid "Admins" msgid "Admins"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:100 #: lib/cannery_web/live/home_live.ex:83
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins:" msgid "Admins:"
msgstr "" msgstr ""
@ -150,7 +150,7 @@ msgstr ""
msgid "Description:" msgid "Description:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:61 #: lib/cannery_web/live/home_live.ex:44
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Easy to Use:" msgid "Easy to Use:"
msgstr "" msgstr ""
@ -197,7 +197,7 @@ msgstr ""
msgid "Incendiary" msgid "Incendiary"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:95 #: lib/cannery_web/live/home_live.ex:78
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Instance Information" msgid "Instance Information"
msgstr "" msgstr ""
@ -207,7 +207,7 @@ msgstr ""
msgid "Invite Disabled" msgid "Invite Disabled"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:128 #: lib/cannery_web/live/home_live.ex:111
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Invite Only" msgid "Invite Only"
msgstr "" msgstr ""
@ -365,17 +365,17 @@ msgstr ""
msgid "Primer type" msgid "Primer type"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:127 #: lib/cannery_web/live/home_live.ex:110
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Public Signups" msgid "Public Signups"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:73 #: lib/cannery_web/live/home_live.ex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Secure:" msgid "Secure:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:76 #: lib/cannery_web/live/home_live.ex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Self-host your own instance, or use an instance from someone you trust." msgid "Self-host your own instance, or use an instance from someone you trust."
msgstr "" msgstr ""
@ -386,7 +386,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:83 #: lib/cannery_web/live/home_live.ex:66
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Simple:" msgid "Simple:"
msgstr "" msgstr ""
@ -419,7 +419,7 @@ msgstr ""
msgid "Text color" msgid "Text color"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:52 #: lib/cannery_web/live/home_live.ex:35
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "The self-hosted firearm tracker website" msgid "The self-hosted firearm tracker website"
msgstr "" msgstr ""
@ -458,12 +458,12 @@ msgstr ""
msgid "Uses left" msgid "Uses left"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:48 #: lib/cannery_web/live/home_live.ex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Welcome to %{name}" msgid "Welcome to %{name}"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:77 #: lib/cannery_web/live/home_live.ex:60
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Your data stays with you, period" msgid "Your data stays with you, period"
msgstr "" msgstr ""
@ -797,22 +797,22 @@ msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:151 #: lib/cannery_web/live/home_live.ex:136
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Get involved!" msgid "Get involved!"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:172 #: lib/cannery_web/live/home_live.ex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Help translate" msgid "Help translate"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:183 #: lib/cannery_web/live/home_live.ex:168
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Report bugs or request features" msgid "Report bugs or request features"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:161 #: lib/cannery_web/live/home_live.ex:146
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "View the source code" msgid "View the source code"
msgstr "" msgstr ""
@ -856,12 +856,12 @@ msgid "Packs:"
msgstr "" msgstr ""
#: lib/cannery_web/components/topbar.ex:25 #: 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 #, elixir-autogen, elixir-format
msgid "Cannery logo" msgid "Cannery logo"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:44 #: lib/cannery_web/live/home_live.ex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "isn't he cute >:3" msgid "isn't he cute >:3"
msgstr "" msgstr ""
@ -1105,3 +1105,8 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "Original Count:" msgid "Original Count:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:15
#, elixir-autogen, elixir-format
msgid "Home"
msgstr ""

View File

@ -160,7 +160,7 @@ msgstr "Contraseña cambiada exitosamente."
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "Por favor chequea el correo para verificar tu cuenta" 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 #, elixir-autogen, elixir-format
msgid "Register to setup %{name}" msgid "Register to setup %{name}"
msgstr "Regístrese para configurar %{name}" msgstr "Regístrese para configurar %{name}"

View File

@ -23,14 +23,14 @@ msgstr ""
# # Run "mix gettext.extract" to bring this file up to # # Run "mix gettext.extract" to bring this file up to
# # date. Leave "msgstr"s empty as changing them here has no # # date. Leave "msgstr"s empty as changing them here has no
# # effect: edit them in PO (.po) files instead. # # 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 #, elixir-autogen, elixir-format
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day" msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
msgstr "" msgstr ""
"%{name} vous permet de facilement garder un œil sur votre niveau de munition " "%{name} vous permet de facilement garder un œil sur votre niveau de munition "
"avant et après une journée de stand" "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 #, elixir-autogen, elixir-format
msgid "Access from any internet-capable device" msgid "Access from any internet-capable device"
msgstr "Accédez depuis nimporte quel appareil connecté à internet" msgstr "Accédez depuis nimporte quel appareil connecté à internet"
@ -40,7 +40,7 @@ msgstr "Accédez depuis nimporte quel appareil connecté à internet"
msgid "Admins" msgid "Admins"
msgstr "Administrateur·ices" msgstr "Administrateur·ices"
#: lib/cannery_web/live/home_live.ex:100 #: lib/cannery_web/live/home_live.ex:83
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins:" msgid "Admins:"
msgstr "Administrateur·ices:" msgstr "Administrateur·ices:"
@ -150,7 +150,7 @@ msgstr "Description"
msgid "Description:" msgid "Description:"
msgstr "Description:" msgstr "Description:"
#: lib/cannery_web/live/home_live.ex:61 #: lib/cannery_web/live/home_live.ex:44
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Easy to Use:" msgid "Easy to Use:"
msgstr "Simple à utiliser:" msgstr "Simple à utiliser:"
@ -197,7 +197,7 @@ msgstr "Graines"
msgid "Incendiary" msgid "Incendiary"
msgstr "Incendiaire" msgstr "Incendiaire"
#: lib/cannery_web/live/home_live.ex:95 #: lib/cannery_web/live/home_live.ex:78
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Instance Information" msgid "Instance Information"
msgstr "Information de linstance" msgstr "Information de linstance"
@ -207,7 +207,7 @@ msgstr "Information de linstance"
msgid "Invite Disabled" msgid "Invite Disabled"
msgstr "Invitation désactivée" 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 #, elixir-autogen, elixir-format
msgid "Invite Only" msgid "Invite Only"
msgstr "Uniquement sur invitation" msgstr "Uniquement sur invitation"
@ -365,17 +365,17 @@ msgstr "Prix payé:"
msgid "Primer type" msgid "Primer type"
msgstr "Type damorce" msgstr "Type damorce"
#: lib/cannery_web/live/home_live.ex:127 #: lib/cannery_web/live/home_live.ex:110
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Public Signups" msgid "Public Signups"
msgstr "Enregistrements publics" msgstr "Enregistrements publics"
#: lib/cannery_web/live/home_live.ex:73 #: lib/cannery_web/live/home_live.ex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Secure:" msgid "Secure:"
msgstr "Sécurisé:" msgstr "Sécurisé:"
#: lib/cannery_web/live/home_live.ex:76 #: lib/cannery_web/live/home_live.ex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Self-host your own instance, or use an instance from someone you trust." msgid "Self-host your own instance, or use an instance from someone you trust."
msgstr "" msgstr ""
@ -388,7 +388,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "Paramètres" msgstr "Paramètres"
#: lib/cannery_web/live/home_live.ex:83 #: lib/cannery_web/live/home_live.ex:66
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Simple:" msgid "Simple:"
msgstr "Simple:" msgstr "Simple:"
@ -423,7 +423,7 @@ msgstr ""
msgid "Text color" msgid "Text color"
msgstr "Couleur du texte" msgstr "Couleur du texte"
#: lib/cannery_web/live/home_live.ex:52 #: lib/cannery_web/live/home_live.ex:35
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "The self-hosted firearm tracker website" msgid "The self-hosted firearm tracker website"
msgstr "Le site web de suivi darme à feux auto-hébergé" msgstr "Le site web de suivi darme à feux auto-hébergé"
@ -462,12 +462,12 @@ msgstr "Utilisations restantes:"
msgid "Uses left" msgid "Uses left"
msgstr "Utilisations restantes" msgstr "Utilisations restantes"
#: lib/cannery_web/live/home_live.ex:48 #: lib/cannery_web/live/home_live.ex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Welcome to %{name}" msgid "Welcome to %{name}"
msgstr "Bienvenue à %{name}" msgstr "Bienvenue à %{name}"
#: lib/cannery_web/live/home_live.ex:77 #: lib/cannery_web/live/home_live.ex:60
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Your data stays with you, period" msgid "Your data stays with you, period"
msgstr "Vos données restent avec vous, point final" msgstr "Vos données restent avec vous, point final"
@ -801,22 +801,22 @@ msgstr "Allemand"
msgid "Language" msgid "Language"
msgstr "Langue" msgstr "Langue"
#: lib/cannery_web/live/home_live.ex:151 #: lib/cannery_web/live/home_live.ex:136
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Get involved!" msgid "Get involved!"
msgstr "Impliquez-vous!" msgstr "Impliquez-vous!"
#: lib/cannery_web/live/home_live.ex:172 #: lib/cannery_web/live/home_live.ex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Help translate" msgid "Help translate"
msgstr "Aider à la traduction" msgstr "Aider à la traduction"
#: lib/cannery_web/live/home_live.ex:183 #: lib/cannery_web/live/home_live.ex:168
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Report bugs or request features" msgid "Report bugs or request features"
msgstr "Remonter des bugs ou une demande de fonctionnalité" 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 #, elixir-autogen, elixir-format
msgid "View the source code" msgid "View the source code"
msgstr "Voir le code source" msgstr "Voir le code source"
@ -860,12 +860,12 @@ msgid "Packs:"
msgstr "Packages:" msgstr "Packages:"
#: lib/cannery_web/components/topbar.ex:25 #: 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 #, elixir-autogen, elixir-format
msgid "Cannery logo" msgid "Cannery logo"
msgstr "Logo de Cannery" msgstr "Logo de Cannery"
#: lib/cannery_web/live/home_live.ex:44 #: lib/cannery_web/live/home_live.ex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "isn't he cute >:3" msgid "isn't he cute >:3"
msgstr "N'est-il mignon >:3" msgstr "N'est-il mignon >:3"
@ -1110,3 +1110,8 @@ msgstr "Nombre original:"
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "Original Count:" msgid "Original Count:"
msgstr "Nombre original:" msgstr "Nombre original:"
#: lib/cannery_web/live/home_live.ex:15
#, elixir-autogen, elixir-format
msgid "Home"
msgstr ""

View File

@ -161,7 +161,7 @@ msgstr "Mot de passe mis à jour avec succès."
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "Veuillez vérifier votre mél pour confirmer votre compte" 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 #, elixir-autogen, elixir-format
msgid "Register to setup %{name}" msgid "Register to setup %{name}"
msgstr "Senregistrer pour mettre en place %{name}" msgstr "Senregistrer pour mettre en place %{name}"

View File

@ -21,12 +21,12 @@ msgstr ""
## Run "mix gettext.extract" to bring this file up to ## Run "mix gettext.extract" to bring this file up to
## date. Leave "msgstr"s empty as changing them here has no ## date. Leave "msgstr"s empty as changing them here has no
## effect: edit them in PO (.po) files instead. ## 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 #, elixir-autogen, elixir-format
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day" msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:86 #: lib/cannery_web/live/home_live.ex:69
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Access from any internet-capable device" msgid "Access from any internet-capable device"
msgstr "" msgstr ""
@ -36,7 +36,7 @@ msgstr ""
msgid "Admins" msgid "Admins"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:100 #: lib/cannery_web/live/home_live.ex:83
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins:" msgid "Admins:"
msgstr "" msgstr ""
@ -146,7 +146,7 @@ msgstr ""
msgid "Description:" msgid "Description:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:61 #: lib/cannery_web/live/home_live.ex:44
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Easy to Use:" msgid "Easy to Use:"
msgstr "" msgstr ""
@ -193,7 +193,7 @@ msgstr ""
msgid "Incendiary" msgid "Incendiary"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:95 #: lib/cannery_web/live/home_live.ex:78
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Instance Information" msgid "Instance Information"
msgstr "" msgstr ""
@ -203,7 +203,7 @@ msgstr ""
msgid "Invite Disabled" msgid "Invite Disabled"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:128 #: lib/cannery_web/live/home_live.ex:111
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Invite Only" msgid "Invite Only"
msgstr "" msgstr ""
@ -361,17 +361,17 @@ msgstr ""
msgid "Primer type" msgid "Primer type"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:127 #: lib/cannery_web/live/home_live.ex:110
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Public Signups" msgid "Public Signups"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:73 #: lib/cannery_web/live/home_live.ex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Secure:" msgid "Secure:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:76 #: lib/cannery_web/live/home_live.ex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Self-host your own instance, or use an instance from someone you trust." msgid "Self-host your own instance, or use an instance from someone you trust."
msgstr "" msgstr ""
@ -382,7 +382,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:83 #: lib/cannery_web/live/home_live.ex:66
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Simple:" msgid "Simple:"
msgstr "" msgstr ""
@ -415,7 +415,7 @@ msgstr ""
msgid "Text color" msgid "Text color"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:52 #: lib/cannery_web/live/home_live.ex:35
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "The self-hosted firearm tracker website" msgid "The self-hosted firearm tracker website"
msgstr "" msgstr ""
@ -454,12 +454,12 @@ msgstr ""
msgid "Uses left" msgid "Uses left"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:48 #: lib/cannery_web/live/home_live.ex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Welcome to %{name}" msgid "Welcome to %{name}"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:77 #: lib/cannery_web/live/home_live.ex:60
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Your data stays with you, period" msgid "Your data stays with you, period"
msgstr "" msgstr ""
@ -793,22 +793,22 @@ msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:151 #: lib/cannery_web/live/home_live.ex:136
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Get involved!" msgid "Get involved!"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:172 #: lib/cannery_web/live/home_live.ex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Help translate" msgid "Help translate"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:183 #: lib/cannery_web/live/home_live.ex:168
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Report bugs or request features" msgid "Report bugs or request features"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:161 #: lib/cannery_web/live/home_live.ex:146
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "View the source code" msgid "View the source code"
msgstr "" msgstr ""
@ -852,12 +852,12 @@ msgid "Packs:"
msgstr "" msgstr ""
#: lib/cannery_web/components/topbar.ex:25 #: 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 #, elixir-autogen, elixir-format
msgid "Cannery logo" msgid "Cannery logo"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:44 #: lib/cannery_web/live/home_live.ex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "isn't he cute >:3" msgid "isn't he cute >:3"
msgstr "" msgstr ""
@ -1101,3 +1101,8 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "Original Count:" msgid "Original Count:"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:15
#, elixir-autogen, elixir-format
msgid "Home"
msgstr ""

View File

@ -152,7 +152,7 @@ msgstr ""
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:108 #: lib/cannery_web/live/home_live.ex:91
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Register to setup %{name}" msgid "Register to setup %{name}"
msgstr "" msgstr ""

View File

@ -141,7 +141,7 @@ msgstr ""
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "" msgstr ""
#: lib/cannery_web/live/home_live.ex:108 #: lib/cannery_web/live/home_live.ex:91
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Register to setup %{name}" msgid "Register to setup %{name}"
msgstr "" msgstr ""

View File

@ -14,4 +14,10 @@ defmodule CanneryWeb.HomeLiveTest do
assert disconnected_html =~ gettext("Welcome to %{name}", name: "Cannery") assert disconnected_html =~ gettext("Welcome to %{name}", name: "Cannery")
assert render(home_live) =~ gettext("Welcome to %{name}", name: "Cannery") assert render(home_live) =~ gettext("Welcome to %{name}", name: "Cannery")
end 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 end