fix bug with ammo group not updating after deleting shot group

This commit is contained in:
2022-11-19 14:41:53 -05:00
parent 5ffa627beb
commit bf0ea4168b
14 changed files with 75 additions and 69 deletions

View File

@ -324,7 +324,7 @@ msgstr "Aucun tag"
#: lib/cannery_web/components/add_shot_group_component.html.heex:37
#: lib/cannery_web/components/ammo_group_table_component.ex:88
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
#: lib/cannery_web/live/ammo_group_live/show.ex:88
#: lib/cannery_web/live/ammo_group_live/show.ex:93
#: lib/cannery_web/live/range_live/form_component.html.heex:29
#: lib/cannery_web/live/range_live/index.ex:82
#, elixir-autogen, elixir-format
@ -488,7 +488,7 @@ msgstr "Portée"
msgid "Range day"
msgstr "Journée de stand"
#: lib/cannery_web/live/ammo_group_live/show.ex:89
#: lib/cannery_web/live/ammo_group_live/show.ex:94
#: lib/cannery_web/live/range_live/index.ex:83
#, elixir-autogen, elixir-format
msgid "Date"
@ -521,7 +521,7 @@ msgstr "Groupes de munition"
msgid "Date (UTC)"
msgstr "Date (UTC)"
#: lib/cannery_web/live/ammo_group_live/show.ex:37
#: lib/cannery_web/live/ammo_group_live/show.ex:42
#: lib/cannery_web/live/range_live/index.ex:32
#, elixir-autogen, elixir-format
msgid "Edit Shot Records"
@ -543,7 +543,7 @@ msgstr "Aucun tir enregistré"
msgid "Rounds left"
msgstr "Cartouches restantes"
#: lib/cannery_web/live/ammo_group_live/show.ex:87
#: lib/cannery_web/live/ammo_group_live/show.ex:92
#: lib/cannery_web/live/range_live/index.ex:81
#: lib/cannery_web/live/range_live/index.html.heex:62
#, elixir-autogen, elixir-format
@ -745,7 +745,7 @@ msgstr "Senregistrer"
msgid "Reset your password"
msgstr "Réinitialiser votre mot de passe"
#: lib/cannery_web/live/ammo_group_live/show.ex:36
#: lib/cannery_web/live/ammo_group_live/show.ex:41
#: lib/cannery_web/live/range_live/index.ex:26
#, elixir-autogen, elixir-format
msgid "Record Shots"
@ -827,12 +827,12 @@ msgstr "Voir le code source"
msgid "Catalog"
msgstr "Catalogue"
#: lib/cannery_web/live/ammo_group_live/show.ex:40
#: lib/cannery_web/live/ammo_group_live/show.ex:45
#, elixir-autogen, elixir-format, fuzzy
msgid "Edit Ammo"
msgstr "Éditer le type de munition"
#: lib/cannery_web/live/ammo_group_live/show.ex:38
#: lib/cannery_web/live/ammo_group_live/show.ex:43
#, elixir-autogen, elixir-format, fuzzy
msgid "Move Ammo"
msgstr "Déplacer munition"
@ -842,7 +842,7 @@ msgstr "Déplacer munition"
msgid "No ammo in this container"
msgstr "Aucun groupe de munition pour ce conteneur"
#: lib/cannery_web/live/ammo_group_live/show.ex:39
#: lib/cannery_web/live/ammo_group_live/show.ex:44
#, elixir-autogen, elixir-format, fuzzy
msgid "Show Ammo"
msgstr "Montrer le type de munition"

View File

@ -214,13 +214,13 @@ msgstr "Tirs enregistré avec succès"
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/ammo_group_live/show.ex:132
#: lib/cannery_web/live/ammo_group_live/show.ex:137
#: lib/cannery_web/live/range_live/index.ex:159
#, 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?"
#: lib/cannery_web/live/ammo_group_live/show.ex:78
#: lib/cannery_web/live/ammo_group_live/show.ex:83
#: lib/cannery_web/live/range_live/index.ex:54
#, elixir-autogen, elixir-format
msgid "Shot records deleted succesfully"
@ -272,7 +272,7 @@ msgstr "Êtes-vous certain·e de vouloir changer votre langue?"
msgid "Language updated successfully."
msgstr "Langue mise à jour avec succès."
#: lib/cannery_web/live/ammo_group_live/show.ex:50
#: lib/cannery_web/live/ammo_group_live/show.ex:55
#, elixir-autogen, elixir-format, fuzzy
msgid "Ammo deleted succesfully"
msgstr "Groupe de munition supprimé avec succès"