- <%= if @container.ammo_groups |> Enum.empty?() do %>
+ <%= if @ammo_groups |> Enum.empty?() do %>
<%= gettext("No ammo in this container") %>
<% else %>
- <%= for ammo_group <- @container.ammo_groups do %>
+ <%= for ammo_group <- @ammo_groups do %>
<.ammo_group_card ammo_group={ammo_group} />
<% end %>
diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po
index 2f117d34..ed9724a1 100644
--- a/priv/gettext/de/LC_MESSAGES/default.po
+++ b/priv/gettext/de/LC_MESSAGES/default.po
@@ -710,13 +710,13 @@ msgstr "Lädt..."
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:27
-#: lib/cannery_web/live/container_live/show.ex:95
+#: lib/cannery_web/live/container_live/show.ex:106
msgid "Edit %{name}"
msgstr "%{name} bearbeiten"
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:46
-#: lib/cannery_web/live/container_live/show.ex:96
+#: lib/cannery_web/live/container_live/show.ex:107
msgid "Edit %{name} tags"
msgstr "Editiere %{name} Tags"
@@ -727,7 +727,7 @@ msgid "Rounds:"
msgstr "Patronen:"
#, elixir-autogen, elixir-format
-#: lib/cannery_web/live/container_live/show.ex:94
+#: lib/cannery_web/live/container_live/show.ex:105
msgid "Show %{name}"
msgstr "Zeige %{name}"
@@ -900,7 +900,7 @@ msgid "Move Ammo"
msgstr "Munition verschieben"
#, elixir-autogen, elixir-format, fuzzy
-#: lib/cannery_web/live/container_live/show.html.heex:90
+#: lib/cannery_web/live/container_live/show.html.heex:98
msgid "No ammo in this container"
msgstr "Keine Munitionsgruppe in diesem Behälter"
@@ -948,5 +948,6 @@ msgstr "Behälter"
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/ammo_type_live/show.html.heex:119
+#: lib/cannery_web/live/container_live/show.html.heex:90
msgid "Show used"
msgstr ""
diff --git a/priv/gettext/de/LC_MESSAGES/errors.po b/priv/gettext/de/LC_MESSAGES/errors.po
index 17f319d3..86902ab7 100644
--- a/priv/gettext/de/LC_MESSAGES/errors.po
+++ b/priv/gettext/de/LC_MESSAGES/errors.po
@@ -188,7 +188,7 @@ msgstr ""
"%{multiplier}"
#, elixir-autogen, elixir-format
-#: lib/cannery/ammo.ex:479
+#: lib/cannery/ammo.ex:524
msgid "Invalid multiplier"
msgstr ""
diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot
index 655644ad..6123790a 100644
--- a/priv/gettext/default.pot
+++ b/priv/gettext/default.pot
@@ -693,13 +693,13 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:27
-#: lib/cannery_web/live/container_live/show.ex:95
+#: lib/cannery_web/live/container_live/show.ex:106
msgid "Edit %{name}"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:46
-#: lib/cannery_web/live/container_live/show.ex:96
+#: lib/cannery_web/live/container_live/show.ex:107
msgid "Edit %{name} tags"
msgstr ""
@@ -710,7 +710,7 @@ msgid "Rounds:"
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/cannery_web/live/container_live/show.ex:94
+#: lib/cannery_web/live/container_live/show.ex:105
msgid "Show %{name}"
msgstr ""
@@ -883,7 +883,7 @@ msgid "Move Ammo"
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/cannery_web/live/container_live/show.html.heex:90
+#: lib/cannery_web/live/container_live/show.html.heex:98
msgid "No ammo in this container"
msgstr ""
@@ -931,5 +931,6 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/ammo_type_live/show.html.heex:119
+#: lib/cannery_web/live/container_live/show.html.heex:90
msgid "Show used"
msgstr ""
diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po
index 843fc0e2..07834034 100644
--- a/priv/gettext/en/LC_MESSAGES/default.po
+++ b/priv/gettext/en/LC_MESSAGES/default.po
@@ -694,13 +694,13 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:27
-#: lib/cannery_web/live/container_live/show.ex:95
+#: lib/cannery_web/live/container_live/show.ex:106
msgid "Edit %{name}"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:46
-#: lib/cannery_web/live/container_live/show.ex:96
+#: lib/cannery_web/live/container_live/show.ex:107
msgid "Edit %{name} tags"
msgstr ""
@@ -711,7 +711,7 @@ msgid "Rounds:"
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/cannery_web/live/container_live/show.ex:94
+#: lib/cannery_web/live/container_live/show.ex:105
msgid "Show %{name}"
msgstr ""
@@ -884,7 +884,7 @@ msgid "Move Ammo"
msgstr ""
#, elixir-autogen, elixir-format, fuzzy
-#: lib/cannery_web/live/container_live/show.html.heex:90
+#: lib/cannery_web/live/container_live/show.html.heex:98
msgid "No ammo in this container"
msgstr ""
@@ -932,5 +932,6 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/ammo_type_live/show.html.heex:119
+#: lib/cannery_web/live/container_live/show.html.heex:90
msgid "Show used"
msgstr ""
diff --git a/priv/gettext/en/LC_MESSAGES/errors.po b/priv/gettext/en/LC_MESSAGES/errors.po
index fa6e7ed8..1cbb6db0 100644
--- a/priv/gettext/en/LC_MESSAGES/errors.po
+++ b/priv/gettext/en/LC_MESSAGES/errors.po
@@ -171,7 +171,7 @@ msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/cannery/ammo.ex:479
+#: lib/cannery/ammo.ex:524
msgid "Invalid multiplier"
msgstr ""
diff --git a/priv/gettext/errors.pot b/priv/gettext/errors.pot
index c29767f3..33ff7751 100644
--- a/priv/gettext/errors.pot
+++ b/priv/gettext/errors.pot
@@ -170,7 +170,7 @@ msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/cannery/ammo.ex:479
+#: lib/cannery/ammo.ex:524
msgid "Invalid multiplier"
msgstr ""
diff --git a/priv/gettext/es/LC_MESSAGES/default.po b/priv/gettext/es/LC_MESSAGES/default.po
index 00ba7a63..dc257d5a 100644
--- a/priv/gettext/es/LC_MESSAGES/default.po
+++ b/priv/gettext/es/LC_MESSAGES/default.po
@@ -708,13 +708,13 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:27
-#: lib/cannery_web/live/container_live/show.ex:95
+#: lib/cannery_web/live/container_live/show.ex:106
msgid "Edit %{name}"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:46
-#: lib/cannery_web/live/container_live/show.ex:96
+#: lib/cannery_web/live/container_live/show.ex:107
msgid "Edit %{name} tags"
msgstr ""
@@ -725,7 +725,7 @@ msgid "Rounds:"
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/cannery_web/live/container_live/show.ex:94
+#: lib/cannery_web/live/container_live/show.ex:105
msgid "Show %{name}"
msgstr ""
@@ -898,7 +898,7 @@ msgid "Move Ammo"
msgstr ""
#, elixir-autogen, elixir-format, fuzzy
-#: lib/cannery_web/live/container_live/show.html.heex:90
+#: lib/cannery_web/live/container_live/show.html.heex:98
msgid "No ammo in this container"
msgstr ""
@@ -946,5 +946,6 @@ msgstr ""
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/ammo_type_live/show.html.heex:119
+#: lib/cannery_web/live/container_live/show.html.heex:90
msgid "Show used"
msgstr ""
diff --git a/priv/gettext/es/LC_MESSAGES/errors.po b/priv/gettext/es/LC_MESSAGES/errors.po
index cfeeba7b..b6ba6f3d 100644
--- a/priv/gettext/es/LC_MESSAGES/errors.po
+++ b/priv/gettext/es/LC_MESSAGES/errors.po
@@ -186,7 +186,7 @@ msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}
msgstr ""
#, elixir-autogen, elixir-format
-#: lib/cannery/ammo.ex:479
+#: lib/cannery/ammo.ex:524
msgid "Invalid multiplier"
msgstr ""
diff --git a/priv/gettext/fr/LC_MESSAGES/default.po b/priv/gettext/fr/LC_MESSAGES/default.po
index 1aef84e4..2e6812c4 100644
--- a/priv/gettext/fr/LC_MESSAGES/default.po
+++ b/priv/gettext/fr/LC_MESSAGES/default.po
@@ -712,13 +712,13 @@ msgstr "Chargement en cours…"
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:27
-#: lib/cannery_web/live/container_live/show.ex:95
+#: lib/cannery_web/live/container_live/show.ex:106
msgid "Edit %{name}"
msgstr "Éditer %{name}"
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/container_live/index.ex:46
-#: lib/cannery_web/live/container_live/show.ex:96
+#: lib/cannery_web/live/container_live/show.ex:107
msgid "Edit %{name} tags"
msgstr "Éditer les tags de %{name}"
@@ -729,7 +729,7 @@ msgid "Rounds:"
msgstr "Cartouches :"
#, elixir-autogen, elixir-format
-#: lib/cannery_web/live/container_live/show.ex:94
+#: lib/cannery_web/live/container_live/show.ex:105
msgid "Show %{name}"
msgstr "Montrer %{name}"
@@ -902,7 +902,7 @@ msgid "Move Ammo"
msgstr "Déplacer munition"
#, elixir-autogen, elixir-format, fuzzy
-#: lib/cannery_web/live/container_live/show.html.heex:90
+#: lib/cannery_web/live/container_live/show.html.heex:98
msgid "No ammo in this container"
msgstr "Aucun groupe de munition pour ce conteneur"
@@ -950,5 +950,6 @@ msgstr "Conteneur"
#, elixir-autogen, elixir-format
#: lib/cannery_web/live/ammo_type_live/show.html.heex:119
+#: lib/cannery_web/live/container_live/show.html.heex:90
msgid "Show used"
msgstr ""
diff --git a/priv/gettext/fr/LC_MESSAGES/errors.po b/priv/gettext/fr/LC_MESSAGES/errors.po
index 208245bb..7106c378 100644
--- a/priv/gettext/fr/LC_MESSAGES/errors.po
+++ b/priv/gettext/fr/LC_MESSAGES/errors.po
@@ -187,7 +187,7 @@ msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}
msgstr "Nombre de copies invalide, doit être 1 et %{max}. Été %{multiplier}"
#, elixir-autogen, elixir-format
-#: lib/cannery/ammo.ex:479
+#: lib/cannery/ammo.ex:524
msgid "Invalid multiplier"
msgstr ""