diff --git a/lib/cannery_web/components/container_table_component.ex b/lib/cannery_web/components/container_table_component.ex index 9d67027f..57e81995 100644 --- a/lib/cannery_web/components/container_table_component.ex +++ b/lib/cannery_web/components/container_table_component.ex @@ -72,9 +72,15 @@ defmodule CanneryWeb.Components.ContainerTableComponent do tag_actions: tag_actions, actions: actions, pack_count: - Ammo.get_grouped_packs_count(current_user, containers: containers, group_by: :container_id), + Ammo.get_grouped_packs_count(current_user, + containers: containers, + group_by: :container_id + ), round_count: - Ammo.get_grouped_round_count(current_user, containers: containers, group_by: :container_id) + Ammo.get_grouped_round_count(current_user, + containers: containers, + group_by: :container_id + ) } rows = diff --git a/lib/cannery_web/controllers/export_controller.ex b/lib/cannery_web/controllers/export_controller.ex index 2ed3bd0e..500e4a67 100644 --- a/lib/cannery_web/controllers/export_controller.ex +++ b/lib/cannery_web/controllers/export_controller.ex @@ -12,7 +12,11 @@ defmodule CanneryWeb.ExportController do pack_counts = Ammo.get_grouped_packs_count(current_user, types: types, group_by: :type_id) total_pack_counts = - Ammo.get_grouped_packs_count(current_user, types: types, group_by: :type_id, show_used: true) + Ammo.get_grouped_packs_count(current_user, + types: types, + group_by: :type_id, + show_used: true + ) average_costs = Ammo.get_average_costs(types, current_user) diff --git a/lib/cannery_web/live/pack_live/index.html.heex b/lib/cannery_web/live/pack_live/index.html.heex index 95952ebe..0df12a12 100644 --- a/lib/cannery_web/live/pack_live/index.html.heex +++ b/lib/cannery_web/live/pack_live/index.html.heex @@ -145,7 +145,9 @@ navigate={~p"/ammo/show/#{pack}"} class="text-primary-600 link" aria-label={ - dgettext("actions", "View pack of %{pack_count} bullets", pack_count: pack_count) + dgettext("actions", "View pack of %{pack_count} bullets", + pack_count: pack_count + ) } > @@ -155,7 +157,9 @@ patch={~p"/ammo/edit/#{pack}"} class="text-primary-600 link" aria-label={ - dgettext("actions", "Edit pack of %{pack_count} bullets", pack_count: pack_count) + dgettext("actions", "Edit pack of %{pack_count} bullets", + pack_count: pack_count + ) } > diff --git a/lib/cannery_web/live/range_live/index.html.heex b/lib/cannery_web/live/range_live/index.html.heex index d7c1e91c..57210ab9 100644 --- a/lib/cannery_web/live/range_live/index.html.heex +++ b/lib/cannery_web/live/range_live/index.html.heex @@ -80,7 +80,9 @@ phx-submit="change_class" class="flex items-center" > - <%= label(f, :class, gettext("Class"), class: "title text-primary-600 text-lg text-center") %> + <%= label(f, :class, gettext("Class"), + class: "title text-primary-600 text-lg text-center" + ) %> <%= select( f, diff --git a/lib/cannery_web/live/type_live/form_component.html.heex b/lib/cannery_web/live/type_live/form_component.html.heex index fdc96529..828ef86d 100644 --- a/lib/cannery_web/live/type_live/form_component.html.heex +++ b/lib/cannery_web/live/type_live/form_component.html.heex @@ -85,14 +85,18 @@ ) %> <%= error_tag(f, :unfired_length, "col-span-3 text-center") %> - <%= label(f, :brass_height, gettext("Brass height"), class: "title text-lg text-primary-600") %> + <%= label(f, :brass_height, gettext("Brass height"), + class: "title text-lg text-primary-600" + ) %> <%= text_input(f, :brass_height, class: "text-center col-span-2 input input-primary", maxlength: 255 ) %> <%= error_tag(f, :brass_height, "col-span-3 text-center") %> - <%= label(f, :chamber_size, gettext("Chamber size"), class: "title text-lg text-primary-600") %> + <%= label(f, :chamber_size, gettext("Chamber size"), + class: "title text-lg text-primary-600" + ) %> <%= text_input(f, :chamber_size, class: "text-center col-span-2 input input-primary", maxlength: 255 @@ -167,7 +171,9 @@ <%= hidden_input(f, :jacket_type, value: nil) %> <% end %> - <%= label(f, :case_material, gettext("Case material"), class: "title text-lg text-primary-600") %> + <%= label(f, :case_material, gettext("Case material"), + class: "title text-lg text-primary-600" + ) %> <%= text_input(f, :case_material, class: "text-center col-span-2 input input-primary", maxlength: 255, diff --git a/lib/cannery_web/live/type_live/index.html.heex b/lib/cannery_web/live/type_live/index.html.heex index f310f687..99a9ad21 100644 --- a/lib/cannery_web/live/type_live/index.html.heex +++ b/lib/cannery_web/live/type_live/index.html.heex @@ -26,7 +26,9 @@ phx-submit="change_class" class="flex items-center" > - <%= label(f, :class, gettext("Class"), class: "title text-primary-600 text-lg text-center") %> + <%= label(f, :class, gettext("Class"), + class: "title text-primary-600 text-lg text-center" + ) %> <%= select( f, diff --git a/lib/cannery_web/live/type_live/show.html.heex b/lib/cannery_web/live/type_live/show.html.heex index ea5639c5..3ab10324 100644 --- a/lib/cannery_web/live/type_live/show.html.heex +++ b/lib/cannery_web/live/type_live/show.html.heex @@ -198,7 +198,9 @@ navigate={~p"/ammo/show/#{pack}"} class="text-primary-600 link" aria-label={ - dgettext("actions", "View pack of %{pack_count} bullets", pack_count: pack_count) + dgettext("actions", "View pack of %{pack_count} bullets", + pack_count: pack_count + ) } > diff --git a/priv/gettext/actions.pot b/priv/gettext/actions.pot index 61f1a840..107f9126 100644 --- a/priv/gettext/actions.pot +++ b/priv/gettext/actions.pot @@ -121,7 +121,7 @@ msgstr "" #: lib/cannery_web/live/pack_live/form_component.html.heex:90 #: lib/cannery_web/live/range_live/form_component.html.heex:44 #: lib/cannery_web/live/tag_live/form_component.html.heex:37 -#: lib/cannery_web/live/type_live/form_component.html.heex:353 +#: lib/cannery_web/live/type_live/form_component.html.heex:359 #, elixir-autogen, elixir-format msgid "Save" msgstr "" @@ -288,18 +288,18 @@ msgstr "" msgid "Unstage" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:168 +#: lib/cannery_web/live/pack_live/index.html.heex:172 #, elixir-autogen, elixir-format msgid "Clone pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:183 +#: lib/cannery_web/live/pack_live/index.html.heex:187 #: lib/cannery_web/live/pack_live/show.html.heex:71 #, elixir-autogen, elixir-format msgid "Delete pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:158 +#: lib/cannery_web/live/pack_live/index.html.heex:160 #: lib/cannery_web/live/pack_live/show.html.heex:59 #, elixir-autogen, elixir-format msgid "Edit pack of %{pack_count} bullets" @@ -312,29 +312,29 @@ msgid "View pack of %{pack_count} bullets" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:159 -#: lib/cannery_web/live/range_live/index.html.heex:152 +#: lib/cannery_web/live/range_live/index.html.heex:154 #, elixir-autogen, elixir-format msgid "Delete shot record of %{shot_record_count} shots" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:144 -#: lib/cannery_web/live/range_live/index.html.heex:135 +#: lib/cannery_web/live/range_live/index.html.heex:137 #, elixir-autogen, elixir-format msgid "Edit shot record of %{shot_record_count} shots" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:105 +#: lib/cannery_web/live/type_live/index.html.heex:107 #, elixir-autogen, elixir-format msgid "Clone %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:122 +#: lib/cannery_web/live/type_live/index.html.heex:124 #: lib/cannery_web/live/type_live/show.html.heex:35 #, elixir-autogen, elixir-format msgid "Delete %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:97 +#: lib/cannery_web/live/type_live/index.html.heex:99 #: lib/cannery_web/live/type_live/show.html.heex:19 #, elixir-autogen, elixir-format msgid "Edit %{type_name}" @@ -345,7 +345,7 @@ msgstr "" msgid "New Type" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:89 +#: lib/cannery_web/live/type_live/index.html.heex:91 #, elixir-autogen, elixir-format msgid "View %{type_name}" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/actions.po b/priv/gettext/de/LC_MESSAGES/actions.po index cfd844db..5b9e9d49 100644 --- a/priv/gettext/de/LC_MESSAGES/actions.po +++ b/priv/gettext/de/LC_MESSAGES/actions.po @@ -134,7 +134,7 @@ msgstr "Passwort zurücksetzen" #: lib/cannery_web/live/pack_live/form_component.html.heex:90 #: lib/cannery_web/live/range_live/form_component.html.heex:44 #: lib/cannery_web/live/tag_live/form_component.html.heex:37 -#: lib/cannery_web/live/type_live/form_component.html.heex:353 +#: lib/cannery_web/live/type_live/form_component.html.heex:359 #, elixir-autogen, elixir-format msgid "Save" msgstr "Speichern" @@ -301,18 +301,18 @@ msgstr "" msgid "Unstage" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:168 +#: lib/cannery_web/live/pack_live/index.html.heex:172 #, elixir-autogen, elixir-format, fuzzy msgid "Clone pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:183 +#: lib/cannery_web/live/pack_live/index.html.heex:187 #: lib/cannery_web/live/pack_live/show.html.heex:71 #, elixir-autogen, elixir-format, fuzzy msgid "Delete pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:158 +#: lib/cannery_web/live/pack_live/index.html.heex:160 #: lib/cannery_web/live/pack_live/show.html.heex:59 #, elixir-autogen, elixir-format, fuzzy msgid "Edit pack of %{pack_count} bullets" @@ -325,29 +325,29 @@ msgid "View pack of %{pack_count} bullets" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:159 -#: lib/cannery_web/live/range_live/index.html.heex:152 +#: lib/cannery_web/live/range_live/index.html.heex:154 #, elixir-autogen, elixir-format, fuzzy msgid "Delete shot record of %{shot_record_count} shots" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:144 -#: lib/cannery_web/live/range_live/index.html.heex:135 +#: lib/cannery_web/live/range_live/index.html.heex:137 #, elixir-autogen, elixir-format, fuzzy msgid "Edit shot record of %{shot_record_count} shots" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:105 +#: lib/cannery_web/live/type_live/index.html.heex:107 #, elixir-autogen, elixir-format, fuzzy msgid "Clone %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:122 +#: lib/cannery_web/live/type_live/index.html.heex:124 #: lib/cannery_web/live/type_live/show.html.heex:35 #, elixir-autogen, elixir-format, fuzzy msgid "Delete %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:97 +#: lib/cannery_web/live/type_live/index.html.heex:99 #: lib/cannery_web/live/type_live/show.html.heex:19 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{type_name}" @@ -358,7 +358,7 @@ msgstr "" msgid "New Type" msgstr "Neue Munitionsart" -#: lib/cannery_web/live/type_live/index.html.heex:89 +#: lib/cannery_web/live/type_live/index.html.heex:91 #, elixir-autogen, elixir-format, fuzzy msgid "View %{type_name}" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index 86bc8006..49215e3c 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -44,24 +44,24 @@ msgid "Background color" msgstr "Hintergrundfarbe" #: lib/cannery_web/components/type_table_component.ex:86 -#: lib/cannery_web/live/type_live/form_component.html.heex:327 +#: lib/cannery_web/live/type_live/form_component.html.heex:333 #, elixir-autogen, elixir-format msgid "Blank" msgstr "Knallpatrone" -#: lib/cannery_web/live/type_live/form_component.html.heex:174 +#: lib/cannery_web/live/type_live/form_component.html.heex:180 #, elixir-autogen, elixir-format msgid "Brass" msgstr "Messing" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:147 +#: lib/cannery_web/live/type_live/form_component.html.heex:151 #, elixir-autogen, elixir-format msgid "Bullet core" msgstr "Projektilkern" #: lib/cannery_web/components/type_table_component.ex:59 -#: lib/cannery_web/live/type_live/form_component.html.heex:121 +#: lib/cannery_web/live/type_live/form_component.html.heex:125 #, elixir-autogen, elixir-format msgid "Bullet type" msgstr "Patronenart" @@ -79,7 +79,7 @@ msgid "Cartridge" msgstr "Patrone" #: lib/cannery_web/components/type_table_component.ex:66 -#: lib/cannery_web/live/type_live/form_component.html.heex:170 +#: lib/cannery_web/live/type_live/form_component.html.heex:174 #, elixir-autogen, elixir-format msgid "Case material" msgstr "Gehäusematerial" @@ -100,7 +100,7 @@ msgid "Containers" msgstr "Behälter" #: lib/cannery_web/components/type_table_component.ex:87 -#: lib/cannery_web/live/type_live/form_component.html.heex:331 +#: lib/cannery_web/live/type_live/form_component.html.heex:337 #, elixir-autogen, elixir-format msgid "Corrosive" msgstr "Korrosiv" @@ -145,19 +145,19 @@ msgstr "Einladung bearbeiten" msgid "Edit Tag" msgstr "Tag bearbeiten" -#: lib/cannery_web/live/type_live/form_component.html.heex:135 +#: lib/cannery_web/live/type_live/form_component.html.heex:139 #, elixir-autogen, elixir-format msgid "FMJ" msgstr "VM" #: lib/cannery_web/components/type_table_component.ex:58 -#: lib/cannery_web/live/type_live/form_component.html.heex:111 +#: lib/cannery_web/live/type_live/form_component.html.heex:115 #, elixir-autogen, elixir-format msgid "Grains" msgstr "Körner" #: lib/cannery_web/components/type_table_component.ex:85 -#: lib/cannery_web/live/type_live/form_component.html.heex:323 +#: lib/cannery_web/live/type_live/form_component.html.heex:329 #, elixir-autogen, elixir-format msgid "Incendiary" msgstr "Brandmunition" @@ -208,8 +208,8 @@ msgid "Magazine, Clip, Ammo Box, etc" msgstr "Magazin, Ladestreifen, Munitionskiste usw." #: lib/cannery_web/components/type_table_component.ex:88 -#: lib/cannery_web/live/type_live/form_component.html.heex:336 -#: lib/cannery_web/live/type_live/form_component.html.heex:339 +#: lib/cannery_web/live/type_live/form_component.html.heex:342 +#: lib/cannery_web/live/type_live/form_component.html.heex:345 #, elixir-autogen, elixir-format msgid "Manufacturer" msgstr "Hersteller" @@ -299,7 +299,7 @@ msgid "On the bookshelf" msgstr "Auf dem Bücherregal" #: lib/cannery_web/components/type_table_component.ex:79 -#: lib/cannery_web/live/type_live/form_component.html.heex:260 +#: lib/cannery_web/live/type_live/form_component.html.heex:266 #, elixir-autogen, elixir-format msgid "Pressure" msgstr "Druck" @@ -316,7 +316,7 @@ msgid "Price paid:" msgstr "Kaufpreis:" #: lib/cannery_web/components/type_table_component.ex:82 -#: lib/cannery_web/live/type_live/form_component.html.heex:299 +#: lib/cannery_web/live/type_live/form_component.html.heex:305 #, elixir-autogen, elixir-format msgid "Primer type" msgstr "Zündertyp" @@ -349,7 +349,7 @@ msgstr "Einstellungen" msgid "Simple:" msgstr "Einfach:" -#: lib/cannery_web/live/type_live/form_component.html.heex:154 +#: lib/cannery_web/live/type_live/form_component.html.heex:158 #, elixir-autogen, elixir-format msgid "Steel" msgstr "Stahl" @@ -384,7 +384,7 @@ msgid "The self-hosted firearm tracker website" msgstr "Die selbst-gehostete Website zur Verwaltung von Schusswaffen" #: lib/cannery_web/components/type_table_component.ex:84 -#: lib/cannery_web/live/type_live/form_component.html.heex:319 +#: lib/cannery_web/live/type_live/form_component.html.heex:325 #, elixir-autogen, elixir-format msgid "Tracer" msgstr "Leuchtspur" @@ -462,7 +462,7 @@ msgid "Record shots" msgstr "Schüsse dokumentieren" #: lib/cannery_web/live/range_live/index.html.heex:52 -#: lib/cannery_web/live/range_live/index.html.heex:119 +#: lib/cannery_web/live/range_live/index.html.heex:121 #, elixir-autogen, elixir-format msgid "No shots recorded" msgstr "Keine Schüsse dokumentiert" @@ -501,36 +501,36 @@ msgstr "Schießkladde" msgid "$%{amount}" msgstr "$%{amount}" -#: lib/cannery_web/live/type_live/form_component.html.heex:163 +#: lib/cannery_web/live/type_live/form_component.html.heex:167 #, elixir-autogen, elixir-format msgid "Bimetal" msgstr "Bimetall" #: lib/cannery_web/components/type_table_component.ex:65 -#: lib/cannery_web/live/type_live/form_component.html.heex:159 +#: lib/cannery_web/live/type_live/form_component.html.heex:163 #, elixir-autogen, elixir-format msgid "Jacket type" msgstr "Patronenhülse" #: lib/cannery_web/components/type_table_component.ex:81 -#: lib/cannery_web/live/type_live/form_component.html.heex:282 +#: lib/cannery_web/live/type_live/form_component.html.heex:288 #, elixir-autogen, elixir-format msgid "Muzzle velocity" msgstr "Mündungsgeschwindigkeit" #: lib/cannery_web/components/type_table_component.ex:75 -#: lib/cannery_web/live/type_live/form_component.html.heex:247 +#: lib/cannery_web/live/type_live/form_component.html.heex:253 #, elixir-autogen, elixir-format msgid "Powder grains per charge" msgstr "Pulverkörner pro Ladung" #: lib/cannery_web/components/type_table_component.ex:73 -#: lib/cannery_web/live/type_live/form_component.html.heex:239 +#: lib/cannery_web/live/type_live/form_component.html.heex:245 #, elixir-autogen, elixir-format msgid "Powder type" msgstr "Pulverart" -#: lib/cannery_web/live/type_live/form_component.html.heex:346 +#: lib/cannery_web/live/type_live/form_component.html.heex:352 #, elixir-autogen, elixir-format msgid "UPC" msgstr "UPC" @@ -554,7 +554,7 @@ msgid "New password" msgstr "Neues Passwort" #: lib/cannery_web/components/type_table_component.ex:83 -#: lib/cannery_web/live/type_live/form_component.html.heex:307 +#: lib/cannery_web/live/type_live/form_component.html.heex:313 #, elixir-autogen, elixir-format msgid "Firing type" msgstr "Patronenhülsenform" @@ -766,7 +766,7 @@ msgid "Container:" msgstr "Behälter" #: lib/cannery_web/live/pack_live/index.html.heex:87 -#: lib/cannery_web/live/type_live/index.html.heex:64 +#: lib/cannery_web/live/type_live/index.html.heex:66 #: lib/cannery_web/live/type_live/show.html.heex:164 #, elixir-autogen, elixir-format msgid "Show used" @@ -1011,7 +1011,7 @@ msgstr "" msgid "Edit ammo" msgstr "Munitionstyp bearbeiten" -#: lib/cannery_web/live/type_live/index.html.heex:58 +#: lib/cannery_web/live/type_live/index.html.heex:60 #, elixir-autogen, elixir-format msgid "Search catalog" msgstr "" @@ -1031,7 +1031,7 @@ msgstr "" msgid "Search tags" msgstr "" -#: lib/cannery_web/live/range_live/index.html.heex:112 +#: lib/cannery_web/live/range_live/index.html.heex:114 #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" @@ -1140,7 +1140,7 @@ msgstr "" msgid "Password" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:264 +#: lib/cannery_web/live/type_live/form_component.html.heex:270 #, elixir-autogen, elixir-format msgid "+P" msgstr "" @@ -1155,12 +1155,12 @@ msgstr "" msgid "5.56x46mm NATO" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:303 +#: lib/cannery_web/live/type_live/form_component.html.heex:309 #, elixir-autogen, elixir-format msgid "Boxer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:311 +#: lib/cannery_web/live/type_live/form_component.html.heex:317 #, elixir-autogen, elixir-format msgid "Centerfire" msgstr "" @@ -1204,13 +1204,13 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:97 #: lib/cannery_web/live/pack_live/index.html.heex:58 -#: lib/cannery_web/live/range_live/index.html.heex:89 -#: lib/cannery_web/live/type_live/index.html.heex:35 +#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/type_live/index.html.heex:37 #, elixir-autogen, elixir-format msgid "All" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:316 +#: lib/cannery_web/live/type_live/form_component.html.heex:322 #, elixir-autogen, elixir-format msgid "Attributes" msgstr "" @@ -1227,7 +1227,7 @@ msgid "Brass height:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:57 -#: lib/cannery_web/live/type_live/form_component.html.heex:95 +#: lib/cannery_web/live/type_live/form_component.html.heex:97 #, elixir-autogen, elixir-format msgid "Chamber size" msgstr "" @@ -1243,7 +1243,7 @@ msgid "Dimensions" msgstr "" #: lib/cannery_web/components/type_table_component.ex:80 -#: lib/cannery_web/live/type_live/form_component.html.heex:269 +#: lib/cannery_web/live/type_live/form_component.html.heex:275 #, elixir-autogen, elixir-format msgid "Dram equivalent" msgstr "" @@ -1265,7 +1265,7 @@ msgid "Gauge:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:71 -#: lib/cannery_web/live/type_live/form_component.html.heex:210 +#: lib/cannery_web/live/type_live/form_component.html.heex:216 #, elixir-autogen, elixir-format msgid "Load grains" msgstr "" @@ -1287,41 +1287,41 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:100 #: lib/cannery_web/live/pack_live/index.html.heex:61 -#: lib/cannery_web/live/range_live/index.html.heex:92 +#: lib/cannery_web/live/range_live/index.html.heex:94 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:38 +#: lib/cannery_web/live/type_live/index.html.heex:40 #: lib/cannery_web/live/type_live/show.html.heex:56 #, elixir-autogen, elixir-format msgid "Pistol" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:236 +#: lib/cannery_web/live/type_live/form_component.html.heex:242 #, elixir-autogen, elixir-format, fuzzy msgid "Powder" msgstr "Pulverart" -#: lib/cannery_web/live/type_live/form_component.html.heex:296 +#: lib/cannery_web/live/type_live/form_component.html.heex:302 #, elixir-autogen, elixir-format, fuzzy msgid "Primer" msgstr "Zündertyp" -#: lib/cannery_web/live/type_live/form_component.html.heex:108 +#: lib/cannery_web/live/type_live/form_component.html.heex:112 #, elixir-autogen, elixir-format msgid "Projectile" msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:98 #: lib/cannery_web/live/pack_live/index.html.heex:59 -#: lib/cannery_web/live/range_live/index.html.heex:90 +#: lib/cannery_web/live/range_live/index.html.heex:92 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:36 +#: lib/cannery_web/live/type_live/index.html.heex:38 #: lib/cannery_web/live/type_live/show.html.heex:54 #, elixir-autogen, elixir-format msgid "Rifle" msgstr "" #: lib/cannery_web/components/type_table_component.ex:72 -#: lib/cannery_web/live/type_live/form_component.html.heex:218 +#: lib/cannery_web/live/type_live/form_component.html.heex:224 #, elixir-autogen, elixir-format msgid "Shot charge weight" msgstr "" @@ -1332,7 +1332,7 @@ msgid "Shot charge weight:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:69 -#: lib/cannery_web/live/type_live/form_component.html.heex:194 +#: lib/cannery_web/live/type_live/form_component.html.heex:200 #, elixir-autogen, elixir-format msgid "Shot material" msgstr "" @@ -1343,7 +1343,7 @@ msgid "Shot material:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:70 -#: lib/cannery_web/live/type_live/form_component.html.heex:203 +#: lib/cannery_web/live/type_live/form_component.html.heex:209 #, elixir-autogen, elixir-format, fuzzy msgid "Shot size" msgstr "Schüsse abgegeben" @@ -1354,7 +1354,7 @@ msgid "Shot size:" msgstr "Schüsse abgegeben" #: lib/cannery_web/components/type_table_component.ex:68 -#: lib/cannery_web/live/type_live/form_component.html.heex:186 +#: lib/cannery_web/live/type_live/form_component.html.heex:192 #, elixir-autogen, elixir-format msgid "Shot type" msgstr "" @@ -1366,21 +1366,21 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:99 #: lib/cannery_web/live/pack_live/index.html.heex:60 -#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/range_live/index.html.heex:93 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:37 +#: lib/cannery_web/live/type_live/index.html.heex:39 #: lib/cannery_web/live/type_live/show.html.heex:52 #, elixir-autogen, elixir-format msgid "Shotgun" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:146 +#: lib/cannery_web/live/type_live/form_component.html.heex:150 #, elixir-autogen, elixir-format msgid "Slug core" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:190 +#: lib/cannery_web/live/type_live/form_component.html.heex:196 #, elixir-autogen, elixir-format msgid "Target, bird, buck, etc" msgstr "" @@ -1397,7 +1397,7 @@ msgid "Unfired shell length" msgstr "" #: lib/cannery_web/components/type_table_component.ex:67 -#: lib/cannery_web/live/type_live/form_component.html.heex:179 +#: lib/cannery_web/live/type_live/form_component.html.heex:185 #, elixir-autogen, elixir-format msgid "Wadding" msgstr "" @@ -1448,7 +1448,7 @@ msgid "New Type" msgstr "Neuer Munitionstyp" #: lib/cannery_web/live/type_live/index.html.heex:8 -#: lib/cannery_web/live/type_live/index.html.heex:71 +#: lib/cannery_web/live/type_live/index.html.heex:73 #, elixir-autogen, elixir-format, fuzzy msgid "No Types" msgstr "Art" diff --git a/priv/gettext/de/LC_MESSAGES/prompts.po b/priv/gettext/de/LC_MESSAGES/prompts.po index 108f8e68..b429f738 100644 --- a/priv/gettext/de/LC_MESSAGES/prompts.po +++ b/priv/gettext/de/LC_MESSAGES/prompts.po @@ -73,7 +73,7 @@ msgstr "" msgid "Are you sure you want to delete %{name}?" msgstr "Sind Sie sicher, dass sie %{name} löschen möchten?" -#: lib/cannery_web/live/pack_live/index.html.heex:181 +#: lib/cannery_web/live/pack_live/index.html.heex:185 #: lib/cannery_web/live/pack_live/show.html.heex:69 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this ammo?" @@ -134,7 +134,7 @@ msgstr "Bitte überprüfen Sie ihre Mailbox und bestätigen Sie das Nutzerkonto" #: lib/cannery_web/live/pack_live/form_component.html.heex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:46 #: lib/cannery_web/live/tag_live/form_component.html.heex:39 -#: lib/cannery_web/live/type_live/form_component.html.heex:354 +#: lib/cannery_web/live/type_live/form_component.html.heex:360 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "Speichere..." @@ -177,7 +177,7 @@ msgid "Are you sure you want to unstage this ammo?" msgstr "Sind sie sicher, dass Sie diese Munition demarkieren möchten?" #: lib/cannery_web/live/pack_live/show.ex:157 -#: lib/cannery_web/live/range_live/index.html.heex:149 +#: lib/cannery_web/live/range_live/index.html.heex:151 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this shot record?" msgstr "Sind sie sicher, dass sie die Schießkladde löschen möchten?" @@ -257,7 +257,7 @@ msgid_plural "Ammo added successfully" msgstr[0] "Munitionsgruppe erfolgreich aktualisiert" msgstr[1] "Munitionsgruppe erfolgreich aktualisiert" -#: lib/cannery_web/live/type_live/index.html.heex:116 +#: lib/cannery_web/live/type_live/index.html.heex:118 #: lib/cannery_web/live/type_live/show.html.heex:29 #, elixir-autogen, elixir-format, fuzzy msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!" diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index a977620e..b2214f21 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -40,24 +40,24 @@ msgid "Background color" msgstr "" #: lib/cannery_web/components/type_table_component.ex:86 -#: lib/cannery_web/live/type_live/form_component.html.heex:327 +#: lib/cannery_web/live/type_live/form_component.html.heex:333 #, elixir-autogen, elixir-format msgid "Blank" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:174 +#: lib/cannery_web/live/type_live/form_component.html.heex:180 #, elixir-autogen, elixir-format msgid "Brass" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:147 +#: lib/cannery_web/live/type_live/form_component.html.heex:151 #, elixir-autogen, elixir-format msgid "Bullet core" msgstr "" #: lib/cannery_web/components/type_table_component.ex:59 -#: lib/cannery_web/live/type_live/form_component.html.heex:121 +#: lib/cannery_web/live/type_live/form_component.html.heex:125 #, elixir-autogen, elixir-format msgid "Bullet type" msgstr "" @@ -75,7 +75,7 @@ msgid "Cartridge" msgstr "" #: lib/cannery_web/components/type_table_component.ex:66 -#: lib/cannery_web/live/type_live/form_component.html.heex:170 +#: lib/cannery_web/live/type_live/form_component.html.heex:174 #, elixir-autogen, elixir-format msgid "Case material" msgstr "" @@ -96,7 +96,7 @@ msgid "Containers" msgstr "" #: lib/cannery_web/components/type_table_component.ex:87 -#: lib/cannery_web/live/type_live/form_component.html.heex:331 +#: lib/cannery_web/live/type_live/form_component.html.heex:337 #, elixir-autogen, elixir-format msgid "Corrosive" msgstr "" @@ -141,19 +141,19 @@ msgstr "" msgid "Edit Tag" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:135 +#: lib/cannery_web/live/type_live/form_component.html.heex:139 #, elixir-autogen, elixir-format msgid "FMJ" msgstr "" #: lib/cannery_web/components/type_table_component.ex:58 -#: lib/cannery_web/live/type_live/form_component.html.heex:111 +#: lib/cannery_web/live/type_live/form_component.html.heex:115 #, elixir-autogen, elixir-format msgid "Grains" msgstr "" #: lib/cannery_web/components/type_table_component.ex:85 -#: lib/cannery_web/live/type_live/form_component.html.heex:323 +#: lib/cannery_web/live/type_live/form_component.html.heex:329 #, elixir-autogen, elixir-format msgid "Incendiary" msgstr "" @@ -204,8 +204,8 @@ msgid "Magazine, Clip, Ammo Box, etc" msgstr "" #: lib/cannery_web/components/type_table_component.ex:88 -#: lib/cannery_web/live/type_live/form_component.html.heex:336 -#: lib/cannery_web/live/type_live/form_component.html.heex:339 +#: lib/cannery_web/live/type_live/form_component.html.heex:342 +#: lib/cannery_web/live/type_live/form_component.html.heex:345 #, elixir-autogen, elixir-format msgid "Manufacturer" msgstr "" @@ -295,7 +295,7 @@ msgid "On the bookshelf" msgstr "" #: lib/cannery_web/components/type_table_component.ex:79 -#: lib/cannery_web/live/type_live/form_component.html.heex:260 +#: lib/cannery_web/live/type_live/form_component.html.heex:266 #, elixir-autogen, elixir-format msgid "Pressure" msgstr "" @@ -312,7 +312,7 @@ msgid "Price paid:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:82 -#: lib/cannery_web/live/type_live/form_component.html.heex:299 +#: lib/cannery_web/live/type_live/form_component.html.heex:305 #, elixir-autogen, elixir-format msgid "Primer type" msgstr "" @@ -343,7 +343,7 @@ msgstr "" msgid "Simple:" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:154 +#: lib/cannery_web/live/type_live/form_component.html.heex:158 #, elixir-autogen, elixir-format msgid "Steel" msgstr "" @@ -378,7 +378,7 @@ msgid "The self-hosted firearm tracker website" msgstr "" #: lib/cannery_web/components/type_table_component.ex:84 -#: lib/cannery_web/live/type_live/form_component.html.heex:319 +#: lib/cannery_web/live/type_live/form_component.html.heex:325 #, elixir-autogen, elixir-format msgid "Tracer" msgstr "" @@ -456,7 +456,7 @@ msgid "Record shots" msgstr "" #: lib/cannery_web/live/range_live/index.html.heex:52 -#: lib/cannery_web/live/range_live/index.html.heex:119 +#: lib/cannery_web/live/range_live/index.html.heex:121 #, elixir-autogen, elixir-format msgid "No shots recorded" msgstr "" @@ -495,36 +495,36 @@ msgstr "" msgid "$%{amount}" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:163 +#: lib/cannery_web/live/type_live/form_component.html.heex:167 #, elixir-autogen, elixir-format msgid "Bimetal" msgstr "" #: lib/cannery_web/components/type_table_component.ex:65 -#: lib/cannery_web/live/type_live/form_component.html.heex:159 +#: lib/cannery_web/live/type_live/form_component.html.heex:163 #, elixir-autogen, elixir-format msgid "Jacket type" msgstr "" #: lib/cannery_web/components/type_table_component.ex:81 -#: lib/cannery_web/live/type_live/form_component.html.heex:282 +#: lib/cannery_web/live/type_live/form_component.html.heex:288 #, elixir-autogen, elixir-format msgid "Muzzle velocity" msgstr "" #: lib/cannery_web/components/type_table_component.ex:75 -#: lib/cannery_web/live/type_live/form_component.html.heex:247 +#: lib/cannery_web/live/type_live/form_component.html.heex:253 #, elixir-autogen, elixir-format msgid "Powder grains per charge" msgstr "" #: lib/cannery_web/components/type_table_component.ex:73 -#: lib/cannery_web/live/type_live/form_component.html.heex:239 +#: lib/cannery_web/live/type_live/form_component.html.heex:245 #, elixir-autogen, elixir-format msgid "Powder type" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:346 +#: lib/cannery_web/live/type_live/form_component.html.heex:352 #, elixir-autogen, elixir-format msgid "UPC" msgstr "" @@ -548,7 +548,7 @@ msgid "New password" msgstr "" #: lib/cannery_web/components/type_table_component.ex:83 -#: lib/cannery_web/live/type_live/form_component.html.heex:307 +#: lib/cannery_web/live/type_live/form_component.html.heex:313 #, elixir-autogen, elixir-format msgid "Firing type" msgstr "" @@ -760,7 +760,7 @@ msgid "Container:" msgstr "" #: lib/cannery_web/live/pack_live/index.html.heex:87 -#: lib/cannery_web/live/type_live/index.html.heex:64 +#: lib/cannery_web/live/type_live/index.html.heex:66 #: lib/cannery_web/live/type_live/show.html.heex:164 #, elixir-autogen, elixir-format msgid "Show used" @@ -1005,7 +1005,7 @@ msgstr "" msgid "Edit ammo" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:58 +#: lib/cannery_web/live/type_live/index.html.heex:60 #, elixir-autogen, elixir-format msgid "Search catalog" msgstr "" @@ -1025,7 +1025,7 @@ msgstr "" msgid "Search tags" msgstr "" -#: lib/cannery_web/live/range_live/index.html.heex:112 +#: lib/cannery_web/live/range_live/index.html.heex:114 #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" @@ -1123,7 +1123,7 @@ msgstr "" msgid "Password" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:264 +#: lib/cannery_web/live/type_live/form_component.html.heex:270 #, elixir-autogen, elixir-format msgid "+P" msgstr "" @@ -1138,12 +1138,12 @@ msgstr "" msgid "5.56x46mm NATO" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:303 +#: lib/cannery_web/live/type_live/form_component.html.heex:309 #, elixir-autogen, elixir-format msgid "Boxer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:311 +#: lib/cannery_web/live/type_live/form_component.html.heex:317 #, elixir-autogen, elixir-format msgid "Centerfire" msgstr "" @@ -1187,13 +1187,13 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:97 #: lib/cannery_web/live/pack_live/index.html.heex:58 -#: lib/cannery_web/live/range_live/index.html.heex:89 -#: lib/cannery_web/live/type_live/index.html.heex:35 +#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/type_live/index.html.heex:37 #, elixir-autogen, elixir-format msgid "All" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:316 +#: lib/cannery_web/live/type_live/form_component.html.heex:322 #, elixir-autogen, elixir-format msgid "Attributes" msgstr "" @@ -1210,7 +1210,7 @@ msgid "Brass height:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:57 -#: lib/cannery_web/live/type_live/form_component.html.heex:95 +#: lib/cannery_web/live/type_live/form_component.html.heex:97 #, elixir-autogen, elixir-format msgid "Chamber size" msgstr "" @@ -1226,7 +1226,7 @@ msgid "Dimensions" msgstr "" #: lib/cannery_web/components/type_table_component.ex:80 -#: lib/cannery_web/live/type_live/form_component.html.heex:269 +#: lib/cannery_web/live/type_live/form_component.html.heex:275 #, elixir-autogen, elixir-format msgid "Dram equivalent" msgstr "" @@ -1248,7 +1248,7 @@ msgid "Gauge:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:71 -#: lib/cannery_web/live/type_live/form_component.html.heex:210 +#: lib/cannery_web/live/type_live/form_component.html.heex:216 #, elixir-autogen, elixir-format msgid "Load grains" msgstr "" @@ -1270,41 +1270,41 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:100 #: lib/cannery_web/live/pack_live/index.html.heex:61 -#: lib/cannery_web/live/range_live/index.html.heex:92 +#: lib/cannery_web/live/range_live/index.html.heex:94 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:38 +#: lib/cannery_web/live/type_live/index.html.heex:40 #: lib/cannery_web/live/type_live/show.html.heex:56 #, elixir-autogen, elixir-format msgid "Pistol" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:236 +#: lib/cannery_web/live/type_live/form_component.html.heex:242 #, elixir-autogen, elixir-format msgid "Powder" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:296 +#: lib/cannery_web/live/type_live/form_component.html.heex:302 #, elixir-autogen, elixir-format msgid "Primer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:108 +#: lib/cannery_web/live/type_live/form_component.html.heex:112 #, elixir-autogen, elixir-format msgid "Projectile" msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:98 #: lib/cannery_web/live/pack_live/index.html.heex:59 -#: lib/cannery_web/live/range_live/index.html.heex:90 +#: lib/cannery_web/live/range_live/index.html.heex:92 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:36 +#: lib/cannery_web/live/type_live/index.html.heex:38 #: lib/cannery_web/live/type_live/show.html.heex:54 #, elixir-autogen, elixir-format msgid "Rifle" msgstr "" #: lib/cannery_web/components/type_table_component.ex:72 -#: lib/cannery_web/live/type_live/form_component.html.heex:218 +#: lib/cannery_web/live/type_live/form_component.html.heex:224 #, elixir-autogen, elixir-format msgid "Shot charge weight" msgstr "" @@ -1315,7 +1315,7 @@ msgid "Shot charge weight:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:69 -#: lib/cannery_web/live/type_live/form_component.html.heex:194 +#: lib/cannery_web/live/type_live/form_component.html.heex:200 #, elixir-autogen, elixir-format msgid "Shot material" msgstr "" @@ -1326,7 +1326,7 @@ msgid "Shot material:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:70 -#: lib/cannery_web/live/type_live/form_component.html.heex:203 +#: lib/cannery_web/live/type_live/form_component.html.heex:209 #, elixir-autogen, elixir-format msgid "Shot size" msgstr "" @@ -1337,7 +1337,7 @@ msgid "Shot size:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:68 -#: lib/cannery_web/live/type_live/form_component.html.heex:186 +#: lib/cannery_web/live/type_live/form_component.html.heex:192 #, elixir-autogen, elixir-format msgid "Shot type" msgstr "" @@ -1349,21 +1349,21 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:99 #: lib/cannery_web/live/pack_live/index.html.heex:60 -#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/range_live/index.html.heex:93 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:37 +#: lib/cannery_web/live/type_live/index.html.heex:39 #: lib/cannery_web/live/type_live/show.html.heex:52 #, elixir-autogen, elixir-format msgid "Shotgun" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:146 +#: lib/cannery_web/live/type_live/form_component.html.heex:150 #, elixir-autogen, elixir-format msgid "Slug core" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:190 +#: lib/cannery_web/live/type_live/form_component.html.heex:196 #, elixir-autogen, elixir-format msgid "Target, bird, buck, etc" msgstr "" @@ -1380,7 +1380,7 @@ msgid "Unfired shell length" msgstr "" #: lib/cannery_web/components/type_table_component.ex:67 -#: lib/cannery_web/live/type_live/form_component.html.heex:179 +#: lib/cannery_web/live/type_live/form_component.html.heex:185 #, elixir-autogen, elixir-format msgid "Wadding" msgstr "" @@ -1431,7 +1431,7 @@ msgid "New Type" msgstr "" #: lib/cannery_web/live/type_live/index.html.heex:8 -#: lib/cannery_web/live/type_live/index.html.heex:71 +#: lib/cannery_web/live/type_live/index.html.heex:73 #, elixir-autogen, elixir-format msgid "No Types" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/actions.po b/priv/gettext/en/LC_MESSAGES/actions.po index 876f8591..e928e626 100644 --- a/priv/gettext/en/LC_MESSAGES/actions.po +++ b/priv/gettext/en/LC_MESSAGES/actions.po @@ -121,7 +121,7 @@ msgstr "" #: lib/cannery_web/live/pack_live/form_component.html.heex:90 #: lib/cannery_web/live/range_live/form_component.html.heex:44 #: lib/cannery_web/live/tag_live/form_component.html.heex:37 -#: lib/cannery_web/live/type_live/form_component.html.heex:353 +#: lib/cannery_web/live/type_live/form_component.html.heex:359 #, elixir-autogen, elixir-format msgid "Save" msgstr "" @@ -288,18 +288,18 @@ msgstr "" msgid "Unstage" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:168 +#: lib/cannery_web/live/pack_live/index.html.heex:172 #, elixir-autogen, elixir-format, fuzzy msgid "Clone pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:183 +#: lib/cannery_web/live/pack_live/index.html.heex:187 #: lib/cannery_web/live/pack_live/show.html.heex:71 #, elixir-autogen, elixir-format, fuzzy msgid "Delete pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:158 +#: lib/cannery_web/live/pack_live/index.html.heex:160 #: lib/cannery_web/live/pack_live/show.html.heex:59 #, elixir-autogen, elixir-format, fuzzy msgid "Edit pack of %{pack_count} bullets" @@ -312,29 +312,29 @@ msgid "View pack of %{pack_count} bullets" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:159 -#: lib/cannery_web/live/range_live/index.html.heex:152 +#: lib/cannery_web/live/range_live/index.html.heex:154 #, elixir-autogen, elixir-format, fuzzy msgid "Delete shot record of %{shot_record_count} shots" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:144 -#: lib/cannery_web/live/range_live/index.html.heex:135 +#: lib/cannery_web/live/range_live/index.html.heex:137 #, elixir-autogen, elixir-format, fuzzy msgid "Edit shot record of %{shot_record_count} shots" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:105 +#: lib/cannery_web/live/type_live/index.html.heex:107 #, elixir-autogen, elixir-format, fuzzy msgid "Clone %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:122 +#: lib/cannery_web/live/type_live/index.html.heex:124 #: lib/cannery_web/live/type_live/show.html.heex:35 #, elixir-autogen, elixir-format, fuzzy msgid "Delete %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:97 +#: lib/cannery_web/live/type_live/index.html.heex:99 #: lib/cannery_web/live/type_live/show.html.heex:19 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{type_name}" @@ -345,7 +345,7 @@ msgstr "" msgid "New Type" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:89 +#: lib/cannery_web/live/type_live/index.html.heex:91 #, elixir-autogen, elixir-format, fuzzy msgid "View %{type_name}" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index 8673521f..eb374815 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -40,24 +40,24 @@ msgid "Background color" msgstr "" #: lib/cannery_web/components/type_table_component.ex:86 -#: lib/cannery_web/live/type_live/form_component.html.heex:327 +#: lib/cannery_web/live/type_live/form_component.html.heex:333 #, elixir-autogen, elixir-format msgid "Blank" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:174 +#: lib/cannery_web/live/type_live/form_component.html.heex:180 #, elixir-autogen, elixir-format msgid "Brass" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:147 +#: lib/cannery_web/live/type_live/form_component.html.heex:151 #, elixir-autogen, elixir-format msgid "Bullet core" msgstr "" #: lib/cannery_web/components/type_table_component.ex:59 -#: lib/cannery_web/live/type_live/form_component.html.heex:121 +#: lib/cannery_web/live/type_live/form_component.html.heex:125 #, elixir-autogen, elixir-format msgid "Bullet type" msgstr "" @@ -75,7 +75,7 @@ msgid "Cartridge" msgstr "" #: lib/cannery_web/components/type_table_component.ex:66 -#: lib/cannery_web/live/type_live/form_component.html.heex:170 +#: lib/cannery_web/live/type_live/form_component.html.heex:174 #, elixir-autogen, elixir-format msgid "Case material" msgstr "" @@ -96,7 +96,7 @@ msgid "Containers" msgstr "" #: lib/cannery_web/components/type_table_component.ex:87 -#: lib/cannery_web/live/type_live/form_component.html.heex:331 +#: lib/cannery_web/live/type_live/form_component.html.heex:337 #, elixir-autogen, elixir-format msgid "Corrosive" msgstr "" @@ -141,19 +141,19 @@ msgstr "" msgid "Edit Tag" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:135 +#: lib/cannery_web/live/type_live/form_component.html.heex:139 #, elixir-autogen, elixir-format msgid "FMJ" msgstr "" #: lib/cannery_web/components/type_table_component.ex:58 -#: lib/cannery_web/live/type_live/form_component.html.heex:111 +#: lib/cannery_web/live/type_live/form_component.html.heex:115 #, elixir-autogen, elixir-format msgid "Grains" msgstr "" #: lib/cannery_web/components/type_table_component.ex:85 -#: lib/cannery_web/live/type_live/form_component.html.heex:323 +#: lib/cannery_web/live/type_live/form_component.html.heex:329 #, elixir-autogen, elixir-format msgid "Incendiary" msgstr "" @@ -204,8 +204,8 @@ msgid "Magazine, Clip, Ammo Box, etc" msgstr "" #: lib/cannery_web/components/type_table_component.ex:88 -#: lib/cannery_web/live/type_live/form_component.html.heex:336 -#: lib/cannery_web/live/type_live/form_component.html.heex:339 +#: lib/cannery_web/live/type_live/form_component.html.heex:342 +#: lib/cannery_web/live/type_live/form_component.html.heex:345 #, elixir-autogen, elixir-format msgid "Manufacturer" msgstr "" @@ -295,7 +295,7 @@ msgid "On the bookshelf" msgstr "" #: lib/cannery_web/components/type_table_component.ex:79 -#: lib/cannery_web/live/type_live/form_component.html.heex:260 +#: lib/cannery_web/live/type_live/form_component.html.heex:266 #, elixir-autogen, elixir-format msgid "Pressure" msgstr "" @@ -312,7 +312,7 @@ msgid "Price paid:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:82 -#: lib/cannery_web/live/type_live/form_component.html.heex:299 +#: lib/cannery_web/live/type_live/form_component.html.heex:305 #, elixir-autogen, elixir-format msgid "Primer type" msgstr "" @@ -343,7 +343,7 @@ msgstr "" msgid "Simple:" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:154 +#: lib/cannery_web/live/type_live/form_component.html.heex:158 #, elixir-autogen, elixir-format msgid "Steel" msgstr "" @@ -378,7 +378,7 @@ msgid "The self-hosted firearm tracker website" msgstr "" #: lib/cannery_web/components/type_table_component.ex:84 -#: lib/cannery_web/live/type_live/form_component.html.heex:319 +#: lib/cannery_web/live/type_live/form_component.html.heex:325 #, elixir-autogen, elixir-format msgid "Tracer" msgstr "" @@ -456,7 +456,7 @@ msgid "Record shots" msgstr "" #: lib/cannery_web/live/range_live/index.html.heex:52 -#: lib/cannery_web/live/range_live/index.html.heex:119 +#: lib/cannery_web/live/range_live/index.html.heex:121 #, elixir-autogen, elixir-format msgid "No shots recorded" msgstr "" @@ -495,36 +495,36 @@ msgstr "" msgid "$%{amount}" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:163 +#: lib/cannery_web/live/type_live/form_component.html.heex:167 #, elixir-autogen, elixir-format msgid "Bimetal" msgstr "" #: lib/cannery_web/components/type_table_component.ex:65 -#: lib/cannery_web/live/type_live/form_component.html.heex:159 +#: lib/cannery_web/live/type_live/form_component.html.heex:163 #, elixir-autogen, elixir-format msgid "Jacket type" msgstr "" #: lib/cannery_web/components/type_table_component.ex:81 -#: lib/cannery_web/live/type_live/form_component.html.heex:282 +#: lib/cannery_web/live/type_live/form_component.html.heex:288 #, elixir-autogen, elixir-format msgid "Muzzle velocity" msgstr "" #: lib/cannery_web/components/type_table_component.ex:75 -#: lib/cannery_web/live/type_live/form_component.html.heex:247 +#: lib/cannery_web/live/type_live/form_component.html.heex:253 #, elixir-autogen, elixir-format msgid "Powder grains per charge" msgstr "" #: lib/cannery_web/components/type_table_component.ex:73 -#: lib/cannery_web/live/type_live/form_component.html.heex:239 +#: lib/cannery_web/live/type_live/form_component.html.heex:245 #, elixir-autogen, elixir-format msgid "Powder type" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:346 +#: lib/cannery_web/live/type_live/form_component.html.heex:352 #, elixir-autogen, elixir-format msgid "UPC" msgstr "" @@ -548,7 +548,7 @@ msgid "New password" msgstr "" #: lib/cannery_web/components/type_table_component.ex:83 -#: lib/cannery_web/live/type_live/form_component.html.heex:307 +#: lib/cannery_web/live/type_live/form_component.html.heex:313 #, elixir-autogen, elixir-format msgid "Firing type" msgstr "" @@ -760,7 +760,7 @@ msgid "Container:" msgstr "" #: lib/cannery_web/live/pack_live/index.html.heex:87 -#: lib/cannery_web/live/type_live/index.html.heex:64 +#: lib/cannery_web/live/type_live/index.html.heex:66 #: lib/cannery_web/live/type_live/show.html.heex:164 #, elixir-autogen, elixir-format msgid "Show used" @@ -1005,7 +1005,7 @@ msgstr "" msgid "Edit ammo" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:58 +#: lib/cannery_web/live/type_live/index.html.heex:60 #, elixir-autogen, elixir-format msgid "Search catalog" msgstr "" @@ -1025,7 +1025,7 @@ msgstr "" msgid "Search tags" msgstr "" -#: lib/cannery_web/live/range_live/index.html.heex:112 +#: lib/cannery_web/live/range_live/index.html.heex:114 #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" @@ -1123,7 +1123,7 @@ msgstr "" msgid "Password" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:264 +#: lib/cannery_web/live/type_live/form_component.html.heex:270 #, elixir-autogen, elixir-format msgid "+P" msgstr "" @@ -1138,12 +1138,12 @@ msgstr "" msgid "5.56x46mm NATO" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:303 +#: lib/cannery_web/live/type_live/form_component.html.heex:309 #, elixir-autogen, elixir-format msgid "Boxer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:311 +#: lib/cannery_web/live/type_live/form_component.html.heex:317 #, elixir-autogen, elixir-format msgid "Centerfire" msgstr "" @@ -1187,13 +1187,13 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:97 #: lib/cannery_web/live/pack_live/index.html.heex:58 -#: lib/cannery_web/live/range_live/index.html.heex:89 -#: lib/cannery_web/live/type_live/index.html.heex:35 +#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/type_live/index.html.heex:37 #, elixir-autogen, elixir-format msgid "All" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:316 +#: lib/cannery_web/live/type_live/form_component.html.heex:322 #, elixir-autogen, elixir-format msgid "Attributes" msgstr "" @@ -1210,7 +1210,7 @@ msgid "Brass height:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:57 -#: lib/cannery_web/live/type_live/form_component.html.heex:95 +#: lib/cannery_web/live/type_live/form_component.html.heex:97 #, elixir-autogen, elixir-format msgid "Chamber size" msgstr "" @@ -1226,7 +1226,7 @@ msgid "Dimensions" msgstr "" #: lib/cannery_web/components/type_table_component.ex:80 -#: lib/cannery_web/live/type_live/form_component.html.heex:269 +#: lib/cannery_web/live/type_live/form_component.html.heex:275 #, elixir-autogen, elixir-format msgid "Dram equivalent" msgstr "" @@ -1248,7 +1248,7 @@ msgid "Gauge:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:71 -#: lib/cannery_web/live/type_live/form_component.html.heex:210 +#: lib/cannery_web/live/type_live/form_component.html.heex:216 #, elixir-autogen, elixir-format msgid "Load grains" msgstr "" @@ -1270,41 +1270,41 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:100 #: lib/cannery_web/live/pack_live/index.html.heex:61 -#: lib/cannery_web/live/range_live/index.html.heex:92 +#: lib/cannery_web/live/range_live/index.html.heex:94 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:38 +#: lib/cannery_web/live/type_live/index.html.heex:40 #: lib/cannery_web/live/type_live/show.html.heex:56 #, elixir-autogen, elixir-format msgid "Pistol" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:236 +#: lib/cannery_web/live/type_live/form_component.html.heex:242 #, elixir-autogen, elixir-format, fuzzy msgid "Powder" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:296 +#: lib/cannery_web/live/type_live/form_component.html.heex:302 #, elixir-autogen, elixir-format, fuzzy msgid "Primer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:108 +#: lib/cannery_web/live/type_live/form_component.html.heex:112 #, elixir-autogen, elixir-format msgid "Projectile" msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:98 #: lib/cannery_web/live/pack_live/index.html.heex:59 -#: lib/cannery_web/live/range_live/index.html.heex:90 +#: lib/cannery_web/live/range_live/index.html.heex:92 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:36 +#: lib/cannery_web/live/type_live/index.html.heex:38 #: lib/cannery_web/live/type_live/show.html.heex:54 #, elixir-autogen, elixir-format msgid "Rifle" msgstr "" #: lib/cannery_web/components/type_table_component.ex:72 -#: lib/cannery_web/live/type_live/form_component.html.heex:218 +#: lib/cannery_web/live/type_live/form_component.html.heex:224 #, elixir-autogen, elixir-format msgid "Shot charge weight" msgstr "" @@ -1315,7 +1315,7 @@ msgid "Shot charge weight:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:69 -#: lib/cannery_web/live/type_live/form_component.html.heex:194 +#: lib/cannery_web/live/type_live/form_component.html.heex:200 #, elixir-autogen, elixir-format msgid "Shot material" msgstr "" @@ -1326,7 +1326,7 @@ msgid "Shot material:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:70 -#: lib/cannery_web/live/type_live/form_component.html.heex:203 +#: lib/cannery_web/live/type_live/form_component.html.heex:209 #, elixir-autogen, elixir-format, fuzzy msgid "Shot size" msgstr "" @@ -1337,7 +1337,7 @@ msgid "Shot size:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:68 -#: lib/cannery_web/live/type_live/form_component.html.heex:186 +#: lib/cannery_web/live/type_live/form_component.html.heex:192 #, elixir-autogen, elixir-format msgid "Shot type" msgstr "" @@ -1349,21 +1349,21 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:99 #: lib/cannery_web/live/pack_live/index.html.heex:60 -#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/range_live/index.html.heex:93 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:37 +#: lib/cannery_web/live/type_live/index.html.heex:39 #: lib/cannery_web/live/type_live/show.html.heex:52 #, elixir-autogen, elixir-format msgid "Shotgun" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:146 +#: lib/cannery_web/live/type_live/form_component.html.heex:150 #, elixir-autogen, elixir-format msgid "Slug core" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:190 +#: lib/cannery_web/live/type_live/form_component.html.heex:196 #, elixir-autogen, elixir-format msgid "Target, bird, buck, etc" msgstr "" @@ -1380,7 +1380,7 @@ msgid "Unfired shell length" msgstr "" #: lib/cannery_web/components/type_table_component.ex:67 -#: lib/cannery_web/live/type_live/form_component.html.heex:179 +#: lib/cannery_web/live/type_live/form_component.html.heex:185 #, elixir-autogen, elixir-format msgid "Wadding" msgstr "" @@ -1431,7 +1431,7 @@ msgid "New Type" msgstr "" #: lib/cannery_web/live/type_live/index.html.heex:8 -#: lib/cannery_web/live/type_live/index.html.heex:71 +#: lib/cannery_web/live/type_live/index.html.heex:73 #, elixir-autogen, elixir-format, fuzzy msgid "No Types" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/prompts.po b/priv/gettext/en/LC_MESSAGES/prompts.po index 261142da..fbde2116 100644 --- a/priv/gettext/en/LC_MESSAGES/prompts.po +++ b/priv/gettext/en/LC_MESSAGES/prompts.po @@ -58,7 +58,7 @@ msgstr "" msgid "Are you sure you want to delete %{name}?" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:181 +#: lib/cannery_web/live/pack_live/index.html.heex:185 #: lib/cannery_web/live/pack_live/show.html.heex:69 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this ammo?" @@ -115,7 +115,7 @@ msgstr "" #: lib/cannery_web/live/pack_live/form_component.html.heex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:46 #: lib/cannery_web/live/tag_live/form_component.html.heex:39 -#: lib/cannery_web/live/type_live/form_component.html.heex:354 +#: lib/cannery_web/live/type_live/form_component.html.heex:360 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "" @@ -156,7 +156,7 @@ msgid "Are you sure you want to unstage this ammo?" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:157 -#: lib/cannery_web/live/range_live/index.html.heex:149 +#: lib/cannery_web/live/range_live/index.html.heex:151 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this shot record?" msgstr "" @@ -236,7 +236,7 @@ msgid_plural "Ammo added successfully" msgstr[0] "" msgstr[1] "" -#: lib/cannery_web/live/type_live/index.html.heex:116 +#: lib/cannery_web/live/type_live/index.html.heex:118 #: lib/cannery_web/live/type_live/show.html.heex:29 #, elixir-autogen, elixir-format, fuzzy msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!" diff --git a/priv/gettext/es/LC_MESSAGES/actions.po b/priv/gettext/es/LC_MESSAGES/actions.po index c5a15379..e5fb55c3 100644 --- a/priv/gettext/es/LC_MESSAGES/actions.po +++ b/priv/gettext/es/LC_MESSAGES/actions.po @@ -134,7 +134,7 @@ msgstr "Resetear contraseña" #: lib/cannery_web/live/pack_live/form_component.html.heex:90 #: lib/cannery_web/live/range_live/form_component.html.heex:44 #: lib/cannery_web/live/tag_live/form_component.html.heex:37 -#: lib/cannery_web/live/type_live/form_component.html.heex:353 +#: lib/cannery_web/live/type_live/form_component.html.heex:359 #, elixir-autogen, elixir-format msgid "Save" msgstr "Guardar" @@ -301,18 +301,18 @@ msgstr "" msgid "Unstage" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:168 +#: lib/cannery_web/live/pack_live/index.html.heex:172 #, elixir-autogen, elixir-format, fuzzy msgid "Clone pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:183 +#: lib/cannery_web/live/pack_live/index.html.heex:187 #: lib/cannery_web/live/pack_live/show.html.heex:71 #, elixir-autogen, elixir-format, fuzzy msgid "Delete pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:158 +#: lib/cannery_web/live/pack_live/index.html.heex:160 #: lib/cannery_web/live/pack_live/show.html.heex:59 #, elixir-autogen, elixir-format, fuzzy msgid "Edit pack of %{pack_count} bullets" @@ -325,29 +325,29 @@ msgid "View pack of %{pack_count} bullets" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:159 -#: lib/cannery_web/live/range_live/index.html.heex:152 +#: lib/cannery_web/live/range_live/index.html.heex:154 #, elixir-autogen, elixir-format, fuzzy msgid "Delete shot record of %{shot_record_count} shots" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:144 -#: lib/cannery_web/live/range_live/index.html.heex:135 +#: lib/cannery_web/live/range_live/index.html.heex:137 #, elixir-autogen, elixir-format, fuzzy msgid "Edit shot record of %{shot_record_count} shots" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:105 +#: lib/cannery_web/live/type_live/index.html.heex:107 #, elixir-autogen, elixir-format, fuzzy msgid "Clone %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:122 +#: lib/cannery_web/live/type_live/index.html.heex:124 #: lib/cannery_web/live/type_live/show.html.heex:35 #, elixir-autogen, elixir-format, fuzzy msgid "Delete %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:97 +#: lib/cannery_web/live/type_live/index.html.heex:99 #: lib/cannery_web/live/type_live/show.html.heex:19 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{type_name}" @@ -358,7 +358,7 @@ msgstr "" msgid "New Type" msgstr "Nuevo tipo de Munición" -#: lib/cannery_web/live/type_live/index.html.heex:89 +#: lib/cannery_web/live/type_live/index.html.heex:91 #, elixir-autogen, elixir-format, fuzzy msgid "View %{type_name}" msgstr "" diff --git a/priv/gettext/es/LC_MESSAGES/default.po b/priv/gettext/es/LC_MESSAGES/default.po index c9d52681..0e0af3fe 100644 --- a/priv/gettext/es/LC_MESSAGES/default.po +++ b/priv/gettext/es/LC_MESSAGES/default.po @@ -44,24 +44,24 @@ msgid "Background color" msgstr "Color de fondo" #: lib/cannery_web/components/type_table_component.ex:86 -#: lib/cannery_web/live/type_live/form_component.html.heex:327 +#: lib/cannery_web/live/type_live/form_component.html.heex:333 #, elixir-autogen, elixir-format msgid "Blank" msgstr "Fogueo" -#: lib/cannery_web/live/type_live/form_component.html.heex:174 +#: lib/cannery_web/live/type_live/form_component.html.heex:180 #, elixir-autogen, elixir-format msgid "Brass" msgstr "Latón" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:147 +#: lib/cannery_web/live/type_live/form_component.html.heex:151 #, elixir-autogen, elixir-format msgid "Bullet core" msgstr "Núcleo de bala" #: lib/cannery_web/components/type_table_component.ex:59 -#: lib/cannery_web/live/type_live/form_component.html.heex:121 +#: lib/cannery_web/live/type_live/form_component.html.heex:125 #, elixir-autogen, elixir-format msgid "Bullet type" msgstr "Tipo de bala" @@ -79,7 +79,7 @@ msgid "Cartridge" msgstr "Cartucho" #: lib/cannery_web/components/type_table_component.ex:66 -#: lib/cannery_web/live/type_live/form_component.html.heex:170 +#: lib/cannery_web/live/type_live/form_component.html.heex:174 #, elixir-autogen, elixir-format msgid "Case material" msgstr "Material del casquillo" @@ -100,7 +100,7 @@ msgid "Containers" msgstr "Contenedores" #: lib/cannery_web/components/type_table_component.ex:87 -#: lib/cannery_web/live/type_live/form_component.html.heex:331 +#: lib/cannery_web/live/type_live/form_component.html.heex:337 #, elixir-autogen, elixir-format msgid "Corrosive" msgstr "Corrosiva" @@ -145,19 +145,19 @@ msgstr "Editar Invitación" msgid "Edit Tag" msgstr "Editar Etiqueta" -#: lib/cannery_web/live/type_live/form_component.html.heex:135 +#: lib/cannery_web/live/type_live/form_component.html.heex:139 #, elixir-autogen, elixir-format msgid "FMJ" msgstr "Bala encamisada" #: lib/cannery_web/components/type_table_component.ex:58 -#: lib/cannery_web/live/type_live/form_component.html.heex:111 +#: lib/cannery_web/live/type_live/form_component.html.heex:115 #, elixir-autogen, elixir-format msgid "Grains" msgstr "Grano" #: lib/cannery_web/components/type_table_component.ex:85 -#: lib/cannery_web/live/type_live/form_component.html.heex:323 +#: lib/cannery_web/live/type_live/form_component.html.heex:329 #, elixir-autogen, elixir-format msgid "Incendiary" msgstr "Incendiaria" @@ -208,8 +208,8 @@ msgid "Magazine, Clip, Ammo Box, etc" msgstr "Cargador, Clip, Caja de Munición, etc" #: lib/cannery_web/components/type_table_component.ex:88 -#: lib/cannery_web/live/type_live/form_component.html.heex:336 -#: lib/cannery_web/live/type_live/form_component.html.heex:339 +#: lib/cannery_web/live/type_live/form_component.html.heex:342 +#: lib/cannery_web/live/type_live/form_component.html.heex:345 #, elixir-autogen, elixir-format msgid "Manufacturer" msgstr "Fabricante" @@ -299,7 +299,7 @@ msgid "On the bookshelf" msgstr "En la estantería" #: lib/cannery_web/components/type_table_component.ex:79 -#: lib/cannery_web/live/type_live/form_component.html.heex:260 +#: lib/cannery_web/live/type_live/form_component.html.heex:266 #, elixir-autogen, elixir-format msgid "Pressure" msgstr "Presión" @@ -316,7 +316,7 @@ msgid "Price paid:" msgstr "Precio pagado:" #: lib/cannery_web/components/type_table_component.ex:82 -#: lib/cannery_web/live/type_live/form_component.html.heex:299 +#: lib/cannery_web/live/type_live/form_component.html.heex:305 #, elixir-autogen, elixir-format msgid "Primer type" msgstr "Tipo de espoleta" @@ -349,7 +349,7 @@ msgstr "Ajustes" msgid "Simple:" msgstr "Simple:" -#: lib/cannery_web/live/type_live/form_component.html.heex:154 +#: lib/cannery_web/live/type_live/form_component.html.heex:158 #, elixir-autogen, elixir-format msgid "Steel" msgstr "Acero" @@ -385,7 +385,7 @@ msgid "The self-hosted firearm tracker website" msgstr "La página de seguimiento de armas autogestionada" #: lib/cannery_web/components/type_table_component.ex:84 -#: lib/cannery_web/live/type_live/form_component.html.heex:319 +#: lib/cannery_web/live/type_live/form_component.html.heex:325 #, elixir-autogen, elixir-format msgid "Tracer" msgstr "Trazadora" @@ -463,7 +463,7 @@ msgid "Record shots" msgstr "Tiros récord" #: lib/cannery_web/live/range_live/index.html.heex:52 -#: lib/cannery_web/live/range_live/index.html.heex:119 +#: lib/cannery_web/live/range_live/index.html.heex:121 #, elixir-autogen, elixir-format msgid "No shots recorded" msgstr "No se han grabado tiros" @@ -502,36 +502,36 @@ msgstr "Registro de tiros" msgid "$%{amount}" msgstr "$%{amount}" -#: lib/cannery_web/live/type_live/form_component.html.heex:163 +#: lib/cannery_web/live/type_live/form_component.html.heex:167 #, elixir-autogen, elixir-format msgid "Bimetal" msgstr "Bimetal" #: lib/cannery_web/components/type_table_component.ex:65 -#: lib/cannery_web/live/type_live/form_component.html.heex:159 +#: lib/cannery_web/live/type_live/form_component.html.heex:163 #, elixir-autogen, elixir-format msgid "Jacket type" msgstr "Tipo de camisa" #: lib/cannery_web/components/type_table_component.ex:81 -#: lib/cannery_web/live/type_live/form_component.html.heex:282 +#: lib/cannery_web/live/type_live/form_component.html.heex:288 #, elixir-autogen, elixir-format msgid "Muzzle velocity" msgstr "Velocidad de boca" #: lib/cannery_web/components/type_table_component.ex:75 -#: lib/cannery_web/live/type_live/form_component.html.heex:247 +#: lib/cannery_web/live/type_live/form_component.html.heex:253 #, elixir-autogen, elixir-format msgid "Powder grains per charge" msgstr "Granos de polvora por carga" #: lib/cannery_web/components/type_table_component.ex:73 -#: lib/cannery_web/live/type_live/form_component.html.heex:239 +#: lib/cannery_web/live/type_live/form_component.html.heex:245 #, elixir-autogen, elixir-format msgid "Powder type" msgstr "Tipo de polvora" -#: lib/cannery_web/live/type_live/form_component.html.heex:346 +#: lib/cannery_web/live/type_live/form_component.html.heex:352 #, elixir-autogen, elixir-format msgid "UPC" msgstr "" @@ -555,7 +555,7 @@ msgid "New password" msgstr "Nueva contraseña" #: lib/cannery_web/components/type_table_component.ex:83 -#: lib/cannery_web/live/type_live/form_component.html.heex:307 +#: lib/cannery_web/live/type_live/form_component.html.heex:313 #, elixir-autogen, elixir-format msgid "Firing type" msgstr "Tipo de fuego" @@ -768,7 +768,7 @@ msgid "Container:" msgstr "Contenedor:" #: lib/cannery_web/live/pack_live/index.html.heex:87 -#: lib/cannery_web/live/type_live/index.html.heex:64 +#: lib/cannery_web/live/type_live/index.html.heex:66 #: lib/cannery_web/live/type_live/show.html.heex:164 #, elixir-autogen, elixir-format msgid "Show used" @@ -1013,7 +1013,7 @@ msgstr "Comprada en:" msgid "Edit ammo" msgstr "Editar munición" -#: lib/cannery_web/live/type_live/index.html.heex:58 +#: lib/cannery_web/live/type_live/index.html.heex:60 #, elixir-autogen, elixir-format msgid "Search catalog" msgstr "" @@ -1033,7 +1033,7 @@ msgstr "" msgid "Search tags" msgstr "" -#: lib/cannery_web/live/range_live/index.html.heex:112 +#: lib/cannery_web/live/range_live/index.html.heex:114 #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" @@ -1142,7 +1142,7 @@ msgstr "" msgid "Password" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:264 +#: lib/cannery_web/live/type_live/form_component.html.heex:270 #, elixir-autogen, elixir-format msgid "+P" msgstr "" @@ -1157,12 +1157,12 @@ msgstr "" msgid "5.56x46mm NATO" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:303 +#: lib/cannery_web/live/type_live/form_component.html.heex:309 #, elixir-autogen, elixir-format msgid "Boxer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:311 +#: lib/cannery_web/live/type_live/form_component.html.heex:317 #, elixir-autogen, elixir-format msgid "Centerfire" msgstr "" @@ -1206,13 +1206,13 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:97 #: lib/cannery_web/live/pack_live/index.html.heex:58 -#: lib/cannery_web/live/range_live/index.html.heex:89 -#: lib/cannery_web/live/type_live/index.html.heex:35 +#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/type_live/index.html.heex:37 #, elixir-autogen, elixir-format msgid "All" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:316 +#: lib/cannery_web/live/type_live/form_component.html.heex:322 #, elixir-autogen, elixir-format msgid "Attributes" msgstr "" @@ -1229,7 +1229,7 @@ msgid "Brass height:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:57 -#: lib/cannery_web/live/type_live/form_component.html.heex:95 +#: lib/cannery_web/live/type_live/form_component.html.heex:97 #, elixir-autogen, elixir-format msgid "Chamber size" msgstr "" @@ -1245,7 +1245,7 @@ msgid "Dimensions" msgstr "" #: lib/cannery_web/components/type_table_component.ex:80 -#: lib/cannery_web/live/type_live/form_component.html.heex:269 +#: lib/cannery_web/live/type_live/form_component.html.heex:275 #, elixir-autogen, elixir-format msgid "Dram equivalent" msgstr "" @@ -1267,7 +1267,7 @@ msgid "Gauge:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:71 -#: lib/cannery_web/live/type_live/form_component.html.heex:210 +#: lib/cannery_web/live/type_live/form_component.html.heex:216 #, elixir-autogen, elixir-format msgid "Load grains" msgstr "" @@ -1289,41 +1289,41 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:100 #: lib/cannery_web/live/pack_live/index.html.heex:61 -#: lib/cannery_web/live/range_live/index.html.heex:92 +#: lib/cannery_web/live/range_live/index.html.heex:94 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:38 +#: lib/cannery_web/live/type_live/index.html.heex:40 #: lib/cannery_web/live/type_live/show.html.heex:56 #, elixir-autogen, elixir-format msgid "Pistol" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:236 +#: lib/cannery_web/live/type_live/form_component.html.heex:242 #, elixir-autogen, elixir-format, fuzzy msgid "Powder" msgstr "Tipo de polvora" -#: lib/cannery_web/live/type_live/form_component.html.heex:296 +#: lib/cannery_web/live/type_live/form_component.html.heex:302 #, elixir-autogen, elixir-format, fuzzy msgid "Primer" msgstr "Tipo de espoleta" -#: lib/cannery_web/live/type_live/form_component.html.heex:108 +#: lib/cannery_web/live/type_live/form_component.html.heex:112 #, elixir-autogen, elixir-format msgid "Projectile" msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:98 #: lib/cannery_web/live/pack_live/index.html.heex:59 -#: lib/cannery_web/live/range_live/index.html.heex:90 +#: lib/cannery_web/live/range_live/index.html.heex:92 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:36 +#: lib/cannery_web/live/type_live/index.html.heex:38 #: lib/cannery_web/live/type_live/show.html.heex:54 #, elixir-autogen, elixir-format msgid "Rifle" msgstr "" #: lib/cannery_web/components/type_table_component.ex:72 -#: lib/cannery_web/live/type_live/form_component.html.heex:218 +#: lib/cannery_web/live/type_live/form_component.html.heex:224 #, elixir-autogen, elixir-format msgid "Shot charge weight" msgstr "" @@ -1334,7 +1334,7 @@ msgid "Shot charge weight:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:69 -#: lib/cannery_web/live/type_live/form_component.html.heex:194 +#: lib/cannery_web/live/type_live/form_component.html.heex:200 #, elixir-autogen, elixir-format msgid "Shot material" msgstr "" @@ -1345,7 +1345,7 @@ msgid "Shot material:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:70 -#: lib/cannery_web/live/type_live/form_component.html.heex:203 +#: lib/cannery_web/live/type_live/form_component.html.heex:209 #, elixir-autogen, elixir-format, fuzzy msgid "Shot size" msgstr "Tiros disparados" @@ -1356,7 +1356,7 @@ msgid "Shot size:" msgstr "Tiros disparados" #: lib/cannery_web/components/type_table_component.ex:68 -#: lib/cannery_web/live/type_live/form_component.html.heex:186 +#: lib/cannery_web/live/type_live/form_component.html.heex:192 #, elixir-autogen, elixir-format msgid "Shot type" msgstr "" @@ -1368,21 +1368,21 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:99 #: lib/cannery_web/live/pack_live/index.html.heex:60 -#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/range_live/index.html.heex:93 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:37 +#: lib/cannery_web/live/type_live/index.html.heex:39 #: lib/cannery_web/live/type_live/show.html.heex:52 #, elixir-autogen, elixir-format msgid "Shotgun" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:146 +#: lib/cannery_web/live/type_live/form_component.html.heex:150 #, elixir-autogen, elixir-format msgid "Slug core" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:190 +#: lib/cannery_web/live/type_live/form_component.html.heex:196 #, elixir-autogen, elixir-format msgid "Target, bird, buck, etc" msgstr "" @@ -1399,7 +1399,7 @@ msgid "Unfired shell length" msgstr "" #: lib/cannery_web/components/type_table_component.ex:67 -#: lib/cannery_web/live/type_live/form_component.html.heex:179 +#: lib/cannery_web/live/type_live/form_component.html.heex:185 #, elixir-autogen, elixir-format msgid "Wadding" msgstr "" @@ -1450,7 +1450,7 @@ msgid "New Type" msgstr "Nuevo tipo de Munición" #: lib/cannery_web/live/type_live/index.html.heex:8 -#: lib/cannery_web/live/type_live/index.html.heex:71 +#: lib/cannery_web/live/type_live/index.html.heex:73 #, elixir-autogen, elixir-format, fuzzy msgid "No Types" msgstr "Tipo" diff --git a/priv/gettext/es/LC_MESSAGES/prompts.po b/priv/gettext/es/LC_MESSAGES/prompts.po index fe15211a..965cf2d2 100644 --- a/priv/gettext/es/LC_MESSAGES/prompts.po +++ b/priv/gettext/es/LC_MESSAGES/prompts.po @@ -73,7 +73,7 @@ msgstr "Está seguro que desea eliminar %{email}? Esta acción es permanente!" msgid "Are you sure you want to delete %{name}?" msgstr "Está seguro que desea eliminar %{name}?" -#: lib/cannery_web/live/pack_live/index.html.heex:181 +#: lib/cannery_web/live/pack_live/index.html.heex:185 #: lib/cannery_web/live/pack_live/show.html.heex:69 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this ammo?" @@ -134,7 +134,7 @@ msgstr "Por favor chequea el correo para verificar tu cuenta" #: lib/cannery_web/live/pack_live/form_component.html.heex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:46 #: lib/cannery_web/live/tag_live/form_component.html.heex:39 -#: lib/cannery_web/live/type_live/form_component.html.heex:354 +#: lib/cannery_web/live/type_live/form_component.html.heex:360 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "Guardando..." @@ -176,7 +176,7 @@ msgid "Are you sure you want to unstage this ammo?" msgstr "Está seguro que desea desmontar esta munición?" #: lib/cannery_web/live/pack_live/show.ex:157 -#: lib/cannery_web/live/range_live/index.html.heex:149 +#: lib/cannery_web/live/range_live/index.html.heex:151 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this shot record?" msgstr "¿Está segure que quiere borrar este récord de disparos?" @@ -256,7 +256,7 @@ msgid_plural "Ammo added successfully" msgstr[0] "Munición añadida exitosamente" msgstr[1] "Municiones añadidas exitosamente" -#: lib/cannery_web/live/type_live/index.html.heex:116 +#: lib/cannery_web/live/type_live/index.html.heex:118 #: lib/cannery_web/live/type_live/show.html.heex:29 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!" diff --git a/priv/gettext/fr/LC_MESSAGES/actions.po b/priv/gettext/fr/LC_MESSAGES/actions.po index f56940af..7ff805d0 100644 --- a/priv/gettext/fr/LC_MESSAGES/actions.po +++ b/priv/gettext/fr/LC_MESSAGES/actions.po @@ -134,7 +134,7 @@ msgstr "Réinitialisé le mot de passe" #: lib/cannery_web/live/pack_live/form_component.html.heex:90 #: lib/cannery_web/live/range_live/form_component.html.heex:44 #: lib/cannery_web/live/tag_live/form_component.html.heex:37 -#: lib/cannery_web/live/type_live/form_component.html.heex:353 +#: lib/cannery_web/live/type_live/form_component.html.heex:359 #, elixir-autogen, elixir-format msgid "Save" msgstr "Sauvegarder" @@ -301,18 +301,18 @@ msgstr "" msgid "Unstage" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:168 +#: lib/cannery_web/live/pack_live/index.html.heex:172 #, elixir-autogen, elixir-format, fuzzy msgid "Clone pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:183 +#: lib/cannery_web/live/pack_live/index.html.heex:187 #: lib/cannery_web/live/pack_live/show.html.heex:71 #, elixir-autogen, elixir-format, fuzzy msgid "Delete pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:158 +#: lib/cannery_web/live/pack_live/index.html.heex:160 #: lib/cannery_web/live/pack_live/show.html.heex:59 #, elixir-autogen, elixir-format, fuzzy msgid "Edit pack of %{pack_count} bullets" @@ -325,29 +325,29 @@ msgid "View pack of %{pack_count} bullets" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:159 -#: lib/cannery_web/live/range_live/index.html.heex:152 +#: lib/cannery_web/live/range_live/index.html.heex:154 #, elixir-autogen, elixir-format, fuzzy msgid "Delete shot record of %{shot_record_count} shots" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:144 -#: lib/cannery_web/live/range_live/index.html.heex:135 +#: lib/cannery_web/live/range_live/index.html.heex:137 #, elixir-autogen, elixir-format, fuzzy msgid "Edit shot record of %{shot_record_count} shots" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:105 +#: lib/cannery_web/live/type_live/index.html.heex:107 #, elixir-autogen, elixir-format, fuzzy msgid "Clone %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:122 +#: lib/cannery_web/live/type_live/index.html.heex:124 #: lib/cannery_web/live/type_live/show.html.heex:35 #, elixir-autogen, elixir-format, fuzzy msgid "Delete %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:97 +#: lib/cannery_web/live/type_live/index.html.heex:99 #: lib/cannery_web/live/type_live/show.html.heex:19 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{type_name}" @@ -358,7 +358,7 @@ msgstr "" msgid "New Type" msgstr "Nouveau type de munition" -#: lib/cannery_web/live/type_live/index.html.heex:89 +#: lib/cannery_web/live/type_live/index.html.heex:91 #, elixir-autogen, elixir-format, fuzzy msgid "View %{type_name}" msgstr "" diff --git a/priv/gettext/fr/LC_MESSAGES/default.po b/priv/gettext/fr/LC_MESSAGES/default.po index 021f3739..2cb0ae96 100644 --- a/priv/gettext/fr/LC_MESSAGES/default.po +++ b/priv/gettext/fr/LC_MESSAGES/default.po @@ -44,24 +44,24 @@ msgid "Background color" msgstr "Couleur de fond" #: lib/cannery_web/components/type_table_component.ex:86 -#: lib/cannery_web/live/type_live/form_component.html.heex:327 +#: lib/cannery_web/live/type_live/form_component.html.heex:333 #, elixir-autogen, elixir-format msgid "Blank" msgstr "Vide" -#: lib/cannery_web/live/type_live/form_component.html.heex:174 +#: lib/cannery_web/live/type_live/form_component.html.heex:180 #, elixir-autogen, elixir-format msgid "Brass" msgstr "Cuivre" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:147 +#: lib/cannery_web/live/type_live/form_component.html.heex:151 #, elixir-autogen, elixir-format msgid "Bullet core" msgstr "Noyau de balle" #: lib/cannery_web/components/type_table_component.ex:59 -#: lib/cannery_web/live/type_live/form_component.html.heex:121 +#: lib/cannery_web/live/type_live/form_component.html.heex:125 #, elixir-autogen, elixir-format msgid "Bullet type" msgstr "Type de balle" @@ -79,7 +79,7 @@ msgid "Cartridge" msgstr "Cartouche" #: lib/cannery_web/components/type_table_component.ex:66 -#: lib/cannery_web/live/type_live/form_component.html.heex:170 +#: lib/cannery_web/live/type_live/form_component.html.heex:174 #, elixir-autogen, elixir-format msgid "Case material" msgstr "Matériau de la caisse" @@ -100,7 +100,7 @@ msgid "Containers" msgstr "Conteneurs" #: lib/cannery_web/components/type_table_component.ex:87 -#: lib/cannery_web/live/type_live/form_component.html.heex:331 +#: lib/cannery_web/live/type_live/form_component.html.heex:337 #, elixir-autogen, elixir-format msgid "Corrosive" msgstr "Corrosive" @@ -145,19 +145,19 @@ msgstr "Modifier l’invitation" msgid "Edit Tag" msgstr "Modifier le tag" -#: lib/cannery_web/live/type_live/form_component.html.heex:135 +#: lib/cannery_web/live/type_live/form_component.html.heex:139 #, elixir-autogen, elixir-format msgid "FMJ" msgstr "FMJ" #: lib/cannery_web/components/type_table_component.ex:58 -#: lib/cannery_web/live/type_live/form_component.html.heex:111 +#: lib/cannery_web/live/type_live/form_component.html.heex:115 #, elixir-autogen, elixir-format msgid "Grains" msgstr "Graines" #: lib/cannery_web/components/type_table_component.ex:85 -#: lib/cannery_web/live/type_live/form_component.html.heex:323 +#: lib/cannery_web/live/type_live/form_component.html.heex:329 #, elixir-autogen, elixir-format msgid "Incendiary" msgstr "Incendiaire" @@ -208,8 +208,8 @@ msgid "Magazine, Clip, Ammo Box, etc" msgstr "Chargeur, lame-chargeur, boite de munition, etc." #: lib/cannery_web/components/type_table_component.ex:88 -#: lib/cannery_web/live/type_live/form_component.html.heex:336 -#: lib/cannery_web/live/type_live/form_component.html.heex:339 +#: lib/cannery_web/live/type_live/form_component.html.heex:342 +#: lib/cannery_web/live/type_live/form_component.html.heex:345 #, elixir-autogen, elixir-format msgid "Manufacturer" msgstr "Fabricant" @@ -299,7 +299,7 @@ msgid "On the bookshelf" msgstr "Sur l’étagère" #: lib/cannery_web/components/type_table_component.ex:79 -#: lib/cannery_web/live/type_live/form_component.html.heex:260 +#: lib/cannery_web/live/type_live/form_component.html.heex:266 #, elixir-autogen, elixir-format msgid "Pressure" msgstr "Pression" @@ -316,7 +316,7 @@ msgid "Price paid:" msgstr "Prix payé :" #: lib/cannery_web/components/type_table_component.ex:82 -#: lib/cannery_web/live/type_live/form_component.html.heex:299 +#: lib/cannery_web/live/type_live/form_component.html.heex:305 #, elixir-autogen, elixir-format msgid "Primer type" msgstr "Type d’amorce" @@ -349,7 +349,7 @@ msgstr "Paramètres" msgid "Simple:" msgstr "Simple :" -#: lib/cannery_web/live/type_live/form_component.html.heex:154 +#: lib/cannery_web/live/type_live/form_component.html.heex:158 #, elixir-autogen, elixir-format msgid "Steel" msgstr "Acier" @@ -386,7 +386,7 @@ msgid "The self-hosted firearm tracker website" msgstr "Le site web de suivi d’arme à feux auto-hébergé" #: lib/cannery_web/components/type_table_component.ex:84 -#: lib/cannery_web/live/type_live/form_component.html.heex:319 +#: lib/cannery_web/live/type_live/form_component.html.heex:325 #, elixir-autogen, elixir-format msgid "Tracer" msgstr "Traceuse" @@ -464,7 +464,7 @@ msgid "Record shots" msgstr "Tirs enregistrés" #: lib/cannery_web/live/range_live/index.html.heex:52 -#: lib/cannery_web/live/range_live/index.html.heex:119 +#: lib/cannery_web/live/range_live/index.html.heex:121 #, elixir-autogen, elixir-format msgid "No shots recorded" msgstr "Aucun tir enregistré" @@ -503,36 +503,36 @@ msgstr "Évènements de tir" msgid "$%{amount}" msgstr "%{amount} $" -#: lib/cannery_web/live/type_live/form_component.html.heex:163 +#: lib/cannery_web/live/type_live/form_component.html.heex:167 #, elixir-autogen, elixir-format msgid "Bimetal" msgstr "Bi-métal" #: lib/cannery_web/components/type_table_component.ex:65 -#: lib/cannery_web/live/type_live/form_component.html.heex:159 +#: lib/cannery_web/live/type_live/form_component.html.heex:163 #, elixir-autogen, elixir-format msgid "Jacket type" msgstr "Type de douille" #: lib/cannery_web/components/type_table_component.ex:81 -#: lib/cannery_web/live/type_live/form_component.html.heex:282 +#: lib/cannery_web/live/type_live/form_component.html.heex:288 #, elixir-autogen, elixir-format msgid "Muzzle velocity" msgstr "Vélocité du canon" #: lib/cannery_web/components/type_table_component.ex:75 -#: lib/cannery_web/live/type_live/form_component.html.heex:247 +#: lib/cannery_web/live/type_live/form_component.html.heex:253 #, elixir-autogen, elixir-format msgid "Powder grains per charge" msgstr "Graines de poudre par charge" #: lib/cannery_web/components/type_table_component.ex:73 -#: lib/cannery_web/live/type_live/form_component.html.heex:239 +#: lib/cannery_web/live/type_live/form_component.html.heex:245 #, elixir-autogen, elixir-format msgid "Powder type" msgstr "Type de poudre" -#: lib/cannery_web/live/type_live/form_component.html.heex:346 +#: lib/cannery_web/live/type_live/form_component.html.heex:352 #, elixir-autogen, elixir-format msgid "UPC" msgstr "UPC" @@ -556,7 +556,7 @@ msgid "New password" msgstr "Nouveau mot de passe" #: lib/cannery_web/components/type_table_component.ex:83 -#: lib/cannery_web/live/type_live/form_component.html.heex:307 +#: lib/cannery_web/live/type_live/form_component.html.heex:313 #, elixir-autogen, elixir-format msgid "Firing type" msgstr "Type d’allumage" @@ -769,7 +769,7 @@ msgid "Container:" msgstr "Conteneur" #: lib/cannery_web/live/pack_live/index.html.heex:87 -#: lib/cannery_web/live/type_live/index.html.heex:64 +#: lib/cannery_web/live/type_live/index.html.heex:66 #: lib/cannery_web/live/type_live/show.html.heex:164 #, elixir-autogen, elixir-format msgid "Show used" @@ -1014,7 +1014,7 @@ msgstr "" msgid "Edit ammo" msgstr "Éditer le type de munition" -#: lib/cannery_web/live/type_live/index.html.heex:58 +#: lib/cannery_web/live/type_live/index.html.heex:60 #, elixir-autogen, elixir-format msgid "Search catalog" msgstr "" @@ -1034,7 +1034,7 @@ msgstr "" msgid "Search tags" msgstr "" -#: lib/cannery_web/live/range_live/index.html.heex:112 +#: lib/cannery_web/live/range_live/index.html.heex:114 #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" @@ -1143,7 +1143,7 @@ msgstr "" msgid "Password" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:264 +#: lib/cannery_web/live/type_live/form_component.html.heex:270 #, elixir-autogen, elixir-format msgid "+P" msgstr "" @@ -1158,12 +1158,12 @@ msgstr "" msgid "5.56x46mm NATO" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:303 +#: lib/cannery_web/live/type_live/form_component.html.heex:309 #, elixir-autogen, elixir-format msgid "Boxer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:311 +#: lib/cannery_web/live/type_live/form_component.html.heex:317 #, elixir-autogen, elixir-format msgid "Centerfire" msgstr "" @@ -1207,13 +1207,13 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:97 #: lib/cannery_web/live/pack_live/index.html.heex:58 -#: lib/cannery_web/live/range_live/index.html.heex:89 -#: lib/cannery_web/live/type_live/index.html.heex:35 +#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/type_live/index.html.heex:37 #, elixir-autogen, elixir-format msgid "All" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:316 +#: lib/cannery_web/live/type_live/form_component.html.heex:322 #, elixir-autogen, elixir-format msgid "Attributes" msgstr "" @@ -1230,7 +1230,7 @@ msgid "Brass height:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:57 -#: lib/cannery_web/live/type_live/form_component.html.heex:95 +#: lib/cannery_web/live/type_live/form_component.html.heex:97 #, elixir-autogen, elixir-format msgid "Chamber size" msgstr "" @@ -1246,7 +1246,7 @@ msgid "Dimensions" msgstr "" #: lib/cannery_web/components/type_table_component.ex:80 -#: lib/cannery_web/live/type_live/form_component.html.heex:269 +#: lib/cannery_web/live/type_live/form_component.html.heex:275 #, elixir-autogen, elixir-format msgid "Dram equivalent" msgstr "" @@ -1268,7 +1268,7 @@ msgid "Gauge:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:71 -#: lib/cannery_web/live/type_live/form_component.html.heex:210 +#: lib/cannery_web/live/type_live/form_component.html.heex:216 #, elixir-autogen, elixir-format msgid "Load grains" msgstr "" @@ -1290,41 +1290,41 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:100 #: lib/cannery_web/live/pack_live/index.html.heex:61 -#: lib/cannery_web/live/range_live/index.html.heex:92 +#: lib/cannery_web/live/range_live/index.html.heex:94 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:38 +#: lib/cannery_web/live/type_live/index.html.heex:40 #: lib/cannery_web/live/type_live/show.html.heex:56 #, elixir-autogen, elixir-format msgid "Pistol" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:236 +#: lib/cannery_web/live/type_live/form_component.html.heex:242 #, elixir-autogen, elixir-format, fuzzy msgid "Powder" msgstr "Type de poudre" -#: lib/cannery_web/live/type_live/form_component.html.heex:296 +#: lib/cannery_web/live/type_live/form_component.html.heex:302 #, elixir-autogen, elixir-format, fuzzy msgid "Primer" msgstr "Type d’amorce" -#: lib/cannery_web/live/type_live/form_component.html.heex:108 +#: lib/cannery_web/live/type_live/form_component.html.heex:112 #, elixir-autogen, elixir-format msgid "Projectile" msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:98 #: lib/cannery_web/live/pack_live/index.html.heex:59 -#: lib/cannery_web/live/range_live/index.html.heex:90 +#: lib/cannery_web/live/range_live/index.html.heex:92 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:36 +#: lib/cannery_web/live/type_live/index.html.heex:38 #: lib/cannery_web/live/type_live/show.html.heex:54 #, elixir-autogen, elixir-format msgid "Rifle" msgstr "" #: lib/cannery_web/components/type_table_component.ex:72 -#: lib/cannery_web/live/type_live/form_component.html.heex:218 +#: lib/cannery_web/live/type_live/form_component.html.heex:224 #, elixir-autogen, elixir-format msgid "Shot charge weight" msgstr "" @@ -1335,7 +1335,7 @@ msgid "Shot charge weight:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:69 -#: lib/cannery_web/live/type_live/form_component.html.heex:194 +#: lib/cannery_web/live/type_live/form_component.html.heex:200 #, elixir-autogen, elixir-format msgid "Shot material" msgstr "" @@ -1346,7 +1346,7 @@ msgid "Shot material:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:70 -#: lib/cannery_web/live/type_live/form_component.html.heex:203 +#: lib/cannery_web/live/type_live/form_component.html.heex:209 #, elixir-autogen, elixir-format, fuzzy msgid "Shot size" msgstr "Tirs réalisés" @@ -1357,7 +1357,7 @@ msgid "Shot size:" msgstr "Tirs réalisés" #: lib/cannery_web/components/type_table_component.ex:68 -#: lib/cannery_web/live/type_live/form_component.html.heex:186 +#: lib/cannery_web/live/type_live/form_component.html.heex:192 #, elixir-autogen, elixir-format msgid "Shot type" msgstr "" @@ -1369,21 +1369,21 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:99 #: lib/cannery_web/live/pack_live/index.html.heex:60 -#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/range_live/index.html.heex:93 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:37 +#: lib/cannery_web/live/type_live/index.html.heex:39 #: lib/cannery_web/live/type_live/show.html.heex:52 #, elixir-autogen, elixir-format msgid "Shotgun" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:146 +#: lib/cannery_web/live/type_live/form_component.html.heex:150 #, elixir-autogen, elixir-format msgid "Slug core" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:190 +#: lib/cannery_web/live/type_live/form_component.html.heex:196 #, elixir-autogen, elixir-format msgid "Target, bird, buck, etc" msgstr "" @@ -1400,7 +1400,7 @@ msgid "Unfired shell length" msgstr "" #: lib/cannery_web/components/type_table_component.ex:67 -#: lib/cannery_web/live/type_live/form_component.html.heex:179 +#: lib/cannery_web/live/type_live/form_component.html.heex:185 #, elixir-autogen, elixir-format msgid "Wadding" msgstr "" @@ -1451,7 +1451,7 @@ msgid "New Type" msgstr "Nouveau type de munition" #: lib/cannery_web/live/type_live/index.html.heex:8 -#: lib/cannery_web/live/type_live/index.html.heex:71 +#: lib/cannery_web/live/type_live/index.html.heex:73 #, elixir-autogen, elixir-format, fuzzy msgid "No Types" msgstr "Type" diff --git a/priv/gettext/fr/LC_MESSAGES/prompts.po b/priv/gettext/fr/LC_MESSAGES/prompts.po index 2ca6891d..8fe843b4 100644 --- a/priv/gettext/fr/LC_MESSAGES/prompts.po +++ b/priv/gettext/fr/LC_MESSAGES/prompts.po @@ -74,7 +74,7 @@ msgstr "" msgid "Are you sure you want to delete %{name}?" msgstr "Êtes-vous certain·e de supprimer %{name} ?" -#: lib/cannery_web/live/pack_live/index.html.heex:181 +#: lib/cannery_web/live/pack_live/index.html.heex:185 #: lib/cannery_web/live/pack_live/show.html.heex:69 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this ammo?" @@ -135,7 +135,7 @@ msgstr "Veuillez vérifier votre mél pour confirmer votre compte" #: lib/cannery_web/live/pack_live/form_component.html.heex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:46 #: lib/cannery_web/live/tag_live/form_component.html.heex:39 -#: lib/cannery_web/live/type_live/form_component.html.heex:354 +#: lib/cannery_web/live/type_live/form_component.html.heex:360 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "Sauvegarde en cours…" @@ -178,7 +178,7 @@ msgid "Are you sure you want to unstage this ammo?" msgstr "Êtes-vous certain·e de vouloir désélectionner cette munition ?" #: lib/cannery_web/live/pack_live/show.ex:157 -#: lib/cannery_web/live/range_live/index.html.heex:149 +#: lib/cannery_web/live/range_live/index.html.heex:151 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this shot record?" msgstr "Êtes-vous certain·e de vouloir supprimer cet enregistrement de tir ?" @@ -258,7 +258,7 @@ 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" -#: lib/cannery_web/live/type_live/index.html.heex:116 +#: lib/cannery_web/live/type_live/index.html.heex:118 #: lib/cannery_web/live/type_live/show.html.heex:29 #, elixir-autogen, elixir-format, fuzzy msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!" diff --git a/priv/gettext/ga/LC_MESSAGES/actions.po b/priv/gettext/ga/LC_MESSAGES/actions.po index 9ca0eb30..d7f66232 100644 --- a/priv/gettext/ga/LC_MESSAGES/actions.po +++ b/priv/gettext/ga/LC_MESSAGES/actions.po @@ -132,7 +132,7 @@ msgstr "" #: lib/cannery_web/live/pack_live/form_component.html.heex:90 #: lib/cannery_web/live/range_live/form_component.html.heex:44 #: lib/cannery_web/live/tag_live/form_component.html.heex:37 -#: lib/cannery_web/live/type_live/form_component.html.heex:353 +#: lib/cannery_web/live/type_live/form_component.html.heex:359 #, elixir-autogen, elixir-format msgid "Save" msgstr "" @@ -299,18 +299,18 @@ msgstr "" msgid "Unstage" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:168 +#: lib/cannery_web/live/pack_live/index.html.heex:172 #, elixir-autogen, elixir-format, fuzzy msgid "Clone pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:183 +#: lib/cannery_web/live/pack_live/index.html.heex:187 #: lib/cannery_web/live/pack_live/show.html.heex:71 #, elixir-autogen, elixir-format, fuzzy msgid "Delete pack of %{pack_count} bullets" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:158 +#: lib/cannery_web/live/pack_live/index.html.heex:160 #: lib/cannery_web/live/pack_live/show.html.heex:59 #, elixir-autogen, elixir-format, fuzzy msgid "Edit pack of %{pack_count} bullets" @@ -323,29 +323,29 @@ msgid "View pack of %{pack_count} bullets" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:159 -#: lib/cannery_web/live/range_live/index.html.heex:152 +#: lib/cannery_web/live/range_live/index.html.heex:154 #, elixir-autogen, elixir-format, fuzzy msgid "Delete shot record of %{shot_record_count} shots" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:144 -#: lib/cannery_web/live/range_live/index.html.heex:135 +#: lib/cannery_web/live/range_live/index.html.heex:137 #, elixir-autogen, elixir-format, fuzzy msgid "Edit shot record of %{shot_record_count} shots" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:105 +#: lib/cannery_web/live/type_live/index.html.heex:107 #, elixir-autogen, elixir-format, fuzzy msgid "Clone %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:122 +#: lib/cannery_web/live/type_live/index.html.heex:124 #: lib/cannery_web/live/type_live/show.html.heex:35 #, elixir-autogen, elixir-format, fuzzy msgid "Delete %{type_name}" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:97 +#: lib/cannery_web/live/type_live/index.html.heex:99 #: lib/cannery_web/live/type_live/show.html.heex:19 #, elixir-autogen, elixir-format, fuzzy msgid "Edit %{type_name}" @@ -356,7 +356,7 @@ msgstr "" msgid "New Type" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:89 +#: lib/cannery_web/live/type_live/index.html.heex:91 #, elixir-autogen, elixir-format, fuzzy msgid "View %{type_name}" msgstr "" diff --git a/priv/gettext/ga/LC_MESSAGES/default.po b/priv/gettext/ga/LC_MESSAGES/default.po index ab07e183..ac439017 100644 --- a/priv/gettext/ga/LC_MESSAGES/default.po +++ b/priv/gettext/ga/LC_MESSAGES/default.po @@ -42,24 +42,24 @@ msgid "Background color" msgstr "" #: lib/cannery_web/components/type_table_component.ex:86 -#: lib/cannery_web/live/type_live/form_component.html.heex:327 +#: lib/cannery_web/live/type_live/form_component.html.heex:333 #, elixir-autogen, elixir-format msgid "Blank" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:174 +#: lib/cannery_web/live/type_live/form_component.html.heex:180 #, elixir-autogen, elixir-format msgid "Brass" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:147 +#: lib/cannery_web/live/type_live/form_component.html.heex:151 #, elixir-autogen, elixir-format msgid "Bullet core" msgstr "" #: lib/cannery_web/components/type_table_component.ex:59 -#: lib/cannery_web/live/type_live/form_component.html.heex:121 +#: lib/cannery_web/live/type_live/form_component.html.heex:125 #, elixir-autogen, elixir-format msgid "Bullet type" msgstr "" @@ -77,7 +77,7 @@ msgid "Cartridge" msgstr "" #: lib/cannery_web/components/type_table_component.ex:66 -#: lib/cannery_web/live/type_live/form_component.html.heex:170 +#: lib/cannery_web/live/type_live/form_component.html.heex:174 #, elixir-autogen, elixir-format msgid "Case material" msgstr "" @@ -98,7 +98,7 @@ msgid "Containers" msgstr "" #: lib/cannery_web/components/type_table_component.ex:87 -#: lib/cannery_web/live/type_live/form_component.html.heex:331 +#: lib/cannery_web/live/type_live/form_component.html.heex:337 #, elixir-autogen, elixir-format msgid "Corrosive" msgstr "" @@ -143,19 +143,19 @@ msgstr "" msgid "Edit Tag" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:135 +#: lib/cannery_web/live/type_live/form_component.html.heex:139 #, elixir-autogen, elixir-format msgid "FMJ" msgstr "" #: lib/cannery_web/components/type_table_component.ex:58 -#: lib/cannery_web/live/type_live/form_component.html.heex:111 +#: lib/cannery_web/live/type_live/form_component.html.heex:115 #, elixir-autogen, elixir-format msgid "Grains" msgstr "" #: lib/cannery_web/components/type_table_component.ex:85 -#: lib/cannery_web/live/type_live/form_component.html.heex:323 +#: lib/cannery_web/live/type_live/form_component.html.heex:329 #, elixir-autogen, elixir-format msgid "Incendiary" msgstr "" @@ -206,8 +206,8 @@ msgid "Magazine, Clip, Ammo Box, etc" msgstr "" #: lib/cannery_web/components/type_table_component.ex:88 -#: lib/cannery_web/live/type_live/form_component.html.heex:336 -#: lib/cannery_web/live/type_live/form_component.html.heex:339 +#: lib/cannery_web/live/type_live/form_component.html.heex:342 +#: lib/cannery_web/live/type_live/form_component.html.heex:345 #, elixir-autogen, elixir-format msgid "Manufacturer" msgstr "" @@ -297,7 +297,7 @@ msgid "On the bookshelf" msgstr "" #: lib/cannery_web/components/type_table_component.ex:79 -#: lib/cannery_web/live/type_live/form_component.html.heex:260 +#: lib/cannery_web/live/type_live/form_component.html.heex:266 #, elixir-autogen, elixir-format msgid "Pressure" msgstr "" @@ -314,7 +314,7 @@ msgid "Price paid:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:82 -#: lib/cannery_web/live/type_live/form_component.html.heex:299 +#: lib/cannery_web/live/type_live/form_component.html.heex:305 #, elixir-autogen, elixir-format msgid "Primer type" msgstr "" @@ -345,7 +345,7 @@ msgstr "" msgid "Simple:" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:154 +#: lib/cannery_web/live/type_live/form_component.html.heex:158 #, elixir-autogen, elixir-format msgid "Steel" msgstr "" @@ -380,7 +380,7 @@ msgid "The self-hosted firearm tracker website" msgstr "" #: lib/cannery_web/components/type_table_component.ex:84 -#: lib/cannery_web/live/type_live/form_component.html.heex:319 +#: lib/cannery_web/live/type_live/form_component.html.heex:325 #, elixir-autogen, elixir-format msgid "Tracer" msgstr "" @@ -458,7 +458,7 @@ msgid "Record shots" msgstr "" #: lib/cannery_web/live/range_live/index.html.heex:52 -#: lib/cannery_web/live/range_live/index.html.heex:119 +#: lib/cannery_web/live/range_live/index.html.heex:121 #, elixir-autogen, elixir-format msgid "No shots recorded" msgstr "" @@ -497,36 +497,36 @@ msgstr "" msgid "$%{amount}" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:163 +#: lib/cannery_web/live/type_live/form_component.html.heex:167 #, elixir-autogen, elixir-format msgid "Bimetal" msgstr "" #: lib/cannery_web/components/type_table_component.ex:65 -#: lib/cannery_web/live/type_live/form_component.html.heex:159 +#: lib/cannery_web/live/type_live/form_component.html.heex:163 #, elixir-autogen, elixir-format msgid "Jacket type" msgstr "" #: lib/cannery_web/components/type_table_component.ex:81 -#: lib/cannery_web/live/type_live/form_component.html.heex:282 +#: lib/cannery_web/live/type_live/form_component.html.heex:288 #, elixir-autogen, elixir-format msgid "Muzzle velocity" msgstr "" #: lib/cannery_web/components/type_table_component.ex:75 -#: lib/cannery_web/live/type_live/form_component.html.heex:247 +#: lib/cannery_web/live/type_live/form_component.html.heex:253 #, elixir-autogen, elixir-format msgid "Powder grains per charge" msgstr "" #: lib/cannery_web/components/type_table_component.ex:73 -#: lib/cannery_web/live/type_live/form_component.html.heex:239 +#: lib/cannery_web/live/type_live/form_component.html.heex:245 #, elixir-autogen, elixir-format msgid "Powder type" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:346 +#: lib/cannery_web/live/type_live/form_component.html.heex:352 #, elixir-autogen, elixir-format msgid "UPC" msgstr "" @@ -550,7 +550,7 @@ msgid "New password" msgstr "" #: lib/cannery_web/components/type_table_component.ex:83 -#: lib/cannery_web/live/type_live/form_component.html.heex:307 +#: lib/cannery_web/live/type_live/form_component.html.heex:313 #, elixir-autogen, elixir-format msgid "Firing type" msgstr "" @@ -762,7 +762,7 @@ msgid "Container:" msgstr "" #: lib/cannery_web/live/pack_live/index.html.heex:87 -#: lib/cannery_web/live/type_live/index.html.heex:64 +#: lib/cannery_web/live/type_live/index.html.heex:66 #: lib/cannery_web/live/type_live/show.html.heex:164 #, elixir-autogen, elixir-format msgid "Show used" @@ -1007,7 +1007,7 @@ msgstr "" msgid "Edit ammo" msgstr "" -#: lib/cannery_web/live/type_live/index.html.heex:58 +#: lib/cannery_web/live/type_live/index.html.heex:60 #, elixir-autogen, elixir-format msgid "Search catalog" msgstr "" @@ -1027,7 +1027,7 @@ msgstr "" msgid "Search tags" msgstr "" -#: lib/cannery_web/live/range_live/index.html.heex:112 +#: lib/cannery_web/live/range_live/index.html.heex:114 #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" @@ -1134,7 +1134,7 @@ msgstr "" msgid "Password" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:264 +#: lib/cannery_web/live/type_live/form_component.html.heex:270 #, elixir-autogen, elixir-format msgid "+P" msgstr "" @@ -1149,12 +1149,12 @@ msgstr "" msgid "5.56x46mm NATO" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:303 +#: lib/cannery_web/live/type_live/form_component.html.heex:309 #, elixir-autogen, elixir-format msgid "Boxer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:311 +#: lib/cannery_web/live/type_live/form_component.html.heex:317 #, elixir-autogen, elixir-format msgid "Centerfire" msgstr "" @@ -1198,13 +1198,13 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:97 #: lib/cannery_web/live/pack_live/index.html.heex:58 -#: lib/cannery_web/live/range_live/index.html.heex:89 -#: lib/cannery_web/live/type_live/index.html.heex:35 +#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/type_live/index.html.heex:37 #, elixir-autogen, elixir-format msgid "All" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:316 +#: lib/cannery_web/live/type_live/form_component.html.heex:322 #, elixir-autogen, elixir-format msgid "Attributes" msgstr "" @@ -1221,7 +1221,7 @@ msgid "Brass height:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:57 -#: lib/cannery_web/live/type_live/form_component.html.heex:95 +#: lib/cannery_web/live/type_live/form_component.html.heex:97 #, elixir-autogen, elixir-format msgid "Chamber size" msgstr "" @@ -1237,7 +1237,7 @@ msgid "Dimensions" msgstr "" #: lib/cannery_web/components/type_table_component.ex:80 -#: lib/cannery_web/live/type_live/form_component.html.heex:269 +#: lib/cannery_web/live/type_live/form_component.html.heex:275 #, elixir-autogen, elixir-format msgid "Dram equivalent" msgstr "" @@ -1259,7 +1259,7 @@ msgid "Gauge:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:71 -#: lib/cannery_web/live/type_live/form_component.html.heex:210 +#: lib/cannery_web/live/type_live/form_component.html.heex:216 #, elixir-autogen, elixir-format msgid "Load grains" msgstr "" @@ -1281,41 +1281,41 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:100 #: lib/cannery_web/live/pack_live/index.html.heex:61 -#: lib/cannery_web/live/range_live/index.html.heex:92 +#: lib/cannery_web/live/range_live/index.html.heex:94 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:38 +#: lib/cannery_web/live/type_live/index.html.heex:40 #: lib/cannery_web/live/type_live/show.html.heex:56 #, elixir-autogen, elixir-format msgid "Pistol" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:236 +#: lib/cannery_web/live/type_live/form_component.html.heex:242 #, elixir-autogen, elixir-format, fuzzy msgid "Powder" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:296 +#: lib/cannery_web/live/type_live/form_component.html.heex:302 #, elixir-autogen, elixir-format, fuzzy msgid "Primer" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:108 +#: lib/cannery_web/live/type_live/form_component.html.heex:112 #, elixir-autogen, elixir-format msgid "Projectile" msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:98 #: lib/cannery_web/live/pack_live/index.html.heex:59 -#: lib/cannery_web/live/range_live/index.html.heex:90 +#: lib/cannery_web/live/range_live/index.html.heex:92 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:36 +#: lib/cannery_web/live/type_live/index.html.heex:38 #: lib/cannery_web/live/type_live/show.html.heex:54 #, elixir-autogen, elixir-format msgid "Rifle" msgstr "" #: lib/cannery_web/components/type_table_component.ex:72 -#: lib/cannery_web/live/type_live/form_component.html.heex:218 +#: lib/cannery_web/live/type_live/form_component.html.heex:224 #, elixir-autogen, elixir-format msgid "Shot charge weight" msgstr "" @@ -1326,7 +1326,7 @@ msgid "Shot charge weight:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:69 -#: lib/cannery_web/live/type_live/form_component.html.heex:194 +#: lib/cannery_web/live/type_live/form_component.html.heex:200 #, elixir-autogen, elixir-format msgid "Shot material" msgstr "" @@ -1337,7 +1337,7 @@ msgid "Shot material:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:70 -#: lib/cannery_web/live/type_live/form_component.html.heex:203 +#: lib/cannery_web/live/type_live/form_component.html.heex:209 #, elixir-autogen, elixir-format, fuzzy msgid "Shot size" msgstr "" @@ -1348,7 +1348,7 @@ msgid "Shot size:" msgstr "" #: lib/cannery_web/components/type_table_component.ex:68 -#: lib/cannery_web/live/type_live/form_component.html.heex:186 +#: lib/cannery_web/live/type_live/form_component.html.heex:192 #, elixir-autogen, elixir-format msgid "Shot type" msgstr "" @@ -1360,21 +1360,21 @@ msgstr "" #: lib/cannery_web/live/container_live/show.html.heex:99 #: lib/cannery_web/live/pack_live/index.html.heex:60 -#: lib/cannery_web/live/range_live/index.html.heex:91 +#: lib/cannery_web/live/range_live/index.html.heex:93 #: lib/cannery_web/live/type_live/form_component.html.heex:25 -#: lib/cannery_web/live/type_live/index.html.heex:37 +#: lib/cannery_web/live/type_live/index.html.heex:39 #: lib/cannery_web/live/type_live/show.html.heex:52 #, elixir-autogen, elixir-format msgid "Shotgun" msgstr "" #: lib/cannery_web/components/type_table_component.ex:61 -#: lib/cannery_web/live/type_live/form_component.html.heex:146 +#: lib/cannery_web/live/type_live/form_component.html.heex:150 #, elixir-autogen, elixir-format msgid "Slug core" msgstr "" -#: lib/cannery_web/live/type_live/form_component.html.heex:190 +#: lib/cannery_web/live/type_live/form_component.html.heex:196 #, elixir-autogen, elixir-format msgid "Target, bird, buck, etc" msgstr "" @@ -1391,7 +1391,7 @@ msgid "Unfired shell length" msgstr "" #: lib/cannery_web/components/type_table_component.ex:67 -#: lib/cannery_web/live/type_live/form_component.html.heex:179 +#: lib/cannery_web/live/type_live/form_component.html.heex:185 #, elixir-autogen, elixir-format msgid "Wadding" msgstr "" @@ -1442,7 +1442,7 @@ msgid "New Type" msgstr "" #: lib/cannery_web/live/type_live/index.html.heex:8 -#: lib/cannery_web/live/type_live/index.html.heex:71 +#: lib/cannery_web/live/type_live/index.html.heex:73 #, elixir-autogen, elixir-format, fuzzy msgid "No Types" msgstr "" diff --git a/priv/gettext/ga/LC_MESSAGES/prompts.po b/priv/gettext/ga/LC_MESSAGES/prompts.po index 8626fee9..8229515d 100644 --- a/priv/gettext/ga/LC_MESSAGES/prompts.po +++ b/priv/gettext/ga/LC_MESSAGES/prompts.po @@ -69,7 +69,7 @@ msgstr "" msgid "Are you sure you want to delete %{name}?" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:181 +#: lib/cannery_web/live/pack_live/index.html.heex:185 #: lib/cannery_web/live/pack_live/show.html.heex:69 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this ammo?" @@ -126,7 +126,7 @@ msgstr "" #: lib/cannery_web/live/pack_live/form_component.html.heex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:46 #: lib/cannery_web/live/tag_live/form_component.html.heex:39 -#: lib/cannery_web/live/type_live/form_component.html.heex:354 +#: lib/cannery_web/live/type_live/form_component.html.heex:360 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "" @@ -167,7 +167,7 @@ msgid "Are you sure you want to unstage this ammo?" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:157 -#: lib/cannery_web/live/range_live/index.html.heex:149 +#: lib/cannery_web/live/range_live/index.html.heex:151 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this shot record?" msgstr "" @@ -250,7 +250,7 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: lib/cannery_web/live/type_live/index.html.heex:116 +#: lib/cannery_web/live/type_live/index.html.heex:118 #: lib/cannery_web/live/type_live/show.html.heex:29 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!" diff --git a/priv/gettext/prompts.pot b/priv/gettext/prompts.pot index 74fe8891..cc983907 100644 --- a/priv/gettext/prompts.pot +++ b/priv/gettext/prompts.pot @@ -58,7 +58,7 @@ msgstr "" msgid "Are you sure you want to delete %{name}?" msgstr "" -#: lib/cannery_web/live/pack_live/index.html.heex:181 +#: lib/cannery_web/live/pack_live/index.html.heex:185 #: lib/cannery_web/live/pack_live/show.html.heex:69 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this ammo?" @@ -115,7 +115,7 @@ msgstr "" #: lib/cannery_web/live/pack_live/form_component.html.heex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:46 #: lib/cannery_web/live/tag_live/form_component.html.heex:39 -#: lib/cannery_web/live/type_live/form_component.html.heex:354 +#: lib/cannery_web/live/type_live/form_component.html.heex:360 #, elixir-autogen, elixir-format msgid "Saving..." msgstr "" @@ -156,7 +156,7 @@ msgid "Are you sure you want to unstage this ammo?" msgstr "" #: lib/cannery_web/live/pack_live/show.ex:157 -#: lib/cannery_web/live/range_live/index.html.heex:149 +#: lib/cannery_web/live/range_live/index.html.heex:151 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete this shot record?" msgstr "" @@ -236,7 +236,7 @@ msgid_plural "Ammo added successfully" msgstr[0] "" msgstr[1] "" -#: lib/cannery_web/live/type_live/index.html.heex:116 +#: lib/cannery_web/live/type_live/index.html.heex:118 #: lib/cannery_web/live/type_live/show.html.heex:29 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!" diff --git a/test/cannery/ammo_test.exs b/test/cannery/ammo_test.exs index ca134293..2d142a8e 100644 --- a/test/cannery/ammo_test.exs +++ b/test/cannery/ammo_test.exs @@ -378,7 +378,10 @@ defmodule Cannery.AmmoTest do {1, [_another_pack]} = pack_fixture(%{count: 1}, another_type, container, current_user) round_counts = - Ammo.get_grouped_round_count(current_user, types: [type, another_type], group_by: :type_id) + Ammo.get_grouped_round_count(current_user, + types: [type, another_type], + group_by: :type_id + ) assert %{^type_id => 1} = round_counts assert %{^another_type_id => 1} = round_counts @@ -386,7 +389,10 @@ defmodule Cannery.AmmoTest do {1, [pack]} = pack_fixture(%{count: 50}, type, container, current_user) round_counts = - Ammo.get_grouped_round_count(current_user, types: [type, another_type], group_by: :type_id) + Ammo.get_grouped_round_count(current_user, + types: [type, another_type], + group_by: :type_id + ) assert %{^type_id => 51} = round_counts assert %{^another_type_id => 1} = round_counts @@ -394,7 +400,10 @@ defmodule Cannery.AmmoTest do shot_record_fixture(%{count: 26}, current_user, pack) round_counts = - Ammo.get_grouped_round_count(current_user, types: [type, another_type], group_by: :type_id) + Ammo.get_grouped_round_count(current_user, + types: [type, another_type], + group_by: :type_id + ) assert %{^type_id => 25} = round_counts assert %{^another_type_id => 1} = round_counts @@ -402,7 +411,10 @@ defmodule Cannery.AmmoTest do shot_record_fixture(%{count: 1}, current_user, first_pack) round_counts = - Ammo.get_grouped_round_count(current_user, types: [type, another_type], group_by: :type_id) + Ammo.get_grouped_round_count(current_user, + types: [type, another_type], + group_by: :type_id + ) assert %{^type_id => 24} = round_counts assert %{^another_type_id => 1} = round_counts @@ -948,7 +960,10 @@ defmodule Cannery.AmmoTest do {1, [_pack]} = pack_fixture(another_type, container, current_user) packs_count = - Ammo.get_grouped_packs_count(current_user, types: [type, another_type], group_by: :type_id) + Ammo.get_grouped_packs_count(current_user, + types: [type, another_type], + group_by: :type_id + ) assert %{^type_id => 1} = packs_count assert %{^another_type_id => 1} = packs_count @@ -956,7 +971,10 @@ defmodule Cannery.AmmoTest do {5, _packs} = pack_fixture(%{}, 5, type, container, current_user) packs_count = - Ammo.get_grouped_packs_count(current_user, types: [type, another_type], group_by: :type_id) + Ammo.get_grouped_packs_count(current_user, + types: [type, another_type], + group_by: :type_id + ) assert %{^type_id => 6} = packs_count assert %{^another_type_id => 1} = packs_count