Compare commits
5 Commits
7863b06215
...
14ff08dc09
Author | SHA1 | Date | |
---|---|---|---|
14ff08dc09 | |||
948fa929ec | |||
268085e761 | |||
a1efd7cc60 | |||
2db9ab968f |
@ -1,3 +1,7 @@
|
|||||||
|
# v0.5.4
|
||||||
|
- Rename "Ammo" tab to "Catalog", and "Manage" tab is now "Ammo"
|
||||||
|
- Ammo groups are now just referred to as Ammo
|
||||||
|
|
||||||
# v0.5.3
|
# v0.5.3
|
||||||
- Update French translation: Thank you [duponin](https://udongein.xyz/users/duponin)!
|
- Update French translation: Thank you [duponin](https://udongein.xyz/users/duponin)!
|
||||||
- Update German translation: Thank you [Kaia](https://shitposter.club/users/kaia)!
|
- Update German translation: Thank you [Kaia](https://shitposter.club/users/kaia)!
|
||||||
|
@ -47,13 +47,13 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
) %>
|
) %>
|
||||||
</li>
|
</li>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<%= live_redirect(gettext("Ammo"),
|
<%= live_redirect(gettext("Catalog"),
|
||||||
to: Routes.ammo_type_index_path(Endpoint, :index),
|
to: Routes.ammo_type_index_path(Endpoint, :index),
|
||||||
class: "text-primary-600 text-white hover:underline"
|
class: "text-primary-600 text-white hover:underline"
|
||||||
) %>
|
) %>
|
||||||
</li>
|
</li>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<%= live_redirect(gettext("Manage"),
|
<%= live_redirect(gettext("Ammo"),
|
||||||
to: Routes.ammo_group_index_path(Endpoint, :index),
|
to: Routes.ammo_group_index_path(Endpoint, :index),
|
||||||
class: "text-primary-600 text-white hover:underline"
|
class: "text-primary-600 text-white hover:underline"
|
||||||
) %>
|
) %>
|
||||||
|
@ -85,7 +85,7 @@ defmodule CanneryWeb.AmmoGroupLive.FormComponent do
|
|||||||
socket =
|
socket =
|
||||||
case Ammo.update_ammo_group(ammo_group, ammo_group_params, current_user) do
|
case Ammo.update_ammo_group(ammo_group, ammo_group_params, current_user) do
|
||||||
{:ok, _ammo_group} ->
|
{:ok, _ammo_group} ->
|
||||||
prompt = dgettext("prompts", "Ammo group updated successfully")
|
prompt = dgettext("prompts", "Ammo updated successfully")
|
||||||
socket |> put_flash(:info, prompt) |> push_redirect(to: return_to)
|
socket |> put_flash(:info, prompt) |> push_redirect(to: return_to)
|
||||||
|
|
||||||
{:error, %Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
@ -146,8 +146,8 @@ defmodule CanneryWeb.AmmoGroupLive.FormComponent do
|
|||||||
prompt =
|
prompt =
|
||||||
dngettext(
|
dngettext(
|
||||||
"prompts",
|
"prompts",
|
||||||
"Ammo group created successfully",
|
"Ammo added successfully",
|
||||||
"Ammo groups created successfully",
|
"Ammo added successfully",
|
||||||
count
|
count
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
) %>
|
) %>
|
||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= live_patch(dgettext("actions", "New Ammo group"),
|
<%= live_patch(dgettext("actions", "Add Ammo"),
|
||||||
to: Routes.ammo_group_index_path(Endpoint, :new),
|
to: Routes.ammo_group_index_path(Endpoint, :new),
|
||||||
class: "btn btn-primary"
|
class: "btn btn-primary"
|
||||||
) %>
|
) %>
|
||||||
|
@ -35,9 +35,9 @@ defmodule CanneryWeb.AmmoGroupLive.Show do
|
|||||||
|
|
||||||
defp page_title(:add_shot_group), do: gettext("Record Shots")
|
defp page_title(:add_shot_group), do: gettext("Record Shots")
|
||||||
defp page_title(:edit_shot_group), do: gettext("Edit Shot Records")
|
defp page_title(:edit_shot_group), do: gettext("Edit Shot Records")
|
||||||
defp page_title(:move), do: gettext("Move Ammo group")
|
defp page_title(:move), do: gettext("Move Ammo")
|
||||||
defp page_title(:show), do: gettext("Show Ammo group")
|
defp page_title(:show), do: gettext("Show Ammo")
|
||||||
defp page_title(:edit), do: gettext("Edit Ammo group")
|
defp page_title(:edit), do: gettext("Edit Ammo")
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def handle_event(
|
def handle_event(
|
||||||
@ -47,7 +47,7 @@ defmodule CanneryWeb.AmmoGroupLive.Show do
|
|||||||
) do
|
) do
|
||||||
ammo_group |> Ammo.delete_ammo_group!(current_user)
|
ammo_group |> Ammo.delete_ammo_group!(current_user)
|
||||||
|
|
||||||
prompt = dgettext("prompts", "Ammo group deleted succesfully")
|
prompt = dgettext("prompts", "Ammo deleted succesfully")
|
||||||
redirect_to = Routes.ammo_group_index_path(socket, :index)
|
redirect_to = Routes.ammo_group_index_path(socket, :index)
|
||||||
|
|
||||||
{:noreply, socket |> put_flash(:info, prompt) |> push_redirect(to: redirect_to)}
|
{:noreply, socket |> put_flash(:info, prompt) |> push_redirect(to: redirect_to)}
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
<div class="flex flex-col justify-center items-center">
|
<div class="flex flex-col justify-center items-center">
|
||||||
<div class="flex flex-wrap justify-center items-center text-primary-600">
|
<div class="flex flex-wrap justify-center items-center text-primary-600">
|
||||||
<%= live_patch(dgettext("actions", "Ammo Details"),
|
<%= live_patch(dgettext("actions", "View in Catalog"),
|
||||||
to: Routes.ammo_type_show_path(Endpoint, :show, @ammo_group.ammo_type),
|
to: Routes.ammo_type_show_path(Endpoint, :show, @ammo_group.ammo_type),
|
||||||
class: "mx-4 my-2 btn btn-primary",
|
class: "mx-4 my-2 btn btn-primary",
|
||||||
data: [qa: "details"]
|
data: [qa: "details"]
|
||||||
@ -105,7 +105,7 @@
|
|||||||
|
|
||||||
<.container_card container={@ammo_group.container} />
|
<.container_card container={@ammo_group.container} />
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= gettext("This ammo group is not in a container") %>
|
<%= gettext("This ammo is not in a container") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-col space-y-8 justify-center items-center">
|
<div class="flex flex-col space-y-8 justify-center items-center">
|
||||||
<h1 class="title text-2xl title-primary-500">
|
<h1 class="title text-2xl title-primary-500">
|
||||||
<%= gettext("Ammo Types") %>
|
<%= gettext("Catalog") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<%= if @rows |> Enum.empty?() do %>
|
<%= if @rows |> Enum.empty?() do %>
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<%= if @container.ammo_groups |> Enum.empty?() do %>
|
<%= if @container.ammo_groups |> Enum.empty?() do %>
|
||||||
<h2 class="mx-8 my-4 title text-lg text-primary-600">
|
<h2 class="mx-8 my-4 title text-lg text-primary-600">
|
||||||
<%= gettext("No ammo groups in this container") %>
|
<%= gettext("No ammo in this container") %>
|
||||||
</h2>
|
</h2>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="flex flex-wrap justify-center items-center">
|
<div class="flex flex-wrap justify-center items-center">
|
||||||
|
@ -65,7 +65,7 @@ defmodule CanneryWeb.RangeLive.Index do
|
|||||||
{:ok, _ammo_group} =
|
{:ok, _ammo_group} =
|
||||||
ammo_group |> Ammo.update_ammo_group(%{"staged" => !ammo_group.staged}, current_user)
|
ammo_group |> Ammo.update_ammo_group(%{"staged" => !ammo_group.staged}, current_user)
|
||||||
|
|
||||||
prompt = dgettext("prompts", "Ammo group unstaged succesfully")
|
prompt = dgettext("prompts", "Ammo unstaged succesfully")
|
||||||
{:noreply, socket |> put_flash(:info, prompt) |> display_shot_groups()}
|
{:noreply, socket |> put_flash(:info, prompt) |> display_shot_groups()}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -65,12 +65,12 @@ defmodule CanneryWeb.Router do
|
|||||||
live "/tags/new", TagLive.Index, :new
|
live "/tags/new", TagLive.Index, :new
|
||||||
live "/tags/:id/edit", TagLive.Index, :edit
|
live "/tags/:id/edit", TagLive.Index, :edit
|
||||||
|
|
||||||
live "/ammo_types", AmmoTypeLive.Index, :index
|
live "/catalog", AmmoTypeLive.Index, :index
|
||||||
live "/ammo_types/new", AmmoTypeLive.Index, :new
|
live "/catalog/new", AmmoTypeLive.Index, :new
|
||||||
live "/ammo_types/:id/edit", AmmoTypeLive.Index, :edit
|
live "/catalog/:id/edit", AmmoTypeLive.Index, :edit
|
||||||
|
|
||||||
live "/ammo_types/:id", AmmoTypeLive.Show, :show
|
live "/catalog/:id", AmmoTypeLive.Show, :show
|
||||||
live "/ammo_types/:id/show/edit", AmmoTypeLive.Show, :edit
|
live "/catalog/:id/show/edit", AmmoTypeLive.Show, :edit
|
||||||
|
|
||||||
live "/containers", ContainerLive.Index, :index
|
live "/containers", ContainerLive.Index, :index
|
||||||
live "/containers/new", ContainerLive.Index, :new
|
live "/containers/new", ContainerLive.Index, :new
|
||||||
@ -81,17 +81,17 @@ defmodule CanneryWeb.Router do
|
|||||||
live "/containers/:id/show/edit", ContainerLive.Show, :edit
|
live "/containers/:id/show/edit", ContainerLive.Show, :edit
|
||||||
live "/containers/:id/show/edit_tags", ContainerLive.Show, :edit_tags
|
live "/containers/:id/show/edit_tags", ContainerLive.Show, :edit_tags
|
||||||
|
|
||||||
live "/ammo_groups", AmmoGroupLive.Index, :index
|
live "/ammo", AmmoGroupLive.Index, :index
|
||||||
live "/ammo_groups/new", AmmoGroupLive.Index, :new
|
live "/ammo/new", AmmoGroupLive.Index, :new
|
||||||
live "/ammo_groups/:id/edit", AmmoGroupLive.Index, :edit
|
live "/ammo/:id/edit", AmmoGroupLive.Index, :edit
|
||||||
live "/ammo_groups/:id/add_shot_group", AmmoGroupLive.Index, :add_shot_group
|
live "/ammo/:id/add_shot_group", AmmoGroupLive.Index, :add_shot_group
|
||||||
live "/ammo_groups/:id/move", AmmoGroupLive.Index, :move
|
live "/ammo/:id/move", AmmoGroupLive.Index, :move
|
||||||
|
|
||||||
live "/ammo_groups/:id", AmmoGroupLive.Show, :show
|
live "/ammo/:id", AmmoGroupLive.Show, :show
|
||||||
live "/ammo_groups/:id/show/edit", AmmoGroupLive.Show, :edit
|
live "/ammo/:id/show/edit", AmmoGroupLive.Show, :edit
|
||||||
live "/ammo_groups/:id/show/add_shot_group", AmmoGroupLive.Show, :add_shot_group
|
live "/ammo/:id/show/add_shot_group", AmmoGroupLive.Show, :add_shot_group
|
||||||
live "/ammo_groups/:id/show/move", AmmoGroupLive.Show, :move
|
live "/ammo/:id/show/move", AmmoGroupLive.Show, :move
|
||||||
live "/ammo_groups/:id/show/:shot_group_id/edit", AmmoGroupLive.Show, :edit_shot_group
|
live "/ammo/:id/show/:shot_group_id/edit", AmmoGroupLive.Show, :edit_shot_group
|
||||||
|
|
||||||
live "/range", RangeLive.Index, :index
|
live "/range", RangeLive.Index, :index
|
||||||
live "/range/:id/edit", RangeLive.Index, :edit
|
live "/range/:id/edit", RangeLive.Index, :edit
|
||||||
|
@ -12,6 +12,7 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -80,11 +81,6 @@ msgstr ""
|
|||||||
msgid "Make your first tag!"
|
msgid "Make your first tag!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
|
||||||
msgid "New Ammo group"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
@ -166,11 +162,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
|
||||||
msgid "Ammo Details"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
||||||
msgid "Add another container!"
|
msgid "Add another container!"
|
||||||
@ -211,3 +202,8 @@ msgstr ""
|
|||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
||||||
msgid "Change language"
|
msgid "Change language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
||||||
|
msgid "View in Catalog"
|
||||||
|
msgstr ""
|
||||||
|
@ -25,6 +25,7 @@ msgstr ""
|
|||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
msgstr "Munition hinzufügen"
|
msgstr "Munition hinzufügen"
|
||||||
|
|
||||||
@ -93,11 +94,6 @@ msgstr "Einloggen"
|
|||||||
msgid "Make your first tag!"
|
msgid "Make your first tag!"
|
||||||
msgstr "Erstellen Sie ihren ersten Tag!"
|
msgstr "Erstellen Sie ihren ersten Tag!"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
|
||||||
msgid "New Ammo group"
|
|
||||||
msgstr "Neue Munitionsgruppe"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
@ -179,11 +175,6 @@ msgstr "Warum nicht einige für den Schießstand auswählen?"
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Schüsse dokumentieren"
|
msgstr "Schüsse dokumentieren"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
|
||||||
msgid "Ammo Details"
|
|
||||||
msgstr "Munitionsdetails"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
||||||
msgid "Add another container!"
|
msgid "Add another container!"
|
||||||
@ -224,3 +215,8 @@ msgstr "Sprache wechseln"
|
|||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
||||||
msgid "Change language"
|
msgid "Change language"
|
||||||
msgstr "Sprache wechseln"
|
msgstr "Sprache wechseln"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
||||||
|
msgid "View in Catalog"
|
||||||
|
msgstr ""
|
||||||
|
@ -46,7 +46,7 @@ msgid "Admins:"
|
|||||||
msgstr "Admins:"
|
msgstr "Admins:"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/topbar.ex:50
|
#: lib/cannery_web/components/topbar.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
||||||
#: lib/cannery_web/live/range_live/index.ex:80
|
#: lib/cannery_web/live/range_live/index.ex:80
|
||||||
msgid "Ammo"
|
msgid "Ammo"
|
||||||
@ -173,7 +173,6 @@ msgstr "Einfache Anwendung:"
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
|
||||||
msgid "Edit Ammo group"
|
msgid "Edit Ammo group"
|
||||||
msgstr "Munitionsgruppe bearbeiten"
|
msgstr "Munitionsgruppe bearbeiten"
|
||||||
|
|
||||||
@ -266,11 +265,6 @@ msgstr "Standort:"
|
|||||||
msgid "Magazine, Clip, Ammo Box, etc"
|
msgid "Magazine, Clip, Ammo Box, etc"
|
||||||
msgstr "Magazin, Ladestreifen, Munitionskiste usw."
|
msgstr "Magazin, Ladestreifen, Munitionskiste usw."
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/components/topbar.ex:56
|
|
||||||
msgid "Manage"
|
|
||||||
msgstr "Verwalten"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
||||||
@ -332,11 +326,6 @@ msgstr "Keine Munitionsarten"
|
|||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr "Keine Munition dieser Art"
|
msgstr "Keine Munition dieser Art"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:78
|
|
||||||
msgid "No ammo groups in this container"
|
|
||||||
msgstr "Keine Munitionsgruppe in diesem Behälter"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:8
|
#: lib/cannery_web/live/container_live/index.html.heex:8
|
||||||
msgid "No containers"
|
msgid "No containers"
|
||||||
@ -426,11 +415,6 @@ msgstr "Unbegrenzt setzen"
|
|||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Einstellungen"
|
msgstr "Einstellungen"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
|
||||||
msgid "Show Ammo group"
|
|
||||||
msgstr "Munitionsgruppen anzeigen"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
||||||
msgid "Show Ammo type"
|
msgid "Show Ammo type"
|
||||||
@ -473,11 +457,6 @@ msgstr "Textfarbe"
|
|||||||
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"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
|
||||||
msgid "This ammo group is not in a container"
|
|
||||||
msgstr "Diese Munitionsgruppe ist nicht in einem Behälter"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
@ -572,11 +551,6 @@ msgstr "Für Schießplatz deselektieren"
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Schüsse dokumentieren"
|
msgstr "Schüsse dokumentieren"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
|
||||||
msgid "Ammo Types"
|
|
||||||
msgstr "Munitionsarten"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
@ -622,7 +596,6 @@ msgstr "Schießkladde"
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
|
||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr "Munitionsgruppe verschieben"
|
msgstr "Munitionsgruppe verschieben"
|
||||||
|
|
||||||
@ -907,3 +880,34 @@ msgstr "Sende Bugs oder Erweiterungsvorschläge"
|
|||||||
#: lib/cannery_web/live/home_live.ex:147
|
#: lib/cannery_web/live/home_live.ex:147
|
||||||
msgid "View the source code"
|
msgid "View the source code"
|
||||||
msgstr "Quellcode ansehen"
|
msgstr "Quellcode ansehen"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/components/topbar.ex:50
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
||||||
|
msgid "Catalog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
||||||
|
msgid "Edit Ammo"
|
||||||
|
msgstr "Munitionstyp bearbeiten"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
||||||
|
msgid "Move Ammo"
|
||||||
|
msgstr "Munition verschieben"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:78
|
||||||
|
msgid "No ammo in this container"
|
||||||
|
msgstr "Keine Munitionsgruppe in diesem Behälter"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
||||||
|
msgid "Show Ammo"
|
||||||
|
msgstr "Zeige Munitionsarten"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
||||||
|
msgid "This ammo is not in a container"
|
||||||
|
msgstr "Diese Munitionsgruppe ist nicht in einem Behälter"
|
||||||
|
@ -76,15 +76,9 @@ msgstr "Eine Mail zum Bestätigen ihre Mailadresse wurde Ihnen zugesandt."
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr "Munitionsgruppe erfolgreich gelöscht"
|
msgstr "Munitionsgruppe erfolgreich gelöscht"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
|
||||||
msgid "Ammo group updated successfully"
|
|
||||||
msgstr "Munitionsgruppe erfolgreich aktualisiert"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
||||||
@ -220,11 +214,6 @@ msgstr "Schüsse erfolgreich dokumentiert"
|
|||||||
msgid "Are you sure you want to unstage this ammo?"
|
msgid "Are you sure you want to unstage this ammo?"
|
||||||
msgstr "Sind sie sicher, dass Sie diese Munition demarkieren möchten?"
|
msgstr "Sind sie sicher, dass Sie diese Munition demarkieren möchten?"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:68
|
|
||||||
msgid "Ammo group unstaged succesfully"
|
|
||||||
msgstr "Munition erfolgreich demarkiert"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
||||||
#: lib/cannery_web/live/range_live/index.ex:128
|
#: lib/cannery_web/live/range_live/index.ex:128
|
||||||
@ -273,13 +262,6 @@ msgstr "Sie müssen"
|
|||||||
msgid "Creating..."
|
msgid "Creating..."
|
||||||
msgstr "Erstellen..."
|
msgstr "Erstellen..."
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
|
||||||
msgid "Ammo group created successfully"
|
|
||||||
msgid_plural "Ammo groups created successfully"
|
|
||||||
msgstr[0] "Munitionsgruppe erfolgreich erstellt"
|
|
||||||
msgstr[1] "Munitionsgruppen erfolgreich erstellt"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
||||||
msgid "Are you sure you want to change your language?"
|
msgid "Are you sure you want to change your language?"
|
||||||
@ -289,3 +271,25 @@ msgstr "Möchten Sie die Sprache wechseln?"
|
|||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
||||||
msgid "Language updated successfully."
|
msgid "Language updated successfully."
|
||||||
msgstr "Spracheinstellung gespeichert."
|
msgstr "Spracheinstellung gespeichert."
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
||||||
|
msgid "Ammo deleted succesfully"
|
||||||
|
msgstr "Munitionsgruppe erfolgreich gelöscht"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:68
|
||||||
|
msgid "Ammo unstaged succesfully"
|
||||||
|
msgstr "Munition erfolgreich demarkiert"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
||||||
|
msgid "Ammo updated successfully"
|
||||||
|
msgstr "Munitionsgruppe erfolgreich aktualisiert"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
||||||
|
msgid "Ammo added successfully"
|
||||||
|
msgid_plural "Ammo added successfully"
|
||||||
|
msgstr[0] "Munitionsgruppe erfolgreich aktualisiert"
|
||||||
|
msgstr[1] "Munitionsgruppe erfolgreich aktualisiert"
|
||||||
|
@ -31,7 +31,7 @@ msgid "Admins:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/topbar.ex:50
|
#: lib/cannery_web/components/topbar.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
||||||
#: lib/cannery_web/live/range_live/index.ex:80
|
#: lib/cannery_web/live/range_live/index.ex:80
|
||||||
msgid "Ammo"
|
msgid "Ammo"
|
||||||
@ -158,7 +158,6 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
|
||||||
msgid "Edit Ammo group"
|
msgid "Edit Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -251,11 +250,6 @@ msgstr ""
|
|||||||
msgid "Magazine, Clip, Ammo Box, etc"
|
msgid "Magazine, Clip, Ammo Box, etc"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/components/topbar.ex:56
|
|
||||||
msgid "Manage"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
||||||
@ -317,11 +311,6 @@ msgstr ""
|
|||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:78
|
|
||||||
msgid "No ammo groups in this container"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:8
|
#: lib/cannery_web/live/container_live/index.html.heex:8
|
||||||
msgid "No containers"
|
msgid "No containers"
|
||||||
@ -409,11 +398,6 @@ msgstr ""
|
|||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
|
||||||
msgid "Show Ammo group"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
||||||
msgid "Show Ammo type"
|
msgid "Show Ammo type"
|
||||||
@ -456,11 +440,6 @@ msgstr ""
|
|||||||
msgid "The self-hosted firearm tracker website"
|
msgid "The self-hosted firearm tracker website"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
|
||||||
msgid "This ammo group is not in a container"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
@ -555,11 +534,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
|
||||||
msgid "Ammo Types"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
@ -605,7 +579,6 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
|
||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -890,3 +863,34 @@ msgstr ""
|
|||||||
#: lib/cannery_web/live/home_live.ex:147
|
#: lib/cannery_web/live/home_live.ex:147
|
||||||
msgid "View the source code"
|
msgid "View the source code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/components/topbar.ex:50
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
||||||
|
msgid "Catalog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
||||||
|
msgid "Edit Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
||||||
|
msgid "Move Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:78
|
||||||
|
msgid "No ammo in this container"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
||||||
|
msgid "Show Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
||||||
|
msgid "This ammo is not in a container"
|
||||||
|
msgstr ""
|
||||||
|
@ -13,6 +13,7 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -81,11 +82,6 @@ msgstr ""
|
|||||||
msgid "Make your first tag!"
|
msgid "Make your first tag!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
|
||||||
msgid "New Ammo group"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
@ -167,11 +163,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
|
||||||
msgid "Ammo Details"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
||||||
msgid "Add another container!"
|
msgid "Add another container!"
|
||||||
@ -212,3 +203,8 @@ msgstr ""
|
|||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
||||||
msgid "Change language"
|
msgid "Change language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
||||||
|
msgid "View in Catalog"
|
||||||
|
msgstr ""
|
||||||
|
@ -32,7 +32,7 @@ msgid "Admins:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/topbar.ex:50
|
#: lib/cannery_web/components/topbar.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
||||||
#: lib/cannery_web/live/range_live/index.ex:80
|
#: lib/cannery_web/live/range_live/index.ex:80
|
||||||
msgid "Ammo"
|
msgid "Ammo"
|
||||||
@ -159,7 +159,6 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
|
||||||
msgid "Edit Ammo group"
|
msgid "Edit Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -252,11 +251,6 @@ msgstr ""
|
|||||||
msgid "Magazine, Clip, Ammo Box, etc"
|
msgid "Magazine, Clip, Ammo Box, etc"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/components/topbar.ex:56
|
|
||||||
msgid "Manage"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
||||||
@ -318,11 +312,6 @@ msgstr ""
|
|||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:78
|
|
||||||
msgid "No ammo groups in this container"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:8
|
#: lib/cannery_web/live/container_live/index.html.heex:8
|
||||||
msgid "No containers"
|
msgid "No containers"
|
||||||
@ -410,11 +399,6 @@ msgstr ""
|
|||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
|
||||||
msgid "Show Ammo group"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
||||||
msgid "Show Ammo type"
|
msgid "Show Ammo type"
|
||||||
@ -457,11 +441,6 @@ msgstr ""
|
|||||||
msgid "The self-hosted firearm tracker website"
|
msgid "The self-hosted firearm tracker website"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
|
||||||
msgid "This ammo group is not in a container"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
@ -556,11 +535,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
|
||||||
msgid "Ammo Types"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
@ -606,7 +580,6 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
|
||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -891,3 +864,34 @@ msgstr ""
|
|||||||
#: lib/cannery_web/live/home_live.ex:147
|
#: lib/cannery_web/live/home_live.ex:147
|
||||||
msgid "View the source code"
|
msgid "View the source code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/components/topbar.ex:50
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
||||||
|
msgid "Catalog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
||||||
|
msgid "Edit Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
||||||
|
msgid "Move Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:78
|
||||||
|
msgid "No ammo in this container"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
||||||
|
msgid "Show Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
||||||
|
msgid "This ammo is not in a container"
|
||||||
|
msgstr ""
|
||||||
|
@ -64,15 +64,9 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
|
||||||
msgid "Ammo group updated successfully"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
||||||
@ -200,11 +194,6 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to unstage this ammo?"
|
msgid "Are you sure you want to unstage this ammo?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:68
|
|
||||||
msgid "Ammo group unstaged succesfully"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
||||||
#: lib/cannery_web/live/range_live/index.ex:128
|
#: lib/cannery_web/live/range_live/index.ex:128
|
||||||
@ -253,13 +242,6 @@ msgstr ""
|
|||||||
msgid "Creating..."
|
msgid "Creating..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
|
||||||
msgid "Ammo group created successfully"
|
|
||||||
msgid_plural "Ammo groups created successfully"
|
|
||||||
msgstr[0] ""
|
|
||||||
msgstr[1] ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
||||||
msgid "Are you sure you want to change your language?"
|
msgid "Are you sure you want to change your language?"
|
||||||
@ -269,3 +251,25 @@ msgstr ""
|
|||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
||||||
msgid "Language updated successfully."
|
msgid "Language updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
||||||
|
msgid "Ammo deleted succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:68
|
||||||
|
msgid "Ammo unstaged succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
||||||
|
msgid "Ammo updated successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
||||||
|
msgid "Ammo added successfully"
|
||||||
|
msgid_plural "Ammo added successfully"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
@ -23,6 +23,7 @@ msgstr ""
|
|||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -91,11 +92,6 @@ msgstr ""
|
|||||||
msgid "Make your first tag!"
|
msgid "Make your first tag!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
|
||||||
msgid "New Ammo group"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
@ -177,11 +173,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
|
||||||
msgid "Ammo Details"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
||||||
msgid "Add another container!"
|
msgid "Add another container!"
|
||||||
@ -222,3 +213,8 @@ msgstr ""
|
|||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
||||||
msgid "Change language"
|
msgid "Change language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
||||||
|
msgid "View in Catalog"
|
||||||
|
msgstr ""
|
||||||
|
@ -42,7 +42,7 @@ msgid "Admins:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/topbar.ex:50
|
#: lib/cannery_web/components/topbar.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
||||||
#: lib/cannery_web/live/range_live/index.ex:80
|
#: lib/cannery_web/live/range_live/index.ex:80
|
||||||
msgid "Ammo"
|
msgid "Ammo"
|
||||||
@ -169,7 +169,6 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
|
||||||
msgid "Edit Ammo group"
|
msgid "Edit Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -262,11 +261,6 @@ msgstr ""
|
|||||||
msgid "Magazine, Clip, Ammo Box, etc"
|
msgid "Magazine, Clip, Ammo Box, etc"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/components/topbar.ex:56
|
|
||||||
msgid "Manage"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
||||||
@ -328,11 +322,6 @@ msgstr ""
|
|||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:78
|
|
||||||
msgid "No ammo groups in this container"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:8
|
#: lib/cannery_web/live/container_live/index.html.heex:8
|
||||||
msgid "No containers"
|
msgid "No containers"
|
||||||
@ -420,11 +409,6 @@ msgstr ""
|
|||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
|
||||||
msgid "Show Ammo group"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
||||||
msgid "Show Ammo type"
|
msgid "Show Ammo type"
|
||||||
@ -467,11 +451,6 @@ msgstr ""
|
|||||||
msgid "The self-hosted firearm tracker website"
|
msgid "The self-hosted firearm tracker website"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
|
||||||
msgid "This ammo group is not in a container"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
@ -566,11 +545,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
|
||||||
msgid "Ammo Types"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
@ -616,7 +590,6 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
|
||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -901,3 +874,34 @@ msgstr ""
|
|||||||
#: lib/cannery_web/live/home_live.ex:147
|
#: lib/cannery_web/live/home_live.ex:147
|
||||||
msgid "View the source code"
|
msgid "View the source code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/components/topbar.ex:50
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
||||||
|
msgid "Catalog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
||||||
|
msgid "Edit Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
||||||
|
msgid "Move Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:78
|
||||||
|
msgid "No ammo in this container"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
||||||
|
msgid "Show Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
||||||
|
msgid "This ammo is not in a container"
|
||||||
|
msgstr ""
|
||||||
|
@ -74,15 +74,9 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
|
||||||
msgid "Ammo group updated successfully"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
||||||
@ -210,11 +204,6 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to unstage this ammo?"
|
msgid "Are you sure you want to unstage this ammo?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:68
|
|
||||||
msgid "Ammo group unstaged succesfully"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
||||||
#: lib/cannery_web/live/range_live/index.ex:128
|
#: lib/cannery_web/live/range_live/index.ex:128
|
||||||
@ -263,13 +252,6 @@ msgstr ""
|
|||||||
msgid "Creating..."
|
msgid "Creating..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
|
||||||
msgid "Ammo group created successfully"
|
|
||||||
msgid_plural "Ammo groups created successfully"
|
|
||||||
msgstr[0] ""
|
|
||||||
msgstr[1] ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
||||||
msgid "Are you sure you want to change your language?"
|
msgid "Are you sure you want to change your language?"
|
||||||
@ -279,3 +261,25 @@ msgstr ""
|
|||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
||||||
msgid "Language updated successfully."
|
msgid "Language updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
||||||
|
msgid "Ammo deleted succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:68
|
||||||
|
msgid "Ammo unstaged succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
||||||
|
msgid "Ammo updated successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
||||||
|
msgid "Ammo added successfully"
|
||||||
|
msgid_plural "Ammo added successfully"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
@ -25,6 +25,7 @@ msgstr ""
|
|||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
msgstr "ajouter munition"
|
msgstr "ajouter munition"
|
||||||
|
|
||||||
@ -93,11 +94,6 @@ msgstr "Se connecter"
|
|||||||
msgid "Make your first tag!"
|
msgid "Make your first tag!"
|
||||||
msgstr "Faîtes votre premier tag !"
|
msgstr "Faîtes votre premier tag !"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:42
|
|
||||||
msgid "New Ammo group"
|
|
||||||
msgstr "Nouveau groupe de munition"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
@ -179,11 +175,6 @@ msgstr "Pourquoi pas en préparer pour tirer ?"
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Enregistrer des tirs"
|
msgstr "Enregistrer des tirs"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
|
||||||
msgid "Ammo Details"
|
|
||||||
msgstr "Détails de la munition"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
#: lib/cannery_web/components/move_ammo_group_component.ex:89
|
||||||
msgid "Add another container!"
|
msgid "Add another container!"
|
||||||
@ -224,3 +215,8 @@ msgstr "Changer la langue"
|
|||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
||||||
msgid "Change language"
|
msgid "Change language"
|
||||||
msgstr "Changer la langue"
|
msgstr "Changer la langue"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:55
|
||||||
|
msgid "View in Catalog"
|
||||||
|
msgstr ""
|
||||||
|
@ -46,7 +46,7 @@ msgid "Admins:"
|
|||||||
msgstr "Administrateur·ices :"
|
msgstr "Administrateur·ices :"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/components/topbar.ex:50
|
#: lib/cannery_web/components/topbar.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
|
||||||
#: lib/cannery_web/live/range_live/index.ex:80
|
#: lib/cannery_web/live/range_live/index.ex:80
|
||||||
msgid "Ammo"
|
msgid "Ammo"
|
||||||
@ -173,7 +173,6 @@ msgstr "Simple à utiliser :"
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
#: lib/cannery_web/live/ammo_group_live/index.ex:38
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
|
||||||
msgid "Edit Ammo group"
|
msgid "Edit Ammo group"
|
||||||
msgstr "Éditer le groupe de munition"
|
msgstr "Éditer le groupe de munition"
|
||||||
|
|
||||||
@ -266,11 +265,6 @@ msgstr "Localisation :"
|
|||||||
msgid "Magazine, Clip, Ammo Box, etc"
|
msgid "Magazine, Clip, Ammo Box, etc"
|
||||||
msgstr "Chargeur, lame-chargeur, boite de munition, etc."
|
msgstr "Chargeur, lame-chargeur, boite de munition, etc."
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/components/topbar.ex:56
|
|
||||||
msgid "Manage"
|
|
||||||
msgstr "Gérer"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
||||||
@ -332,11 +326,6 @@ msgstr "Aucun type de munition"
|
|||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr "Aucune munition pour ce type"
|
msgstr "Aucune munition pour ce type"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:78
|
|
||||||
msgid "No ammo groups in this container"
|
|
||||||
msgstr "Aucun groupe de munition pour ce conteneur"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:8
|
#: lib/cannery_web/live/container_live/index.html.heex:8
|
||||||
msgid "No containers"
|
msgid "No containers"
|
||||||
@ -426,11 +415,6 @@ msgstr "Mettre illimité"
|
|||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Paramètres"
|
msgstr "Paramètres"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
|
||||||
msgid "Show Ammo group"
|
|
||||||
msgstr "Montrer le groupe de munition"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
#: lib/cannery_web/live/ammo_type_live/show.ex:44
|
||||||
msgid "Show Ammo type"
|
msgid "Show Ammo type"
|
||||||
@ -475,11 +459,6 @@ msgstr "Couleur du texte"
|
|||||||
msgid "The self-hosted firearm tracker website"
|
msgid "The self-hosted firearm tracker website"
|
||||||
msgstr "Le site web de suivi d’arme à feux auto-hébergé"
|
msgstr "Le site web de suivi d’arme à feux auto-hébergé"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
|
||||||
msgid "This ammo group is not in a container"
|
|
||||||
msgstr "Ce groupe de munition n’est pas dans un conteneur"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
@ -574,11 +553,6 @@ msgstr "Désélectionner pour le stand"
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Tirs enregistrés"
|
msgstr "Tirs enregistrés"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
|
||||||
msgid "Ammo Types"
|
|
||||||
msgstr "Types de munition"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
@ -624,7 +598,6 @@ msgstr "Enregistrements de tir"
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
#: lib/cannery_web/live/ammo_group_live/index.ex:32
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
|
||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr "Déplacer le groupe de munition"
|
msgstr "Déplacer le groupe de munition"
|
||||||
|
|
||||||
@ -909,3 +882,34 @@ msgstr "Remonter des bugs ou une demande de fonctionnalité"
|
|||||||
#: lib/cannery_web/live/home_live.ex:147
|
#: lib/cannery_web/live/home_live.ex:147
|
||||||
msgid "View the source code"
|
msgid "View the source code"
|
||||||
msgstr "Voir le code source"
|
msgstr "Voir le code source"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/components/topbar.ex:50
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
||||||
|
msgid "Catalog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
||||||
|
msgid "Edit Ammo"
|
||||||
|
msgstr "Éditer le type de munition"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:38
|
||||||
|
msgid "Move Ammo"
|
||||||
|
msgstr "Déplacer munition"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:78
|
||||||
|
msgid "No ammo in this container"
|
||||||
|
msgstr "Aucun groupe de munition pour ce conteneur"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:39
|
||||||
|
msgid "Show Ammo"
|
||||||
|
msgstr "Montrer le type de munition"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:108
|
||||||
|
msgid "This ammo is not in a container"
|
||||||
|
msgstr "Ce groupe de munition n’est pas dans un conteneur"
|
||||||
|
@ -78,15 +78,9 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr "Groupe de munition supprimé avec succès"
|
msgstr "Groupe de munition supprimé avec succès"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
|
||||||
msgid "Ammo group updated successfully"
|
|
||||||
msgstr "Groupe de munition mis à jour avec succès"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
||||||
@ -221,11 +215,6 @@ msgstr "Tirs enregistré avec succès"
|
|||||||
msgid "Are you sure you want to unstage this ammo?"
|
msgid "Are you sure you want to unstage this ammo?"
|
||||||
msgstr "Êtes-vous certain·e de vouloir désélectionner cette munition ?"
|
msgstr "Êtes-vous certain·e de vouloir désélectionner cette munition ?"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:68
|
|
||||||
msgid "Ammo group unstaged succesfully"
|
|
||||||
msgstr "Groupe de munition désélectionner avec succès"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
||||||
#: lib/cannery_web/live/range_live/index.ex:128
|
#: lib/cannery_web/live/range_live/index.ex:128
|
||||||
@ -274,13 +263,6 @@ msgstr "Vous aurez besoin de"
|
|||||||
msgid "Creating..."
|
msgid "Creating..."
|
||||||
msgstr "Création en cours…"
|
msgstr "Création en cours…"
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
|
||||||
msgid "Ammo group created successfully"
|
|
||||||
msgid_plural "Ammo groups created successfully"
|
|
||||||
msgstr[0] "Groupe de munition créé avec succès"
|
|
||||||
msgstr[1] "Groupes de munitions créé avec succès"
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
||||||
msgid "Are you sure you want to change your language?"
|
msgid "Are you sure you want to change your language?"
|
||||||
@ -290,3 +272,25 @@ msgstr "Êtes-vous certain·e de vouloir changer votre langue ?"
|
|||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
||||||
msgid "Language updated successfully."
|
msgid "Language updated successfully."
|
||||||
msgstr "Langue mise à jour avec succès."
|
msgstr "Langue mise à jour avec succès."
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
||||||
|
msgid "Ammo deleted succesfully"
|
||||||
|
msgstr "Groupe de munition supprimé avec succès"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:68
|
||||||
|
msgid "Ammo unstaged succesfully"
|
||||||
|
msgstr "Groupe de munition désélectionner avec succès"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
||||||
|
msgid "Ammo updated successfully"
|
||||||
|
msgstr "Groupe de munition mis à jour avec succès"
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
||||||
|
msgid "Ammo added successfully"
|
||||||
|
msgid_plural "Ammo added successfully"
|
||||||
|
msgstr[0] "Groupe de munition mis à jour avec succès"
|
||||||
|
msgstr[1] "Groupe de munition mis à jour avec succès"
|
||||||
|
@ -63,15 +63,9 @@ msgstr ""
|
|||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
|
||||||
msgid "Ammo group updated successfully"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
#: lib/cannery_web/live/invite_live/index.html.heex:102
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
#: lib/cannery_web/live/invite_live/index.html.heex:131
|
||||||
@ -199,11 +193,6 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to unstage this ammo?"
|
msgid "Are you sure you want to unstage this ammo?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:68
|
|
||||||
msgid "Ammo group unstaged succesfully"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
#: lib/cannery_web/live/ammo_group_live/show.ex:130
|
||||||
#: lib/cannery_web/live/range_live/index.ex:128
|
#: lib/cannery_web/live/range_live/index.ex:128
|
||||||
@ -252,13 +241,6 @@ msgstr ""
|
|||||||
msgid "Creating..."
|
msgid "Creating..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
|
||||||
msgid "Ammo group created successfully"
|
|
||||||
msgid_plural "Ammo groups created successfully"
|
|
||||||
msgstr[0] ""
|
|
||||||
msgstr[1] ""
|
|
||||||
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
||||||
msgid "Are you sure you want to change your language?"
|
msgid "Are you sure you want to change your language?"
|
||||||
@ -268,3 +250,25 @@ msgstr ""
|
|||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
||||||
msgid "Language updated successfully."
|
msgid "Language updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
||||||
|
msgid "Ammo deleted succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:68
|
||||||
|
msgid "Ammo unstaged succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:88
|
||||||
|
msgid "Ammo updated successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:147
|
||||||
|
msgid "Ammo added successfully"
|
||||||
|
msgid_plural "Ammo added successfully"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
@ -35,15 +35,15 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
{:ok, _index_live, html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, _index_live, html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
ammo_group = ammo_group |> Repo.preload(:ammo_type)
|
ammo_group = ammo_group |> Repo.preload(:ammo_type)
|
||||||
assert html =~ gettext("Ammo groups")
|
assert html =~ gettext("Ammo")
|
||||||
assert html =~ ammo_group.ammo_type.name
|
assert html =~ ammo_group.ammo_type.name
|
||||||
end
|
end
|
||||||
|
|
||||||
test "saves a single new ammo_group", %{conn: conn} do
|
test "saves a single new ammo_group", %{conn: conn} do
|
||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert index_live |> element("a", dgettext("actions", "New Ammo group")) |> render_click() =~
|
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
||||||
gettext("New Ammo group")
|
gettext("Add Ammo")
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|> render_submit()
|
|> render_submit()
|
||||||
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert html =~ dgettext("prompts", "Ammo group created successfully")
|
assert html =~ dgettext("prompts", "Ammo added successfully")
|
||||||
assert html =~ "42"
|
assert html =~ "42"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -66,8 +66,8 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|
|
||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert index_live |> element("a", dgettext("actions", "New Ammo group")) |> render_click() =~
|
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
||||||
gettext("New Ammo group")
|
gettext("Add Ammo")
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
||||||
|
|
||||||
@ -83,15 +83,15 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|> render_submit()
|
|> render_submit()
|
||||||
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert html =~ dgettext("prompts", "Ammo groups created successfully")
|
assert html =~ dgettext("prompts", "Ammo added successfully")
|
||||||
assert Ammo.list_ammo_groups(current_user) |> Enum.count() == multiplier + 1
|
assert Ammo.list_ammo_groups(current_user) |> Enum.count() == multiplier + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
test "does not save invalid number of new ammo_groups", %{conn: conn} do
|
test "does not save invalid number of new ammo_groups", %{conn: conn} do
|
||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert index_live |> element("a", dgettext("actions", "New Ammo group")) |> render_click() =~
|
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
||||||
gettext("New Ammo group")
|
gettext("Add Ammo")
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
||||||
|
|
||||||
@ -150,7 +150,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
assert index_live
|
assert index_live
|
||||||
|> element("[data-qa=\"edit-#{ammo_group.id}\"]")
|
|> element("[data-qa=\"edit-#{ammo_group.id}\"]")
|
||||||
|> render_click() =~
|
|> render_click() =~
|
||||||
gettext("Edit Ammo group")
|
gettext("Edit Ammo")
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :edit, ammo_group))
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :edit, ammo_group))
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|> render_submit()
|
|> render_submit()
|
||||||
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert html =~ dgettext("prompts", "Ammo group updated successfully")
|
assert html =~ dgettext("prompts", "Ammo updated successfully")
|
||||||
assert html =~ "43"
|
assert html =~ "43"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
{:ok, _show_live, html} = live(conn, Routes.ammo_group_show_path(conn, :show, ammo_group))
|
{:ok, _show_live, html} = live(conn, Routes.ammo_group_show_path(conn, :show, ammo_group))
|
||||||
|
|
||||||
ammo_group = ammo_group |> Repo.preload(:ammo_type)
|
ammo_group = ammo_group |> Repo.preload(:ammo_type)
|
||||||
assert html =~ gettext("Show Ammo group")
|
assert html =~ gettext("Show Ammo")
|
||||||
assert html =~ ammo_group.ammo_type.name
|
assert html =~ ammo_group.ammo_type.name
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -196,7 +196,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
assert show_live
|
assert show_live
|
||||||
|> element("[data-qa=\"edit\"]")
|
|> element("[data-qa=\"edit\"]")
|
||||||
|> render_click() =~
|
|> render_click() =~
|
||||||
gettext("Edit Ammo group")
|
gettext("Edit Ammo")
|
||||||
|
|
||||||
assert_patch(show_live, Routes.ammo_group_show_path(conn, :edit, ammo_group))
|
assert_patch(show_live, Routes.ammo_group_show_path(conn, :edit, ammo_group))
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|> render_submit()
|
|> render_submit()
|
||||||
|> follow_redirect(conn, Routes.ammo_group_show_path(conn, :show, ammo_group))
|
|> follow_redirect(conn, Routes.ammo_group_show_path(conn, :show, ammo_group))
|
||||||
|
|
||||||
assert html =~ dgettext("prompts", "Ammo group updated successfully")
|
assert html =~ dgettext("prompts", "Ammo updated successfully")
|
||||||
assert html =~ "some updated notes"
|
assert html =~ "some updated notes"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user