add move to container button for ammo groups

This commit is contained in:
2022-02-15 18:20:12 -05:00
parent 95a08d6088
commit 3996e8413c
12 changed files with 299 additions and 90 deletions

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/index.ex:28
#: lib/cannery_web/live/ammo_group_live/index.ex:34
msgid "Add Ammo"
msgstr ""
@ -168,3 +168,18 @@ msgstr ""
#: lib/cannery_web/live/ammo_group_live/show.html.heex:27
msgid "Ammo Details"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.html.heex:11
msgid "Add another container!"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/show.html.heex:48
msgid "Move to different container"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.html.heex:59
msgid "Select"
msgstr ""

View File

@ -33,7 +33,7 @@ msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/topbar.ex:47
#: lib/cannery_web/live/ammo_group_live/index.html.heex:3
#: lib/cannery_web/live/range_live/index.html.heex:53
#: lib/cannery_web/live/range_live/index.html.heex:57
msgid "Ammo"
msgstr ""
@ -100,6 +100,7 @@ msgid "Case material"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.html.heex:21
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
#: lib/cannery_web/live/ammo_group_live/index.html.heex:41
msgid "Container"
@ -152,8 +153,8 @@ msgid "Easy to Use:"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/index.ex:22
#: lib/cannery_web/live/ammo_group_live/show.ex:68
#: lib/cannery_web/live/ammo_group_live/index.ex:28
#: lib/cannery_web/live/ammo_group_live/show.ex:55
msgid "Edit Ammo group"
msgstr ""
@ -254,6 +255,7 @@ msgid "Listing Tags"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.html.heex:29
#: lib/cannery_web/live/container_live/form_component.html.heex:42
msgid "Location"
msgstr ""
@ -359,7 +361,7 @@ msgstr ""
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
#: lib/cannery_web/live/ammo_group_live/index.html.heex:35
#: lib/cannery_web/live/range_live/form_component.html.heex:29
#: lib/cannery_web/live/range_live/index.html.heex:59
#: lib/cannery_web/live/range_live/index.html.heex:63
msgid "Notes"
msgstr ""
@ -437,7 +439,7 @@ msgid "Settings"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/show.ex:67
#: lib/cannery_web/live/ammo_group_live/show.ex:54
msgid "Show Ammo group"
msgstr ""
@ -467,7 +469,7 @@ msgid "Steel"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/show.html.heex:54
#: lib/cannery_web/live/ammo_group_live/show.html.heex:59
msgid "Stored in"
msgstr ""
@ -494,7 +496,7 @@ msgid "The self-hosted firearm tracker website"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/show.html.heex:59
#: lib/cannery_web/live/ammo_group_live/show.html.heex:64
msgid "This ammo group is not in a container"
msgstr ""
@ -505,6 +507,7 @@ msgid "Tracer"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.html.heex:25
#: lib/cannery_web/live/container_live/form_component.html.heex:35
msgid "Type"
msgstr ""
@ -561,7 +564,7 @@ msgid "Range day"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/range_live/index.html.heex:62
#: lib/cannery_web/live/range_live/index.html.heex:66
msgid "Date"
msgstr ""
@ -595,7 +598,7 @@ msgid "Staging"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/show.ex:27
#: lib/cannery_web/live/ammo_group_live/show.ex:52
msgid "Add Shot group"
msgstr ""
@ -611,7 +614,7 @@ msgid "Ammo Types"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/index.ex:33
#: lib/cannery_web/live/ammo_group_live/index.ex:39
msgid "Ammo groups"
msgstr ""
@ -642,7 +645,7 @@ msgid "Rounds left"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/range_live/index.html.heex:56
#: lib/cannery_web/live/range_live/index.html.heex:60
msgid "Rounds shot"
msgstr ""
@ -650,3 +653,24 @@ msgstr ""
#: lib/cannery_web/live/range_live/index.ex:46
msgid "Shot Records"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/index.ex:22
#: lib/cannery_web/live/ammo_group_live/show.ex:53
msgid "Move Ammo group"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.html.heex:3
msgid "Move ammo"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.html.heex:8
msgid "No other containers"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/range_live/index.html.heex:49
msgid "Shot log"
msgstr ""

View File

@ -67,8 +67,8 @@ msgid "Ammo group created successfully"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/index.ex:40
#: lib/cannery_web/live/ammo_group_live/show.ex:49
#: lib/cannery_web/live/ammo_group_live/index.ex:46
#: lib/cannery_web/live/ammo_group_live/show.ex:34
msgid "Ammo group deleted succesfully"
msgstr ""
@ -97,7 +97,7 @@ msgid "Are you sure you want to delete the invite for %{name}?"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/ammo_group_live/index.html.heex:102
#: lib/cannery_web/live/ammo_group_live/index.html.heex:107
#: lib/cannery_web/live/ammo_group_live/show.html.heex:40
#: lib/cannery_web/live/ammo_type_live/index.html.heex:104
msgid "Are you sure you want to delete this ammo?"
@ -210,7 +210,7 @@ msgid "Ammo group unstaged succesfully"
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/live/range_live/index.html.heex:97
#: lib/cannery_web/live/range_live/index.html.heex:101
msgid "Are you sure you want to delete this shot record?"
msgstr ""
@ -228,3 +228,8 @@ msgstr ""
#: lib/cannery_web/controllers/user_confirmation_controller.ex:37
msgid "%{email} confirmed successfully."
msgstr ""
#, elixir-format, ex-autogen
#: lib/cannery_web/components/move_ammo_group_component.ex:47
msgid "Ammo moved to %{name} successfully"
msgstr ""