allow filtering ammo types when creating new packs and fix some form errors not displaying on create
This commit is contained in:
@ -129,7 +129,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
|
||||
@ -189,7 +189,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
|
||||
msgid "Create"
|
||||
msgstr ""
|
||||
|
@ -84,7 +84,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 ""
|
||||
@ -104,7 +104,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 ""
|
||||
@ -278,7 +278,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
|
||||
@ -303,7 +303,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 ""
|
||||
@ -389,7 +389,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 ""
|
||||
@ -649,7 +649,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 ""
|
||||
@ -975,7 +975,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 ""
|
||||
@ -1259,6 +1259,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
|
||||
@ -1284,6 +1285,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
|
||||
@ -1338,6 +1340,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
|
||||
@ -1382,6 +1385,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
|
||||
@ -1427,7 +1431,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 ""
|
||||
@ -1436,3 +1440,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 ""
|
||||
|
@ -158,21 +158,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."
|
||||
@ -203,11 +198,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
|
||||
@ -223,3 +213,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 ""
|
||||
|
@ -123,7 +123,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
|
||||
@ -209,7 +209,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
|
||||
msgid "Creating..."
|
||||
msgstr ""
|
||||
@ -235,12 +235,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
|
||||
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
|
||||
msgid "Ammo added successfully"
|
||||
msgid_plural "Ammo added successfully"
|
||||
|
Reference in New Issue
Block a user