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 "Nueva Etiqueta"
msgid "No Ammo"
msgstr "Sin Munición"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:167
#: lib/cannery_web/live/ammo_type_live/show.html.heex:163
#, elixir-autogen, elixir-format
msgid "No ammo for this type"
msgstr "Sin munición para este tipo"
@ -305,7 +305,7 @@ msgstr "Sin etiquetas"
msgid "Notes"
msgstr "Notas"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:26
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:29
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
#, elixir-autogen, elixir-format
msgid "Notes:"
@ -328,7 +328,7 @@ msgstr "Presión"
msgid "Price paid"
msgstr "Precio pagado"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:41
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:44
#, elixir-autogen, elixir-format
msgid "Price paid:"
msgstr "Precio pagado:"
@ -530,11 +530,11 @@ msgstr "Registro de tiros"
#: lib/cannery_web/components/ammo_group_table_component.ex:154
#: lib/cannery_web/components/ammo_group_table_component.ex:230
#: lib/cannery_web/components/ammo_type_table_component.ex:224
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:42
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:47
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:45
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:50
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
#: lib/cannery_web/live/ammo_group_live/show.html.heex:42
#: lib/cannery_web/live/ammo_type_live/show.html.heex:139
#: lib/cannery_web/live/ammo_type_live/show.html.heex:135
#, elixir-autogen, elixir-format
msgid "$%{amount}"
msgstr "$%{amount}"
@ -624,7 +624,7 @@ msgstr "Balas:"
#: lib/cannery_web/components/ammo_group_table_component.ex:227
#: lib/cannery_web/components/ammo_type_table_component.ex:223
#: lib/cannery_web/live/ammo_type_live/show.html.heex:143
#: lib/cannery_web/live/ammo_type_live/show.html.heex:139
#, elixir-autogen, elixir-format
msgid "No cost information"
msgstr "No hay información de coste"
@ -695,7 +695,7 @@ msgstr "Tiros Récord"
msgid "Copies"
msgstr "Copias"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:126
#: lib/cannery_web/live/ammo_type_live/show.html.heex:122
#, elixir-autogen, elixir-format
msgid "Added on:"
msgstr "Añadido en:"
@ -775,7 +775,7 @@ msgid "This ammo is not in a container"
msgstr "Esta munición no está en un contenedor"
#: lib/cannery_web/components/core_components/container_card.html.heex:32
#: lib/cannery_web/live/ammo_type_live/show.html.heex:98
#: lib/cannery_web/live/ammo_type_live/show.html.heex:96
#: lib/cannery_web/live/container_live/show.html.heex:23
#, elixir-autogen, elixir-format
msgid "Packs:"
@ -798,14 +798,14 @@ msgid "Leave \"Uses left\" blank to make invite unlimited"
msgstr ""
"Deje \"Usos restantes\" en blanco para hacer las invitaciónes ilimitadas"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:54
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:57
#, elixir-autogen, elixir-format
msgid "Container:"
msgstr "Contenedor:"
#: lib/cannery_web/live/ammo_group_live/index.html.heex:64
#: lib/cannery_web/live/ammo_type_live/index.html.heex:39
#: lib/cannery_web/live/ammo_type_live/show.html.heex:153
#: lib/cannery_web/live/ammo_type_live/show.html.heex:149
#: lib/cannery_web/live/container_live/show.html.heex:98
#, elixir-autogen, elixir-format
msgid "Show used"
@ -834,7 +834,7 @@ msgstr "Paquetes"
msgid "Rounds"
msgstr "Balas"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:159
#: lib/cannery_web/live/ammo_type_live/show.html.heex:155
#: lib/cannery_web/live/container_live/index.html.heex:39
#: lib/cannery_web/live/container_live/show.html.heex:104
#, elixir-autogen, elixir-format
@ -846,7 +846,7 @@ msgstr "Ver como tabla"
msgid "Total ever packs"
msgstr "Paquetes totales"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:114
#: lib/cannery_web/live/ammo_type_live/show.html.heex:113
#, elixir-autogen, elixir-format
msgid "Total ever packs:"
msgstr "Paquetes totales:"
@ -856,7 +856,7 @@ msgstr "Paquetes totales:"
msgid "Total ever rounds"
msgstr "Balas totales"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:86
#: lib/cannery_web/live/ammo_type_live/show.html.heex:87
#, elixir-autogen, elixir-format
msgid "Total ever rounds:"
msgstr "Balas totales:"
@ -866,7 +866,7 @@ msgstr "Balas totales:"
msgid "Used packs"
msgstr "Paquetes usados"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:106
#: lib/cannery_web/live/ammo_type_live/show.html.heex:105
#, elixir-autogen, elixir-format
msgid "Used packs:"
msgstr "Paquetes usados:"
@ -876,7 +876,7 @@ msgstr "Paquetes usados:"
msgid "Used rounds"
msgstr "Balas usadas"
#: lib/cannery_web/live/ammo_type_live/show.html.heex:78
#: lib/cannery_web/live/ammo_type_live/show.html.heex:79
#, elixir-autogen, elixir-format
msgid "Used rounds:"
msgstr "Balas usadas:"
@ -987,13 +987,13 @@ msgid "UPC:"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:120
#: lib/cannery_web/live/ammo_type_live/show.html.heex:135
#: lib/cannery_web/live/ammo_type_live/show.html.heex:131
#, elixir-autogen, elixir-format
msgid "Average CPR"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/index.ex:28
#: lib/cannery_web/live/ammo_type_live/show.ex:135
#: lib/cannery_web/live/ammo_type_live/show.ex:150
#, elixir-autogen, elixir-format
msgid "Edit %{ammo_type_name}"
msgstr "Editar %{ammo_type_name}"
@ -1009,7 +1009,7 @@ msgstr "Vacio"
msgid "CPR"
msgstr ""
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:46
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:49
#, elixir-autogen, elixir-format
msgid "CPR:"
msgstr ""
@ -1019,7 +1019,7 @@ msgstr ""
msgid "Original Count"
msgstr "Cantidad Original"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:21
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:24
#, elixir-autogen, elixir-format
msgid "Original Count:"
msgstr "Cantidad Original:"
@ -1039,7 +1039,7 @@ msgstr "Paquetes totales:"
msgid "Last used on"
msgstr "Usada por última vez en"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:36
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:39
#, elixir-autogen, elixir-format
msgid "Last used on:"
msgstr "Usada por última vez en:"
@ -1055,7 +1055,7 @@ msgstr "Nunca usada"
msgid "Purchased on"
msgstr "Comprada en"
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:31
#: lib/cannery_web/components/core_components/ammo_group_card.html.heex:34
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
#, elixir-autogen, elixir-format
msgid "Purchased on:"