use ammo type table component instead

This commit is contained in:
2022-12-03 18:22:51 -05:00
parent 7191fe8e4b
commit 757eca47f7
16 changed files with 463 additions and 381 deletions

View File

@ -64,8 +64,8 @@ msgstr "Type de munition"
msgid "Background color"
msgstr "Couleur de fond"
#: lib/cannery_web/components/ammo_type_table_component.ex:65
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
#: lib/cannery_web/live/ammo_type_live/index.ex:120
#, elixir-autogen, elixir-format
msgid "Blank"
msgstr "Vide"
@ -75,32 +75,32 @@ msgstr "Vide"
msgid "Brass"
msgstr "Cuivre"
#: lib/cannery_web/components/ammo_type_table_component.ex:47
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
#: lib/cannery_web/live/ammo_type_live/index.ex:102
#, elixir-autogen, elixir-format
msgid "Bullet core"
msgstr "Noyau de balle"
#: lib/cannery_web/components/ammo_type_table_component.ex:46
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
#: lib/cannery_web/live/ammo_type_live/index.ex:101
#, elixir-autogen, elixir-format
msgid "Bullet type"
msgstr "Type de balle"
#: lib/cannery_web/components/ammo_type_table_component.ex:49
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
#: lib/cannery_web/live/ammo_type_live/index.ex:104
#, elixir-autogen, elixir-format
msgid "Caliber"
msgstr "Calibre"
#: lib/cannery_web/components/ammo_type_table_component.ex:48
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
#: lib/cannery_web/live/ammo_type_live/index.ex:103
#, elixir-autogen, elixir-format
msgid "Cartridge"
msgstr "Cartouche"
#: lib/cannery_web/components/ammo_type_table_component.ex:50
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
#: lib/cannery_web/live/ammo_type_live/index.ex:105
#, elixir-autogen, elixir-format
msgid "Case material"
msgstr "Matériau de la caisse"
@ -120,8 +120,8 @@ msgstr "Conteneur"
msgid "Containers"
msgstr "Conteneurs"
#: lib/cannery_web/components/ammo_type_table_component.ex:66
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
#: lib/cannery_web/live/ammo_type_live/index.ex:121
#, elixir-autogen, elixir-format
msgid "Corrosive"
msgstr "Corrosive"
@ -176,14 +176,14 @@ msgstr "Exemple dabréviations de type de balle"
msgid "FMJ"
msgstr "FMJ"
#: lib/cannery_web/components/ammo_type_table_component.ex:59
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
#: lib/cannery_web/live/ammo_type_live/index.ex:114
#, elixir-autogen, elixir-format
msgid "Grains"
msgstr "Graines"
#: lib/cannery_web/components/ammo_type_table_component.ex:64
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
#: lib/cannery_web/live/ammo_type_live/index.ex:119
#, elixir-autogen, elixir-format
msgid "Incendiary"
msgstr "Incendiaire"
@ -233,8 +233,8 @@ msgstr "Localisation:"
msgid "Magazine, Clip, Ammo Box, etc"
msgstr "Chargeur, lame-chargeur, boite de munition, etc."
#: lib/cannery_web/components/ammo_type_table_component.ex:67
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
#: lib/cannery_web/live/ammo_type_live/index.ex:122
#, elixir-autogen, elixir-format
msgid "Manufacturer"
msgstr "Fabricant"
@ -249,8 +249,8 @@ msgstr "Boite de munition avec le sticker de fille danimation"
msgid "My cool ammo can"
msgstr "Ma superbe boite de munition"
#: lib/cannery_web/components/ammo_type_table_component.ex:45
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
#: lib/cannery_web/live/ammo_type_live/index.ex:100
#: lib/cannery_web/live/container_live/form_component.html.heex:20
#: lib/cannery_web/live/container_live/index.ex:121
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
@ -328,8 +328,8 @@ msgstr "Notes:"
msgid "On the bookshelf"
msgstr "Sur létagère"
#: lib/cannery_web/components/ammo_type_table_component.ex:60
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
#: lib/cannery_web/live/ammo_type_live/index.ex:115
#, elixir-autogen, elixir-format
msgid "Pressure"
msgstr "Pression"
@ -345,8 +345,8 @@ msgstr "Prix payé"
msgid "Price paid:"
msgstr "Prix payé:"
#: lib/cannery_web/components/ammo_type_table_component.ex:61
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
#: lib/cannery_web/live/ammo_type_live/index.ex:116
#, elixir-autogen, elixir-format
msgid "Primer type"
msgstr "Type damorce"
@ -414,8 +414,8 @@ msgstr "Couleur du texte"
msgid "The self-hosted firearm tracker website"
msgstr "Le site web de suivi darme à feux auto-hébergé"
#: lib/cannery_web/components/ammo_type_table_component.ex:63
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
#: lib/cannery_web/live/ammo_type_live/index.ex:118
#, elixir-autogen, elixir-format
msgid "Tracer"
msgstr "Traceuse"
@ -552,9 +552,9 @@ msgstr "Évènements de tir"
#: lib/cannery_web/components/ammo_group_card.ex:78
#: lib/cannery_web/components/ammo_group_table_component.ex:152
#: lib/cannery_web/components/ammo_group_table_component.ex:224
#: lib/cannery_web/components/ammo_type_table_component.ex:179
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
#: lib/cannery_web/live/ammo_type_live/index.ex:217
#: lib/cannery_web/live/ammo_type_live/show.html.heex:136
#, elixir-autogen, elixir-format
msgid "$%{amount}"
@ -565,32 +565,32 @@ msgstr "%{amount}$"
msgid "Bimetal"
msgstr "Bi-métal"
#: lib/cannery_web/components/ammo_type_table_component.ex:51
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
#: lib/cannery_web/live/ammo_type_live/index.ex:106
#, elixir-autogen, elixir-format
msgid "Jacket type"
msgstr "Type de douille"
#: lib/cannery_web/components/ammo_type_table_component.ex:52
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
#: lib/cannery_web/live/ammo_type_live/index.ex:107
#, elixir-autogen, elixir-format
msgid "Muzzle velocity"
msgstr "Vélocité du canon"
#: lib/cannery_web/components/ammo_type_table_component.ex:55
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
#: lib/cannery_web/live/ammo_type_live/index.ex:110
#, elixir-autogen, elixir-format
msgid "Powder grains per charge"
msgstr "Graines de poudre par charge"
#: lib/cannery_web/components/ammo_type_table_component.ex:53
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
#: lib/cannery_web/live/ammo_type_live/index.ex:108
#, elixir-autogen, elixir-format
msgid "Powder type"
msgstr "Type de poudre"
#: lib/cannery_web/components/ammo_type_table_component.ex:68
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
#: lib/cannery_web/live/ammo_type_live/index.ex:123
#, elixir-autogen, elixir-format
msgid "UPC"
msgstr "UPC"
@ -621,8 +621,8 @@ msgstr "Sélectionné"
msgid "Unstage"
msgstr "Désélectionner"
#: lib/cannery_web/components/ammo_type_table_component.ex:62
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
#: lib/cannery_web/live/ammo_type_live/index.ex:117
#, elixir-autogen, elixir-format
msgid "Firing type"
msgstr "Type dallumage"
@ -657,7 +657,7 @@ msgid "Rounds:"
msgstr "Cartouches:"
#: lib/cannery_web/components/ammo_group_table_component.ex:221
#: lib/cannery_web/live/ammo_type_live/index.ex:216
#: lib/cannery_web/components/ammo_type_table_component.ex:178
#: lib/cannery_web/live/ammo_type_live/show.html.heex:142
#, elixir-autogen, elixir-format
msgid "No cost information"
@ -863,13 +863,13 @@ msgstr ""
msgid "Rounds shot: %{count}"
msgstr "Cartouches tirées"
#: lib/cannery_web/live/ammo_type_live/index.ex:155
#: lib/cannery_web/components/ammo_type_table_component.ex:100
#: lib/cannery_web/live/container_live/index.ex:125
#, elixir-autogen, elixir-format, fuzzy
msgid "Packs"
msgstr "Packages:"
#: lib/cannery_web/live/ammo_type_live/index.ex:135
#: lib/cannery_web/components/ammo_type_table_component.ex:80
#: lib/cannery_web/live/container_live/index.ex:126
#, elixir-autogen, elixir-format, fuzzy
msgid "Rounds"
@ -882,7 +882,7 @@ msgstr "Cartouches:"
msgid "View as table"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/index.ex:165
#: lib/cannery_web/components/ammo_type_table_component.ex:110
#, elixir-autogen, elixir-format
msgid "Total ever packs"
msgstr ""
@ -892,7 +892,7 @@ msgstr ""
msgid "Total ever packs:"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/index.ex:146
#: lib/cannery_web/components/ammo_type_table_component.ex:91
#, elixir-autogen, elixir-format, fuzzy
msgid "Total ever rounds"
msgstr "Quantité de cartouches"
@ -902,7 +902,7 @@ msgstr "Quantité de cartouches"
msgid "Total ever rounds:"
msgstr "Nombre totale de cartouches tirées:"
#: lib/cannery_web/live/ammo_type_live/index.ex:160
#: lib/cannery_web/components/ammo_type_table_component.ex:105
#, elixir-autogen, elixir-format
msgid "Used packs"
msgstr ""
@ -912,7 +912,7 @@ msgstr ""
msgid "Used packs:"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/index.ex:141
#: lib/cannery_web/components/ammo_type_table_component.ex:86
#, elixir-autogen, elixir-format, fuzzy
msgid "Used rounds"
msgstr ""
@ -1027,7 +1027,7 @@ msgstr "Traceuse"
msgid "UPC:"
msgstr "UPC"
#: lib/cannery_web/live/ammo_type_live/index.ex:175
#: lib/cannery_web/components/ammo_type_table_component.ex:120
#: lib/cannery_web/live/ammo_type_live/show.html.heex:132
#, elixir-autogen, elixir-format
msgid "Average CPR"
@ -1113,6 +1113,7 @@ msgid "Edit ammo"
msgstr "Éditer le type de munition"
#: lib/cannery_web/live/ammo_type_live/index.html.heex:8
#: lib/cannery_web/live/ammo_type_live/index.html.heex:46
#, elixir-autogen, elixir-format, fuzzy
msgid "No Ammo types"
msgstr "Aucun type de munition"

View File

@ -290,7 +290,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/ammo_type_live/index.ex:270
#: lib/cannery_web/live/ammo_type_live/index.html.heex:90
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
#, elixir-autogen, elixir-format, fuzzy
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"