hide historical ammo type information until show_used is toggled

This commit is contained in:
2023-03-19 11:43:13 -04:00
parent fd0bac3bbf
commit 2e372ca2ab
10 changed files with 192 additions and 177 deletions

View File

@ -272,7 +272,7 @@ msgstr "Nouveau tag"
msgid "No Ammo"
msgstr "Aucune munition"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:167
#: lib/cannery_web/live/ammo_type_live/show.html.heex:163
#, elixir-autogen, elixir-format
msgid "No ammo for this type"
msgstr "Aucune munition pour ce type"
@ -305,7 +305,7 @@ msgstr "Aucun tag"
msgid "Notes"
msgstr "Notes"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
#, elixir-autogen, elixir-format
msgid "Notes:"
@ -328,7 +328,7 @@ msgstr "Pression"
msgid "Price paid"
msgstr "Prix payé"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44
#, elixir-autogen, elixir-format
msgid "Price paid:"
msgstr "Prix payé:"
@ -531,11 +531,11 @@ msgstr "Évènements de tir"
#: lib/cannery_web/components/ammo_group_table_component.ex:154
#: lib/cannery_web/components/ammo_group_table_component.ex:230
#: lib/cannery_web/components/ammo_type_table_component.ex:224
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
#: lib/cannery_web/live/ammo_group_live/show.html.heex:42
#: lib/cannery_web/live/ammo_type_live/show.html.heex:139
#: lib/cannery_web/live/ammo_type_live/show.html.heex:135
#, elixir-autogen, elixir-format
msgid "$%{amount}"
msgstr "%{amount}$"
@ -625,7 +625,7 @@ msgstr "Cartouches:"
#: lib/cannery_web/components/ammo_group_table_component.ex:227
#: lib/cannery_web/components/ammo_type_table_component.ex:223
#: lib/cannery_web/live/ammo_type_live/show.html.heex:143
#: lib/cannery_web/live/ammo_type_live/show.html.heex:139
#, elixir-autogen, elixir-format
msgid "No cost information"
msgstr "Aucune information de prix"
@ -696,7 +696,7 @@ msgstr "Enregistrer des tirs"
msgid "Copies"
msgstr "Exemplaires"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:126
#: lib/cannery_web/live/ammo_type_live/show.html.heex:122
#, elixir-autogen, elixir-format
msgid "Added on:"
msgstr "Ajouté le:"
@ -776,7 +776,7 @@ msgid "This ammo is not in a container"
msgstr "Ce groupe de munition nest pas dans un conteneur"
#: lib/cannery_web/components/core_components/container_card.html.heex:32
#: lib/cannery_web/live/ammo_type_live/show.html.heex:98
#: lib/cannery_web/live/ammo_type_live/show.html.heex:96
#: lib/cannery_web/live/container_live/show.html.heex:23
#, elixir-autogen, elixir-format
msgid "Packs:"
@ -799,14 +799,14 @@ msgid "Leave \"Uses left\" blank to make invite unlimited"
msgstr ""
"Laissez \"Utilisations restantes\" vide pour rendre l'invitation illimitée"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57
#, elixir-autogen, elixir-format, fuzzy
msgid "Container:"
msgstr "Conteneur"
#: lib/cannery_web/live/ammo_group_live/index.html.heex:64
#: lib/cannery_web/live/ammo_type_live/index.html.heex:39
#: lib/cannery_web/live/ammo_type_live/show.html.heex:153
#: lib/cannery_web/live/ammo_type_live/show.html.heex:149
#: lib/cannery_web/live/container_live/show.html.heex:98
#, elixir-autogen, elixir-format
msgid "Show used"
@ -835,7 +835,7 @@ msgstr "Packages:"
msgid "Rounds"
msgstr "Cartouches:"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:159
#: lib/cannery_web/live/ammo_type_live/show.html.heex:155
#: lib/cannery_web/live/container_live/index.html.heex:39
#: lib/cannery_web/live/container_live/show.html.heex:104
#, elixir-autogen, elixir-format
@ -847,7 +847,7 @@ msgstr ""
msgid "Total ever packs"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/show.html.heex:114
#: lib/cannery_web/live/ammo_type_live/show.html.heex:113
#, elixir-autogen, elixir-format
msgid "Total ever packs:"
msgstr ""
@ -857,7 +857,7 @@ msgstr ""
msgid "Total ever rounds"
msgstr "Quantité de cartouches"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:86
#: lib/cannery_web/live/ammo_type_live/show.html.heex:87
#, elixir-autogen, elixir-format, fuzzy
msgid "Total ever rounds:"
msgstr "Nombre totale de cartouches tirées:"
@ -867,7 +867,7 @@ msgstr "Nombre totale de cartouches tirées:"
msgid "Used packs"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/show.html.heex:106
#: lib/cannery_web/live/ammo_type_live/show.html.heex:105
#, elixir-autogen, elixir-format
msgid "Used packs:"
msgstr ""
@ -877,7 +877,7 @@ msgstr ""
msgid "Used rounds"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/show.html.heex:78
#: lib/cannery_web/live/ammo_type_live/show.html.heex:79
#, elixir-autogen, elixir-format, fuzzy
msgid "Used rounds:"
msgstr ""
@ -988,13 +988,13 @@ msgid "UPC:"
msgstr "UPC"
#: lib/cannery_web/components/ammo_type_table_component.ex:120
#: lib/cannery_web/live/ammo_type_live/show.html.heex:135
#: lib/cannery_web/live/ammo_type_live/show.html.heex:131
#, elixir-autogen, elixir-format
msgid "Average CPR"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/index.ex:28
#: lib/cannery_web/live/ammo_type_live/show.ex:135
#: lib/cannery_web/live/ammo_type_live/show.ex:150
#, elixir-autogen, elixir-format, fuzzy
msgid "Edit %{ammo_type_name}"
msgstr "Éditer %{name}"
@ -1010,7 +1010,7 @@ msgstr ""
msgid "CPR"
msgstr ""
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49
#, elixir-autogen, elixir-format
msgid "CPR:"
msgstr ""
@ -1020,7 +1020,7 @@ msgstr ""
msgid "Original Count"
msgstr "Nombre original:"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24
#, elixir-autogen, elixir-format, fuzzy
msgid "Original Count:"
msgstr "Nombre original:"
@ -1040,7 +1040,7 @@ msgstr ""
msgid "Last used on"
msgstr ""
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39
#, elixir-autogen, elixir-format
msgid "Last used on:"
msgstr ""
@ -1056,7 +1056,7 @@ msgstr ""
msgid "Purchased on"
msgstr ""
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
#, elixir-autogen, elixir-format
msgid "Purchased on:"