diff --git a/CHANGELOG.md b/CHANGELOG.md index 218fc78..95ddcfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # v0.8.5 - Add link in readme to github mirror - Fix tables unable to sort on empty dates +- Only show historical ammo type information when displaying "Show used" # v0.8.4 - Improve accessibility diff --git a/lib/cannery_web/components/core_components/ammo_group_card.html.heex b/lib/cannery_web/components/core_components/ammo_group_card.html.heex index 554c03f..c8020c8 100644 --- a/lib/cannery_web/components/core_components/ammo_group_card.html.heex +++ b/lib/cannery_web/components/core_components/ammo_group_card.html.heex @@ -17,7 +17,10 @@ <%= if @ammo_group.count == 0, do: gettext("Empty"), else: @ammo_group.count %> - + <%= gettext("Original Count:") %> <%= @original_count %> @@ -27,7 +30,7 @@ <%= @ammo_group.notes %> - + <%= gettext("Purchased on:") %> <.date id={"#{@ammo_group.id}-purchased-on"} date={@ammo_group.purchased_on} /> diff --git a/lib/cannery_web/live/ammo_type_live/show.ex b/lib/cannery_web/live/ammo_type_live/show.ex index e88573f..64c8f4d 100644 --- a/lib/cannery_web/live/ammo_type_live/show.ex +++ b/lib/cannery_web/live/ammo_type_live/show.ex @@ -92,25 +92,40 @@ defmodule CanneryWeb.AmmoTypeLive.Show do end) ammo_groups = ammo_type |> Ammo.list_ammo_groups_for_type(current_user, show_used) - original_counts = ammo_groups |> Ammo.get_original_counts(current_user) - cprs = ammo_groups |> Ammo.get_cprs(current_user) - historical_packs_count = ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user, true) - last_used_dates = ammo_groups |> ActivityLog.get_last_used_dates(current_user) + + [ + original_counts, + used_packs_count, + historical_packs_count, + used_rounds, + historical_round_count + ] = + if show_used do + [ + ammo_groups |> Ammo.get_original_counts(current_user), + ammo_type |> Ammo.get_used_ammo_groups_count_for_type(current_user), + ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user, true), + ammo_type |> ActivityLog.get_used_count_for_ammo_type(current_user), + ammo_type |> Ammo.get_historical_count_for_ammo_type(current_user) + ] + else + [nil, nil, nil, nil, nil] + end socket |> assign( page_title: page_title(live_action, ammo_type), ammo_type: ammo_type, ammo_groups: ammo_groups, - original_counts: original_counts, - cprs: cprs, - last_used_dates: last_used_dates, + cprs: ammo_groups |> Ammo.get_cprs(current_user), + last_used_dates: ammo_groups |> ActivityLog.get_last_used_dates(current_user), avg_cost_per_round: ammo_type |> Ammo.get_average_cost_for_ammo_type(current_user), rounds: ammo_type |> Ammo.get_round_count_for_ammo_type(current_user), - used_rounds: ammo_type |> ActivityLog.get_used_count_for_ammo_type(current_user), - historical_round_count: ammo_type |> Ammo.get_historical_count_for_ammo_type(current_user), + original_counts: original_counts, + used_rounds: used_rounds, + historical_round_count: historical_round_count, packs_count: ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user), - used_packs_count: ammo_type |> Ammo.get_used_ammo_groups_count_for_type(current_user), + used_packs_count: used_packs_count, historical_packs_count: historical_packs_count, fields_list: @fields_list, fields_to_display: fields_to_display diff --git a/lib/cannery_web/live/ammo_type_live/show.html.heex b/lib/cannery_web/live/ammo_type_live/show.html.heex index 2edef8b..d118e09 100644 --- a/lib/cannery_web/live/ammo_type_live/show.html.heex +++ b/lib/cannery_web/live/ammo_type_live/show.html.heex @@ -74,26 +74,24 @@ <%= @rounds %> -

- <%= gettext("Used rounds:") %> -

+ <%= if @show_used do %> +

+ <%= gettext("Used rounds:") %> +

- - <%= @used_rounds %> - + + <%= @used_rounds %> + -

- <%= gettext("Total ever rounds:") %> -

+

+ <%= gettext("Total ever rounds:") %> +

- - <%= @historical_round_count %> - - + + <%= @historical_round_count %> + + <% end %> -
- -

<%= gettext("Packs:") %>

@@ -102,26 +100,24 @@ <%= @packs_count %> -

- <%= gettext("Used packs:") %> -

+ <%= if @show_used do %> +

+ <%= gettext("Used packs:") %> +

- - <%= @used_packs_count %> - + + <%= @used_packs_count %> + -

- <%= gettext("Total ever packs:") %> -

+

+ <%= gettext("Total ever packs:") %> +

- - <%= @historical_packs_count %> - -
+ + <%= @historical_packs_count %> + + <% end %> -
- -

<%= gettext("Added on:") %>

@@ -189,7 +185,7 @@ <.ammo_group_card :for={%{id: ammo_group_id} = ammo_group <- @ammo_groups} ammo_group={ammo_group} - original_count={Map.fetch!(@original_counts, ammo_group_id)} + original_count={@original_counts && Map.fetch!(@original_counts, ammo_group_id)} cpr={Map.get(@cprs, ammo_group_id)} last_used_date={Map.get(@last_used_dates, ammo_group_id)} current_user={@current_user} diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index fef076b..d626c6c 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -272,7 +272,7 @@ msgstr "Neuer Tag" msgid "No Ammo" msgstr "Keine Munition" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:167 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:163 #, elixir-autogen, elixir-format msgid "No ammo for this type" msgstr "Keine Munition dieser Art" @@ -305,7 +305,7 @@ msgstr "Keine Tags" msgid "Notes" msgstr "Bemerkungen" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29 #: lib/cannery_web/live/ammo_group_live/show.html.heex:24 #, elixir-autogen, elixir-format msgid "Notes:" @@ -328,7 +328,7 @@ msgstr "Druck" msgid "Price paid" msgstr "Kaufpreis" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44 #, elixir-autogen, elixir-format msgid "Price paid:" msgstr "Kaufpreis:" @@ -529,11 +529,11 @@ msgstr "Schießkladde" #: lib/cannery_web/components/ammo_group_table_component.ex:154 #: lib/cannery_web/components/ammo_group_table_component.ex:230 #: lib/cannery_web/components/ammo_type_table_component.ex:224 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50 #: lib/cannery_web/live/ammo_group_live/show.html.heex:37 #: lib/cannery_web/live/ammo_group_live/show.html.heex:42 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 #, elixir-autogen, elixir-format msgid "$%{amount}" msgstr "$%{amount}" @@ -623,7 +623,7 @@ msgstr "Patronen:" #: lib/cannery_web/components/ammo_group_table_component.ex:227 #: lib/cannery_web/components/ammo_type_table_component.ex:223 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:143 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 #, elixir-autogen, elixir-format msgid "No cost information" msgstr "Keine Preisinformationen" @@ -694,7 +694,7 @@ msgstr "Schüsse dokumentieren" msgid "Copies" msgstr "Kopien" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:126 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:122 #, elixir-autogen, elixir-format msgid "Added on:" msgstr "Hinzugefügt am:" @@ -774,7 +774,7 @@ msgid "This ammo is not in a container" msgstr "Diese Munitionsgruppe ist nicht in einem Behälter" #: lib/cannery_web/components/core_components/container_card.html.heex:32 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:98 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:96 #: lib/cannery_web/live/container_live/show.html.heex:23 #, elixir-autogen, elixir-format msgid "Packs:" @@ -796,14 +796,14 @@ msgstr "" msgid "Leave \"Uses left\" blank to make invite unlimited" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57 #, elixir-autogen, elixir-format, fuzzy msgid "Container:" msgstr "Behälter" #: lib/cannery_web/live/ammo_group_live/index.html.heex:64 #: lib/cannery_web/live/ammo_type_live/index.html.heex:39 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:153 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:149 #: lib/cannery_web/live/container_live/show.html.heex:98 #, elixir-autogen, elixir-format msgid "Show used" @@ -832,7 +832,7 @@ msgstr "" msgid "Rounds" msgstr "Patronen:" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:159 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:155 #: lib/cannery_web/live/container_live/index.html.heex:39 #: lib/cannery_web/live/container_live/show.html.heex:104 #, elixir-autogen, elixir-format @@ -844,7 +844,7 @@ msgstr "" msgid "Total ever packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:114 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:113 #, elixir-autogen, elixir-format msgid "Total ever packs:" msgstr "" @@ -854,7 +854,7 @@ msgstr "" msgid "Total ever rounds" msgstr "Summe aller Patronen" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:86 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:87 #, elixir-autogen, elixir-format, fuzzy msgid "Total ever rounds:" msgstr "Summe abgegebener Schüsse:" @@ -864,7 +864,7 @@ msgstr "Summe abgegebener Schüsse:" msgid "Used packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:106 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:105 #, elixir-autogen, elixir-format msgid "Used packs:" msgstr "" @@ -874,7 +874,7 @@ msgstr "" msgid "Used rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:78 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:79 #, elixir-autogen, elixir-format, fuzzy msgid "Used rounds:" msgstr "" @@ -985,13 +985,13 @@ msgid "UPC:" msgstr "UPC" #: lib/cannery_web/components/ammo_type_table_component.ex:120 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:131 #, elixir-autogen, elixir-format msgid "Average CPR" msgstr "" #: lib/cannery_web/live/ammo_type_live/index.ex:28 -#: lib/cannery_web/live/ammo_type_live/show.ex:135 +#: lib/cannery_web/live/ammo_type_live/show.ex:150 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{ammo_type_name}" msgstr "%{name} bearbeiten" @@ -1007,7 +1007,7 @@ msgstr "" msgid "CPR" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49 #, elixir-autogen, elixir-format msgid "CPR:" msgstr "" @@ -1017,7 +1017,7 @@ msgstr "" msgid "Original Count" msgstr "Ursprüngliche Anzahl:" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24 #, elixir-autogen, elixir-format, fuzzy msgid "Original Count:" msgstr "Ursprüngliche Anzahl:" @@ -1037,7 +1037,7 @@ msgstr "" msgid "Last used on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39 #, elixir-autogen, elixir-format msgid "Last used on:" msgstr "" @@ -1053,7 +1053,7 @@ msgstr "" msgid "Purchased on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34 #: lib/cannery_web/live/ammo_group_live/show.html.heex:30 #, elixir-autogen, elixir-format msgid "Purchased on:" diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 724d1ea..b96cd9a 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -268,7 +268,7 @@ msgstr "" msgid "No Ammo" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:167 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:163 #, elixir-autogen, elixir-format msgid "No ammo for this type" msgstr "" @@ -301,7 +301,7 @@ msgstr "" msgid "Notes" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29 #: lib/cannery_web/live/ammo_group_live/show.html.heex:24 #, elixir-autogen, elixir-format msgid "Notes:" @@ -324,7 +324,7 @@ msgstr "" msgid "Price paid" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44 #, elixir-autogen, elixir-format msgid "Price paid:" msgstr "" @@ -523,11 +523,11 @@ msgstr "" #: lib/cannery_web/components/ammo_group_table_component.ex:154 #: lib/cannery_web/components/ammo_group_table_component.ex:230 #: lib/cannery_web/components/ammo_type_table_component.ex:224 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50 #: lib/cannery_web/live/ammo_group_live/show.html.heex:37 #: lib/cannery_web/live/ammo_group_live/show.html.heex:42 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 #, elixir-autogen, elixir-format msgid "$%{amount}" msgstr "" @@ -617,7 +617,7 @@ msgstr "" #: lib/cannery_web/components/ammo_group_table_component.ex:227 #: lib/cannery_web/components/ammo_type_table_component.ex:223 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:143 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 #, elixir-autogen, elixir-format msgid "No cost information" msgstr "" @@ -688,7 +688,7 @@ msgstr "" msgid "Copies" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:126 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:122 #, elixir-autogen, elixir-format msgid "Added on:" msgstr "" @@ -768,7 +768,7 @@ msgid "This ammo is not in a container" msgstr "" #: lib/cannery_web/components/core_components/container_card.html.heex:32 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:98 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:96 #: lib/cannery_web/live/container_live/show.html.heex:23 #, elixir-autogen, elixir-format msgid "Packs:" @@ -790,14 +790,14 @@ msgstr "" msgid "Leave \"Uses left\" blank to make invite unlimited" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57 #, elixir-autogen, elixir-format msgid "Container:" msgstr "" #: lib/cannery_web/live/ammo_group_live/index.html.heex:64 #: lib/cannery_web/live/ammo_type_live/index.html.heex:39 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:153 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:149 #: lib/cannery_web/live/container_live/show.html.heex:98 #, elixir-autogen, elixir-format msgid "Show used" @@ -826,7 +826,7 @@ msgstr "" msgid "Rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:159 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:155 #: lib/cannery_web/live/container_live/index.html.heex:39 #: lib/cannery_web/live/container_live/show.html.heex:104 #, elixir-autogen, elixir-format @@ -838,7 +838,7 @@ msgstr "" msgid "Total ever packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:114 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:113 #, elixir-autogen, elixir-format msgid "Total ever packs:" msgstr "" @@ -848,7 +848,7 @@ msgstr "" msgid "Total ever rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:86 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:87 #, elixir-autogen, elixir-format msgid "Total ever rounds:" msgstr "" @@ -858,7 +858,7 @@ msgstr "" msgid "Used packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:106 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:105 #, elixir-autogen, elixir-format msgid "Used packs:" msgstr "" @@ -868,7 +868,7 @@ msgstr "" msgid "Used rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:78 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:79 #, elixir-autogen, elixir-format msgid "Used rounds:" msgstr "" @@ -979,13 +979,13 @@ msgid "UPC:" msgstr "" #: lib/cannery_web/components/ammo_type_table_component.ex:120 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:131 #, elixir-autogen, elixir-format msgid "Average CPR" msgstr "" #: lib/cannery_web/live/ammo_type_live/index.ex:28 -#: lib/cannery_web/live/ammo_type_live/show.ex:135 +#: lib/cannery_web/live/ammo_type_live/show.ex:150 #, elixir-autogen, elixir-format msgid "Edit %{ammo_type_name}" msgstr "" @@ -1001,7 +1001,7 @@ msgstr "" msgid "CPR" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49 #, elixir-autogen, elixir-format msgid "CPR:" msgstr "" @@ -1011,7 +1011,7 @@ msgstr "" msgid "Original Count" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24 #, elixir-autogen, elixir-format msgid "Original Count:" msgstr "" @@ -1031,7 +1031,7 @@ msgstr "" msgid "Last used on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39 #, elixir-autogen, elixir-format msgid "Last used on:" msgstr "" @@ -1047,7 +1047,7 @@ msgstr "" msgid "Purchased on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34 #: lib/cannery_web/live/ammo_group_live/show.html.heex:30 #, elixir-autogen, elixir-format msgid "Purchased on:" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index d8a9a11..112abbb 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -268,7 +268,7 @@ msgstr "" msgid "No Ammo" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:167 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:163 #, elixir-autogen, elixir-format msgid "No ammo for this type" msgstr "" @@ -301,7 +301,7 @@ msgstr "" msgid "Notes" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29 #: lib/cannery_web/live/ammo_group_live/show.html.heex:24 #, elixir-autogen, elixir-format msgid "Notes:" @@ -324,7 +324,7 @@ msgstr "" msgid "Price paid" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44 #, elixir-autogen, elixir-format msgid "Price paid:" msgstr "" @@ -523,11 +523,11 @@ msgstr "" #: lib/cannery_web/components/ammo_group_table_component.ex:154 #: lib/cannery_web/components/ammo_group_table_component.ex:230 #: lib/cannery_web/components/ammo_type_table_component.ex:224 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50 #: lib/cannery_web/live/ammo_group_live/show.html.heex:37 #: lib/cannery_web/live/ammo_group_live/show.html.heex:42 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 #, elixir-autogen, elixir-format msgid "$%{amount}" msgstr "" @@ -617,7 +617,7 @@ msgstr "" #: lib/cannery_web/components/ammo_group_table_component.ex:227 #: lib/cannery_web/components/ammo_type_table_component.ex:223 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:143 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 #, elixir-autogen, elixir-format msgid "No cost information" msgstr "" @@ -688,7 +688,7 @@ msgstr "" msgid "Copies" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:126 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:122 #, elixir-autogen, elixir-format msgid "Added on:" msgstr "" @@ -768,7 +768,7 @@ msgid "This ammo is not in a container" msgstr "" #: lib/cannery_web/components/core_components/container_card.html.heex:32 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:98 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:96 #: lib/cannery_web/live/container_live/show.html.heex:23 #, elixir-autogen, elixir-format msgid "Packs:" @@ -790,14 +790,14 @@ msgstr "" msgid "Leave \"Uses left\" blank to make invite unlimited" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57 #, elixir-autogen, elixir-format, fuzzy msgid "Container:" msgstr "" #: lib/cannery_web/live/ammo_group_live/index.html.heex:64 #: lib/cannery_web/live/ammo_type_live/index.html.heex:39 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:153 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:149 #: lib/cannery_web/live/container_live/show.html.heex:98 #, elixir-autogen, elixir-format msgid "Show used" @@ -826,7 +826,7 @@ msgstr "" msgid "Rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:159 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:155 #: lib/cannery_web/live/container_live/index.html.heex:39 #: lib/cannery_web/live/container_live/show.html.heex:104 #, elixir-autogen, elixir-format @@ -838,7 +838,7 @@ msgstr "" msgid "Total ever packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:114 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:113 #, elixir-autogen, elixir-format msgid "Total ever packs:" msgstr "" @@ -848,7 +848,7 @@ msgstr "" msgid "Total ever rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:86 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:87 #, elixir-autogen, elixir-format, fuzzy msgid "Total ever rounds:" msgstr "" @@ -858,7 +858,7 @@ msgstr "" msgid "Used packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:106 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:105 #, elixir-autogen, elixir-format msgid "Used packs:" msgstr "" @@ -868,7 +868,7 @@ msgstr "" msgid "Used rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:78 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:79 #, elixir-autogen, elixir-format, fuzzy msgid "Used rounds:" msgstr "" @@ -979,13 +979,13 @@ msgid "UPC:" msgstr "" #: lib/cannery_web/components/ammo_type_table_component.ex:120 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:131 #, elixir-autogen, elixir-format msgid "Average CPR" msgstr "" #: lib/cannery_web/live/ammo_type_live/index.ex:28 -#: lib/cannery_web/live/ammo_type_live/show.ex:135 +#: lib/cannery_web/live/ammo_type_live/show.ex:150 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{ammo_type_name}" msgstr "" @@ -1001,7 +1001,7 @@ msgstr "" msgid "CPR" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49 #, elixir-autogen, elixir-format msgid "CPR:" msgstr "" @@ -1011,7 +1011,7 @@ msgstr "" msgid "Original Count" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24 #, elixir-autogen, elixir-format, fuzzy msgid "Original Count:" msgstr "" @@ -1031,7 +1031,7 @@ msgstr "" msgid "Last used on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39 #, elixir-autogen, elixir-format msgid "Last used on:" msgstr "" @@ -1047,7 +1047,7 @@ msgstr "" msgid "Purchased on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34 #: lib/cannery_web/live/ammo_group_live/show.html.heex:30 #, elixir-autogen, elixir-format msgid "Purchased on:" diff --git a/priv/gettext/es/LC_MESSAGES/default.po b/priv/gettext/es/LC_MESSAGES/default.po index 1fe02f1..b71b6fe 100644 --- a/priv/gettext/es/LC_MESSAGES/default.po +++ b/priv/gettext/es/LC_MESSAGES/default.po @@ -272,7 +272,7 @@ msgstr "Nueva Etiqueta" msgid "No Ammo" msgstr "Sin Munición" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:167 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:163 #, elixir-autogen, elixir-format msgid "No ammo for this type" msgstr "Sin munición para este tipo" @@ -305,7 +305,7 @@ msgstr "Sin etiquetas" msgid "Notes" msgstr "Notas" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29 #: lib/cannery_web/live/ammo_group_live/show.html.heex:24 #, elixir-autogen, elixir-format msgid "Notes:" @@ -328,7 +328,7 @@ msgstr "Presión" msgid "Price paid" msgstr "Precio pagado" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44 #, elixir-autogen, elixir-format msgid "Price paid:" msgstr "Precio pagado:" @@ -530,11 +530,11 @@ msgstr "Registro de tiros" #: lib/cannery_web/components/ammo_group_table_component.ex:154 #: lib/cannery_web/components/ammo_group_table_component.ex:230 #: lib/cannery_web/components/ammo_type_table_component.ex:224 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50 #: lib/cannery_web/live/ammo_group_live/show.html.heex:37 #: lib/cannery_web/live/ammo_group_live/show.html.heex:42 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 #, elixir-autogen, elixir-format msgid "$%{amount}" msgstr "$%{amount}" @@ -624,7 +624,7 @@ msgstr "Balas:" #: lib/cannery_web/components/ammo_group_table_component.ex:227 #: lib/cannery_web/components/ammo_type_table_component.ex:223 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:143 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 #, elixir-autogen, elixir-format msgid "No cost information" msgstr "No hay información de coste" @@ -695,7 +695,7 @@ msgstr "Tiros Récord" msgid "Copies" msgstr "Copias" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:126 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:122 #, elixir-autogen, elixir-format msgid "Added on:" msgstr "Añadido en:" @@ -775,7 +775,7 @@ msgid "This ammo is not in a container" msgstr "Esta munición no está en un contenedor" #: lib/cannery_web/components/core_components/container_card.html.heex:32 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:98 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:96 #: lib/cannery_web/live/container_live/show.html.heex:23 #, elixir-autogen, elixir-format msgid "Packs:" @@ -798,14 +798,14 @@ msgid "Leave \"Uses left\" blank to make invite unlimited" msgstr "" "Deje \"Usos restantes\" en blanco para hacer las invitaciónes ilimitadas" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57 #, elixir-autogen, elixir-format msgid "Container:" msgstr "Contenedor:" #: lib/cannery_web/live/ammo_group_live/index.html.heex:64 #: lib/cannery_web/live/ammo_type_live/index.html.heex:39 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:153 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:149 #: lib/cannery_web/live/container_live/show.html.heex:98 #, elixir-autogen, elixir-format msgid "Show used" @@ -834,7 +834,7 @@ msgstr "Paquetes" msgid "Rounds" msgstr "Balas" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:159 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:155 #: lib/cannery_web/live/container_live/index.html.heex:39 #: lib/cannery_web/live/container_live/show.html.heex:104 #, elixir-autogen, elixir-format @@ -846,7 +846,7 @@ msgstr "Ver como tabla" msgid "Total ever packs" msgstr "Paquetes totales" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:114 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:113 #, elixir-autogen, elixir-format msgid "Total ever packs:" msgstr "Paquetes totales:" @@ -856,7 +856,7 @@ msgstr "Paquetes totales:" msgid "Total ever rounds" msgstr "Balas totales" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:86 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:87 #, elixir-autogen, elixir-format msgid "Total ever rounds:" msgstr "Balas totales:" @@ -866,7 +866,7 @@ msgstr "Balas totales:" msgid "Used packs" msgstr "Paquetes usados" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:106 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:105 #, elixir-autogen, elixir-format msgid "Used packs:" msgstr "Paquetes usados:" @@ -876,7 +876,7 @@ msgstr "Paquetes usados:" msgid "Used rounds" msgstr "Balas usadas" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:78 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:79 #, elixir-autogen, elixir-format msgid "Used rounds:" msgstr "Balas usadas:" @@ -987,13 +987,13 @@ msgid "UPC:" msgstr "" #: lib/cannery_web/components/ammo_type_table_component.ex:120 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:131 #, elixir-autogen, elixir-format msgid "Average CPR" msgstr "" #: lib/cannery_web/live/ammo_type_live/index.ex:28 -#: lib/cannery_web/live/ammo_type_live/show.ex:135 +#: lib/cannery_web/live/ammo_type_live/show.ex:150 #, elixir-autogen, elixir-format msgid "Edit %{ammo_type_name}" msgstr "Editar %{ammo_type_name}" @@ -1009,7 +1009,7 @@ msgstr "Vacio" msgid "CPR" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49 #, elixir-autogen, elixir-format msgid "CPR:" msgstr "" @@ -1019,7 +1019,7 @@ msgstr "" msgid "Original Count" msgstr "Cantidad Original" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24 #, elixir-autogen, elixir-format msgid "Original Count:" msgstr "Cantidad Original:" @@ -1039,7 +1039,7 @@ msgstr "Paquetes totales:" msgid "Last used on" msgstr "Usada por última vez en" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39 #, elixir-autogen, elixir-format msgid "Last used on:" msgstr "Usada por última vez en:" @@ -1055,7 +1055,7 @@ msgstr "Nunca usada" msgid "Purchased on" msgstr "Comprada en" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34 #: lib/cannery_web/live/ammo_group_live/show.html.heex:30 #, elixir-autogen, elixir-format msgid "Purchased on:" diff --git a/priv/gettext/fr/LC_MESSAGES/default.po b/priv/gettext/fr/LC_MESSAGES/default.po index 399b650..130be2e 100644 --- a/priv/gettext/fr/LC_MESSAGES/default.po +++ b/priv/gettext/fr/LC_MESSAGES/default.po @@ -272,7 +272,7 @@ msgstr "Nouveau tag" msgid "No Ammo" msgstr "Aucune munition" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:167 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:163 #, elixir-autogen, elixir-format msgid "No ammo for this type" msgstr "Aucune munition pour ce type" @@ -305,7 +305,7 @@ msgstr "Aucun tag" msgid "Notes" msgstr "Notes" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29 #: lib/cannery_web/live/ammo_group_live/show.html.heex:24 #, elixir-autogen, elixir-format msgid "Notes:" @@ -328,7 +328,7 @@ msgstr "Pression" msgid "Price paid" msgstr "Prix payé" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44 #, elixir-autogen, elixir-format msgid "Price paid:" msgstr "Prix payé :" @@ -531,11 +531,11 @@ msgstr "Évènements de tir" #: lib/cannery_web/components/ammo_group_table_component.ex:154 #: lib/cannery_web/components/ammo_group_table_component.ex:230 #: lib/cannery_web/components/ammo_type_table_component.ex:224 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50 #: lib/cannery_web/live/ammo_group_live/show.html.heex:37 #: lib/cannery_web/live/ammo_group_live/show.html.heex:42 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 #, elixir-autogen, elixir-format msgid "$%{amount}" msgstr "%{amount} $" @@ -625,7 +625,7 @@ msgstr "Cartouches :" #: lib/cannery_web/components/ammo_group_table_component.ex:227 #: lib/cannery_web/components/ammo_type_table_component.ex:223 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:143 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 #, elixir-autogen, elixir-format msgid "No cost information" msgstr "Aucune information de prix" @@ -696,7 +696,7 @@ msgstr "Enregistrer des tirs" msgid "Copies" msgstr "Exemplaires" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:126 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:122 #, elixir-autogen, elixir-format msgid "Added on:" msgstr "Ajouté le :" @@ -776,7 +776,7 @@ msgid "This ammo is not in a container" msgstr "Ce groupe de munition n’est pas dans un conteneur" #: lib/cannery_web/components/core_components/container_card.html.heex:32 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:98 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:96 #: lib/cannery_web/live/container_live/show.html.heex:23 #, elixir-autogen, elixir-format msgid "Packs:" @@ -799,14 +799,14 @@ msgid "Leave \"Uses left\" blank to make invite unlimited" msgstr "" "Laissez \"Utilisations restantes\" vide pour rendre l'invitation illimitée" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57 #, elixir-autogen, elixir-format, fuzzy msgid "Container:" msgstr "Conteneur" #: lib/cannery_web/live/ammo_group_live/index.html.heex:64 #: lib/cannery_web/live/ammo_type_live/index.html.heex:39 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:153 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:149 #: lib/cannery_web/live/container_live/show.html.heex:98 #, elixir-autogen, elixir-format msgid "Show used" @@ -835,7 +835,7 @@ msgstr "Packages :" msgid "Rounds" msgstr "Cartouches :" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:159 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:155 #: lib/cannery_web/live/container_live/index.html.heex:39 #: lib/cannery_web/live/container_live/show.html.heex:104 #, elixir-autogen, elixir-format @@ -847,7 +847,7 @@ msgstr "" msgid "Total ever packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:114 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:113 #, elixir-autogen, elixir-format msgid "Total ever packs:" msgstr "" @@ -857,7 +857,7 @@ msgstr "" msgid "Total ever rounds" msgstr "Quantité de cartouches" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:86 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:87 #, elixir-autogen, elixir-format, fuzzy msgid "Total ever rounds:" msgstr "Nombre totale de cartouches tirées :" @@ -867,7 +867,7 @@ msgstr "Nombre totale de cartouches tirées :" msgid "Used packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:106 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:105 #, elixir-autogen, elixir-format msgid "Used packs:" msgstr "" @@ -877,7 +877,7 @@ msgstr "" msgid "Used rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:78 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:79 #, elixir-autogen, elixir-format, fuzzy msgid "Used rounds:" msgstr "" @@ -988,13 +988,13 @@ msgid "UPC:" msgstr "UPC" #: lib/cannery_web/components/ammo_type_table_component.ex:120 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:131 #, elixir-autogen, elixir-format msgid "Average CPR" msgstr "" #: lib/cannery_web/live/ammo_type_live/index.ex:28 -#: lib/cannery_web/live/ammo_type_live/show.ex:135 +#: lib/cannery_web/live/ammo_type_live/show.ex:150 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{ammo_type_name}" msgstr "Éditer %{name}" @@ -1010,7 +1010,7 @@ msgstr "" msgid "CPR" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49 #, elixir-autogen, elixir-format msgid "CPR:" msgstr "" @@ -1020,7 +1020,7 @@ msgstr "" msgid "Original Count" msgstr "Nombre original :" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24 #, elixir-autogen, elixir-format, fuzzy msgid "Original Count:" msgstr "Nombre original :" @@ -1040,7 +1040,7 @@ msgstr "" msgid "Last used on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39 #, elixir-autogen, elixir-format msgid "Last used on:" msgstr "" @@ -1056,7 +1056,7 @@ msgstr "" msgid "Purchased on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34 #: lib/cannery_web/live/ammo_group_live/show.html.heex:30 #, elixir-autogen, elixir-format msgid "Purchased on:" diff --git a/priv/gettext/ga/LC_MESSAGES/default.po b/priv/gettext/ga/LC_MESSAGES/default.po index 63ff486..c415a41 100644 --- a/priv/gettext/ga/LC_MESSAGES/default.po +++ b/priv/gettext/ga/LC_MESSAGES/default.po @@ -270,7 +270,7 @@ msgstr "" msgid "No Ammo" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:167 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:163 #, elixir-autogen, elixir-format msgid "No ammo for this type" msgstr "" @@ -303,7 +303,7 @@ msgstr "" msgid "Notes" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29 #: lib/cannery_web/live/ammo_group_live/show.html.heex:24 #, elixir-autogen, elixir-format msgid "Notes:" @@ -326,7 +326,7 @@ msgstr "" msgid "Price paid" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44 #, elixir-autogen, elixir-format msgid "Price paid:" msgstr "" @@ -525,11 +525,11 @@ msgstr "" #: lib/cannery_web/components/ammo_group_table_component.ex:154 #: lib/cannery_web/components/ammo_group_table_component.ex:230 #: lib/cannery_web/components/ammo_type_table_component.ex:224 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42 -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50 #: lib/cannery_web/live/ammo_group_live/show.html.heex:37 #: lib/cannery_web/live/ammo_group_live/show.html.heex:42 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 #, elixir-autogen, elixir-format msgid "$%{amount}" msgstr "" @@ -619,7 +619,7 @@ msgstr "" #: lib/cannery_web/components/ammo_group_table_component.ex:227 #: lib/cannery_web/components/ammo_type_table_component.ex:223 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:143 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:139 #, elixir-autogen, elixir-format msgid "No cost information" msgstr "" @@ -690,7 +690,7 @@ msgstr "" msgid "Copies" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:126 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:122 #, elixir-autogen, elixir-format msgid "Added on:" msgstr "" @@ -770,7 +770,7 @@ msgid "This ammo is not in a container" msgstr "" #: lib/cannery_web/components/core_components/container_card.html.heex:32 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:98 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:96 #: lib/cannery_web/live/container_live/show.html.heex:23 #, elixir-autogen, elixir-format msgid "Packs:" @@ -792,14 +792,14 @@ msgstr "" msgid "Leave \"Uses left\" blank to make invite unlimited" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57 #, elixir-autogen, elixir-format msgid "Container:" msgstr "" #: lib/cannery_web/live/ammo_group_live/index.html.heex:64 #: lib/cannery_web/live/ammo_type_live/index.html.heex:39 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:153 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:149 #: lib/cannery_web/live/container_live/show.html.heex:98 #, elixir-autogen, elixir-format msgid "Show used" @@ -828,7 +828,7 @@ msgstr "" msgid "Rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:159 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:155 #: lib/cannery_web/live/container_live/index.html.heex:39 #: lib/cannery_web/live/container_live/show.html.heex:104 #, elixir-autogen, elixir-format @@ -840,7 +840,7 @@ msgstr "" msgid "Total ever packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:114 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:113 #, elixir-autogen, elixir-format msgid "Total ever packs:" msgstr "" @@ -850,7 +850,7 @@ msgstr "" msgid "Total ever rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:86 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:87 #, elixir-autogen, elixir-format, fuzzy msgid "Total ever rounds:" msgstr "" @@ -860,7 +860,7 @@ msgstr "" msgid "Used packs" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:106 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:105 #, elixir-autogen, elixir-format msgid "Used packs:" msgstr "" @@ -870,7 +870,7 @@ msgstr "" msgid "Used rounds" msgstr "" -#: lib/cannery_web/live/ammo_type_live/show.html.heex:78 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:79 #, elixir-autogen, elixir-format, fuzzy msgid "Used rounds:" msgstr "" @@ -981,13 +981,13 @@ msgid "UPC:" msgstr "" #: lib/cannery_web/components/ammo_type_table_component.ex:120 -#: lib/cannery_web/live/ammo_type_live/show.html.heex:135 +#: lib/cannery_web/live/ammo_type_live/show.html.heex:131 #, elixir-autogen, elixir-format msgid "Average CPR" msgstr "" #: lib/cannery_web/live/ammo_type_live/index.ex:28 -#: lib/cannery_web/live/ammo_type_live/show.ex:135 +#: lib/cannery_web/live/ammo_type_live/show.ex:150 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{ammo_type_name}" msgstr "" @@ -1003,7 +1003,7 @@ msgstr "" msgid "CPR" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49 #, elixir-autogen, elixir-format msgid "CPR:" msgstr "" @@ -1013,7 +1013,7 @@ msgstr "" msgid "Original Count" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24 #, elixir-autogen, elixir-format, fuzzy msgid "Original Count:" msgstr "" @@ -1033,7 +1033,7 @@ msgstr "" msgid "Last used on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39 #, elixir-autogen, elixir-format msgid "Last used on:" msgstr "" @@ -1049,7 +1049,7 @@ msgstr "" msgid "Purchased on" msgstr "" -#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31 +#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34 #: lib/cannery_web/live/ammo_group_live/show.html.heex:30 #, elixir-autogen, elixir-format msgid "Purchased on:"