allow filtering ammo types when creating new packs and fix some form errors not displaying on create
This commit is contained in:
@ -118,7 +118,7 @@ msgstr ""
|
||||
#: lib/cannery_web/components/add_shot_record_component.html.heex:57
|
||||
#: lib/cannery_web/live/container_live/form_component.html.heex:59
|
||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:38
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:96
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:110
|
||||
#: lib/cannery_web/live/range_live/form_component.html.heex:45
|
||||
#: lib/cannery_web/live/tag_live/form_component.html.heex:41
|
||||
#: lib/cannery_web/live/type_live/form_component.html.heex:386
|
||||
@ -178,7 +178,7 @@ msgstr ""
|
||||
msgid "add a container first"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:89
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:103
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Create"
|
||||
msgstr ""
|
||||
|
@ -82,7 +82,7 @@ msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/move_pack_component.ex:64
|
||||
#: lib/cannery_web/components/pack_table_component.ex:76
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:69
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:84
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Container"
|
||||
msgstr ""
|
||||
@ -102,7 +102,7 @@ msgid "Corrosive"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/pack_table_component.ex:104
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:30
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:45
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Count"
|
||||
msgstr ""
|
||||
@ -276,7 +276,7 @@ msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/add_shot_record_component.html.heex:38
|
||||
#: lib/cannery_web/components/shot_record_table_component.ex:46
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:60
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:75
|
||||
#: lib/cannery_web/live/pack_live/show.ex:90
|
||||
#: lib/cannery_web/live/range_live/form_component.html.heex:30
|
||||
#, elixir-autogen, elixir-format
|
||||
@ -301,7 +301,7 @@ msgid "Pressure"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/pack_table_component.ex:92
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:37
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:52
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Price paid"
|
||||
msgstr ""
|
||||
@ -387,7 +387,7 @@ msgstr ""
|
||||
#: lib/cannery_web/components/move_pack_component.ex:65
|
||||
#: lib/cannery_web/components/pack_table_component.ex:108
|
||||
#: lib/cannery_web/live/container_live/form_component.html.heex:40
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:22
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:37
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
@ -647,7 +647,7 @@ msgstr ""
|
||||
msgid "Record Shots"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:81
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:96
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Copies"
|
||||
msgstr ""
|
||||
@ -973,7 +973,7 @@ msgid "Never used"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/pack_table_component.ex:71
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:52
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:67
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Purchased on"
|
||||
msgstr ""
|
||||
@ -1248,6 +1248,7 @@ msgid "None specified"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/container_live/show.html.heex:100
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:30
|
||||
#: lib/cannery_web/live/pack_live/index.html.heex:61
|
||||
#: lib/cannery_web/live/range_live/index.html.heex:94
|
||||
#: lib/cannery_web/live/type_live/form_component.html.heex:28
|
||||
@ -1273,6 +1274,7 @@ msgid "Projectile"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/container_live/show.html.heex:98
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:28
|
||||
#: lib/cannery_web/live/pack_live/index.html.heex:59
|
||||
#: lib/cannery_web/live/range_live/index.html.heex:92
|
||||
#: lib/cannery_web/live/type_live/form_component.html.heex:26
|
||||
@ -1327,6 +1329,7 @@ msgid "Shot type:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/container_live/show.html.heex:99
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:29
|
||||
#: lib/cannery_web/live/pack_live/index.html.heex:60
|
||||
#: lib/cannery_web/live/range_live/index.html.heex:93
|
||||
#: lib/cannery_web/live/type_live/form_component.html.heex:27
|
||||
@ -1371,6 +1374,7 @@ msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/type_table_component.ex:149
|
||||
#: lib/cannery_web/live/container_live/show.html.heex:91
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:22
|
||||
#: lib/cannery_web/live/pack_live/index.html.heex:50
|
||||
#: lib/cannery_web/live/range_live/index.html.heex:83
|
||||
#: lib/cannery_web/live/type_live/form_component.html.heex:21
|
||||
@ -1416,7 +1420,7 @@ msgid "No Types"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/components/pack_table_component.ex:84
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:44
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:59
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Lot number"
|
||||
msgstr ""
|
||||
@ -1425,3 +1429,8 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Lot number:"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:27
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Any"
|
||||
msgstr ""
|
||||
|
@ -143,21 +143,16 @@ msgstr ""
|
||||
msgid "Tag could not be removed"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.ex:152
|
||||
#: lib/cannery_web/live/pack_live/form_component.ex:175
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Could not parse number of copies"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.ex:142
|
||||
#: lib/cannery/ammo.ex:1028
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/ammo.ex:974
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invalid multiplier"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/range_live/index.html.heex:71
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your browser does not support the canvas element."
|
||||
@ -188,11 +183,6 @@ msgstr ""
|
||||
msgid "can't be blank"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/ammo/pack.ex:100
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Please select a type and container"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/error_html.ex:11
|
||||
#: lib/cannery_web/controllers/error_json.ex:9
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
@ -208,3 +198,13 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "You must log in to access this page."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/ammo/pack.ex:104
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Please select a valid container"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/ammo/pack.ex:102
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Please select a valid type"
|
||||
msgstr ""
|
||||
|
@ -112,7 +112,7 @@ msgstr ""
|
||||
#: lib/cannery_web/components/add_shot_record_component.html.heex:59
|
||||
#: lib/cannery_web/live/container_live/form_component.html.heex:61
|
||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:40
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:97
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:111
|
||||
#: lib/cannery_web/live/range_live/form_component.html.heex:47
|
||||
#: lib/cannery_web/live/tag_live/form_component.html.heex:43
|
||||
#: lib/cannery_web/live/type_live/form_component.html.heex:387
|
||||
@ -198,7 +198,7 @@ msgstr ""
|
||||
msgid "You'll need to"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:90
|
||||
#: lib/cannery_web/live/pack_live/form_component.html.heex:104
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Creating..."
|
||||
msgstr ""
|
||||
@ -224,12 +224,12 @@ msgstr ""
|
||||
msgid "Ammo unstaged succesfully"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.ex:118
|
||||
#: lib/cannery_web/live/pack_live/form_component.ex:141
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Ammo updated successfully"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/pack_live/form_component.ex:177
|
||||
#: lib/cannery_web/live/pack_live/form_component.ex:162
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Ammo added successfully"
|
||||
msgid_plural "Ammo added successfully"
|
||||
|
Reference in New Issue
Block a user